home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: 1706
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text, with overstriking
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 3a 20 6b 69 | 72 6b 65 6e 64 61 40 65 |From: ki|rkenda@e|
|00000010| 65 63 73 2e 63 73 2e 70 | 64 78 2e 65 64 75 20 28 |ecs.cs.p|dx.edu (|
|00000020| 53 74 65 76 65 20 4b 69 | 72 6b 65 6e 64 61 6c 6c |Steve Ki|rkendall|
|00000030| 29 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 61 6c |).Newsgr|oups: al|
|00000040| 74 2e 73 6f 75 72 63 65 | 73 0a 53 75 62 6a 65 63 |t.source|s.Subjec|
|00000050| 74 3a 20 65 6c 76 69 73 | 20 31 2e 33 20 2d 20 61 |t: elvis| 1.3 - a|
|00000060| 20 63 6c 6f 6e 65 20 6f | 66 20 76 69 2f 65 78 2c | clone o|f vi/ex,|
|00000070| 20 70 61 72 74 20 31 20 | 6f 66 20 36 0a 4d 65 73 | part 1 |of 6.Mes|
|00000080| 73 61 67 65 2d 49 44 3a | 20 3c 33 32 37 35 40 70 |sage-ID:| <3275@p|
|00000090| 73 75 65 65 61 2e 55 55 | 43 50 3e 0a 44 61 74 65 |sueea.UU|CP>.Date|
|000000a0| 3a 20 32 34 20 41 75 67 | 20 39 30 20 31 37 3a 35 |: 24 Aug| 90 17:5|
|000000b0| 30 3a 34 34 20 47 4d 54 | 0a 0a 41 72 63 68 69 76 |0:44 GMT|..Archiv|
|000000c0| 65 2d 6e 61 6d 65 3a 20 | 65 6c 76 69 73 31 2e 33 |e-name: |elvis1.3|
|000000d0| 2f 70 61 72 74 31 0a 0a | 48 65 72 65 20 69 73 20 |/part1..|Here is |
|000000e0| 45 6c 76 69 73 20 31 2e | 33 2c 20 66 69 6e 61 6c |Elvis 1.|3, final|
|000000f0| 6c 79 21 20 20 45 6c 76 | 69 73 20 69 73 20 61 20 |ly! Elv|is is a |
|00000100| 63 6c 6f 6e 65 20 6f 66 | 20 76 69 2f 65 78 2e 20 |clone of| vi/ex. |
|00000110| 20 46 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | For mor|e inform|
|00000120| 61 74 69 6f 6e 0a 61 62 | 6f 75 74 20 65 6c 76 69 |ation.ab|out elvi|
|00000130| 73 2c 20 6c 6f 6f 6b 20 | 69 6e 20 74 68 65 20 6d |s, look |in the m|
|00000140| 61 6e 75 61 6c 20 62 65 | 6c 6f 77 2e 0a 0a 49 20 |anual be|low...I |
|00000150| 6a 75 73 74 20 67 61 76 | 65 20 75 70 20 6f 6e 20 |just gav|e up on |
|00000160| 63 6f 6d 70 2e 73 6f 75 | 72 63 65 73 2e 75 6e 69 |comp.sou|rces.uni|
|00000170| 78 2e 20 20 49 20 67 75 | 65 73 73 20 52 69 63 68 |x. I gu|ess Rich|
|00000180| 20 24 61 6c 7a 20 6d 75 | 73 74 20 62 65 20 73 77 | $alz mu|st be sw|
|00000190| 61 6d 70 65 64 20 77 69 | 74 68 0a 2a 52 45 41 4c |amped wi|th.*REAL|
|000001a0| 2a 20 77 6f 72 6b 20 2d | 2d 20 74 68 65 20 6b 69 |* work -|- the ki|
|000001b0| 6e 64 20 68 65 20 67 65 | 74 73 20 70 61 69 64 20 |nd he ge|ts paid |
|000001c0| 66 6f 72 2e 0a 0a 50 6c | 65 61 73 65 20 73 65 6e |for...Pl|ease sen|
|000001d0| 64 20 6d 65 20 62 75 67 | 20 72 65 70 6f 72 74 73 |d me bug| reports|
|000001e0| 2e 20 20 49 27 64 20 61 | 6c 73 6f 20 6c 69 6b 65 |. I'd a|lso like|
|000001f0| 20 74 6f 20 68 65 61 72 | 20 61 6e 79 20 73 75 67 | to hear| any sug|
|00000200| 67 65 73 74 69 6f 6e 73 | 20 66 6f 72 0a 65 78 74 |gestions| for.ext|
|00000210| 65 6e 73 69 6f 6e 73 2c | 20 61 6e 64 20 63 6f 6d |ensions,| and com|
|00000220| 6d 65 6e 74 73 20 6f 66 | 20 74 68 65 20 22 49 20 |ments of| the "I |
|00000230| 6c 69 6b 65 20 76 69 27 | 73 20 58 58 58 58 20 66 |like vi'|s XXXX f|
|00000240| 65 61 74 75 72 65 2c 20 | 62 75 74 20 65 6c 76 69 |eature, |but elvi|
|00000250| 73 20 64 6f 65 73 6e 27 | 74 0a 68 61 76 65 20 69 |s doesn'|t.have i|
|00000260| 74 22 20 76 61 72 69 65 | 74 79 2e 20 20 42 61 73 |t" varie|ty. Bas|
|00000270| 69 63 61 6c 6c 79 2c 20 | 74 65 6c 6c 20 6d 65 20 |ically, |tell me |
|00000280| 77 68 61 74 20 73 68 6f | 75 6c 64 20 62 65 20 63 |what sho|uld be c|
|00000290| 68 61 6e 67 65 64 20 66 | 6f 72 20 76 65 72 73 69 |hanged f|or versi|
|000002a0| 6f 6e 20 31 2e 34 2e 0a | 54 68 61 6e 6b 73 21 0a |on 1.4..|Thanks!.|
|000002b0| 0a 23 21 20 2f 62 69 6e | 2f 73 68 0a 23 20 54 68 |.#! /bin|/sh.# Th|
|000002c0| 69 73 20 69 73 20 61 20 | 73 68 65 6c 6c 20 61 72 |is is a |shell ar|
|000002d0| 63 68 69 76 65 2c 20 6d | 65 61 6e 69 6e 67 3a 0a |chive, m|eaning:.|
|000002e0| 23 20 31 2e 20 52 65 6d | 6f 76 65 20 65 76 65 72 |# 1. Rem|ove ever|
|000002f0| 79 74 68 69 6e 67 20 61 | 62 6f 76 65 20 74 68 65 |ything a|bove the|
|00000300| 20 23 21 20 2f 62 69 6e | 2f 73 68 20 6c 69 6e 65 | #! /bin|/sh line|
|00000310| 2e 0a 23 20 32 2e 20 53 | 61 76 65 20 74 68 65 20 |..# 2. S|ave the |
|00000320| 72 65 73 75 6c 74 69 6e | 67 20 74 65 78 74 20 69 |resultin|g text i|
|00000330| 6e 20 61 20 66 69 6c 65 | 2e 0a 23 20 33 2e 20 45 |n a file|..# 3. E|
|00000340| 78 65 63 75 74 65 20 74 | 68 65 20 66 69 6c 65 20 |xecute t|he file |
|00000350| 77 69 74 68 20 2f 62 69 | 6e 2f 73 68 20 28 6e 6f |with /bi|n/sh (no|
|00000360| 74 20 63 73 68 29 20 74 | 6f 20 63 72 65 61 74 65 |t csh) t|o create|
|00000370| 3a 0a 23 09 65 6c 76 69 | 73 2e 6d 61 6e 0a 23 20 |:.#.elvi|s.man.# |
|00000380| 54 68 69 73 20 61 72 63 | 68 69 76 65 20 63 72 65 |This arc|hive cre|
|00000390| 61 74 65 64 3a 20 46 72 | 69 20 41 75 67 20 32 34 |ated: Fr|i Aug 24|
|000003a0| 20 31 30 3a 32 39 3a 35 | 32 20 31 39 39 30 0a 65 | 10:29:5|2 1990.e|
|000003b0| 78 70 6f 72 74 20 50 41 | 54 48 3b 20 50 41 54 48 |xport PA|TH; PATH|
|000003c0| 3d 2f 62 69 6e 3a 2f 75 | 73 72 2f 62 69 6e 3a 24 |=/bin:/u|sr/bin:$|
|000003d0| 50 41 54 48 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |PATH.if |test -f |
|000003e0| 27 65 6c 76 69 73 2e 6d | 61 6e 27 0a 74 68 65 6e |'elvis.m|an'.then|
|000003f0| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 22 77 69 |..echo s|har: "wi|
|00000400| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00000410| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00000420| 27 65 6c 76 69 73 2e 6d | 61 6e 27 22 0a 65 6c 73 |'elvis.m|an'".els|
|00000430| 65 0a 63 61 74 20 3c 3c | 20 5c 53 48 41 52 5f 45 |e.cat <<| \SHAR_E|
|00000440| 4f 46 20 3e 20 27 65 6c | 76 69 73 2e 6d 61 6e 27 |OF > 'el|vis.man'|
|00000450| 0a 0a 0a 0a 0a 0a 5f 08 | 49 5f 08 6e 5f 08 74 5f |......_.|I_.n_.t_|
|00000460| 08 72 5f 08 6f 5f 08 64 | 5f 08 75 5f 08 63 5f 08 |.r_.o_.d|_.u_.c_.|
|00000470| 74 5f 08 69 5f 08 6f 5f | 08 6e 0a 0a 20 20 20 20 |t_.i_.o_|.n.. |
|00000480| 20 20 20 20 45 6c 76 69 | 73 20 69 73 20 61 20 63 | Elvi|s is a c|
|00000490| 6c 6f 6e 65 20 6f 66 20 | 76 69 2f 65 78 2c 20 74 |lone of |vi/ex, t|
|000004a0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 55 4e 49 58 |he stand|ard UNIX|
|000004b0| 20 65 64 69 74 6f 72 2e | 20 45 6c 76 69 73 20 73 | editor.| Elvis s|
|000004c0| 75 70 70 6f 72 74 73 0a | 20 20 20 20 20 6e 65 61 |upports.| nea|
|000004d0| 72 6c 79 20 61 6c 6c 20 | 6f 66 20 74 68 65 20 76 |rly all |of the v|
|000004e0| 69 2f 65 78 20 63 6f 6d | 6d 61 6e 64 73 2c 20 69 |i/ex com|mands, i|
|000004f0| 6e 20 62 6f 74 68 20 76 | 69 73 75 61 6c 20 6d 6f |n both v|isual mo|
|00000500| 64 65 20 61 6e 64 20 63 | 6f 6c 6f 6e 20 6d 6f 64 |de and c|olon mod|
|00000510| 65 2e 0a 0a 20 20 20 20 | 20 20 20 20 4c 69 6b 65 |e... | Like|
|00000520| 20 76 69 2f 65 78 2c 20 | 65 6c 76 69 73 20 73 74 | vi/ex, |elvis st|
|00000530| 6f 72 65 73 20 6d 6f 73 | 74 20 6f 66 20 74 68 65 |ores mos|t of the|
|00000540| 20 20 74 65 78 74 20 20 | 69 6e 20 20 61 20 20 74 | text |in a t|
|00000550| 65 6d 70 6f 72 61 72 79 | 20 20 66 69 6c 65 2c 0a |emporary| file,.|
|00000560| 20 20 20 20 20 69 6e 73 | 74 65 61 64 20 6f 66 20 | ins|tead of |
|00000570| 52 41 4d 2e 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |RAM. Thi|s allows|
|00000580| 20 69 74 20 74 6f 20 65 | 64 69 74 20 66 69 6c 65 | it to e|dit file|
|00000590| 73 20 74 68 61 74 20 61 | 72 65 20 74 6f 6f 20 6c |s that a|re too l|
|000005a0| 61 72 67 65 20 74 6f 20 | 66 69 74 0a 20 20 20 20 |arge to |fit. |
|000005b0| 20 69 6e 20 61 20 73 69 | 6e 67 6c 65 20 70 72 6f | in a si|ngle pro|
|000005c0| 63 65 73 73 27 20 64 61 | 74 61 20 73 70 61 63 65 |cess' da|ta space|
|000005d0| 2e 0a 0a 20 20 20 20 20 | 20 20 20 45 6c 76 69 73 |... | Elvis|
|000005e0| 20 72 75 6e 73 20 75 6e | 64 65 72 20 42 53 44 20 | runs un|der BSD |
|000005f0| 55 4e 49 58 2c 20 41 54 | 26 54 20 53 79 73 56 20 |UNIX, AT|&T SysV |
|00000600| 55 4e 49 58 2c 20 4d 69 | 6e 69 78 2c 20 4d 53 2d |UNIX, Mi|nix, MS-|
|00000610| 44 4f 53 2c 20 61 6e 64 | 20 41 74 61 72 69 0a 20 |DOS, and| Atari. |
|00000620| 20 20 20 20 54 4f 53 2e | 20 20 50 6f 72 74 73 20 | TOS.| Ports |
|00000630| 74 6f 20 6f 74 68 65 72 | 20 6f 70 65 72 61 74 69 |to other| operati|
|00000640| 6e 67 20 73 79 73 74 65 | 6d 73 20 61 72 65 20 62 |ng syste|ms are b|
|00000650| 65 69 6e 67 20 77 6f 72 | 6b 65 64 20 6f 6e 3b 20 |eing wor|ked on; |
|00000660| 63 6f 6e 74 61 63 74 20 | 6d 65 0a 20 20 20 20 20 |contact |me. |
|00000670| 62 65 66 6f 72 65 20 79 | 6f 75 20 73 74 61 72 74 |before y|ou start|
|00000680| 20 70 6f 72 74 69 6e 67 | 20 69 74 20 74 6f 20 73 | porting| it to s|
|00000690| 6f 6d 65 20 6f 74 68 65 | 72 20 4f 53 2c 20 20 62 |ome othe|r OS, b|
|000006a0| 65 63 61 75 73 65 20 20 | 73 6f 6d 65 62 6f 64 79 |ecause |somebody|
|000006b0| 20 20 65 6c 73 65 0a 20 | 20 20 20 20 6d 61 79 20 | else. | may |
|000006c0| 68 61 76 65 20 61 6c 72 | 65 61 64 79 20 64 6f 6e |have alr|eady don|
|000006d0| 65 20 69 74 20 66 6f 72 | 20 79 6f 75 2e 0a 0a 20 |e it for| you... |
|000006e0| 20 20 20 20 20 20 20 45 | 6c 76 69 73 20 20 20 69 | E|lvis i|
|000006f0| 73 20 20 20 66 72 65 65 | 6c 79 20 20 72 65 64 69 |s free|ly redi|
|00000700| 73 74 72 69 62 75 74 61 | 62 6c 65 2c 20 20 69 6e |stributa|ble, in|
|00000710| 20 20 65 69 74 68 65 72 | 20 20 73 6f 75 72 63 65 | either| source|
|00000720| 20 20 66 6f 72 6d 20 20 | 6f 72 0a 20 20 20 20 20 | form |or. |
|00000730| 65 78 65 63 75 74 61 62 | 6c 65 20 66 6f 72 6d 2e |executab|le form.|
|00000740| 0a 0a 0a 20 20 5f 08 4f | 5f 08 76 5f 08 65 5f 08 |... _.O|_.v_.e_.|
|00000750| 72 5f 08 76 5f 08 69 5f | 08 65 5f 08 77 20 5f 08 |r_.v_.i_|.e_.w _.|
|00000760| 6f 5f 08 66 20 5f 08 45 | 5f 08 6c 5f 08 76 5f 08 |o_.f _.E|_.l_.v_.|
|00000770| 69 5f 08 73 0a 0a 20 20 | 20 20 20 20 20 20 54 68 |i_.s.. | Th|
|00000780| 65 20 75 73 65 72 20 69 | 6e 74 65 72 66 61 63 65 |e user i|nterface|
|00000790| 20 6f 66 20 65 6c 76 69 | 73 2f 76 69 2f 65 78 20 | of elvi|s/vi/ex |
|000007a0| 69 73 20 77 65 69 72 64 | 2e 20 20 54 68 65 72 65 |is weird|. There|
|000007b0| 20 20 61 72 65 20 20 74 | 77 6f 20 20 6d 61 6a 6f | are t|wo majo|
|000007c0| 72 0a 20 20 20 20 20 63 | 6f 6d 61 6e 64 20 20 6d |r. c|omand m|
|000007d0| 6f 64 65 73 20 20 69 6e | 20 20 45 6c 76 69 73 2c |odes in| Elvis,|
|000007e0| 20 20 61 6e 64 20 20 61 | 20 20 66 65 77 20 20 74 | and a| few t|
|000007f0| 65 78 74 20 69 6e 70 75 | 74 20 6d 6f 64 65 73 20 |ext inpu|t modes |
|00000800| 61 73 20 77 65 6c 6c 2e | 20 45 61 63 68 0a 20 20 |as well.| Each. |
|00000810| 20 20 20 63 6f 6d 6d 61 | 6e 64 20 6d 6f 64 65 20 | comma|nd mode |
|00000820| 68 61 73 20 61 20 63 6f | 6d 6d 61 6e 64 20 77 68 |has a co|mmand wh|
|00000830| 69 63 68 20 61 6c 6c 6f | 77 73 20 79 6f 75 20 74 |ich allo|ws you t|
|00000840| 6f 20 20 73 77 69 74 63 | 68 20 20 74 6f 20 20 74 |o switc|h to t|
|00000850| 68 65 20 20 6f 74 68 65 | 72 0a 20 20 20 20 20 6d |he othe|r. m|
|00000860| 6f 64 65 2e 0a 0a 20 20 | 20 20 20 20 20 20 59 6f |ode... | Yo|
|00000870| 75 20 20 77 69 6c 6c 20 | 20 70 72 6f 62 61 62 6c |u will | probabl|
|00000880| 79 20 20 75 73 65 20 20 | 74 68 65 20 5f 08 76 5f |y use |the _.v_|
|00000890| 08 69 5f 08 73 5f 08 75 | 5f 08 61 5f 08 6c 20 5f |.i_.s_.u|_.a_.l _|
|000008a0| 08 63 5f 08 6f 5f 08 6d | 5f 08 6d 5f 08 61 5f 08 |.c_.o_.m|_.m_.a_.|
|000008b0| 6e 5f 08 64 20 5f 08 6d | 5f 08 6f 5f 08 64 5f 08 |n_.d _.m|_.o_.d_.|
|000008c0| 65 20 6d 6f 73 74 20 6f | 66 20 74 68 65 20 74 69 |e most o|f the ti|
|000008d0| 6d 65 2e 0a 20 20 20 20 | 20 54 68 69 73 20 69 73 |me.. | This is|
|000008e0| 20 74 68 65 20 6d 6f 64 | 65 20 74 68 61 74 20 65 | the mod|e that e|
|000008f0| 6c 76 69 73 20 6e 6f 72 | 6d 61 6c 6c 79 20 73 74 |lvis nor|mally st|
|00000900| 61 72 74 73 20 75 70 20 | 69 6e 2e 0a 0a 20 20 20 |arts up |in... |
|00000910| 20 20 20 20 20 49 6e 20 | 76 69 73 75 61 6c 20 63 | In |visual c|
|00000920| 6f 6d 6d 61 6e 64 20 6d | 6f 64 65 2c 20 74 68 65 |ommand m|ode, the|
|00000930| 20 65 6e 74 69 72 65 20 | 73 63 72 65 65 6e 20 69 | entire |screen i|
|00000940| 73 20 66 69 6c 6c 65 64 | 20 77 69 74 68 20 20 6c |s filled| with l|
|00000950| 69 6e 65 73 20 20 6f 66 | 0a 20 20 20 20 20 74 65 |ines of|. te|
|00000960| 78 74 20 20 66 72 6f 6d | 20 20 79 6f 75 72 20 20 |xt from| your |
|00000970| 66 69 6c 65 2e 20 20 45 | 61 63 68 20 20 6b 65 79 |file. E|ach key|
|00000980| 73 74 72 6f 6b 65 20 20 | 69 73 20 69 6e 74 65 72 |stroke |is inter|
|00000990| 70 72 65 74 74 65 64 20 | 61 73 20 70 61 72 74 20 |pretted |as part |
|000009a0| 6f 66 20 61 0a 20 20 20 | 20 20 76 69 73 75 61 6c |of a. | visual|
|000009b0| 20 63 6f 6d 6d 61 6e 64 | 2e 20 49 66 20 79 6f 75 | command|. If you|
|000009c0| 20 73 74 61 72 74 20 74 | 79 70 69 6e 67 20 74 65 | start t|yping te|
|000009d0| 78 74 2c 20 69 74 20 77 | 69 6c 6c 20 5f 08 6e 5f |xt, it w|ill _.n_|
|000009e0| 08 6f 5f 08 74 20 62 65 | 20 69 6e 73 65 72 74 65 |.o_.t be| inserte|
|000009f0| 64 2c 20 20 69 74 0a 20 | 20 20 20 20 77 69 6c 6c |d, it. | will|
|00000a00| 20 20 62 65 20 20 74 72 | 65 61 74 65 64 20 61 73 | be tr|eated as|
|00000a10| 20 70 61 72 74 20 6f 66 | 20 61 20 63 6f 6d 6d 61 | part of| a comma|
|00000a20| 6e 64 2e 20 54 6f 20 69 | 6e 73 65 72 74 20 74 65 |nd. To i|nsert te|
|00000a30| 78 74 2c 20 79 6f 75 20 | 6d 75 73 74 20 66 69 72 |xt, you |must fir|
|00000a40| 73 74 0a 20 20 20 20 20 | 67 69 76 65 20 61 6e 20 |st. |give an |
|00000a50| 22 69 6e 73 65 72 74 20 | 74 65 78 74 22 20 63 6f |"insert |text" co|
|00000a60| 6d 6d 61 6e 64 2e 20 54 | 68 69 73 20 77 69 6c 6c |mmand. T|his will|
|00000a70| 20 74 61 6b 65 20 73 6f | 6d 65 20 20 67 65 74 74 | take so|me gett|
|00000a80| 69 6e 67 20 20 75 73 65 | 64 20 20 74 6f 2e 0a 20 |ing use|d to.. |
|00000a90| 20 20 20 20 28 41 6e 20 | 61 6c 74 65 72 6e 61 74 | (An |alternat|
|00000aa0| 69 76 65 20 65 78 69 73 | 74 73 2e 20 4c 6f 6f 6b |ive exis|ts. Look|
|00000ab0| 75 70 20 74 68 65 20 22 | 69 6e 70 75 74 6d 6f 64 |up the "|inputmod|
|00000ac0| 65 22 20 6f 70 74 69 6f | 6e 2e 29 0a 0a 20 20 20 |e" optio|n.).. |
|00000ad0| 20 20 20 20 20 54 68 65 | 20 20 5f 08 63 5f 08 6f | The| _.c_.o|
|00000ae0| 5f 08 6c 5f 08 6f 5f 08 | 6e 20 20 5f 08 6d 5f 08 |_.l_.o_.|n _.m_.|
|00000af0| 6f 5f 08 64 5f 08 65 20 | 69 73 20 71 75 69 74 65 |o_.d_.e |is quite|
|00000b00| 20 64 69 66 66 65 72 65 | 6e 74 2e 20 45 6c 76 69 | differe|nt. Elvi|
|00000b10| 73 20 64 69 73 70 6c 61 | 79 73 20 61 20 22 3a 22 |s displa|ys a ":"|
|00000b20| 20 63 68 61 72 61 63 74 | 65 72 0a 20 20 20 20 20 | charact|er. |
|00000b30| 6f 6e 20 74 68 65 20 62 | 6f 74 74 6f 6d 20 6c 69 |on the b|ottom li|
|00000b40| 6e 65 20 6f 66 20 74 68 | 65 20 73 63 72 65 65 6e |ne of th|e screen|
|00000b50| 2c 20 61 73 20 61 20 70 | 72 6f 6d 70 74 2e 20 59 |, as a p|rompt. Y|
|00000b60| 6f 75 20 61 72 65 20 20 | 74 68 65 6e 20 20 65 78 |ou are |then ex|
|00000b70| 70 65 63 74 65 64 0a 20 | 20 20 20 20 74 6f 20 20 |pected. | to |
|00000b80| 74 79 70 65 20 20 69 6e | 20 20 61 20 20 63 6f 6d |type in| a com|
|00000b90| 6d 61 6e 64 20 20 6c 69 | 6e 65 20 20 61 6e 64 20 |mand li|ne and |
|00000ba0| 20 68 69 74 20 20 74 68 | 65 20 3c 52 65 74 75 72 | hit th|e <Retur|
|00000bb0| 6e 3e 20 6b 65 79 2e 20 | 54 68 65 20 73 65 74 20 |n> key. |The set |
|00000bc0| 6f 66 0a 20 20 20 20 20 | 63 6f 6d 6d 61 6e 64 73 |of. |commands|
|00000bd0| 20 72 65 63 6f 67 6e 69 | 7a 65 64 20 69 6e 20 74 | recogni|zed in t|
|00000be0| 68 65 20 63 6f 6c 6f 6e | 20 6d 6f 64 65 20 69 73 |he colon| mode is|
|00000bf0| 20 64 69 66 66 65 72 65 | 6e 74 20 66 72 6f 6d 20 | differe|nt from |
|00000c00| 76 69 73 75 61 6c 20 6d | 6f 64 65 27 73 2e 0a 0a |visual m|ode's...|
|00000c10| 0a 0a 0a 0a 0a 0a 0a 0a | 0a 0a 0a 0a 0a 0a 0a 0a |........|........|
|00000c20| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c40| 20 20 20 20 20 2d 20 31 | 20 2d 0a 0a 0a 0a 0a 0a | - 1| -......|
|00000c50| 0a 0a 0a 5f 08 56 5f 08 | 69 5f 08 73 5f 08 75 5f |..._.V_.|i_.s_.u_|
|00000c60| 08 61 5f 08 6c 20 5f 08 | 4d 5f 08 6f 5f 08 64 5f |.a_.l _.|M_.o_.d_|
|00000c70| 08 65 20 5f 08 43 5f 08 | 6f 5f 08 6d 5f 08 6d 5f |.e _.C_.|o_.m_.m_|
|00000c80| 08 61 5f 08 6e 5f 08 64 | 5f 08 73 0a 0a 20 20 20 |.a_.n_.d|_.s.. |
|00000c90| 20 20 20 20 20 4d 6f 73 | 74 20 76 69 73 75 61 6c | Mos|t visual|
|00000ca0| 20 6d 6f 64 65 20 63 6f | 6d 6d 61 6e 64 73 20 61 | mode co|mmands a|
|00000cb0| 72 65 20 6f 6e 65 20 20 | 6b 65 79 73 74 72 6f 6b |re one |keystrok|
|00000cc0| 65 20 20 6c 6f 6e 67 2e | 20 20 54 68 65 20 20 66 |e long.| The f|
|00000cd0| 6f 6c 6c 6f 77 69 6e 67 | 0a 20 20 20 20 20 74 61 |ollowing|. ta|
|00000ce0| 62 6c 65 20 20 6c 69 73 | 74 73 20 20 74 68 65 20 |ble lis|ts the |
|00000cf0| 20 6f 70 65 72 61 74 69 | 6f 6e 20 20 70 65 72 66 | operati|on perf|
|00000d00| 6f 72 6d 65 64 20 20 62 | 79 20 20 65 61 63 68 20 |ormed b|y each |
|00000d10| 20 6b 65 79 73 74 72 6f | 6b 65 2c 20 61 6e 64 20 | keystro|ke, and |
|00000d20| 61 6c 73 6f 0a 20 20 20 | 20 20 64 65 6e 6f 74 65 |also. | denote|
|00000d30| 73 20 61 6e 79 20 6f 70 | 74 69 6f 6e 73 20 6f 72 |s any op|tions or|
|00000d40| 20 61 72 67 75 6d 65 6e | 74 73 20 74 68 61 74 20 | argumen|ts that |
|00000d50| 69 74 20 61 63 63 65 70 | 74 73 2e 20 4e 6f 74 65 |it accep|ts. Note|
|00000d60| 73 20 61 74 20 74 68 65 | 20 65 6e 64 20 20 6f 66 |s at the| end of|
|00000d70| 0a 20 20 20 20 20 74 68 | 65 20 74 61 62 6c 65 20 |. th|e table |
|00000d80| 64 65 73 63 72 69 62 65 | 20 74 68 65 20 6e 6f 74 |describe| the not|
|00000d90| 61 74 69 6f 6e 20 75 73 | 65 64 20 69 6e 20 74 68 |ation us|ed in th|
|00000da0| 69 73 20 74 61 62 6c 65 | 2e 0a 0a 20 20 20 20 20 |is table|... |
|00000db0| 20 20 20 49 6e 20 20 61 | 64 64 69 74 69 6f 6e 20 | In a|ddition |
|00000dc0| 20 74 6f 20 74 68 65 20 | 6b 65 79 73 20 6c 69 73 | to the |keys lis|
|00000dd0| 74 65 64 20 68 65 72 65 | 2c 20 79 6f 75 72 20 6b |ted here|, your k|
|00000de0| 65 79 62 6f 61 72 64 27 | 73 20 22 61 72 72 6f 77 |eyboard'|s "arrow|
|00000df0| 22 20 6b 65 79 73 0a 20 | 20 20 20 20 77 69 6c 6c |" keys. | will|
|00000e00| 20 62 65 20 69 6e 74 65 | 72 70 72 65 74 74 65 64 | be inte|rpretted|
|00000e10| 20 61 73 20 74 68 65 20 | 61 70 70 72 6f 70 72 69 | as the |appropri|
|00000e20| 61 74 65 20 63 75 72 73 | 6f 72 20 6d 6f 76 65 6d |ate curs|or movem|
|00000e30| 65 6e 74 20 63 6f 6d 6d | 61 6e 64 73 2e 20 20 54 |ent comm|ands. T|
|00000e40| 68 65 0a 20 20 20 20 20 | 73 61 6d 65 20 67 6f 65 |he. |same goe|
|00000e50| 73 20 66 6f 72 20 3c 50 | 67 55 70 3e 20 61 6e 64 |s for <P|gUp> and|
|00000e60| 20 3c 50 67 44 6e 3e 2c | 20 69 66 20 79 6f 75 72 | <PgDn>,| if your|
|00000e70| 20 6b 65 79 62 6f 61 72 | 64 20 68 61 73 20 74 68 | keyboar|d has th|
|00000e80| 65 6d 2e 20 54 68 65 72 | 65 20 69 73 20 61 0a 20 |em. Ther|e is a. |
|00000e90| 20 20 20 20 63 6f 6c 6f | 6e 20 6d 6f 64 65 20 63 | colo|n mode c|
|00000ea0| 6f 6d 6d 61 6e 64 20 28 | 74 6f 20 62 65 20 64 65 |ommand (|to be de|
|00000eb0| 73 63 72 69 62 65 64 20 | 6c 61 74 65 72 29 20 77 |scribed |later) w|
|00000ec0| 68 69 63 68 20 20 77 69 | 6c 6c 20 20 61 6c 6c 6f |hich wi|ll allo|
|00000ed0| 77 20 20 79 6f 75 20 20 | 74 6f 0a 20 20 20 20 20 |w you |to. |
|00000ee0| 64 65 66 69 6e 65 20 6f | 74 68 65 72 20 6b 65 79 |define o|ther key|
|00000ef0| 73 2c 20 73 75 63 68 20 | 61 73 20 66 75 6e 63 74 |s, such |as funct|
|00000f00| 69 6f 6e 20 6b 65 79 73 | 2e 0a 0a 20 20 20 20 20 |ion keys|... |
|00000f10| 20 20 20 41 20 74 69 70 | 3a 20 76 69 73 75 61 6c | A tip|: visual|
|00000f20| 20 63 6f 6d 6d 61 6e 64 | 20 6d 6f 64 65 20 6c 6f | command| mode lo|
|00000f30| 6f 6b 73 20 61 20 6c 6f | 74 20 6c 69 6b 65 20 74 |oks a lo|t like t|
|00000f40| 65 78 74 20 69 6e 70 75 | 74 20 6d 6f 64 65 2e 20 |ext inpu|t mode. |
|00000f50| 49 66 20 79 6f 75 0a 20 | 20 20 20 20 66 6f 72 67 |If you. | forg|
|00000f60| 65 74 20 77 68 69 63 68 | 20 6d 6f 64 65 20 79 6f |et which| mode yo|
|00000f70| 75 27 72 65 20 69 6e 2c | 20 6a 75 73 74 20 68 69 |u're in,| just hi|
|00000f80| 74 20 74 68 65 20 3c 45 | 73 63 3e 20 6b 65 79 2e |t the <E|sc> key.|
|00000f90| 20 49 66 20 20 65 6c 76 | 69 73 20 20 62 65 65 70 | If elv|is beep|
|00000fa0| 73 2c 0a 20 20 20 20 20 | 74 68 65 6e 20 20 79 6f |s,. |then yo|
|00000fb0| 75 27 72 65 20 20 69 6e | 20 76 69 73 75 61 6c 20 |u're in| visual |
|00000fc0| 63 6f 6d 6d 61 6e 64 20 | 6d 6f 64 65 2e 20 49 66 |command |mode. If|
|00000fd0| 20 65 6c 76 69 73 20 64 | 6f 65 73 20 6e 6f 74 20 | elvis d|oes not |
|00000fe0| 62 65 65 70 2c 20 74 68 | 65 6e 20 79 6f 75 0a 20 |beep, th|en you. |
|00000ff0| 20 20 20 20 77 65 72 65 | 20 69 6e 20 69 6e 70 75 | were| in inpu|
|00001000| 74 20 6d 6f 64 65 2c 20 | 62 75 74 20 62 79 20 68 |t mode, |but by h|
|00001010| 69 74 74 69 6e 67 20 3c | 45 73 63 3e 20 79 6f 75 |itting <|Esc> you|
|00001020| 20 20 77 69 6c 6c 20 20 | 68 61 76 65 20 20 73 77 | will |have sw|
|00001030| 69 74 63 68 65 64 20 20 | 74 6f 0a 20 20 20 20 20 |itched |to. |
|00001040| 76 69 73 75 61 6c 20 63 | 6f 6d 6d 61 6e 64 20 6d |visual c|ommand m|
|00001050| 6f 64 65 2e 20 53 6f 2c | 20 6f 6e 65 20 77 61 79 |ode. So,| one way|
|00001060| 20 6f 72 20 61 6e 6f 74 | 68 65 72 2c 20 61 66 74 | or anot|her, aft|
|00001070| 65 72 20 3c 45 73 63 3e | 20 65 6c 76 69 73 20 77 |er <Esc>| elvis w|
|00001080| 69 6c 6c 20 62 65 0a 20 | 20 20 20 20 72 65 61 64 |ill be. | read|
|00001090| 79 20 66 6f 72 20 61 20 | 63 6f 6d 6d 61 6e 64 2e |y for a |command.|
|000010a0| 0a 0a 63 6f 6d 6d 61 6e | 64 20 20 20 20 20 20 20 |..comman|d |
|000010b0| 20 20 64 65 73 63 72 69 | 70 74 69 6f 6e 20 20 20 | descri|ption |
|000010c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 74 79 70 65 0a 2d | | type.-|
|000010f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2b 2d |--------|------+-|
|00001100| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001130| 2d 2d 2d 2d 2d 2d 2b 2d | 2d 2d 2d 2d 2d 2d 2d 0a |------+-|-------.|
|00001140| 20 20 20 20 20 20 20 20 | 5e 41 20 20 20 20 20 20 | |^A |
|00001150| 2d 2d 2d 0a 20 20 20 20 | 20 20 20 20 5e 42 20 20 |---. | ^B |
|00001160| 20 20 20 20 4d 6f 76 65 | 20 74 6f 77 61 72 64 20 | Move| toward |
|00001170| 74 68 65 20 74 6f 70 20 | 6f 66 20 74 68 65 20 66 |the top |of the f|
|00001180| 69 6c 65 20 62 79 20 31 | 20 73 63 72 65 65 6e 66 |ile by 1| screenf|
|00001190| 75 6c 0a 20 20 20 20 20 | 20 20 20 5e 43 20 20 20 |ul. | ^C |
|000011a0| 20 20 20 2d 2d 2d 0a 63 | 6f 75 6e 74 20 20 20 5e | ---.c|ount ^|
|000011b0| 44 20 20 20 20 20 20 73 | 63 72 6f 6c 6c 20 64 6f |D s|croll do|
|000011c0| 77 6e 20 3c 63 6f 75 6e | 74 3e 20 6c 69 6e 65 73 |wn <coun|t> lines|
|000011d0| 20 28 64 65 66 61 75 6c | 74 20 31 2f 32 20 73 63 | (defaul|t 1/2 sc|
|000011e0| 72 65 65 6e 29 0a 63 6f | 75 6e 74 20 20 20 5e 45 |reen).co|unt ^E|
|000011f0| 20 20 20 20 20 20 73 63 | 72 6f 6c 6c 20 75 70 20 | sc|roll up |
|00001200| 3c 63 6f 75 6e 74 3e 20 | 6c 69 6e 65 73 0a 20 20 |<count> |lines. |
|00001210| 20 20 20 20 20 20 5e 46 | 20 20 20 20 20 20 6d 6f | ^F| mo|
|00001220| 76 65 20 74 6f 77 61 72 | 64 20 74 68 65 20 62 6f |ve towar|d the bo|
|00001230| 74 74 6f 6d 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |ttom of |the file|
|00001240| 20 62 79 20 31 20 73 63 | 72 65 65 6e 66 75 6c 0a | by 1 sc|reenful.|
|00001250| 20 20 20 20 20 20 20 20 | 5e 47 20 20 20 20 20 20 | |^G |
|00001260| 73 68 6f 77 20 66 69 6c | 65 20 73 74 61 74 75 73 |show fil|e status|
|00001270| 2c 20 61 6e 64 20 74 68 | 65 20 63 75 72 72 65 6e |, and th|e curren|
|00001280| 74 20 6c 69 6e 65 20 23 | 0a 63 6f 75 6e 74 20 20 |t line #|.count |
|00001290| 20 5e 48 20 20 20 20 20 | 20 6d 6f 76 65 20 6c 65 | ^H | move le|
|000012a0| 66 74 2c 20 6c 69 6b 65 | 20 68 20 20 20 20 20 20 |ft, like| h |
|000012b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012d0| 20 4d 4f 56 45 0a 20 20 | 20 20 20 20 20 20 5e 49 | MOVE. | ^I|
|000012e0| 20 20 20 20 20 20 2d 2d | 2d 0a 63 6f 75 6e 74 20 | --|-.count |
|000012f0| 20 20 5e 4a 20 20 20 20 | 20 20 6d 6f 76 65 20 64 | ^J | move d|
|00001300| 6f 77 6e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |own | |
|00001310| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001330| 20 20 4d 4f 56 45 0a 20 | 20 20 20 20 20 20 20 5e | MOVE. | ^|
|00001340| 4b 20 20 20 20 20 20 2d | 2d 2d 0a 20 20 20 20 20 |K -|--. |
|00001350| 20 20 20 5e 4c 20 20 20 | 20 20 20 72 65 64 72 61 | ^L | redra|
|00001360| 77 20 74 68 65 20 73 63 | 72 65 65 6e 0a 63 6f 75 |w the sc|reen.cou|
|00001370| 6e 74 20 20 20 5e 4d 20 | 20 20 20 20 20 6d 6f 76 |nt ^M | mov|
|00001380| 65 20 74 6f 20 74 68 65 | 20 66 72 6f 6e 74 20 6f |e to the| front o|
|00001390| 66 20 74 68 65 20 6e 65 | 78 74 20 6c 69 6e 65 20 |f the ne|xt line |
|000013a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013b0| 20 20 20 20 20 4d 4f 56 | 45 0a 63 6f 75 6e 74 20 | MOV|E.count |
|000013c0| 20 20 5e 4e 20 20 20 20 | 20 20 6d 6f 76 65 20 64 | ^N | move d|
|000013d0| 6f 77 6e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |own | |
|000013e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000013f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001400| 20 20 4d 4f 56 45 0a 20 | 20 20 20 20 20 20 20 5e | MOVE. | ^|
|00001410| 4f 20 20 20 20 20 20 2d | 2d 2d 0a 63 6f 75 6e 74 |O -|--.count|
|00001420| 20 20 20 5e 50 20 20 20 | 20 20 20 6d 6f 76 65 20 | ^P | move |
|00001430| 75 70 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |up | |
|00001440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001450| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001460| 20 20 20 4d 4f 56 45 0a | 20 20 20 20 20 20 20 20 | MOVE.| |
|00001470| 5e 51 20 20 20 20 20 20 | 2d 2d 2d 0a 20 20 20 20 |^Q |---. |
|00001480| 20 20 20 20 5e 52 20 20 | 20 20 20 20 72 65 64 72 | ^R | redr|
|00001490| 61 77 20 74 68 65 20 73 | 63 72 65 65 6e 0a 20 20 |aw the s|creen. |
|000014a0| 20 20 20 20 20 20 5e 53 | 20 20 20 20 20 20 2d 2d | ^S| --|
|000014b0| 2d 0a 20 20 20 20 20 20 | 20 20 5e 54 20 20 20 20 |-. | ^T |
|000014c0| 20 20 2d 2d 2d 0a 63 6f | 75 6e 74 20 20 20 5e 55 | ---.co|unt ^U|
|000014d0| 20 20 20 20 20 20 73 63 | 72 6f 6c 6c 20 75 70 20 | sc|roll up |
|000014e0| 3c 63 6f 75 6e 74 3e 20 | 6c 69 6e 65 73 20 28 64 |<count> |lines (d|
|000014f0| 65 66 61 75 6c 74 20 31 | 2f 32 20 73 63 72 65 65 |efault 1|/2 scree|
|00001500| 6e 29 0a 20 20 20 20 20 | 20 20 20 5e 56 20 20 20 |n). | ^V |
|00001510| 20 20 20 2d 2d 2d 0a 20 | 20 20 20 20 20 20 20 5e | ---. | ^|
|00001520| 57 20 20 20 20 20 20 2d | 2d 2d 0a 20 20 20 20 20 |W -|--. |
|00001530| 20 20 20 5e 58 20 20 20 | 20 20 20 2d 2d 2d 0a 63 | ^X | ---.c|
|00001540| 6f 75 6e 74 20 20 20 5e | 59 20 20 20 20 20 20 73 |ount ^|Y s|
|00001550| 63 72 6f 6c 6c 20 64 6f | 77 6e 20 3c 63 6f 75 6e |croll do|wn <coun|
|00001560| 74 3e 20 6c 69 6e 65 73 | 0a 20 20 20 20 20 20 20 |t> lines|. |
|00001570| 20 5e 5a 20 20 20 20 20 | 20 2d 2d 2d 0a 20 20 20 | ^Z | ---. |
|00001580| 20 20 20 20 20 45 53 43 | 20 20 20 20 20 2d 2d 2d | ESC| ---|
|00001590| 0a 20 20 20 20 20 20 20 | 20 5e 5c 20 20 20 20 20 |. | ^\ |
|000015a0| 20 2d 2d 2d 0a 20 20 20 | 20 20 20 20 20 5e 5d 20 | ---. | ^] |
|000015b0| 20 20 20 20 20 69 66 20 | 74 68 65 20 63 75 72 73 | if |the curs|
|000015c0| 6f 72 20 69 73 20 6f 6e | 20 61 20 74 61 67 20 6e |or is on| a tag n|
|000015d0| 61 6d 65 2c 20 67 6f 20 | 74 6f 20 74 68 61 74 20 |ame, go |to that |
|000015e0| 74 61 67 0a 20 20 20 20 | 20 20 20 20 5e 5e 20 20 |tag. | ^^ |
|000015f0| 20 20 20 20 2d 2d 2d 0a | 20 20 20 20 20 20 20 20 | ---.| |
|00001600| 5e 5f 20 20 20 20 20 20 | 2d 2d 2d 0a 63 6f 75 6e |^_ |---.coun|
|00001610| 74 20 20 20 53 50 43 20 | 20 20 20 20 6d 6f 76 65 |t SPC | move|
|00001620| 20 72 69 67 68 74 2c 6c | 69 6b 65 20 6c 20 20 20 | right,l|ike l |
|00001630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001650| 20 20 20 20 4d 4f 56 45 | 0a 20 20 20 20 20 20 20 | MOVE|. |
|00001660| 20 20 21 20 6d 76 20 20 | 20 72 75 6e 20 74 68 65 | ! mv | run the|
|00001670| 20 73 65 6c 65 63 74 65 | 64 20 6c 69 6e 65 73 20 | selecte|d lines |
|00001680| 74 68 72 75 20 61 6e 20 | 65 78 74 65 72 6e 61 6c |thru an |external|
|00001690| 20 66 69 6c 74 65 72 20 | 70 72 6f 67 72 61 6d 0a | filter |program.|
|000016a0| 20 20 20 20 20 20 20 20 | 20 22 20 6b 65 79 20 20 | | " key |
|000016b0| 73 65 6c 65 63 74 20 77 | 68 69 63 68 20 63 75 74 |select w|hich cut|
|000016c0| 20 62 75 66 66 65 72 20 | 74 6f 20 75 73 65 20 6e | buffer |to use n|
|000016d0| 65 78 74 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ext.. | |
|000016e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016f0| 20 20 20 20 20 20 20 20 | 20 2d 20 32 20 2d 0a 0a | | - 2 -..|
|00001700| 0a 0a 0a 0a 0a 0a 0a 63 | 6f 75 6e 74 20 20 20 20 |.......c|ount |
|00001710| 23 20 2b 20 20 20 20 69 | 6e 63 72 65 6d 65 6e 74 |# + i|ncrement|
|00001720| 20 61 20 6e 75 6d 62 65 | 72 20 20 20 20 20 20 20 | a numbe|r |
|00001730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E|
|00001750| 44 49 54 0a 20 20 20 20 | 20 20 20 20 20 24 20 20 |DIT. | $ |
|00001760| 20 20 20 20 6d 6f 76 65 | 20 74 6f 20 74 68 65 20 | move| to the |
|00001770| 72 65 61 72 20 6f 66 20 | 74 68 65 20 63 75 72 72 |rear of |the curr|
|00001780| 65 6e 74 20 6c 69 6e 65 | 20 20 20 20 20 20 20 20 |ent line| |
|00001790| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4f 56 45 | | MOVE|
|000017a0| 0a 20 20 20 20 20 20 20 | 20 20 25 20 20 20 20 20 |. | % |
|000017b0| 20 6d 6f 76 65 20 74 6f | 20 74 68 65 20 6d 61 74 | move to| the mat|
|000017c0| 63 68 69 6e 67 20 28 29 | 7b 7d 5b 5d 20 63 68 61 |ching ()|{}[] cha|
|000017d0| 72 61 63 74 65 72 20 20 | 20 20 20 20 20 20 20 20 |racter | |
|000017e0| 20 20 20 20 20 20 20 20 | 20 4d 4f 56 45 0a 20 20 | | MOVE. |
|000017f0| 20 20 20 20 20 20 20 26 | 20 20 20 20 20 20 2d 2d | &| --|
|00001800| 2d 0a 20 20 20 20 20 20 | 20 20 20 27 20 6b 65 79 |-. | ' key|
|00001810| 20 20 6d 6f 76 65 20 74 | 6f 20 61 20 6d 61 72 6b | move t|o a mark|
|00001820| 65 64 20 6c 69 6e 65 20 | 20 20 20 20 20 20 20 20 |ed line | |
|00001830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001840| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 56 45 0a 63 | | MOVE.c|
|00001850| 6f 75 6e 74 20 20 20 20 | 28 20 20 20 20 20 20 6d |ount |( m|
|00001860| 6f 76 65 20 62 61 63 6b | 77 61 72 64 20 3c 63 6f |ove back|ward <co|
|00001870| 75 6e 74 3e 20 73 65 6e | 74 65 6e 63 65 73 20 20 |unt> sen|tences |
|00001880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001890| 20 20 20 20 20 20 20 4d | 4f 56 45 0a 63 6f 75 6e | M|OVE.coun|
|000018a0| 74 20 20 20 20 29 20 20 | 20 20 20 20 6d 6f 76 65 |t ) | move|
|000018b0| 20 66 6f 72 77 61 72 64 | 20 3c 63 6f 75 6e 74 3e | forward| <count>|
|000018c0| 20 73 65 6e 74 65 6e 63 | 65 73 20 20 20 20 20 20 | sentenc|es |
|000018d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018e0| 20 20 20 20 4d 4f 56 45 | 0a 20 20 20 20 20 20 20 | MOVE|. |
|000018f0| 20 20 2a 20 20 20 20 20 | 20 2d 2d 2d 0a 63 6f 75 | * | ---.cou|
|00001900| 6e 74 20 20 20 20 2b 20 | 20 20 20 20 20 6d 6f 76 |nt + | mov|
|00001910| 65 20 74 6f 20 74 68 65 | 20 66 72 6f 6e 74 20 6f |e to the| front o|
|00001920| 66 20 74 68 65 20 6e 65 | 78 74 20 6c 69 6e 65 20 |f the ne|xt line |
|00001930| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001940| 20 20 20 20 20 4d 4f 56 | 45 0a 63 6f 75 6e 74 20 | MOV|E.count |
|00001950| 20 20 20 2c 20 20 20 20 | 20 20 72 65 70 65 61 74 | , | repeat|
|00001960| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 5b 66 | the pre|vious [f|
|00001970| 46 74 54 5d 20 62 75 74 | 20 69 6e 20 74 68 65 20 |FtT] but| in the |
|00001980| 6f 74 68 65 72 20 64 69 | 72 65 63 74 69 6f 6e 20 |other di|rection |
|00001990| 20 20 4d 4f 56 45 0a 63 | 6f 75 6e 74 20 20 20 20 | MOVE.c|ount |
|000019a0| 2d 20 20 20 20 20 20 6d | 6f 76 65 20 74 6f 20 74 |- m|ove to t|
|000019b0| 68 65 20 66 72 6f 6e 74 | 20 6f 66 20 74 68 65 20 |he front| of the |
|000019c0| 70 72 65 63 65 64 69 6e | 67 20 6c 69 6e 65 20 20 |precedin|g line |
|000019d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4d | | M|
|000019e0| 4f 56 45 0a 63 6f 75 6e | 74 20 20 20 20 2e 20 20 |OVE.coun|t . |
|000019f0| 20 20 20 20 72 65 70 65 | 61 74 20 74 68 65 20 70 | repe|at the p|
|00001a00| 72 65 76 69 6f 75 73 20 | 22 65 64 69 74 22 20 63 |revious |"edit" c|
|00001a10| 6f 6d 6d 61 6e 64 0a 20 | 20 20 20 20 20 20 20 20 |ommand. | |
|00001a20| 2f 20 74 65 78 74 20 73 | 65 61 72 63 68 20 66 6f |/ text s|earch fo|
|00001a30| 72 77 61 72 64 20 66 6f | 72 20 61 20 67 69 76 65 |rward fo|r a give|
|00001a40| 6e 20 72 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 |n regula|r expres|
|00001a50| 73 69 6f 6e 20 20 20 20 | 20 20 20 20 20 20 20 4d |sion | M|
|00001a60| 4f 56 45 0a 20 20 20 20 | 20 20 20 20 20 30 20 20 |OVE. | 0 |
|00001a70| 20 20 20 20 69 66 20 6e | 6f 74 20 70 61 72 74 20 | if n|ot part |
|00001a80| 6f 66 20 63 6f 75 6e 74 | 2c 20 6d 6f 76 65 20 74 |of count|, move t|
|00001a90| 6f 20 31 73 74 20 63 68 | 61 72 20 6f 66 20 74 68 |o 1st ch|ar of th|
|00001aa0| 69 73 20 6c 69 6e 65 20 | 20 20 20 20 4d 4f 56 45 |is line | MOVE|
|00001ab0| 0a 20 20 20 20 20 20 20 | 20 20 31 20 20 20 20 20 |. | 1 |
|00001ac0| 20 70 61 72 74 20 6f 66 | 20 63 6f 75 6e 74 0a 20 | part of| count. |
|00001ad0| 20 20 20 20 20 20 20 20 | 32 20 20 20 20 20 20 70 | |2 p|
|00001ae0| 61 72 74 20 6f 66 20 63 | 6f 75 6e 74 0a 20 20 20 |art of c|ount. |
|00001af0| 20 20 20 20 20 20 33 20 | 20 20 20 20 20 70 61 72 | 3 | par|
|00001b00| 74 20 6f 66 20 63 6f 75 | 6e 74 0a 20 20 20 20 20 |t of cou|nt. |
|00001b10| 20 20 20 20 34 20 20 20 | 20 20 20 70 61 72 74 20 | 4 | part |
|00001b20| 6f 66 20 63 6f 75 6e 74 | 0a 20 20 20 20 20 20 20 |of count|. |
|00001b30| 20 20 35 20 20 20 20 20 | 20 70 61 72 74 20 6f 66 | 5 | part of|
|00001b40| 20 63 6f 75 6e 74 0a 20 | 20 20 20 20 20 20 20 20 | count. | |
|00001b50| 36 20 20 20 20 20 20 70 | 61 72 74 20 6f 66 20 63 |6 p|art of c|
|00001b60| 6f 75 6e 74 0a 20 20 20 | 20 20 20 20 20 20 37 20 |ount. | 7 |
|00001b70| 20 20 20 20 20 70 61 72 | 74 20 6f 66 20 63 6f 75 | par|t of cou|
|00001b80| 6e 74 0a 20 20 20 20 20 | 20 20 20 20 38 20 20 20 |nt. | 8 |
|00001b90| 20 20 20 70 61 72 74 20 | 6f 66 20 63 6f 75 6e 74 | part |of count|
|00001ba0| 0a 20 20 20 20 20 20 20 | 20 20 39 20 20 20 20 20 |. | 9 |
|00001bb0| 20 70 61 72 74 20 6f 66 | 20 63 6f 75 6e 74 0a 20 | part of| count. |
|00001bc0| 20 20 20 20 20 20 20 20 | 3a 20 74 65 78 74 20 72 | |: text r|
|00001bd0| 75 6e 20 73 69 6e 67 6c | 65 20 45 58 20 63 6d 64 |un singl|e EX cmd|
|00001be0| 0a 63 6f 75 6e 74 20 20 | 20 20 3b 20 20 20 20 20 |.count | ; |
|00001bf0| 20 72 65 70 65 61 74 20 | 74 68 65 20 70 72 65 76 | repeat |the prev|
|00001c00| 69 6f 75 73 20 5b 66 46 | 74 54 5d 20 63 6d 64 20 |ious [fF|tT] cmd |
|00001c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c20| 20 20 20 20 20 20 20 20 | 20 4d 4f 56 45 0a 20 20 | | MOVE. |
|00001c30| 20 20 20 20 20 20 20 3c | 20 6d 76 20 20 20 73 68 | <| mv sh|
|00001c40| 69 66 74 20 74 65 78 74 | 20 6c 65 66 74 20 20 20 |ift text| left |
|00001c50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c70| 20 20 20 20 20 20 45 44 | 49 54 0a 20 20 20 20 20 | ED|IT. |
|00001c80| 20 20 20 20 3d 20 20 20 | 20 20 20 2d 2d 2d 0a 20 | = | ---. |
|00001c90| 20 20 20 20 20 20 20 20 | 3e 20 6d 76 20 20 20 73 | |> mv s|
|00001ca0| 68 69 66 74 20 74 65 78 | 74 20 72 69 67 68 74 20 |hift tex|t right |
|00001cb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cd0| 20 20 20 20 20 20 20 45 | 44 49 54 0a 20 20 20 20 | E|DIT. |
|00001ce0| 20 20 20 20 20 3f 20 74 | 65 78 74 20 73 65 61 72 | ? t|ext sear|
|00001cf0| 63 68 20 62 61 63 6b 77 | 61 72 64 20 66 6f 72 20 |ch backw|ard for |
|00001d00| 61 20 67 69 76 65 6e 20 | 72 65 67 75 6c 61 72 20 |a given |regular |
|00001d10| 65 78 70 72 65 73 73 69 | 6f 6e 20 20 20 20 20 20 |expressi|on |
|00001d20| 20 20 20 20 4d 4f 56 45 | 0a 20 20 20 20 20 20 20 | MOVE|. |
|00001d30| 20 20 40 20 20 20 20 20 | 20 2d 2d 2d 0a 63 6f 75 | @ | ---.cou|
|00001d40| 6e 74 20 20 20 20 41 20 | 69 6e 70 20 20 61 70 70 |nt A |inp app|
|00001d50| 65 6e 64 20 61 74 20 65 | 6e 64 20 6f 66 20 74 68 |end at e|nd of th|
|00001d60| 65 20 6c 69 6e 65 20 20 | 20 20 20 20 20 20 20 20 |e line | |
|00001d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d80| 20 20 20 20 20 45 44 49 | 54 0a 63 6f 75 6e 74 20 | EDI|T.count |
|00001d90| 20 20 20 42 20 20 20 20 | 20 20 6d 6f 76 65 20 62 | B | move b|
|00001da0| 61 63 6b 20 57 6f 72 64 | 20 20 20 20 20 20 20 20 |ack Word| |
|00001db0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001dd0| 20 20 4d 4f 56 45 0a 20 | 20 20 20 20 20 20 20 20 | MOVE. | |
|00001de0| 43 20 69 6e 70 20 20 63 | 68 61 6e 67 65 20 74 65 |C inp c|hange te|
|00001df0| 78 74 20 66 72 6f 6d 20 | 74 68 65 20 63 75 72 73 |xt from |the curs|
|00001e00| 6f 72 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 65 |or throu|gh the e|
|00001e10| 6e 64 20 6f 66 20 74 68 | 65 20 6c 69 6e 65 20 45 |nd of th|e line E|
|00001e20| 44 49 54 0a 20 20 20 20 | 20 20 20 20 20 44 20 20 |DIT. | D |
|00001e30| 20 20 20 20 64 65 6c 65 | 74 65 20 74 65 78 74 20 | dele|te text |
|00001e40| 66 72 6f 6d 20 74 68 65 | 20 63 75 72 73 6f 72 20 |from the| cursor |
|00001e50| 74 68 72 6f 75 67 68 20 | 74 68 65 20 65 6e 64 20 |through |the end |
|00001e60| 6f 66 20 74 68 65 20 6c | 69 6e 65 20 45 44 49 54 |of the l|ine EDIT|
|00001e70| 0a 63 6f 75 6e 74 20 20 | 20 20 45 20 20 20 20 20 |.count | E |
|00001e80| 20 6d 6f 76 65 20 65 6e | 64 20 6f 66 20 57 6f 72 | move en|d of Wor|
|00001e90| 64 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |d | |
|00001ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001eb0| 20 20 20 20 20 20 20 20 | 20 4d 4f 56 45 0a 63 6f | | MOVE.co|
|00001ec0| 75 6e 74 20 20 20 20 46 | 20 6b 65 79 20 20 6d 6f |unt F| key mo|
|00001ed0| 76 65 20 6c 65 66 74 77 | 61 72 64 20 74 6f 20 61 |ve leftw|ard to a|
|00001ee0| 20 67 69 76 65 6e 20 63 | 68 61 72 61 63 74 65 72 | given c|haracter|
|00001ef0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f00| 20 20 20 20 20 20 4d 4f | 56 45 0a 63 6f 75 6e 74 | MO|VE.count|
|00001f10| 20 20 20 20 47 20 20 20 | 20 20 20 6d 6f 76 65 20 | G | move |
|00001f20| 74 6f 20 6c 69 6e 65 20 | 23 3c 63 6f 75 6e 74 3e |to line |#<count>|
|00001f30| 20 28 64 65 66 61 75 6c | 74 20 69 73 20 74 68 65 | (defaul|t is the|
|00001f40| 20 62 6f 74 74 6f 6d 20 | 6c 69 6e 65 29 20 20 20 | bottom |line) |
|00001f50| 20 20 20 4d 4f 56 45 0a | 63 6f 75 6e 74 20 20 20 | MOVE.|count |
|00001f60| 20 48 20 20 20 20 20 20 | 6d 6f 76 65 20 74 6f 20 | H |move to |
|00001f70| 68 6f 6d 65 20 72 6f 77 | 20 28 74 68 65 20 6c 69 |home row| (the li|
|00001f80| 6e 65 20 61 74 20 74 68 | 65 20 74 6f 70 20 6f 66 |ne at th|e top of|
|00001f90| 20 74 68 65 20 73 63 72 | 65 65 6e 29 0a 63 6f 75 | the scr|een).cou|
|00001fa0| 6e 74 20 20 20 20 49 20 | 69 6e 70 20 20 69 6e 73 |nt I |inp ins|
|00001fb0| 65 72 74 20 61 74 20 74 | 68 65 20 66 72 6f 6e 74 |ert at t|he front|
|00001fc0| 20 6f 66 20 74 68 65 20 | 6c 69 6e 65 20 28 61 66 | of the |line (af|
|00001fd0| 74 65 72 20 69 6e 64 65 | 6e 74 73 29 20 20 20 20 |ter inde|nts) |
|00001fe0| 20 20 20 20 20 45 44 49 | 54 0a 63 6f 75 6e 74 20 | EDI|T.count |
|00001ff0| 20 20 20 4a 20 20 20 20 | 20 20 6a 6f 69 6e 20 6c | J | join l|
|00002000| 69 6e 65 73 2c 20 74 6f | 20 66 6f 72 6d 20 6f 6e |ines, to| form on|
|00002010| 65 20 62 69 67 20 6c 69 | 6e 65 20 20 20 20 20 20 |e big li|ne |
|00002020| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002030| 20 20 45 44 49 54 0a 20 | 20 20 20 20 20 20 20 20 | EDIT. | |
|00002040| 4b 20 20 20 20 20 20 6c | 6f 6f 6b 20 75 70 20 6b |K l|ook up k|
|00002050| 65 79 77 6f 72 64 0a 63 | 6f 75 6e 74 20 20 20 20 |eyword.c|ount |
|00002060| 4c 20 20 20 20 20 20 6d | 6f 76 65 20 74 6f 20 6c |L m|ove to l|
|00002070| 61 73 74 20 72 6f 77 20 | 28 74 68 65 20 6c 69 6e |ast row |(the lin|
|00002080| 65 20 61 74 20 74 68 65 | 20 62 6f 74 74 6f 6d 20 |e at the| bottom |
|00002090| 6f 66 20 74 68 65 20 73 | 63 72 65 65 6e 29 0a 20 |of the s|creen). |
|000020a0| 20 20 20 20 20 20 20 20 | 4d 20 20 20 20 20 20 6d | |M m|
|000020b0| 6f 76 65 20 74 6f 20 6d | 69 64 64 6c 65 20 72 6f |ove to m|iddle ro|
|000020c0| 77 0a 20 20 20 20 20 20 | 20 20 20 4e 20 20 20 20 |w. | N |
|000020d0| 20 20 72 65 70 65 61 74 | 20 70 72 65 76 69 6f 75 | repeat| previou|
|000020e0| 73 20 73 65 61 72 63 68 | 2c 20 62 75 74 20 69 6e |s search|, but in|
|000020f0| 20 74 68 65 20 6f 70 70 | 6f 73 69 74 65 20 64 69 | the opp|osite di|
|00002100| 72 65 63 74 69 6f 6e 20 | 20 20 4d 4f 56 45 0a 63 |rection | MOVE.c|
|00002110| 6f 75 6e 74 20 20 20 20 | 4f 20 69 6e 70 20 20 6f |ount |O inp o|
|00002120| 70 65 6e 20 75 70 20 61 | 20 6e 65 77 20 6c 69 6e |pen up a| new lin|
|00002130| 65 20 61 62 6f 76 65 20 | 74 68 65 20 63 75 72 72 |e above |the curr|
|00002140| 65 6e 74 20 6c 69 6e 65 | 20 20 20 20 20 20 20 20 |ent line| |
|00002150| 20 20 20 20 20 20 20 45 | 44 49 54 0a 20 20 20 20 | E|DIT. |
|00002160| 20 20 20 20 20 50 20 20 | 20 20 20 20 70 61 73 74 | P | past|
|00002170| 65 20 74 65 78 74 20 62 | 65 66 6f 72 65 20 74 68 |e text b|efore th|
|00002180| 65 20 63 75 72 73 6f 72 | 0a 20 20 20 20 20 20 20 |e cursor|. |
|00002190| 20 20 51 20 20 20 20 20 | 20 71 75 69 74 20 74 6f | Q | quit to|
|000021a0| 20 45 58 20 6d 6f 64 65 | 0a 20 20 20 20 20 20 20 | EX mode|. |
|000021b0| 20 20 52 20 69 6e 70 20 | 20 6f 76 65 72 74 79 70 | R inp | overtyp|
|000021c0| 65 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e | |
|000021d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021f0| 20 45 44 49 54 0a 63 6f | 75 6e 74 20 20 20 20 53 | EDIT.co|unt S|
|00002200| 20 69 6e 70 20 20 63 68 | 61 6e 67 65 20 6c 69 6e | inp ch|ange lin|
|00002210| 65 73 2c 20 6c 69 6b 65 | 20 3c 63 6f 75 6e 74 3e |es, like| <count>|
|00002220| 63 63 0a 63 6f 75 6e 74 | 20 20 20 20 54 20 6b 65 |cc.count| T ke|
|00002230| 79 20 20 6d 6f 76 65 20 | 6c 65 66 74 77 61 72 64 |y move |leftward|
|00002240| 20 2a 61 6c 6d 6f 73 74 | 2a 20 74 6f 20 61 20 67 | *almost|* to a g|
|00002250| 69 76 65 6e 20 63 68 61 | 72 61 63 74 65 72 20 20 |iven cha|racter |
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 56 45 0a | | MOVE.|
|00002270| 20 20 20 20 20 20 20 20 | 20 55 20 20 20 20 20 20 | | U |
|00002280| 55 6e 64 6f 20 61 6c 6c | 20 72 65 63 65 6e 74 20 |Undo all| recent |
|00002290| 63 68 61 6e 67 65 73 20 | 74 6f 20 74 68 65 20 63 |changes |to the c|
|000022a0| 75 72 72 65 6e 74 20 6c | 69 6e 65 0a 20 20 20 20 |urrent l|ine. |
|000022b0| 20 20 20 20 20 56 20 20 | 20 20 20 20 2d 2d 2d 0a | V | ---.|
|000022c0| 63 6f 75 6e 74 20 20 20 | 20 57 20 20 20 20 20 20 |count | W |
|000022d0| 6d 6f 76 65 20 66 6f 72 | 77 61 72 64 20 3c 63 6f |move for|ward <co|
|000022e0| 75 6e 74 3e 20 57 6f 72 | 64 73 20 20 20 20 20 20 |unt> Wor|ds |
|000022f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002300| 20 20 20 20 20 20 20 20 | 4d 4f 56 45 0a 63 6f 75 | |MOVE.cou|
|00002310| 6e 74 20 20 20 20 58 20 | 20 20 20 20 20 64 65 6c |nt X | del|
|00002320| 65 74 65 20 74 68 65 20 | 63 68 61 72 61 63 74 65 |ete the |characte|
|00002330| 72 28 73 29 20 74 6f 20 | 74 68 65 20 6c 65 66 74 |r(s) to |the left|
|00002340| 20 6f 66 20 74 68 65 20 | 63 75 72 73 6f 72 20 20 | of the |cursor |
|00002350| 20 20 20 20 20 45 44 49 | 54 0a 63 6f 75 6e 74 20 | EDI|T.count |
|00002360| 20 20 20 59 20 20 20 20 | 20 20 79 61 6e 6b 20 74 | Y | yank t|
|00002370| 65 78 74 20 6c 69 6e 65 | 28 73 29 20 28 63 6f 70 |ext line|(s) (cop|
|00002380| 79 20 74 68 65 6d 20 69 | 6e 74 6f 20 61 20 63 75 |y them i|nto a cu|
|00002390| 74 20 62 75 66 66 65 72 | 29 0a 20 20 20 20 20 20 |t buffer|). |
|000023a0| 20 20 20 5a 20 5a 20 20 | 20 20 73 61 76 65 20 74 | Z Z | save t|
|000023b0| 68 65 20 66 69 6c 65 20 | 26 20 65 78 69 74 0a 0a |he file |& exit..|
|000023c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000023e0| 20 20 20 20 2d 20 33 20 | 2d 0a 0a 0a 0a 0a 0a 0a | - 3 |-.......|
|000023f0| 0a 0a 20 20 20 20 20 20 | 20 20 20 5b 20 5b 20 20 |.. | [ [ |
|00002400| 20 20 6d 6f 76 65 20 62 | 61 63 6b 20 31 20 73 65 | move b|ack 1 se|
|00002410| 63 74 69 6f 6e 20 20 20 | 20 20 20 20 20 20 20 20 |ction | |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002430| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 56 45 0a 20 | | MOVE. |
|00002440| 20 20 20 20 20 20 20 20 | 5c 20 20 20 20 20 20 2d | |\ -|
|00002450| 2d 2d 0a 20 20 20 20 20 | 20 20 20 20 5d 20 5d 20 |--. | ] ] |
|00002460| 20 20 20 6d 6f 76 65 20 | 66 6f 72 77 61 72 64 20 | move |forward |
|00002470| 31 20 73 65 63 74 69 6f | 6e 20 20 20 20 20 20 20 |1 sectio|n |
|00002480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002490| 20 20 20 20 20 20 20 20 | 20 20 20 4d 4f 56 45 0a | | MOVE.|
|000024a0| 20 20 20 20 20 20 20 20 | 20 5e 20 20 20 20 20 20 | | ^ |
|000024b0| 6d 6f 76 65 20 74 6f 20 | 74 68 65 20 66 72 6f 6e |move to |the fron|
|000024c0| 74 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |t of the| current|
|000024d0| 20 6c 69 6e 65 20 28 61 | 66 74 65 72 20 69 6e 64 | line (a|fter ind|
|000024e0| 65 6e 74 29 20 20 20 20 | 4d 4f 56 45 0a 20 20 20 |ent) |MOVE. |
|000024f0| 20 20 20 20 20 20 5f 20 | 20 20 20 20 20 2d 2d 2d | _ | ---|
|00002500| 0a 20 20 20 20 20 20 20 | 20 20 60 20 6b 65 79 20 |. | ` key |
|00002510| 20 6d 6f 76 65 20 74 6f | 20 61 20 6d 61 72 6b 65 | move to| a marke|
|00002520| 64 20 63 68 61 72 61 63 | 74 65 72 20 20 20 20 20 |d charac|ter |
|00002530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002540| 20 20 20 20 20 20 20 20 | 20 4d 4f 56 45 0a 63 6f | | MOVE.co|
|00002550| 75 6e 74 20 20 20 20 61 | 20 69 6e 70 20 20 69 6e |unt a| inp in|
|00002560| 73 65 72 74 20 74 65 78 | 74 20 61 66 74 65 72 20 |sert tex|t after |
|00002570| 74 68 65 20 63 75 72 73 | 6f 72 20 20 20 20 20 20 |the curs|or |
|00002580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002590| 20 20 20 20 20 20 45 44 | 49 54 0a 63 6f 75 6e 74 | ED|IT.count|
|000025a0| 20 20 20 20 62 20 20 20 | 20 20 20 6d 6f 76 65 20 | b | move |
|000025b0| 62 61 63 6b 20 3c 63 6f | 75 6e 74 3e 20 77 6f 72 |back <co|unt> wor|
|000025c0| 64 73 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ds | |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000025e0| 20 20 20 4d 4f 56 45 0a | 20 20 20 20 20 20 20 20 | MOVE.| |
|000025f0| 20 63 20 6d 76 20 20 20 | 63 68 61 6e 67 65 20 74 | c mv |change t|
|00002600| 65 78 74 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ext | |
|00002610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002630| 45 44 49 54 0a 20 20 20 | 20 20 20 20 20 20 64 20 |EDIT. | d |
|00002640| 6d 76 20 20 20 64 65 6c | 65 74 65 20 74 65 78 74 |mv del|ete text|
|00002650| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 45 44 49 | | EDI|
|00002680| 54 0a 63 6f 75 6e 74 20 | 20 20 20 65 20 20 20 20 |T.count | e |
|00002690| 20 20 6d 6f 76 65 20 66 | 6f 72 77 61 72 64 20 74 | move f|orward t|
|000026a0| 6f 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |o the en|d of the|
|000026b0| 20 63 75 72 72 65 6e 74 | 20 77 6f 72 64 20 20 20 | current| word |
|000026c0| 20 20 20 20 20 20 20 20 | 20 20 4d 4f 56 45 0a 63 | | MOVE.c|
|000026d0| 6f 75 6e 74 20 20 20 20 | 66 20 6b 65 79 20 20 6d |ount |f key m|
|000026e0| 6f 76 65 20 72 69 67 68 | 74 77 61 72 64 20 74 6f |ove righ|tward to|
|000026f0| 20 61 20 67 69 76 65 6e | 20 63 68 61 72 61 63 74 | a given| charact|
|00002700| 65 72 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |er | |
|00002710| 20 20 20 20 20 20 20 4d | 4f 56 45 0a 20 20 20 20 | M|OVE. |
|00002720| 20 20 20 20 20 67 20 20 | 20 20 20 20 2d 2d 2d 0a | g | ---.|
|00002730| 63 6f 75 6e 74 20 20 20 | 20 68 20 20 20 20 20 20 |count | h |
|00002740| 6d 6f 76 65 20 6c 65 66 | 74 20 20 20 20 20 20 20 |move lef|t |
|00002750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002770| 20 20 20 20 20 20 20 20 | 4d 4f 56 45 0a 63 6f 75 | |MOVE.cou|
|00002780| 6e 74 20 20 20 20 69 20 | 69 6e 70 20 20 69 6e 73 |nt i |inp ins|
|00002790| 65 72 74 20 74 65 78 74 | 20 61 74 20 74 68 65 20 |ert text| at the |
|000027a0| 63 75 72 73 6f 72 20 20 | 20 20 20 20 20 20 20 20 |cursor | |
|000027b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027c0| 20 20 20 20 20 45 44 49 | 54 0a 63 6f 75 6e 74 20 | EDI|T.count |
|000027d0| 20 20 20 6a 20 20 20 20 | 20 20 6d 6f 76 65 20 64 | j | move d|
|000027e0| 6f 77 6e 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |own | |
|000027f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002810| 20 20 4d 4f 56 45 0a 63 | 6f 75 6e 74 20 20 20 20 | MOVE.c|ount |
|00002820| 6b 20 20 20 20 20 20 6d | 6f 76 65 20 75 70 20 20 |k m|ove up |
|00002830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4d | | M|
|00002860| 4f 56 45 0a 63 6f 75 6e | 74 20 20 20 20 6c 20 20 |OVE.coun|t l |
|00002870| 20 20 20 20 6d 6f 76 65 | 20 72 69 67 68 74 20 20 | move| right |
|00002880| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 4d 4f 56 45 | | MOVE|
|000028b0| 0a 20 20 20 20 20 20 20 | 20 20 6d 20 6b 65 79 20 |. | m key |
|000028c0| 20 6d 61 72 6b 20 61 20 | 6c 69 6e 65 20 6f 72 20 | mark a |line or |
|000028d0| 63 68 61 72 61 63 74 65 | 72 0a 20 20 20 20 20 20 |characte|r. |
|000028e0| 20 20 20 6e 20 20 20 20 | 20 20 72 65 70 65 61 74 | n | repeat|
|000028f0| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 73 65 | the pre|vious se|
|00002900| 61 72 63 68 20 20 20 20 | 20 20 20 20 20 20 20 20 |arch | |
|00002910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002920| 20 20 4d 4f 56 45 0a 63 | 6f 75 6e 74 20 20 20 20 | MOVE.c|ount |
|00002930| 6f 20 69 6e 70 20 20 6f | 70 65 6e 20 61 20 6e 65 |o inp o|pen a ne|
|00002940| 77 20 6c 69 6e 65 20 62 | 65 6c 6f 77 20 74 68 65 |w line b|elow the|
|00002950| 20 63 75 72 72 65 6e 74 | 20 6c 69 6e 65 20 20 20 | current| line |
|00002960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 45 | | E|
|00002970| 44 49 54 0a 20 20 20 20 | 20 20 20 20 20 70 20 20 |DIT. | p |
|00002980| 20 20 20 20 70 61 73 74 | 65 20 74 65 78 74 20 61 | past|e text a|
|00002990| 66 74 65 72 20 74 68 65 | 20 63 75 72 73 6f 72 0a |fter the| cursor.|
|000029a0| 20 20 20 20 20 20 20 20 | 20 71 20 20 20 20 20 20 | | q |
|000029b0| 2d 2d 2d 0a 63 6f 75 6e | 74 20 20 20 20 72 20 6b |---.coun|t r k|
|000029c0| 65 79 20 20 72 65 70 6c | 61 63 65 20 3c 63 6f 75 |ey repl|ace <cou|
|000029d0| 6e 74 3e 20 63 68 61 72 | 73 20 62 79 20 61 20 67 |nt> char|s by a g|
|000029e0| 69 76 65 6e 20 63 68 61 | 72 61 63 74 65 72 20 20 |iven cha|racter |
|000029f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 45 44 49 54 | | EDIT|
|00002a00| 0a 63 6f 75 6e 74 20 20 | 20 20 73 20 69 6e 70 20 |.count | s inp |
|00002a10| 20 72 65 70 6c 61 63 65 | 20 3c 63 6f 75 6e 74 3e | replace| <count>|
|00002a20| 20 63 68 61 72 73 20 77 | 69 74 68 20 74 65 78 74 | chars w|ith text|
|00002a30| 20 66 72 6f 6d 20 74 68 | 65 20 75 73 65 72 20 20 | from th|e user |
|00002a40| 20 20 20 20 20 20 20 20 | 20 45 44 49 54 0a 63 6f | | EDIT.co|
|00002a50| 75 6e 74 20 20 20 20 74 | 20 6b 65 79 20 20 6d 6f |unt t| key mo|
|00002a60| 76 65 20 72 69 67 68 74 | 77 61 72 64 20 2a 61 6c |ve right|ward *al|
|00002a70| 6d 6f 73 74 2a 20 74 6f | 20 61 20 67 69 76 65 6e |most* to| a given|
|00002a80| 20 63 68 61 72 61 63 74 | 65 72 20 20 20 20 20 20 | charact|er |
|00002a90| 20 20 20 20 20 20 4d 4f | 56 45 0a 20 20 20 20 20 | MO|VE. |
|00002aa0| 20 20 20 20 75 20 20 20 | 20 20 20 75 6e 64 6f 20 | u | undo |
|00002ab0| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 65 64 69 |the prev|ious edi|
|00002ac0| 74 20 63 6f 6d 6d 61 6e | 64 0a 20 20 20 20 20 20 |t comman|d. |
|00002ad0| 20 20 20 76 20 20 20 20 | 20 20 2d 2d 2d 0a 63 6f | v | ---.co|
|00002ae0| 75 6e 74 20 20 20 20 77 | 20 20 20 20 20 20 6d 6f |unt w| mo|
|00002af0| 76 65 20 66 6f 72 77 61 | 72 64 20 3c 63 6f 75 6e |ve forwa|rd <coun|
|00002b00| 74 3e 20 77 6f 72 64 73 | 20 20 20 20 20 20 20 20 |t> words| |
|00002b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002b20| 20 20 20 20 20 20 4d 4f | 56 45 0a 63 6f 75 6e 74 | MO|VE.count|
|00002b30| 20 20 20 20 78 20 20 20 | 20 20 20 64 65 6c 65 74 | x | delet|
|00002b40| 65 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |e the ch|aracter |
|00002b50| 74 68 61 74 20 74 68 65 | 20 63 75 72 73 6f 72 27 |that the| cursor'|
|00002b60| 73 20 6f 6e 20 20 20 20 | 20 20 20 20 20 20 20 20 |s on | |
|00002b70| 20 20 20 45 44 49 54 0a | 20 20 20 20 20 20 20 20 | EDIT.| |
|00002b80| 20 79 20 6d 76 20 20 20 | 79 61 6e 6b 20 74 65 78 | y mv |yank tex|
|00002b90| 74 20 28 63 6f 70 79 20 | 69 74 20 69 6e 74 6f 20 |t (copy |it into |
|00002ba0| 61 20 63 75 74 20 62 75 | 66 66 65 72 29 0a 20 20 |a cut bu|ffer). |
|00002bb0| 20 20 20 20 20 20 20 7a | 20 6b 65 79 20 20 73 63 | z| key sc|
|00002bc0| 72 6f 6c 6c 20 63 75 72 | 72 65 6e 74 20 6c 69 6e |roll cur|rent lin|
|00002bd0| 65 20 74 6f 20 74 68 65 | 20 73 63 72 65 65 6e 27 |e to the| screen'|
|00002be0| 73 20 2b 3d 74 6f 70 20 | 2d 3d 62 6f 74 74 6f 6d |s +=top |-=bottom|
|00002bf0| 20 2e 3d 6d 69 64 64 6c | 65 0a 63 6f 75 6e 74 20 | .=middl|e.count |
|00002c00| 20 20 20 7b 20 20 20 20 | 20 20 6d 6f 76 65 20 62 | { | move b|
|00002c10| 61 63 6b 20 3c 63 6f 75 | 6e 74 3e 20 70 61 72 61 |ack <cou|nt> para|
|00002c20| 67 72 61 70 68 73 20 20 | 20 20 20 20 20 20 20 20 |graphs | |
|00002c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c40| 20 20 4d 4f 56 45 0a 63 | 6f 75 6e 74 20 20 20 20 | MOVE.c|ount |
|00002c50| 7c 20 20 20 20 20 20 6d | 6f 76 65 20 74 6f 20 63 || m|ove to c|
|00002c60| 6f 6c 75 6d 6e 20 3c 63 | 6f 75 6e 74 3e 20 28 74 |olumn <c|ount> (t|
|00002c70| 68 65 20 6c 65 66 74 6d | 6f 73 74 20 63 6f 6c 75 |he leftm|ost colu|
|00002c80| 6d 6e 20 69 73 20 31 29 | 0a 63 6f 75 6e 74 20 20 |mn is 1)|.count |
|00002c90| 20 20 7d 20 20 20 20 20 | 20 6d 6f 76 65 20 66 6f | } | move fo|
|00002ca0| 72 77 61 72 64 20 3c 63 | 6f 75 6e 74 3e 20 70 61 |rward <c|ount> pa|
|00002cb0| 72 61 67 72 61 70 68 73 | 20 20 20 20 20 20 20 20 |ragraphs| |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cd0| 20 4d 4f 56 45 0a 20 20 | 20 20 20 20 20 20 20 7e | MOVE. | ~|
|00002ce0| 20 20 20 20 20 20 73 77 | 69 74 63 68 20 61 20 63 | sw|itch a c|
|00002cf0| 68 61 72 61 63 74 65 72 | 20 62 65 74 77 65 65 6e |haracter| between|
|00002d00| 20 75 70 70 65 72 63 61 | 73 65 20 26 20 6c 6f 77 | upperca|se & low|
|00002d10| 65 72 63 61 73 65 20 20 | 20 20 20 20 20 20 45 44 |ercase | ED|
|00002d20| 49 54 0a 20 20 20 20 20 | 20 20 20 44 45 4c 20 20 |IT. | DEL |
|00002d30| 20 20 20 2d 2d 2d 0a 2d | 2d 2d 2d 2d 2d 2d 2d 2d | ---.-|--------|
|00002d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002d80| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 63 6f 75 6e 74 20 20 |-------.|.count |
|00002d90| 20 4d 61 6e 79 20 63 6f | 6d 6d 61 6e 64 73 20 6d | Many co|mmands m|
|00002da0| 61 79 20 62 65 20 70 72 | 65 63 65 64 65 64 20 62 |ay be pr|eceded b|
|00002db0| 79 20 61 20 63 6f 75 6e | 74 2e 20 20 54 68 69 73 |y a coun|t. This|
|00002dc0| 20 69 73 20 61 20 73 65 | 71 75 65 6e 63 65 20 6f | is a se|quence o|
|00002dd0| 66 20 64 69 67 69 74 73 | 0a 20 20 20 20 20 20 20 |f digits|. |
|00002de0| 20 72 65 70 72 65 73 65 | 6e 74 69 6e 67 20 61 20 | represe|nting a |
|00002df0| 64 65 63 69 6d 61 6c 20 | 6e 75 6d 62 65 72 2e 20 |decimal |number. |
|00002e00| 20 46 6f 72 20 6d 6f 73 | 74 20 63 6f 6d 6d 61 6e | For mos|t comman|
|00002e10| 64 73 20 74 68 61 74 20 | 75 73 65 20 61 20 63 6f |ds that |use a co|
|00002e20| 75 6e 74 2c 0a 20 20 20 | 20 20 20 20 20 74 68 65 |unt,. | the|
|00002e30| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 72 65 70 65 | command| is repe|
|00002e40| 61 74 65 64 20 3c 63 6f | 75 6e 74 3e 20 74 69 6d |ated <co|unt> tim|
|00002e50| 65 73 2e 20 20 54 68 65 | 20 63 6f 75 6e 74 20 69 |es. The| count i|
|00002e60| 73 20 61 6c 77 61 79 73 | 20 6f 70 74 69 6f 6e 61 |s always| optiona|
|00002e70| 6c 2c 0a 20 20 20 20 20 | 20 20 20 61 6e 64 20 75 |l,. | and u|
|00002e80| 73 75 61 6c 6c 79 20 64 | 65 66 61 75 6c 74 73 20 |sually d|efaults |
|00002e90| 74 6f 20 31 2e 0a 0a 6b | 65 79 20 20 20 20 20 53 |to 1...k|ey S|
|00002ea0| 6f 6d 65 20 63 6f 6d 6d | 61 6e 64 73 20 72 65 71 |ome comm|ands req|
|00002eb0| 75 69 72 65 20 74 77 6f | 20 6b 65 79 73 74 72 6f |uire two| keystro|
|00002ec0| 6b 65 73 2e 20 20 54 68 | 65 20 66 69 72 73 74 20 |kes. Th|e first |
|00002ed0| 6b 65 79 20 61 6c 77 61 | 79 73 20 64 65 74 65 72 |key alwa|ys deter|
|00002ee0| 6d 69 6e 65 73 0a 20 20 | 20 20 20 20 20 20 77 68 |mines. | wh|
|00002ef0| 69 63 68 20 63 6f 6d 6d | 61 6e 64 20 69 73 20 74 |ich comm|and is t|
|00002f00| 6f 20 62 65 20 65 78 65 | 63 75 74 65 64 2e 20 20 |o be exe|cuted. |
|00002f10| 54 68 65 20 73 65 63 6f | 6e 64 20 6b 65 79 20 69 |The seco|nd key i|
|00002f20| 73 20 75 73 65 64 20 61 | 73 20 61 20 70 61 72 61 |s used a|s a para|
|00002f30| 6d 65 74 65 72 0a 20 20 | 20 20 20 20 20 20 74 6f |meter. | to|
|00002f40| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 2e 0a 0a 6d | the com|mand...m|
|00002f50| 76 20 20 20 20 20 20 53 | 69 78 20 63 6f 6d 6d 61 |v S|ix comma|
|00002f60| 6e 64 73 20 28 21 20 3c | 20 3e 20 63 20 64 20 79 |nds (! <| > c d y|
|00002f70| 29 20 6f 70 65 72 61 74 | 65 20 6f 6e 20 74 65 78 |) operat|e on tex|
|00002f80| 74 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 63 75 |t betwee|n the cu|
|00002f90| 72 73 6f 72 20 61 6e 64 | 20 73 6f 6d 65 0a 20 20 |rsor and| some. |
|00002fa0| 20 20 20 20 20 20 6f 74 | 68 65 72 20 70 6f 73 69 | ot|her posi|
|00002fb0| 74 69 6f 6e 2e 20 20 54 | 6f 20 73 70 65 63 69 66 |tion. T|o specif|
|00002fc0| 79 20 74 68 61 74 20 6f | 74 68 65 72 20 70 6f 73 |y that o|ther pos|
|00002fd0| 69 74 69 6f 6e 2c 20 79 | 6f 75 20 61 72 65 20 65 |ition, y|ou are e|
|00002fe0| 78 70 65 63 74 65 64 20 | 74 6f 0a 20 20 20 20 20 |xpected |to. |
|00002ff0| 20 20 20 66 6f 6c 6c 6f | 77 20 74 68 65 20 63 6f | follo|w the co|
|00003000| 6d 6d 61 6e 64 20 6b 65 | 79 73 74 72 6f 6b 65 20 |mmand ke|ystroke |
|00003010| 77 69 74 68 20 61 20 6d | 6f 76 65 6d 65 6e 74 20 |with a m|ovement |
|00003020| 63 6f 6d 6d 61 6e 64 2e | 20 20 41 6c 73 6f 2c 20 |command.| Also, |
|00003030| 79 6f 75 20 6d 61 79 0a | 20 20 20 20 20 20 20 20 |you may.| |
|00003040| 68 61 76 65 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |have the| command|
|00003050| 20 6f 70 65 72 61 74 65 | 20 6f 6e 20 74 68 65 20 | operate| on the |
|00003060| 77 68 6f 6c 65 20 6c 69 | 6e 65 20 74 68 61 74 20 |whole li|ne that |
|00003070| 74 68 65 20 63 75 72 73 | 6f 72 20 69 73 20 6f 6e |the curs|or is on|
|00003080| 20 62 79 0a 20 20 20 20 | 20 20 20 20 74 79 70 69 | by. | typi|
|00003090| 6e 67 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6b |ng the c|ommand k|
|000030a0| 65 79 20 61 20 73 65 63 | 6f 6e 64 20 74 69 6d 65 |ey a sec|ond time|
|000030b0| 2e 0a 0a 69 6e 70 20 20 | 20 20 20 4d 61 6e 79 20 |...inp | Many |
|000030c0| 63 6f 6d 6d 61 6e 64 73 | 20 61 6c 6c 6f 77 20 74 |commands| allow t|
|000030d0| 68 65 20 75 73 65 72 20 | 74 6f 20 69 6e 74 65 72 |he user |to inter|
|000030e0| 61 63 74 69 76 65 6c 79 | 20 65 6e 74 65 72 20 74 |actively| enter t|
|000030f0| 65 78 74 2e 0a 0a 0a 20 | 20 20 20 20 20 20 20 20 |ext.... | |
|00003100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003110| 20 20 20 20 20 20 20 20 | 20 20 20 2d 20 34 20 2d | | - 4 -|
|00003120| 0a 0a 0a 0a 0a 0a 0a 0a | 0a 45 44 49 54 20 20 20 |........|.EDIT |
|00003130| 20 54 68 65 73 65 20 63 | 6f 6d 6d 61 6e 64 73 20 | These c|ommands |
|00003140| 61 66 66 65 63 74 20 74 | 65 78 74 2c 20 61 6e 64 |affect t|ext, and|
|00003150| 20 6d 61 79 20 62 65 20 | 72 65 70 65 61 74 65 64 | may be |repeated|
|00003160| 20 62 79 20 74 68 65 20 | 22 2e 22 20 63 6f 6d 6d | by the |"." comm|
|00003170| 61 6e 64 2e 0a 0a 4d 4f | 56 45 20 20 20 20 54 68 |and...MO|VE Th|
|00003180| 65 73 65 20 63 6f 6d 6d | 61 6e 64 73 20 6d 6f 76 |ese comm|ands mov|
|00003190| 65 20 74 68 65 20 63 75 | 72 73 6f 72 2c 20 61 6e |e the cu|rsor, an|
|000031a0| 64 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 74 6f |d may be| used to|
|000031b0| 20 73 70 65 63 69 66 79 | 20 74 68 65 20 65 78 74 | specify| the ext|
|000031c0| 65 6e 74 0a 20 20 20 20 | 20 20 20 20 6f 66 20 61 |ent. | of a|
|000031d0| 20 6d 65 6d 62 65 72 20 | 6f 66 20 74 68 65 20 22 | member |of the "|
|000031e0| 6d 76 22 20 63 6c 61 73 | 73 20 6f 66 20 63 6f 6d |mv" clas|s of com|
|000031f0| 6d 61 6e 64 73 2e 0a 0a | 0a 20 20 5f 08 49 5f 08 |mands...|. _.I_.|
|00003200| 6e 5f 08 70 5f 08 75 5f | 08 74 20 5f 08 4d 5f 08 |n_.p_.u_|.t _.M_.|
|00003210| 6f 5f 08 64 5f 08 65 0a | 0a 20 20 20 20 20 20 20 |o_.d_.e.|. |
|00003220| 20 59 6f 75 20 63 61 6e | 27 74 20 74 79 70 65 20 | You can|'t type |
|00003230| 74 65 78 74 20 69 6e 74 | 6f 20 79 6f 75 72 20 66 |text int|o your f|
|00003240| 69 6c 65 20 20 64 69 72 | 65 63 74 6c 79 20 20 66 |ile dir|ectly f|
|00003250| 72 6f 6d 20 20 76 69 73 | 75 61 6c 20 20 63 6f 6d |rom vis|ual com|
|00003260| 6d 61 6e 64 0a 20 20 20 | 20 20 6d 6f 64 65 2e 20 |mand. | mode. |
|00003270| 20 49 6e 73 74 65 61 64 | 2c 20 20 79 6f 75 20 6d | Instead|, you m|
|00003280| 75 73 74 20 66 69 72 73 | 74 20 67 69 76 65 20 61 |ust firs|t give a|
|00003290| 20 63 6f 6d 6d 61 6e 64 | 20 77 68 69 63 68 20 77 | command| which w|
|000032a0| 69 6c 6c 20 70 75 74 20 | 79 6f 75 20 69 6e 74 6f |ill put |you into|
|000032b0| 0a 20 20 20 20 20 69 6e | 70 75 74 20 6d 6f 64 65 |. in|put mode|
|000032c0| 2e 20 54 68 65 20 63 6f | 6d 6d 61 6e 64 73 20 74 |. The co|mmands t|
|000032d0| 6f 20 64 6f 20 74 68 69 | 73 20 61 72 65 20 41 2f |o do thi|s are A/|
|000032e0| 43 2f 49 2f 4f 2f 52 2f | 53 2f 61 2f 69 2f 6f 2f |C/I/O/R/|S/a/i/o/|
|000032f0| 73 2e 0a 0a 20 20 20 20 | 20 20 20 20 54 68 65 20 |s... | The |
|00003300| 53 2f 73 2f 43 2f 63 20 | 63 6f 6d 6d 61 6e 64 73 |S/s/C/c |commands|
|00003310| 20 74 65 6d 70 6f 72 61 | 72 69 6c 79 20 70 6c 61 | tempora|rily pla|
|00003320| 63 65 20 61 20 24 20 61 | 74 20 74 68 65 20 65 6e |ce a $ a|t the en|
|00003330| 64 20 6f 66 20 20 74 68 | 65 20 20 74 65 78 74 0a |d of th|e text.|
|00003340| 20 20 20 20 20 74 68 61 | 74 20 74 68 65 79 20 61 | tha|t they a|
|00003350| 72 65 20 67 6f 69 6e 67 | 20 74 6f 20 63 68 61 6e |re going| to chan|
|00003360| 67 65 2e 0a 0a 20 20 20 | 20 20 20 20 20 49 6e 20 |ge... | In |
|00003370| 20 69 6e 70 75 74 20 20 | 6d 6f 64 65 2c 20 20 61 | input |mode, a|
|00003380| 6c 6c 20 20 6b 65 79 73 | 74 72 6f 6b 65 73 20 61 |ll keys|trokes a|
|00003390| 72 65 20 69 6e 73 65 72 | 74 65 64 20 69 6e 74 6f |re inser|ted into|
|000033a0| 20 74 68 65 20 74 65 78 | 74 20 61 74 20 74 68 65 | the tex|t at the|
|000033b0| 0a 20 20 20 20 20 63 75 | 72 73 6f 72 27 73 20 70 |. cu|rsor's p|
|000033c0| 6f 73 69 74 69 6f 6e 2c | 20 65 78 63 65 70 74 20 |osition,| except |
|000033d0| 66 6f 72 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |for the |followin|
|000033e0| 67 3a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 5e |g:. | ^|
|000033f0| 41 20 20 20 20 20 20 69 | 6e 73 65 72 74 20 61 20 |A i|nsert a |
|00003400| 63 6f 70 79 20 6f 66 20 | 74 68 65 20 6c 61 73 74 |copy of |the last|
|00003410| 20 69 6e 70 75 74 20 74 | 65 78 74 0a 20 20 20 20 | input t|ext. |
|00003420| 20 20 20 20 20 20 20 20 | 5e 44 20 20 20 20 20 20 | |^D |
|00003430| 64 65 6c 65 74 65 20 6f | 6e 65 20 69 6e 64 65 6e |delete o|ne inden|
|00003440| 74 20 63 68 61 72 61 63 | 74 65 72 0a 20 20 20 20 |t charac|ter. |
|00003450| 20 20 20 20 20 20 20 20 | 5e 48 20 20 20 20 20 20 | |^H |
|00003460| 28 62 61 63 6b 73 70 61 | 63 65 29 20 65 72 61 73 |(backspa|ce) eras|
|00003470| 65 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |e the ch|aracter |
|00003480| 62 65 66 6f 72 65 20 74 | 68 65 20 63 75 72 73 6f |before t|he curso|
|00003490| 72 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 5e 4c |r. | ^L|
|000034a0| 20 20 20 20 20 20 72 65 | 64 72 61 77 20 74 68 65 | re|draw the|
|000034b0| 20 73 63 72 65 65 6e 0a | 20 20 20 20 20 20 20 20 | screen.| |
|000034c0| 20 20 20 20 5e 4d 20 20 | 20 20 20 20 28 63 61 72 | ^M | (car|
|000034d0| 72 69 61 67 65 20 72 65 | 74 75 72 6e 29 20 69 6e |riage re|turn) in|
|000034e0| 73 65 72 74 20 61 20 6e | 65 77 6c 69 6e 65 20 28 |sert a n|ewline (|
|000034f0| 5e 4a 2c 20 6c 69 6e 65 | 66 65 65 64 29 0a 20 20 |^J, line|feed). |
|00003500| 20 20 20 20 20 20 20 20 | 20 20 5e 50 20 20 20 20 | | ^P |
|00003510| 20 20 69 6e 73 65 72 74 | 20 74 68 65 20 63 6f 6e | insert| the con|
|00003520| 74 65 6e 74 73 20 6f 66 | 20 74 68 65 20 63 75 74 |tents of| the cut|
|00003530| 20 62 75 66 66 65 72 0a | 20 20 20 20 20 20 20 20 | buffer.| |
|00003540| 20 20 20 20 5e 52 20 20 | 20 20 20 20 72 65 64 72 | ^R | redr|
|00003550| 61 77 20 74 68 65 20 73 | 63 72 65 65 6e 2c 20 6c |aw the s|creen, l|
|00003560| 69 6b 65 20 5e 4c 0a 20 | 20 20 20 20 20 20 20 20 |ike ^L. | |
|00003570| 20 20 20 5e 54 20 20 20 | 20 20 20 69 6e 73 65 72 | ^T | inser|
|00003580| 74 20 61 6e 20 69 6e 64 | 65 6e 74 20 63 68 61 72 |t an ind|ent char|
|00003590| 61 63 74 65 72 0a 20 20 | 20 20 20 20 20 20 20 20 |acter. | |
|000035a0| 20 20 5e 55 20 20 20 20 | 20 20 62 61 63 6b 73 70 | ^U | backsp|
|000035b0| 61 63 65 20 74 6f 20 74 | 68 65 20 62 65 67 69 6e |ace to t|he begin|
|000035c0| 6e 69 6e 67 20 6f 66 20 | 74 68 65 20 6c 69 6e 65 |ning of |the line|
|000035d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 5e 56 20 |. | ^V |
|000035e0| 20 20 20 20 20 69 6e 73 | 65 72 74 20 74 68 65 20 | ins|ert the |
|000035f0| 66 6f 6c 6c 6f 77 69 6e | 67 20 6b 65 79 73 74 72 |followin|g keystr|
|00003600| 6f 6b 65 2c 20 65 76 65 | 6e 20 69 66 20 73 70 65 |oke, eve|n if spe|
|00003610| 63 69 61 6c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |cial. | |
|00003620| 20 5e 57 20 20 20 20 20 | 20 62 61 63 6b 73 70 61 | ^W | backspa|
|00003630| 63 65 20 74 6f 20 74 68 | 65 20 62 65 67 69 6e 6e |ce to th|e beginn|
|00003640| 69 6e 67 20 6f 66 20 74 | 68 65 20 63 75 72 72 65 |ing of t|he curre|
|00003650| 6e 74 20 77 6f 72 64 0a | 20 20 20 20 20 20 20 20 |nt word.| |
|00003660| 20 20 20 20 5e 5a 20 5e | 5a 20 20 20 77 72 69 74 | ^Z ^|Z writ|
|00003670| 65 20 74 68 65 20 66 69 | 6c 65 20 26 20 65 78 69 |e the fi|le & exi|
|00003680| 74 20 65 6c 76 69 73 0a | 20 20 20 20 20 20 20 20 |t elvis.| |
|00003690| 20 20 20 20 5e 5b 20 20 | 20 20 20 20 28 45 53 43 | ^[ | (ESC|
|000036a0| 61 70 65 29 20 65 78 69 | 74 20 66 72 6f 6d 20 69 |ape) exi|t from i|
|000036b0| 6e 70 75 74 20 6d 6f 64 | 65 2c 20 62 61 63 6b 20 |nput mod|e, back |
|000036c0| 74 6f 20 63 6f 6d 6d 61 | 6e 64 20 6d 6f 64 65 0a |to comma|nd mode.|
|000036d0| 0a 20 20 20 20 20 20 20 | 20 41 6c 73 6f 2c 20 6f |. | Also, o|
|000036e0| 6e 20 73 6f 6d 65 20 73 | 79 73 74 65 6d 73 2c 20 |n some s|ystems, |
|000036f0| 5e 53 20 6d 61 79 20 73 | 74 6f 70 20 6f 75 74 70 |^S may s|top outp|
|00003700| 75 74 2c 20 5e 51 20 6d | 61 79 20 20 72 65 73 74 |ut, ^Q m|ay rest|
|00003710| 61 72 74 20 20 6f 75 74 | 70 75 74 2c 0a 20 20 20 |art out|put,. |
|00003720| 20 20 61 6e 64 20 20 5e | 43 20 20 6d 61 79 20 20 | and ^|C may |
|00003730| 69 6e 74 65 72 75 70 74 | 20 20 65 78 65 63 75 74 |interupt| execut|
|00003740| 69 6f 6e 2e 20 20 5e 40 | 20 20 28 74 68 65 20 20 |ion. ^@| (the |
|00003750| 4e 55 4c 20 63 68 61 72 | 61 63 74 65 72 29 20 63 |NUL char|acter) c|
|00003760| 61 6e 6e 6f 74 20 62 65 | 0a 20 20 20 20 20 69 6e |annot be|. in|
|00003770| 73 65 72 74 65 64 2e 0a | 0a 20 20 20 20 20 20 20 |serted..|. |
|00003780| 20 54 68 65 20 52 20 76 | 69 73 75 61 6c 20 63 6f | The R v|isual co|
|00003790| 6d 6d 61 6e 64 20 70 75 | 74 73 20 79 6f 75 20 69 |mmand pu|ts you i|
|000037a0| 6e 20 6f 76 65 72 74 79 | 70 65 20 6d 6f 64 65 2c |n overty|pe mode,|
|000037b0| 20 77 68 69 63 68 20 69 | 73 20 61 20 73 6c 69 67 | which i|s a slig|
|000037c0| 68 74 6c 79 0a 20 20 20 | 20 20 64 69 66 66 65 72 |htly. | differ|
|000037d0| 65 6e 74 20 66 6f 72 6d | 20 6f 66 20 69 6e 70 75 |ent form| of inpu|
|000037e0| 74 20 6d 6f 64 65 2e 20 | 49 6e 20 6f 76 65 72 74 |t mode. |In overt|
|000037f0| 79 70 65 20 6d 6f 64 65 | 2c 20 65 61 63 68 20 74 |ype mode|, each t|
|00003800| 69 6d 65 20 79 6f 75 20 | 69 6e 73 65 72 74 20 61 |ime you |insert a|
|00003810| 0a 20 20 20 20 20 63 68 | 61 72 61 63 74 65 72 2c |. ch|aracter,|
|00003820| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 6f 6c 64 20 | one of |the old |
|00003830| 63 68 61 72 61 63 74 65 | 72 73 20 69 73 20 64 65 |characte|rs is de|
|00003840| 6c 65 74 65 64 20 66 72 | 6f 6d 20 74 68 65 20 66 |leted fr|om the f|
|00003850| 69 6c 65 2e 0a 0a 0a 20 | 20 5f 08 41 5f 08 72 5f |ile.... | _.A_.r_|
|00003860| 08 72 5f 08 6f 5f 08 77 | 20 5f 08 6b 5f 08 65 5f |.r_.o_.w| _.k_.e_|
|00003870| 08 79 5f 08 73 20 5f 08 | 69 5f 08 6e 20 5f 08 49 |.y_.s _.|i_.n _.I|
|00003880| 5f 08 6e 5f 08 70 5f 08 | 75 5f 08 74 20 5f 08 4d |_.n_.p_.|u_.t _.M|
|00003890| 5f 08 6f 5f 08 64 5f 08 | 65 0a 0a 20 20 20 20 20 |_.o_.d_.|e.. |
|000038a0| 20 20 20 54 68 65 20 61 | 72 72 6f 77 20 6b 65 79 | The a|rrow key|
|000038b0| 73 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f |s can be| used to|
|000038c0| 20 6d 6f 76 65 20 74 68 | 65 20 63 75 72 73 6f 72 | move th|e cursor|
|000038d0| 20 69 6e 20 69 6e 70 75 | 74 20 6d 6f 64 65 2e 20 | in inpu|t mode. |
|000038e0| 20 28 54 68 69 73 0a 20 | 20 20 20 20 69 73 20 20 | (This. | is |
|000038f0| 61 6e 20 20 65 78 74 65 | 6e 73 69 6f 6e 3b 20 20 |an exte|nsion; |
|00003900| 74 68 65 20 20 72 65 61 | 6c 20 20 56 69 20 20 64 |the rea|l Vi d|
|00003910| 6f 65 73 6e 27 74 20 73 | 75 70 70 6f 72 74 20 61 |oesn't s|upport a|
|00003920| 72 72 6f 77 20 6b 65 79 | 73 20 69 6e 20 69 6e 70 |rrow key|s in inp|
|00003930| 75 74 0a 20 20 20 20 20 | 6d 6f 64 65 2e 29 20 54 |ut. |mode.) T|
|00003940| 68 65 20 3c 50 67 55 70 | 3e 2c 20 3c 50 67 44 6e |he <PgUp|>, <PgDn|
|00003950| 3e 2c 20 3c 48 6f 6d 65 | 3e 2c 20 61 6e 64 20 3c |>, <Home|>, and <|
|00003960| 45 6e 64 3e 20 6b 65 79 | 73 20 77 6f 72 6b 20 69 |End> key|s work i|
|00003970| 6e 20 69 6e 70 75 74 20 | 20 6d 6f 64 65 2c 0a 20 |n input | mode,. |
|00003980| 20 20 20 20 74 6f 6f 2e | 20 54 68 65 20 3c 44 65 | too.| The <De|
|00003990| 6c 65 74 65 3e 20 6b 65 | 79 20 64 65 6c 65 74 65 |lete> ke|y delete|
|000039a0| 73 20 61 20 73 69 6e 67 | 6c 65 20 63 68 61 72 61 |s a sing|le chara|
|000039b0| 63 74 65 72 20 69 6e 20 | 69 6e 70 75 74 20 6d 6f |cter in |input mo|
|000039c0| 64 65 2e 0a 0a 20 20 20 | 20 20 20 20 20 54 68 65 |de... | The|
|000039d0| 20 20 62 65 73 74 20 20 | 74 68 69 6e 67 20 61 62 | best |thing ab|
|000039e0| 6f 75 74 20 61 6c 6c 6f | 77 69 6e 67 20 61 72 72 |out allo|wing arr|
|000039f0| 6f 77 20 6b 65 79 73 20 | 74 6f 20 77 6f 72 6b 20 |ow keys |to work |
|00003a00| 69 6e 20 69 6e 70 75 74 | 20 6d 6f 64 65 20 69 73 |in input| mode is|
|00003a10| 0a 20 20 20 20 20 74 68 | 61 74 20 61 73 20 6c 6f |. th|at as lo|
|00003a20| 6e 67 20 61 73 20 79 6f | 75 27 72 65 20 69 6e 20 |ng as yo|u're in |
|00003a30| 69 6e 70 75 74 20 6d 6f | 64 65 2c 20 45 6c 76 69 |input mo|de, Elvi|
|00003a40| 73 20 73 65 65 6d 73 20 | 20 74 6f 20 20 68 61 76 |s seems | to hav|
|00003a50| 65 20 20 61 20 20 66 61 | 69 72 6c 79 0a 20 20 20 |e a fa|irly. |
|00003a60| 20 20 6f 72 64 69 6e 61 | 72 79 20 20 75 73 65 72 | ordina|ry user|
|00003a70| 20 69 6e 74 65 72 66 61 | 63 65 2e 20 57 69 74 68 | interfa|ce. With|
|00003a80| 20 6d 6f 73 74 20 6f 74 | 68 65 72 20 74 65 78 74 | most ot|her text|
|00003a90| 20 65 64 69 74 6f 72 73 | 2c 20 79 6f 75 20 61 72 | editors|, you ar|
|00003aa0| 65 20 61 6c 77 61 79 73 | 0a 20 20 20 20 20 69 6e |e always|. in|
|00003ab0| 20 65 69 74 68 65 72 20 | 69 6e 73 65 72 74 20 6d | either |insert m|
|00003ac0| 6f 64 65 20 6f 72 20 72 | 65 70 6c 61 63 65 20 6d |ode or r|eplace m|
|00003ad0| 6f 64 65 2c 20 61 6e 64 | 20 79 6f 75 20 63 61 6e |ode, and| you can|
|00003ae0| 20 75 73 65 20 74 68 65 | 20 61 72 72 6f 77 20 20 | use the| arrow |
|00003af0| 6b 65 79 73 0a 20 20 20 | 20 20 61 74 20 20 61 6e |keys. | at an|
|00003b00| 79 20 74 69 6d 65 20 74 | 6f 20 6d 6f 76 65 20 74 |y time t|o move t|
|00003b10| 68 65 20 63 75 72 73 6f | 72 2e 20 4e 6f 77 2c 20 |he curso|r. Now, |
|00003b20| 45 6c 76 69 73 20 63 61 | 6e 20 61 63 74 20 6c 69 |Elvis ca|n act li|
|00003b30| 6b 65 20 74 68 61 74 2c | 20 74 6f 6f 2e 20 49 6e |ke that,| too. In|
|00003b40| 0a 20 20 20 20 20 66 61 | 63 74 2c 20 77 69 74 68 |. fa|ct, with|
|00003b50| 20 74 68 65 20 6e 65 77 | 20 22 69 6e 70 75 74 6d | the new| "inputm|
|00003b60| 6f 64 65 22 20 6f 70 74 | 69 6f 6e 20 61 6e 64 20 |ode" opt|ion and |
|00003b70| 20 74 68 65 20 20 22 63 | 6f 6e 74 72 6f 6c 2d 5a | the "c|ontrol-Z|
|00003b80| 20 20 63 6f 6e 74 72 6f | 6c 2d 5a 22 0a 20 20 20 | contro|l-Z". |
|00003b90| 20 20 69 6e 70 75 74 20 | 20 63 6f 6d 6d 61 6e 64 | input | command|
|00003ba0| 2c 20 20 79 6f 75 20 6d | 61 79 20 6e 65 76 65 72 |, you m|ay never|
|00003bb0| 20 68 61 76 65 20 74 6f | 20 67 6f 20 69 6e 74 6f | have to| go into|
|00003bc0| 20 76 69 73 75 61 6c 20 | 63 6f 6d 6d 61 6e 64 20 | visual |command |
|00003bd0| 6d 6f 64 65 20 66 6f 72 | 0a 20 20 20 20 20 73 69 |mode for|. si|
|00003be0| 6d 70 6c 65 20 65 64 69 | 74 20 73 65 73 73 69 6f |mple edi|t sessio|
|00003bf0| 6e 73 2e 0a 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |ns.... | |
|00003c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003c10| 20 20 20 20 20 20 20 20 | 20 20 2d 20 35 20 2d 0a | | - 5 -.|
|00003c20| 0a 0a 0a 0a 0a 0a 0a 0a | 20 20 5f 08 44 5f 08 69 |........| _.D_.i|
|00003c30| 5f 08 67 5f 08 72 5f 08 | 61 5f 08 70 5f 08 68 5f |_.g_.r_.|a_.p_.h_|
|00003c40| 08 73 0a 0a 0a 0a 20 20 | 20 20 20 20 20 20 45 6c |.s.... | El|
|00003c50| 76 69 73 20 73 75 70 70 | 6f 72 74 73 20 64 69 67 |vis supp|orts dig|
|00003c60| 72 61 70 68 73 20 61 73 | 20 61 20 77 61 79 20 74 |raphs as| a way t|
|00003c70| 6f 20 65 6e 74 65 72 20 | 6e 6f 6e 2d 41 53 43 49 |o enter |non-ASCI|
|00003c80| 49 20 20 63 68 61 72 61 | 63 74 65 72 73 2e 20 20 |I chara|cters. |
|00003c90| 41 0a 20 20 20 20 20 64 | 69 67 72 61 70 68 20 20 |A. d|igraph |
|00003ca0| 69 73 20 61 20 63 68 61 | 72 61 63 74 65 72 20 77 |is a cha|racter w|
|00003cb0| 68 69 63 68 20 69 73 20 | 63 6f 6d 70 6f 73 65 64 |hich is |composed|
|00003cc0| 20 6f 66 20 74 77 6f 20 | 6f 74 68 65 72 20 63 68 | of two |other ch|
|00003cd0| 61 72 61 63 74 65 72 73 | 2e 20 46 6f 72 0a 20 20 |aracters|. For. |
|00003ce0| 20 20 20 45 6c 76 69 73 | 2c 20 74 68 65 20 66 69 | Elvis|, the fi|
|00003cf0| 72 73 74 20 63 68 61 72 | 61 63 74 65 72 20 6d 75 |rst char|acter mu|
|00003d00| 73 74 20 62 65 20 61 6e | 20 41 53 43 49 49 20 70 |st be an| ASCII p|
|00003d10| 75 6e 63 74 75 61 74 69 | 6f 6e 20 63 68 61 72 61 |unctuati|on chara|
|00003d20| 63 74 65 72 2c 20 61 6e | 64 0a 20 20 20 20 20 74 |cter, an|d. t|
|00003d30| 68 65 20 20 73 65 63 6f | 6e 64 20 20 63 61 6e 20 |he seco|nd can |
|00003d40| 20 62 65 20 20 61 6e 79 | 20 20 6f 74 68 65 72 20 | be any| other |
|00003d50| 20 41 53 43 49 49 20 20 | 63 68 61 72 61 63 74 65 | ASCII |characte|
|00003d60| 72 2e 20 20 46 6f 72 20 | 20 65 78 61 6d 70 6c 65 |r. For | example|
|00003d70| 2c 20 20 61 6e 0a 20 20 | 20 20 20 61 70 6f 73 74 |, an. | apost|
|00003d80| 72 6f 70 68 65 20 61 6e | 64 20 74 68 65 20 6c 65 |rophe an|d the le|
|00003d90| 74 74 65 72 20 69 20 63 | 6f 75 6c 64 20 62 65 20 |tter i c|ould be |
|00003da0| 64 65 66 69 6e 65 64 20 | 61 73 20 61 20 64 69 67 |defined |as a dig|
|00003db0| 72 61 70 68 20 77 68 69 | 63 68 20 69 73 20 20 74 |raph whi|ch is t|
|00003dc0| 6f 0a 20 20 20 20 20 62 | 65 20 73 74 6f 72 65 64 |o. b|e stored|
|00003dd0| 20 26 20 64 69 73 70 6c | 61 79 65 64 20 61 73 20 | & displ|ayed as |
|00003de0| 61 6e 20 61 63 63 65 6e | 74 65 64 20 69 2e 0a 0a |an accen|ted i...|
|00003df0| 20 20 20 20 20 20 20 20 | 45 6c 76 69 73 20 20 68 | |Elvis h|
|00003e00| 61 73 20 20 6e 6f 20 62 | 75 69 6c 74 2d 69 6e 20 |as no b|uilt-in |
|00003e10| 64 69 67 72 61 70 68 73 | 2c 20 73 69 6e 63 65 20 |digraphs|, since |
|00003e20| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 73 69 6e 67 |there is| no sing|
|00003e30| 6c 65 20 73 74 61 6e 64 | 61 72 64 0a 20 20 20 20 |le stand|ard. |
|00003e40| 20 66 6f 72 20 65 78 74 | 65 6e 64 65 64 20 41 53 | for ext|ended AS|
|00003e50| 43 49 49 20 63 68 61 72 | 61 63 74 65 72 20 73 65 |CII char|acter se|
|00003e60| 74 73 2e 20 59 6f 75 20 | 6d 75 73 74 20 65 78 70 |ts. You |must exp|
|00003e70| 6c 69 63 69 74 6c 79 20 | 64 65 66 69 6e 65 20 61 |licitly |define a|
|00003e80| 20 63 75 73 74 6f 6d 0a | 20 20 20 20 20 73 65 74 | custom.| set|
|00003e90| 20 20 6f 66 20 20 64 69 | 67 72 61 70 68 73 20 20 | of di|graphs |
|00003ea0| 66 6f 72 20 74 68 65 20 | 6e 6f 6e 2d 41 53 43 49 |for the |non-ASCI|
|00003eb0| 49 20 63 68 61 72 61 63 | 74 65 72 73 20 74 68 61 |I charac|ters tha|
|00003ec0| 74 20 79 6f 75 72 20 63 | 6f 6d 70 75 74 65 72 20 |t your c|omputer |
|00003ed0| 28 6f 72 0a 20 20 20 20 | 20 74 65 72 6d 69 6e 61 |(or. | termina|
|00003ee0| 6c 29 20 75 73 65 73 2e | 20 44 69 67 72 61 70 68 |l) uses.| Digraph|
|00003ef0| 73 20 61 72 65 20 64 65 | 66 69 6e 65 64 20 76 69 |s are de|fined vi|
|00003f00| 61 20 74 68 65 20 22 3a | 64 69 67 72 61 70 68 22 |a the ":|digraph"|
|00003f10| 20 63 6f 6d 6d 61 6e 64 | 2e 0a 0a 20 20 20 20 20 | command|... |
|00003f20| 20 20 20 54 6f 20 61 63 | 74 75 61 6c 6c 79 20 75 | To ac|tually u|
|00003f30| 73 65 20 61 20 64 69 67 | 72 61 70 68 2c 20 79 6f |se a dig|raph, yo|
|00003f40| 75 20 6d 75 73 74 20 66 | 69 72 73 74 20 62 65 20 |u must f|irst be |
|00003f50| 69 6e 20 20 69 6e 70 75 | 74 20 20 6d 6f 64 65 2e |in inpu|t mode.|
|00003f60| 20 20 54 79 70 65 0a 20 | 20 20 20 20 74 68 65 20 | Type. | the |
|00003f70| 20 70 75 6e 63 74 75 61 | 74 69 6f 6e 20 20 63 68 | punctua|tion ch|
|00003f80| 61 72 61 63 74 65 72 2c | 20 20 74 68 65 6e 20 20 |aracter,| then |
|00003f90| 68 69 74 20 3c 42 61 63 | 6b 73 70 61 63 65 3e 2c |hit <Bac|kspace>,|
|00003fa0| 20 61 6e 64 20 74 68 65 | 6e 20 74 79 70 65 20 74 | and the|n type t|
|00003fb0| 68 65 0a 20 20 20 20 20 | 6f 74 68 65 72 20 63 68 |he. |other ch|
|00003fc0| 61 72 61 63 74 65 72 2e | 20 45 6c 76 69 73 20 77 |aracter.| Elvis w|
|00003fd0| 69 6c 6c 20 74 68 65 6e | 20 73 75 62 73 74 69 74 |ill then| substit|
|00003fe0| 75 74 65 20 74 68 65 20 | 6e 6f 6e 2d 41 53 43 49 |ute the |non-ASCI|
|00003ff0| 49 20 63 68 61 72 61 63 | 74 65 72 20 69 6e 0a 20 |I charac|ter in. |
|00004000| 20 20 20 20 74 68 65 69 | 72 20 70 6c 61 63 65 2e | thei|r place.|
|00004010| 0a 0a 0a 0a 0a 0a 0a 0a | 0a 0a 0a 0a 0a 0a 0a 0a |........|........|
|00004020| 0a 0a 0a 0a 0a 0a 0a 0a | 0a 0a 0a 0a 0a 0a 0a 0a |........|........|
|00004030| 0a 0a 0a 0a 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |...... | |
|00004040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004050| 20 20 20 20 20 20 20 20 | 20 20 2d 20 36 20 2d 0a | | - 6 -.|
|00004060| 0a 0a 0a 0a 0a 0a 0a 0a | 5f 08 43 5f 08 6f 5f 08 |........|_.C_.o_.|
|00004070| 6c 5f 08 6f 5f 08 6e 20 | 5f 08 4d 5f 08 6f 5f 08 |l_.o_.n |_.M_.o_.|
|00004080| 64 5f 08 65 20 5f 08 43 | 5f 08 6f 5f 08 6d 5f 08 |d_.e _.C|_.o_.m_.|
|00004090| 6d 5f 08 61 5f 08 6e 5f | 08 64 5f 08 73 0a 0a 20 |m_.a_.n_|.d_.s.. |
|000040a0| 20 20 20 20 20 20 20 54 | 6f 20 20 75 73 65 20 20 | T|o use |
|000040b0| 63 6f 6c 6f 6e 20 20 6d | 6f 64 65 20 20 63 6f 6d |colon m|ode com|
|000040c0| 6d 61 6e 64 73 2c 20 79 | 6f 75 20 6d 75 73 74 20 |mands, y|ou must |
|000040d0| 73 77 69 74 63 68 20 66 | 72 6f 6d 20 76 69 73 75 |switch f|rom visu|
|000040e0| 61 6c 20 63 6f 6d 6d 61 | 6e 64 0a 20 20 20 20 20 |al comma|nd. |
|000040f0| 6d 6f 64 65 20 74 6f 20 | 63 6f 6c 6f 6e 20 63 6f |mode to |colon co|
|00004100| 6d 6d 61 6e 64 20 6d 6f | 64 65 2e 20 54 68 65 20 |mmand mo|de. The |
|00004110| 76 69 73 75 61 6c 20 6d | 6f 64 65 20 63 6f 6d 6d |visual m|ode comm|
|00004120| 61 6e 64 73 20 74 6f 20 | 20 64 6f 20 20 74 68 69 |ands to | do thi|
|00004130| 73 20 20 61 72 65 0a 20 | 20 20 20 20 22 3a 22 20 |s are. | ":" |
|00004140| 66 6f 72 20 61 20 73 69 | 6e 67 6c 65 20 63 6f 6c |for a si|ngle col|
|00004150| 6f 6e 20 63 6f 6d 6d 61 | 6e 64 2c 20 6f 72 20 22 |on comma|nd, or "|
|00004160| 51 22 20 66 6f 72 20 6d | 61 6e 79 20 63 6f 6c 6f |Q" for m|any colo|
|00004170| 6e 20 6d 6f 64 65 20 63 | 6f 6d 6d 61 6e 64 73 2e |n mode c|ommands.|
|00004180| 0a 0a 20 20 20 20 20 20 | 20 20 4c 69 6e 65 73 20 |.. | Lines |
|00004190| 20 20 20 20 20 20 20 20 | 20 20 63 6f 6d 6d 61 6e | | comman|
|000041a0| 64 20 20 20 20 20 20 20 | 20 20 61 72 67 75 6d 65 |d | argume|
|000041b0| 6e 74 73 0a 20 20 20 20 | 20 20 20 20 2d 2d 2d 2d |nts. | ----|
|000041c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |--------|---+----|
|000041d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2b 2d 2d 2d 2d |--------|---+----|
|000041e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000041f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 20 20 20 20 |--------|---. |
|00004200| 20 20 20 20 5b 6c 69 6e | 65 5d 20 20 20 20 20 20 | [lin|e] |
|00004210| 20 20 20 20 61 70 70 65 | 6e 64 0a 20 20 20 20 20 | appe|nd. |
|00004220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004230| 20 20 20 61 72 67 73 20 | 20 20 20 20 20 20 20 20 | args | |
|00004240| 20 20 20 5b 66 69 6c 65 | 73 5d 0a 20 20 20 20 20 | [file|s]. |
|00004250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004260| 20 20 20 63 64 20 20 20 | 20 20 20 20 20 20 20 20 | cd | |
|00004270| 20 20 20 5b 64 69 72 65 | 63 74 6f 72 79 5d 0a 20 | [dire|ctory]. |
|00004280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004290| 20 20 20 20 20 20 20 63 | 68 64 69 72 20 20 20 20 | c|hdir |
|000042a0| 20 20 20 20 20 20 20 5b | 64 69 72 65 63 74 6f 72 | [|director|
|000042b0| 79 5d 0a 20 20 20 20 20 | 20 20 20 5b 6c 69 6e 65 |y]. | [line|
|000042c0| 5d 5b 2c 6c 69 6e 65 5d | 20 20 20 63 68 61 6e 67 |][,line]| chang|
|000042d0| 65 0a 20 20 20 20 20 20 | 20 20 5b 6c 69 6e 65 5d |e. | [line]|
|000042e0| 5b 2c 6c 69 6e 65 5d 20 | 20 20 63 6f 70 79 20 20 |[,line] | copy |
|000042f0| 20 20 20 20 20 20 20 20 | 20 20 6c 69 6e 65 0a 20 | | line. |
|00004300| 20 20 20 20 20 20 20 5b | 6c 69 6e 65 5d 5b 2c 6c | [|line][,l|
|00004310| 69 6e 65 5d 20 20 20 64 | 65 62 75 67 5b 21 5d 0a |ine] d|ebug[!].|
|00004320| 20 20 20 20 20 20 20 20 | 5b 6c 69 6e 65 5d 5b 2c | |[line][,|
|00004330| 6c 69 6e 65 5d 20 20 20 | 64 65 6c 65 74 65 20 20 |line] |delete |
|00004340| 20 20 20 20 20 20 20 20 | 5b 22 78 5d 0a 20 20 20 | |["x]. |
|00004350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004360| 20 20 20 20 20 64 69 67 | 72 61 70 68 5b 21 5d 20 | dig|raph[!] |
|00004370| 20 20 20 20 20 5b 58 58 | 20 5b 59 5d 5d 0a 20 20 | [XX| [Y]]. |
|00004380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004390| 20 20 20 20 20 20 65 64 | 69 74 5b 21 5d 20 20 20 | ed|it[!] |
|000043a0| 20 20 20 20 20 20 5b 66 | 69 6c 65 5d 0a 20 20 20 | [f|ile]. |
|000043b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000043c0| 20 20 20 20 20 65 78 5b | 21 5d 20 20 20 20 20 20 | ex[|!] |
|000043d0| 20 20 20 20 20 5b 66 69 | 6c 65 5d 0a 20 20 20 20 | [fi|le]. |
|000043e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000043f0| 20 20 20 20 66 69 6c 65 | 0a 20 20 20 20 20 20 20 | file|. |
|00004400| 20 5b 6c 69 6e 65 5d 5b | 2c 6c 69 6e 65 5d 20 20 | [line][|,line] |
|00004410| 20 67 6c 6f 62 61 6c 20 | 20 20 20 20 20 20 20 20 | global | |
|00004420| 20 2f 72 65 67 65 78 70 | 2f 20 63 6f 6d 6d 61 6e | /regexp|/ comman|
|00004430| 64 0a 20 20 20 20 20 20 | 20 20 5b 6c 69 6e 65 5d |d. | [line]|
|00004440| 20 20 20 20 20 20 20 20 | 20 20 69 6e 73 65 72 74 | | insert|
|00004450| 0a 20 20 20 20 20 20 20 | 20 5b 6c 69 6e 65 5d 5b |. | [line][|
|00004460| 2c 6c 69 6e 65 5d 20 20 | 20 6a 6f 69 6e 0a 20 20 |,line] | join. |
|00004470| 20 20 20 20 20 20 5b 6c | 69 6e 65 5d 5b 2c 6c 69 | [l|ine][,li|
|00004480| 6e 65 5d 20 20 20 6c 69 | 73 74 0a 20 20 20 20 20 |ne] li|st. |
|00004490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000044a0| 20 20 20 6d 61 70 5b 21 | 5d 20 20 20 20 20 20 20 | map[!|] |
|000044b0| 20 20 20 6b 65 79 20 6d | 61 70 70 65 64 5f 74 6f | key m|apped_to|
|000044c0| 0a 20 20 20 20 20 20 20 | 20 5b 6c 69 6e 65 5d 20 |. | [line] |
|000044d0| 20 20 20 20 20 20 20 20 | 20 6d 61 72 6b 20 20 20 | | mark |
|000044e0| 20 20 20 20 20 20 20 20 | 20 78 0a 20 20 20 20 20 | | x. |
|000044f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004500| 20 20 20 6d 6b 65 78 72 | 63 0a 20 20 20 20 20 20 | mkexr|c. |
|00004510| 20 20 5b 6c 69 6e 65 5d | 5b 2c 6c 69 6e 65 5d 20 | [line]|[,line] |
|00004520| 20 20 6d 6f 76 65 20 20 | 20 20 20 20 20 20 20 20 | move | |
|00004530| 20 20 6c 69 6e 65 0a 20 | 20 20 20 20 20 20 20 20 | line. | |
|00004540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6e | | n|
|00004550| 65 78 74 5b 21 5d 20 20 | 20 20 20 20 20 20 20 5b |ext[!] | [|
|00004560| 66 69 6c 65 73 5d 0a 20 | 20 20 20 20 20 20 20 20 |files]. | |
|00004570| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 4e | | N|
|00004580| 65 78 74 5b 21 5d 0a 20 | 20 20 20 20 20 20 20 20 |ext[!]. | |
|00004590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 70 | | p|
|000045a0| 72 65 76 69 6f 75 73 5b | 21 5d 0a 20 20 20 20 20 |revious[|!]. |
|000045b0| 20 20 20 5b 6c 69 6e 65 | 5d 5b 2c 6c 69 6e 65 5d | [line|][,line]|
|000045c0| 20 20 20 70 72 69 6e 74 | 0a 20 20 20 20 20 20 20 | print|. |
|000045d0| 20 5b 6c 69 6e 65 5d 20 | 20 20 20 20 20 20 20 20 | [line] | |
|000045e0| 20 70 75 74 20 20 20 20 | 20 20 20 20 20 20 20 20 | put | |
|000045f0| 20 5b 22 78 5d 0a 20 20 | 20 20 20 20 20 20 20 20 | ["x]. | |
|00004600| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 71 75 | | qu|
|00004610| 69 74 5b 21 5d 0a 20 20 | 20 20 20 20 20 20 5b 6c |it[!]. | [l|
|00004620| 69 6e 65 5d 20 20 20 20 | 20 20 20 20 20 20 72 65 |ine] | re|
|00004630| 61 64 20 20 20 20 20 20 | 20 20 20 20 20 20 66 69 |ad | fi|
|00004640| 6c 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |le. | |
|00004650| 20 20 20 20 20 20 20 20 | 20 20 20 72 65 77 69 6e | | rewin|
|00004660| 64 5b 21 5d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |d[!]. | |
|00004670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 65 74 | | set|
|00004680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 5b 6f 70 | | [op|
|00004690| 74 69 6f 6e 73 5d 0a 20 | 20 20 20 20 20 20 20 20 |tions]. | |
|000046a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 73 | | s|
|000046b0| 6f 75 72 63 65 20 20 20 | 20 20 20 20 20 20 20 66 |ource | f|
|000046c0| 69 6c 65 0a 20 20 20 20 | 20 20 20 20 5b 6c 69 6e |ile. | [lin|
|000046d0| 65 5d 5b 2c 6c 69 6e 65 | 5d 20 20 20 73 75 62 73 |e][,line|] subs|
|000046e0| 74 69 74 75 74 65 20 20 | 20 20 20 20 2f 72 65 67 |titute | /reg|
|000046f0| 65 78 70 2f 72 65 70 6c | 61 63 65 6d 65 6e 74 2f |exp/repl|acement/|
|00004700| 5b 70 5d 5b 67 5d 0a 20 | 20 20 20 20 20 20 20 20 |[p][g]. | |
|00004710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 74 | | t|
|00004720| 61 67 5b 21 5d 20 20 20 | 20 20 20 20 20 20 20 74 |ag[!] | t|
|00004730| 61 67 6e 61 6d 65 0a 20 | 20 20 20 20 20 20 20 5b |agname. | [|
|00004740| 6c 69 6e 65 5d 5b 2c 6c | 69 6e 65 5d 20 20 20 74 |line][,l|ine] t|
|00004750| 6f 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c |o | l|
|00004760| 69 6e 65 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ine. | |
|00004770| 20 20 20 20 20 20 20 20 | 20 20 20 20 75 6e 64 6f | | undo|
|00004780| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004790| 20 20 20 20 20 20 20 20 | 20 75 6e 6d 61 70 5b 21 | | unmap[!|
|000047a0| 5d 20 20 20 20 20 20 20 | 20 6b 65 79 0a 20 20 20 |] | key. |
|000047b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000047c0| 20 20 20 20 20 76 61 6c | 69 64 61 74 65 5b 21 5d | val|idate[!]|
|000047d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000047e0| 20 20 20 20 20 20 20 20 | 20 76 65 72 73 69 6f 6e | | version|
|000047f0| 0a 20 20 20 20 20 20 20 | 20 5b 6c 69 6e 65 5d 5b |. | [line][|
|00004800| 2c 6c 69 6e 65 5d 20 20 | 20 76 67 6c 6f 62 61 6c |,line] | vglobal|
|00004810| 20 20 20 20 20 20 20 20 | 20 2f 72 65 67 65 78 70 | | /regexp|
|00004820| 2f 20 63 6f 6d 6d 61 6e | 64 0a 20 20 20 20 20 20 |/ comman|d. |
|00004830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004840| 20 20 76 69 73 75 61 6c | 0a 20 20 20 20 20 20 20 | visual|. |
|00004850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004860| 20 77 71 0a 20 20 20 20 | 20 20 20 20 5b 6c 69 6e | wq. | [lin|
|00004870| 65 5d 5b 2c 6c 69 6e 65 | 5d 20 20 20 77 72 69 74 |e][,line|] writ|
|00004880| 65 5b 21 5d 20 20 20 20 | 20 20 20 20 5b 5b 3e 3e |e[!] | [[>>|
|00004890| 5d 66 69 6c 65 5d 0a 20 | 20 20 20 20 20 20 20 20 |]file]. | |
|000048a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 78 | | x|
|000048b0| 69 74 5b 21 5d 0a 20 20 | 20 20 20 20 20 20 5b 6c |it[!]. | [l|
|000048c0| 69 6e 65 5d 5b 2c 6c 69 | 6e 65 5d 20 20 20 79 61 |ine][,li|ne] ya|
|000048d0| 6e 6b 20 20 20 20 20 20 | 20 20 20 20 20 20 5b 22 |nk | ["|
|000048e0| 78 5d 0a 20 20 20 20 20 | 20 20 20 5b 6c 69 6e 65 |x]. | [line|
|000048f0| 5d 5b 2c 6c 69 6e 65 5d | 20 20 20 21 20 20 20 20 |][,line]| ! |
|00004900| 20 20 20 20 20 20 20 20 | 20 20 20 63 6f 6d 6d 61 | | comma|
|00004910| 6e 64 0a 20 20 20 20 20 | 20 20 20 5b 6c 69 6e 65 |nd. | [line|
|00004920| 5d 5b 2c 6c 69 6e 65 5d | 20 20 20 3c 0a 20 20 20 |][,line]| <. |
|00004930| 20 20 20 20 20 5b 6c 69 | 6e 65 5d 5b 2c 6c 69 6e | [li|ne][,lin|
|00004940| 65 5d 20 20 20 3d 0a 20 | 20 20 20 20 20 20 20 5b |e] =. | [|
|00004950| 6c 69 6e 65 5d 5b 2c 6c | 69 6e 65 5d 20 20 20 3e |line][,l|ine] >|
|00004960| 0a 0a 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |... | |
|00004970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004980| 20 20 20 20 20 20 20 2d | 20 37 20 2d 0a 0a 0a 0a | -| 7 -....|
|00004990| 0a 0a 0a 0a 0a 20 20 5f | 08 4c 5f 08 69 5f 08 6e |..... _|.L_.i_.n|
|000049a0| 5f 08 65 20 5f 08 53 5f | 08 70 5f 08 65 5f 08 63 |_.e _.S_|.p_.e_.c|
|000049b0| 5f 08 69 5f 08 66 5f 08 | 69 5f 08 65 5f 08 72 5f |_.i_.f_.|i_.e_.r_|
|000049c0| 08 73 0a 0a 0a 0a 20 20 | 20 20 20 20 20 20 4c 69 |.s.... | Li|
|000049d0| 6e 65 20 20 73 70 65 63 | 69 66 69 65 72 73 20 20 |ne spec|ifiers |
|000049e0| 61 72 65 20 20 61 6c 77 | 61 79 73 20 20 6f 70 74 |are alw|ays opt|
|000049f0| 69 6f 6e 61 6c 2e 20 54 | 68 65 20 66 69 72 73 74 |ional. T|he first|
|00004a00| 20 6c 69 6e 65 20 73 70 | 65 63 69 66 65 72 20 6f | line sp|ecifer o|
|00004a10| 66 0a 20 20 20 20 20 6d | 6f 73 74 20 63 6f 6d 6d |f. m|ost comm|
|00004a20| 61 6e 64 73 20 75 73 75 | 61 6c 6c 79 20 64 65 66 |ands usu|ally def|
|00004a30| 61 75 6c 74 73 20 74 6f | 20 74 68 65 20 63 75 72 |aults to| the cur|
|00004a40| 72 65 6e 74 20 6c 69 6e | 65 2e 20 20 54 68 65 20 |rent lin|e. The |
|00004a50| 20 73 65 63 6f 6e 64 20 | 20 6c 69 6e 65 0a 20 20 | second | line. |
|00004a60| 20 20 20 73 70 65 63 69 | 66 65 72 20 20 75 73 75 | speci|fer usu|
|00004a70| 61 6c 6c 79 20 64 65 66 | 61 75 6c 74 73 20 74 6f |ally def|aults to|
|00004a80| 20 62 65 20 74 68 65 20 | 73 61 6d 65 20 61 73 20 | be the |same as |
|00004a90| 74 68 65 20 66 69 72 73 | 74 20 6c 69 6e 65 20 73 |the firs|t line s|
|00004aa0| 70 65 63 69 66 69 65 72 | 2e 0a 20 20 20 20 20 45 |pecifier|.. E|
|00004ab0| 78 63 65 70 74 69 6f 6e | 73 20 61 72 65 20 3a 77 |xception|s are :w|
|00004ac0| 72 69 74 65 2c 20 3a 67 | 6c 6f 62 61 6c 2c 20 61 |rite, :g|lobal, a|
|00004ad0| 6e 64 20 3a 76 67 6c 6f | 62 61 6c 2c 20 77 68 69 |nd :vglo|bal, whi|
|00004ae0| 63 68 20 61 63 74 20 6f | 6e 20 20 61 6c 6c 20 20 |ch act o|n all |
|00004af0| 6c 69 6e 65 73 0a 20 20 | 20 20 20 6f 66 20 74 68 |lines. | of th|
|00004b00| 65 20 66 69 6c 65 20 62 | 79 20 64 65 66 61 75 6c |e file b|y defaul|
|00004b10| 74 2c 20 61 6e 64 20 3a | 21 2c 20 77 68 69 63 68 |t, and :|!, which|
|00004b20| 20 61 63 74 73 20 6f 6e | 20 6e 6f 20 6c 69 6e 65 | acts on| no line|
|00004b30| 73 20 62 79 20 64 65 66 | 61 75 6c 74 2e 0a 0a 20 |s by def|ault... |
|00004b40| 20 20 20 20 20 20 20 4c | 69 6e 65 20 20 73 70 65 | L|ine spe|
|00004b50| 63 69 66 69 65 72 73 20 | 20 63 6f 6e 73 69 73 74 |cifiers | consist|
|00004b60| 20 20 6f 66 20 61 6e 20 | 61 62 73 6f 6c 75 74 65 | of an |absolute|
|00004b70| 20 70 61 72 74 20 61 6e | 64 20 61 20 72 65 6c 61 | part an|d a rela|
|00004b80| 74 69 76 65 20 70 61 72 | 74 2e 0a 20 20 20 20 20 |tive par|t.. |
|00004b90| 54 68 65 20 61 62 73 6f | 6c 75 74 65 20 70 61 72 |The abso|lute par|
|00004ba0| 74 20 6f 66 20 61 20 6c | 69 6e 65 20 73 70 65 63 |t of a l|ine spec|
|00004bb0| 69 66 65 72 20 6d 61 79 | 20 62 65 20 65 69 74 68 |ifer may| be eith|
|00004bc0| 65 72 20 20 61 6e 20 20 | 65 78 70 6c 69 63 69 74 |er an |explicit|
|00004bd0| 20 20 6c 69 6e 65 0a 20 | 20 20 20 20 6e 75 6d 62 | line. | numb|
|00004be0| 65 72 2c 20 20 61 20 20 | 6d 61 72 6b 2c 20 20 61 |er, a |mark, a|
|00004bf0| 20 20 64 6f 74 20 74 6f | 20 64 65 6e 6f 74 65 20 | dot to| denote |
|00004c00| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6c 69 6e 65 |the curr|ent line|
|00004c10| 2c 20 61 20 64 6f 6c 6c | 61 72 20 73 69 67 6e 20 |, a doll|ar sign |
|00004c20| 74 6f 0a 20 20 20 20 20 | 64 65 6e 6f 74 65 20 74 |to. |denote t|
|00004c30| 68 65 20 6c 61 73 74 20 | 6c 69 6e 65 20 6f 66 20 |he last |line of |
|00004c40| 74 68 65 20 66 69 6c 65 | 2c 20 6f 72 20 61 20 66 |the file|, or a f|
|00004c50| 6f 72 77 61 72 64 20 6f | 72 20 62 61 63 6b 77 61 |orward o|r backwa|
|00004c60| 72 64 20 73 65 61 72 63 | 68 2e 0a 0a 20 20 20 20 |rd searc|h... |
|00004c70| 20 20 20 20 41 6e 20 65 | 78 70 6c 69 63 69 74 20 | An e|xplicit |
|00004c80| 6c 69 6e 65 20 6e 75 6d | 62 65 72 20 69 73 20 73 |line num|ber is s|
|00004c90| 69 6d 70 6c 79 20 61 20 | 64 65 63 69 6d 61 6c 20 |imply a |decimal |
|00004ca0| 6e 75 6d 62 65 72 2c 20 | 65 78 70 72 65 73 73 65 |number, |expresse|
|00004cb0| 64 20 61 73 20 20 61 0a | 20 20 20 20 20 73 74 72 |d as a.| str|
|00004cc0| 69 6e 67 20 6f 66 20 64 | 69 67 69 74 73 2e 0a 0a |ing of d|igits...|
|00004cd0| 20 20 20 20 20 20 20 20 | 41 20 20 6d 61 72 6b 20 | |A mark |
|00004ce0| 20 69 73 20 20 74 79 70 | 65 64 20 20 69 6e 20 61 | is typ|ed in a|
|00004cf0| 73 20 61 6e 20 61 70 6f | 73 74 72 6f 70 68 65 20 |s an apo|strophe |
|00004d00| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 61 20 6c 65 |followed| by a le|
|00004d10| 74 74 65 72 2e 20 4d 61 | 72 6b 73 0a 20 20 20 20 |tter. Ma|rks. |
|00004d20| 20 6d 75 73 74 20 62 65 | 20 73 65 74 20 62 65 66 | must be| set bef|
|00004d30| 6f 72 65 20 74 68 65 79 | 20 63 61 6e 20 62 65 20 |ore they| can be |
|00004d40| 75 73 65 64 2e 20 59 6f | 75 20 63 61 6e 20 20 73 |used. Yo|u can s|
|00004d50| 65 74 20 20 61 20 20 6d | 61 72 6b 20 20 69 6e 20 |et a m|ark in |
|00004d60| 20 76 69 73 75 61 6c 0a | 20 20 20 20 20 63 6f 6d | visual.| com|
|00004d70| 6d 61 6e 64 20 20 6d 6f | 64 65 20 20 62 79 20 20 |mand mo|de by |
|00004d80| 74 79 70 69 6e 67 20 22 | 6d 22 20 61 6e 64 20 61 |typing "|m" and a|
|00004d90| 20 6c 65 74 74 65 72 2c | 20 6f 72 20 79 6f 75 20 | letter,| or you |
|00004da0| 63 61 6e 20 73 65 74 20 | 69 74 20 69 6e 20 63 6f |can set |it in co|
|00004db0| 6c 6f 6e 0a 20 20 20 20 | 20 63 6f 6d 6d 61 6e 64 |lon. | command|
|00004dc0| 20 6d 6f 64 65 20 76 69 | 61 20 74 68 65 20 22 6d | mode vi|a the "m|
|00004dd0| 61 72 6b 22 20 63 6f 6d | 6d 61 6e 64 2e 0a 0a 20 |ark" com|mand... |
|00004de0| 20 20 20 20 20 20 20 41 | 20 66 6f 72 77 61 72 64 | A| forward|
|00004df0| 20 73 65 61 72 63 68 20 | 69 73 20 74 79 70 65 64 | search |is typed|
|00004e00| 20 69 6e 20 61 73 20 61 | 20 72 65 67 75 6c 61 72 | in as a| regular|
|00004e10| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 73 75 72 72 | express|ion surr|
|00004e20| 6f 75 6e 64 65 64 20 20 | 62 79 0a 20 20 20 20 20 |ounded |by. |
|00004e30| 73 6c 61 73 68 20 20 63 | 68 61 72 61 63 74 65 72 |slash c|haracter|
|00004e40| 73 3b 20 20 73 65 61 72 | 63 68 69 6e 67 20 20 62 |s; sear|ching b|
|00004e50| 65 67 69 6e 73 20 20 61 | 74 20 74 68 65 20 64 65 |egins a|t the de|
|00004e60| 66 61 75 6c 74 20 6c 69 | 6e 65 2e 20 41 20 62 61 |fault li|ne. A ba|
|00004e70| 63 6b 77 61 72 64 0a 20 | 20 20 20 20 73 65 61 72 |ckward. | sear|
|00004e80| 63 68 20 69 73 20 74 79 | 70 65 64 20 69 6e 20 61 |ch is ty|ped in a|
|00004e90| 73 20 61 20 20 72 65 67 | 75 6c 61 72 20 20 65 78 |s a reg|ular ex|
|00004ea0| 70 72 65 73 73 69 6f 6e | 20 20 73 75 72 72 6f 75 |pression| surrou|
|00004eb0| 6e 64 65 64 20 20 62 79 | 20 20 71 75 65 73 74 69 |nded by| questi|
|00004ec0| 6f 6e 0a 20 20 20 20 20 | 6d 61 72 6b 73 3b 20 73 |on. |marks; s|
|00004ed0| 65 61 72 63 68 69 6e 67 | 20 62 65 67 69 6e 73 20 |earching| begins |
|00004ee0| 61 74 20 74 68 65 20 6c | 69 6e 65 20 62 65 66 6f |at the l|ine befo|
|00004ef0| 72 65 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 6c |re the d|efault l|
|00004f00| 69 6e 65 2e 0a 0a 20 20 | 20 20 20 20 20 20 49 66 |ine... | If|
|00004f10| 20 79 6f 75 20 6f 6d 69 | 74 20 74 68 65 20 61 62 | you omi|t the ab|
|00004f20| 73 6f 6c 75 74 65 20 70 | 61 72 74 2c 20 74 68 65 |solute p|art, the|
|00004f30| 6e 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 6c 69 |n the de|fault li|
|00004f40| 6e 65 20 69 73 20 75 73 | 65 64 2e 0a 0a 20 20 20 |ne is us|ed... |
|00004f50| 20 20 20 20 20 54 68 65 | 20 20 72 65 6c 61 74 69 | The| relati|
|00004f60| 76 65 20 20 70 61 72 74 | 20 20 6f 66 20 20 61 20 |ve part| of a |
|00004f70| 20 6c 69 6e 65 20 20 73 | 70 65 63 69 66 65 72 20 | line s|pecifer |
|00004f80| 69 73 20 74 79 70 65 64 | 20 61 73 20 61 20 22 2b |is typed| as a "+|
|00004f90| 22 20 6f 72 20 22 2d 22 | 0a 20 20 20 20 20 63 68 |" or "-"|. ch|
|00004fa0| 61 72 61 63 74 65 72 20 | 66 6f 6c 6c 6f 77 65 64 |aracter |followed|
|00004fb0| 20 62 79 20 61 20 64 65 | 63 69 6d 61 6c 20 6e 75 | by a de|cimal nu|
|00004fc0| 6d 62 65 72 2e 20 54 68 | 65 20 20 6e 75 6d 62 65 |mber. Th|e numbe|
|00004fd0| 72 20 20 69 73 20 20 61 | 64 64 65 64 20 20 74 6f |r is a|dded to|
|00004fe0| 20 20 6f 72 0a 20 20 20 | 20 20 73 75 62 74 72 61 | or. | subtra|
|00004ff0| 63 74 65 64 20 66 72 6f | 6d 20 74 68 65 20 61 62 |cted fro|m the ab|
|00005000| 73 6f 6c 75 74 65 20 70 | 61 72 74 20 6f 66 20 74 |solute p|art of t|
|00005010| 68 65 20 6c 69 6e 65 20 | 73 70 65 63 69 66 69 65 |he line |specifie|
|00005020| 72 20 74 6f 20 70 72 6f | 64 75 63 65 20 74 68 65 |r to pro|duce the|
|00005030| 0a 20 20 20 20 20 66 69 | 6e 61 6c 20 6c 69 6e 65 |. fi|nal line|
|00005040| 20 6e 75 6d 62 65 72 2e | 0a 0a 20 20 20 20 20 20 | number.|.. |
|00005050| 20 20 41 73 20 61 20 73 | 70 65 63 69 61 6c 20 63 | As a s|pecial c|
|00005060| 61 73 65 2c 20 74 68 65 | 20 25 20 63 68 61 72 61 |ase, the| % chara|
|00005070| 63 74 65 72 20 6d 61 79 | 20 62 65 20 75 73 65 64 |cter may| be used|
|00005080| 20 74 6f 20 73 70 65 63 | 69 66 79 20 61 6c 6c 20 | to spec|ify all |
|00005090| 6c 69 6e 65 73 0a 20 20 | 20 20 20 6f 66 20 20 74 |lines. | of t|
|000050a0| 68 65 20 20 66 69 6c 65 | 2e 20 20 49 74 20 20 69 |he file|. It i|
|000050b0| 73 20 72 6f 75 67 68 6c | 79 20 65 71 75 69 76 65 |s roughl|y equive|
|000050c0| 6c 65 6e 74 20 74 6f 20 | 73 61 79 69 6e 67 20 31 |lent to |saying 1|
|000050d0| 2c 24 2e 20 54 68 69 73 | 20 63 61 6e 20 62 65 20 |,$. This| can be |
|000050e0| 61 0a 20 20 20 20 20 68 | 61 6e 64 79 20 73 68 6f |a. h|andy sho|
|000050f0| 72 74 63 75 74 2e 0a 0a | 20 20 20 20 20 20 20 20 |rtcut...| |
|00005100| 53 6f 6d 65 20 65 78 61 | 6d 70 6c 65 73 3a 0a 20 |Some exa|mples:. |
|00005110| 20 20 20 20 20 20 20 20 | 20 20 20 3a 70 20 20 20 | | :p |
|00005120| 20 20 20 20 20 20 20 20 | 20 20 20 70 72 69 6e 74 | | print|
|00005130| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 6c 69 6e | the cur|rent lin|
|00005140| 65 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 3a 33 |e. | :3|
|00005150| 37 70 20 20 20 20 20 20 | 20 20 20 20 20 20 70 72 |7p | pr|
|00005160| 69 6e 74 20 6c 69 6e 65 | 20 33 37 0a 20 20 20 20 |int line| 37. |
|00005170| 20 20 20 20 20 20 20 20 | 3a 27 67 70 20 20 20 20 | |:'gp |
|00005180| 20 20 20 20 20 20 20 20 | 70 72 69 6e 74 20 74 68 | |print th|
|00005190| 65 20 6c 69 6e 65 20 77 | 68 69 63 68 20 63 6f 6e |e line w|hich con|
|000051a0| 74 61 69 6e 73 20 6d 61 | 72 6b 20 67 0a 20 20 20 |tains ma|rk g. |
|000051b0| 20 20 20 20 20 20 20 20 | 20 3a 2f 66 6f 6f 2f 70 | | :/foo/p|
|000051c0| 20 20 20 20 20 20 20 20 | 20 70 72 69 6e 74 20 74 | | print t|
|000051d0| 68 65 20 6e 65 78 74 20 | 6c 69 6e 65 20 74 68 61 |he next |line tha|
|000051e0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 22 66 6f 6f 22 |t contai|ns "foo"|
|000051f0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 3a 24 70 |. | :$p|
|00005200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 72 69 | | pri|
|00005210| 6e 74 20 74 68 65 20 6c | 61 73 74 20 6c 69 6e 65 |nt the l|ast line|
|00005220| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 0a 20 20 20 | of the |file. |
|00005230| 20 20 20 20 20 20 20 20 | 20 3a 32 30 2c 33 30 70 | | :20,30p|
|00005240| 20 20 20 20 20 20 20 20 | 20 70 72 69 6e 74 20 6c | | print l|
|00005250| 69 6e 65 73 20 32 30 20 | 74 68 72 6f 75 67 68 20 |ines 20 |through |
|00005260| 33 30 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 3a |30. | :|
|00005270| 31 2c 24 70 20 20 20 20 | 20 20 20 20 20 20 20 70 |1,$p | p|
|00005280| 72 69 6e 74 20 61 6c 6c | 20 6c 69 6e 65 73 20 6f |rint all| lines o|
|00005290| 66 20 74 68 65 20 66 69 | 6c 65 0a 20 20 20 20 20 |f the fi|le. |
|000052a0| 20 20 20 20 20 20 20 3a | 25 70 20 20 20 20 20 20 | :|%p |
|000052b0| 20 20 20 20 20 20 20 70 | 72 69 6e 74 20 61 6c 6c | p|rint all|
|000052c0| 20 6c 69 6e 65 73 20 6f | 66 20 74 68 65 20 66 69 | lines o|f the fi|
|000052d0| 6c 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 3a |le. | :|
|000052e0| 2f 66 6f 6f 2f 2d 32 2c | 2b 34 70 20 20 20 20 70 |/foo/-2,|+4p p|
|000052f0| 72 69 6e 74 20 35 20 6c | 69 6e 65 73 20 61 72 6f |rint 5 l|ines aro|
|00005300| 75 6e 64 20 74 68 65 20 | 6e 65 78 74 20 22 66 6f |und the |next "fo|
|00005310| 6f 22 0a 0a 0a 0a 0a 0a | 0a 0a 0a 20 20 20 20 20 |o"......|... |
|00005320| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2d | | -|
|00005340| 20 38 20 2d 0a 0a 0a 0a | 0a 0a 0a 0a 0a 20 20 5f | 8 -....|..... _|
|00005350| 08 54 5f 08 65 5f 08 78 | 5f 08 74 20 5f 08 45 5f |.T_.e_.x|_.t _.E_|
|00005360| 08 6e 5f 08 74 5f 08 72 | 5f 08 79 20 5f 08 43 5f |.n_.t_.r|_.y _.C_|
|00005370| 08 6f 5f 08 6d 5f 08 6d | 5f 08 61 5f 08 6e 5f 08 |.o_.m_.m|_.a_.n_.|
|00005380| 64 5f 08 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 |d_.s. | |
|00005390| 20 5b 6c 69 6e 65 5d 20 | 61 70 70 65 6e 64 0a 20 | [line] |append. |
|000053a0| 20 20 20 20 20 20 20 20 | 20 20 20 5b 6c 69 6e 65 | | [line|
|000053b0| 5d 5b 2c 6c 69 6e 65 5d | 20 63 68 61 6e 67 65 20 |][,line]| change |
|000053c0| 5b 22 78 5d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |["x]. | |
|000053d0| 20 5b 6c 69 6e 65 5d 20 | 69 6e 73 65 72 74 0a 0a | [line] |insert..|
|000053e0| 20 20 20 20 20 20 20 20 | 54 68 65 20 28 61 29 70 | |The (a)p|
|000053f0| 70 65 6e 64 20 63 6f 6d | 6d 61 6e 64 20 69 6e 73 |pend com|mand ins|
|00005400| 65 72 74 73 20 74 65 78 | 74 20 61 66 74 65 72 20 |erts tex|t after |
|00005410| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 6c 69 |the spec|ified li|
|00005420| 6e 65 2e 0a 0a 20 20 20 | 20 20 20 20 20 54 68 65 |ne... | The|
|00005430| 20 28 69 29 6e 73 65 72 | 74 20 63 6f 6d 6d 61 6e | (i)nser|t comman|
|00005440| 64 20 69 6e 73 65 72 74 | 73 20 74 65 78 74 20 62 |d insert|s text b|
|00005450| 65 66 6f 72 65 20 74 68 | 65 20 73 70 65 63 69 66 |efore th|e specif|
|00005460| 69 65 64 20 6c 69 6e 65 | 2e 0a 0a 20 20 20 20 20 |ied line|... |
|00005470| 20 20 20 54 68 65 20 28 | 63 29 68 61 6e 67 65 20 | The (|c)hange |
|00005480| 63 6f 6d 6d 61 6e 64 20 | 63 6f 70 69 65 73 20 74 |command |copies t|
|00005490| 68 65 20 72 61 6e 67 65 | 20 6f 66 20 6c 69 6e 65 |he range| of line|
|000054a0| 73 20 69 6e 74 6f 20 61 | 20 20 63 75 74 20 20 62 |s into a| cut b|
|000054b0| 75 66 66 65 72 2c 0a 20 | 20 20 20 20 64 65 6c 65 |uffer,. | dele|
|000054c0| 74 65 73 20 74 68 65 6d | 2c 20 61 6e 64 20 69 6e |tes them|, and in|
|000054d0| 73 65 72 74 73 20 6e 65 | 77 20 74 65 78 74 20 77 |serts ne|w text w|
|000054e0| 68 65 72 65 20 74 68 65 | 20 6f 6c 64 20 74 65 78 |here the| old tex|
|000054f0| 74 20 75 73 65 64 20 74 | 6f 20 62 65 2e 0a 0a 20 |t used t|o be... |
|00005500| 20 20 20 20 20 20 20 46 | 6f 72 20 20 61 6c 6c 20 | F|or all |
|00005510| 6f 66 20 74 68 65 73 65 | 20 63 6f 6d 6d 61 6e 64 |of these| command|
|00005520| 73 2c 20 79 6f 75 20 69 | 6e 64 69 63 61 74 65 20 |s, you i|ndicate |
|00005530| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 74 |the end |of the t|
|00005540| 65 78 74 20 79 6f 75 27 | 72 65 0a 20 20 20 20 20 |ext you'|re. |
|00005550| 69 6e 73 65 72 74 69 6e | 67 20 62 79 20 68 69 74 |insertin|g by hit|
|00005560| 74 69 6e 67 20 5e 44 20 | 6f 72 20 62 79 20 65 6e |ting ^D |or by en|
|00005570| 74 65 72 69 6e 67 20 61 | 20 6c 69 6e 65 20 77 68 |tering a| line wh|
|00005580| 69 63 68 20 20 63 6f 6e | 74 61 69 6e 73 20 20 6f |ich con|tains o|
|00005590| 6e 6c 79 20 20 61 0a 20 | 20 20 20 20 70 65 72 69 |nly a. | peri|
|000055a0| 6f 64 2e 0a 0a 0a 20 20 | 5f 08 43 5f 08 75 5f 08 |od.... |_.C_.u_.|
|000055b0| 74 20 26 20 5f 08 50 5f | 08 61 5f 08 73 5f 08 74 |t & _.P_|.a_.s_.t|
|000055c0| 5f 08 65 20 5f 08 43 5f | 08 6f 5f 08 6d 5f 08 6d |_.e _.C_|.o_.m_.m|
|000055d0| 5f 08 61 5f 08 6e 5f 08 | 64 5f 08 73 0a 20 20 20 |_.a_.n_.|d_.s. |
|000055e0| 20 20 20 20 20 20 20 20 | 20 5b 6c 69 6e 65 5d 5b | | [line][|
|000055f0| 2c 6c 69 6e 65 5d 20 64 | 65 6c 65 74 65 20 5b 22 |,line] d|elete ["|
|00005600| 78 5d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 5b |x]. | [|
|00005610| 6c 69 6e 65 5d 5b 2c 6c | 69 6e 65 5d 20 79 61 6e |line][,l|ine] yan|
|00005620| 6b 20 5b 22 78 5d 0a 20 | 20 20 20 20 20 20 20 20 |k ["x]. | |
|00005630| 20 20 20 5b 6c 69 6e 65 | 5d 20 70 75 74 5b 21 5d | [line|] put[!]|
|00005640| 20 5b 22 78 5d 0a 20 20 | 20 20 20 20 20 20 20 20 | ["x]. | |
|00005650| 20 20 5b 6c 69 6e 65 5d | 5b 2c 6c 69 6e 65 5d 20 | [line]|[,line] |
|00005660| 63 6f 70 79 20 6c 69 6e | 65 0a 20 20 20 20 20 20 |copy lin|e. |
|00005670| 20 20 20 20 20 20 5b 6c | 69 6e 65 5d 5b 2c 6c 69 | [l|ine][,li|
|00005680| 6e 65 5d 20 74 6f 20 6c | 69 6e 65 0a 20 20 20 20 |ne] to l|ine. |
|00005690| 20 20 20 20 20 20 20 20 | 5b 6c 69 6e 65 5d 5b 2c | |[line][,|
|000056a0| 6c 69 6e 65 5d 20 6d 6f | 76 65 20 6c 69 6e 65 0a |line] mo|ve line.|
|000056b0| 0a 20 20 20 20 20 20 20 | 20 54 68 65 20 28 64 29 |. | The (d)|
|000056c0| 65 6c 65 74 65 20 63 6f | 6d 6d 61 6e 64 20 63 6f |elete co|mmand co|
|000056d0| 70 69 65 73 20 74 68 65 | 20 73 70 65 63 69 66 69 |pies the| specifi|
|000056e0| 65 64 20 72 61 6e 67 65 | 20 6f 66 20 6c 69 6e 65 |ed range| of line|
|000056f0| 73 20 69 6e 74 6f 20 61 | 20 63 75 74 0a 20 20 20 |s into a| cut. |
|00005700| 20 20 62 75 66 66 65 72 | 2c 20 61 6e 64 20 74 68 | buffer|, and th|
|00005710| 65 6e 20 64 65 6c 65 74 | 65 73 20 74 68 65 6d 2e |en delet|es them.|
|00005720| 0a 0a 20 20 20 20 20 20 | 20 20 54 68 65 20 28 79 |.. | The (y|
|00005730| 29 61 6e 6b 20 63 6f 6d | 6d 61 6e 64 20 63 6f 70 |)ank com|mand cop|
|00005740| 69 65 73 20 74 68 65 20 | 73 70 65 63 69 66 69 65 |ies the |specifie|
|00005750| 64 20 72 61 6e 67 65 20 | 6f 66 20 6c 69 6e 65 73 |d range |of lines|
|00005760| 20 69 6e 74 6f 20 20 61 | 20 20 63 75 74 0a 20 20 | into a| cut. |
|00005770| 20 20 20 62 75 66 66 65 | 72 2c 20 62 75 74 20 64 | buffe|r, but d|
|00005780| 6f 65 73 20 2a 6e 6f 74 | 2a 20 64 65 6c 65 74 65 |oes *not|* delete|
|00005790| 20 74 68 65 6d 2e 0a 0a | 20 20 20 20 20 20 20 20 | them...| |
|000057a0| 54 68 65 20 20 28 70 75 | 29 74 20 20 63 6f 6d 6d |The (pu|)t comm|
|000057b0| 61 6e 64 20 20 69 6e 73 | 65 72 74 73 20 20 74 65 |and ins|erts te|
|000057c0| 78 74 20 20 66 72 6f 6d | 20 20 61 20 20 63 75 74 |xt from| a cut|
|000057d0| 20 20 62 75 66 66 65 72 | 20 20 61 66 74 65 72 20 | buffer| after |
|000057e0| 74 68 65 0a 20 20 20 20 | 20 73 70 65 63 69 66 69 |the. | specifi|
|000057f0| 65 64 20 6c 69 6e 65 20 | 2d 2d 20 6f 72 20 62 65 |ed line |-- or be|
|00005800| 66 6f 72 65 20 69 74 20 | 69 66 20 74 68 65 20 21 |fore it |if the !|
|00005810| 20 69 73 20 70 72 65 73 | 65 6e 74 2e 0a 0a 20 20 | is pres|ent... |
|00005820| 20 20 20 20 20 20 54 68 | 65 20 28 63 6f 29 70 79 | Th|e (co)py|
|00005830| 20 61 6e 64 20 28 74 29 | 6f 20 63 6f 6d 6d 61 6e | and (t)|o comman|
|00005840| 64 73 20 79 61 6e 6b 20 | 74 68 65 20 73 70 65 63 |ds yank |the spec|
|00005850| 69 66 69 65 64 20 72 61 | 6e 67 65 20 6f 66 20 6c |ified ra|nge of l|
|00005860| 69 6e 65 73 20 20 61 6e | 64 0a 20 20 20 20 20 74 |ines an|d. t|
|00005870| 68 65 6e 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 20 |hen imme|diately |
|00005880| 70 61 73 74 65 20 74 68 | 65 6d 20 61 66 74 65 72 |paste th|em after|
|00005890| 20 73 6f 6d 65 20 6f 74 | 68 65 72 20 6c 69 6e 65 | some ot|her line|
|000058a0| 2e 0a 0a 20 20 20 20 20 | 20 20 20 54 68 65 20 20 |... | The |
|000058b0| 28 6d 29 6f 76 65 20 20 | 63 6f 6d 6d 61 6e 64 20 |(m)ove |command |
|000058c0| 20 64 65 6c 65 74 65 73 | 20 74 68 65 20 73 70 65 | deletes| the spe|
|000058d0| 63 69 66 69 65 64 20 72 | 61 6e 67 65 20 6f 66 20 |cified r|ange of |
|000058e0| 6c 69 6e 65 73 20 61 6e | 64 20 74 68 65 6e 0a 20 |lines an|d then. |
|000058f0| 20 20 20 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 20 | imme|diately |
|00005900| 70 61 73 74 65 73 20 74 | 68 65 6d 20 61 66 74 65 |pastes t|hem afte|
|00005910| 72 20 73 6f 6d 65 20 6f | 74 68 65 72 20 6c 69 6e |r some o|ther lin|
|00005920| 65 2e 20 49 66 20 74 68 | 65 20 64 65 73 74 69 6e |e. If th|e destin|
|00005930| 61 74 69 6f 6e 20 6c 69 | 6e 65 0a 20 20 20 20 20 |ation li|ne. |
|00005940| 63 6f 6d 65 73 20 20 61 | 66 74 65 72 20 20 74 68 |comes a|fter th|
|00005950| 65 20 64 65 6c 65 74 65 | 64 20 74 65 78 74 2c 20 |e delete|d text, |
|00005960| 74 68 65 6e 20 69 74 20 | 77 69 6c 6c 20 62 65 20 |then it |will be |
|00005970| 61 64 6a 75 73 74 65 64 | 20 61 75 74 6f 6d 61 74 |adjusted| automat|
|00005980| 69 63 61 6c 6c 79 0a 20 | 20 20 20 20 74 6f 20 61 |ically. | to a|
|00005990| 63 63 6f 75 6e 74 20 66 | 6f 72 20 74 68 65 20 64 |ccount f|or the d|
|000059a0| 65 6c 65 74 65 64 20 6c | 69 6e 65 73 2e 0a 0a 0a |eleted l|ines....|
|000059b0| 20 20 5f 08 44 5f 08 69 | 5f 08 73 5f 08 70 5f 08 | _.D_.i|_.s_.p_.|
|000059c0| 6c 5f 08 61 5f 08 79 20 | 5f 08 54 5f 08 65 5f 08 |l_.a_.y |_.T_.e_.|
|000059d0| 78 5f 08 74 20 5f 08 43 | 5f 08 6f 5f 08 6d 5f 08 |x_.t _.C|_.o_.m_.|
|000059e0| 6d 5f 08 61 5f 08 6e 5f | 08 64 5f 08 73 0a 20 20 |m_.a_.n_|.d_.s. |
|000059f0| 20 20 20 20 20 20 20 20 | 20 20 5b 6c 69 6e 65 5d | | [line]|
|00005a00| 5b 2c 6c 69 6e 65 5d 20 | 70 72 69 6e 74 0a 20 20 |[,line] |print. |
|00005a10| 20 20 20 20 20 20 20 20 | 20 20 5b 6c 69 6e 65 5d | | [line]|
|00005a20| 5b 2c 6c 69 6e 65 5d 20 | 6c 69 73 74 0a 0a 20 20 |[,line] |list.. |
|00005a30| 20 20 20 20 20 20 54 68 | 65 20 28 70 29 72 69 6e | Th|e (p)rin|
|00005a40| 74 20 63 6f 6d 6d 61 6e | 64 20 64 69 73 70 6c 61 |t comman|d displa|
|00005a50| 79 73 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |ys the s|pecified|
|00005a60| 20 72 61 6e 67 65 20 6f | 66 20 6c 69 6e 65 73 2e | range o|f lines.|
|00005a70| 0a 0a 20 20 20 20 20 20 | 20 20 54 68 65 20 28 6c |.. | The (l|
|00005a80| 29 69 73 74 20 63 6f 6d | 6d 61 6e 64 20 61 6c 73 |)ist com|mand als|
|00005a90| 6f 20 64 69 73 70 6c 61 | 79 73 20 74 68 65 6d 2c |o displa|ys them,|
|00005aa0| 20 62 75 74 20 69 74 20 | 69 73 20 20 63 61 72 65 | but it |is care|
|00005ab0| 66 75 6c 20 20 74 6f 20 | 20 6d 61 6b 65 0a 20 20 |ful to | make. |
|00005ac0| 20 20 20 63 6f 6e 74 72 | 6f 6c 20 63 68 61 72 61 | contr|ol chara|
|00005ad0| 63 74 65 72 73 20 76 69 | 73 69 62 6c 65 2e 0a 0a |cters vi|sible...|
|00005ae0| 0a 0a 0a 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |..... | |
|00005af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b00| 20 20 20 20 20 20 20 20 | 20 2d 20 39 20 2d 0a 0a | | - 9 -..|
|00005b10| 0a 0a 0a 0a 0a 0a 0a 20 | 20 5f 08 47 5f 08 6c 5f |....... | _.G_.l_|
|00005b20| 08 6f 5f 08 62 5f 08 61 | 5f 08 6c 20 5f 08 4f 5f |.o_.b_.a|_.l _.O_|
|00005b30| 08 70 5f 08 65 5f 08 72 | 5f 08 61 5f 08 74 5f 08 |.p_.e_.r|_.a_.t_.|
|00005b40| 69 5f 08 6f 5f 08 6e 5f | 08 73 20 5f 08 43 5f 08 |i_.o_.n_|.s _.C_.|
|00005b50| 6f 5f 08 6d 5f 08 6d 5f | 08 61 5f 08 6e 5f 08 64 |o_.m_.m_|.a_.n_.d|
|00005b60| 5f 08 73 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |_.s. | |
|00005b70| 5b 6c 69 6e 65 5d 5b 2c | 6c 69 6e 65 5d 20 67 6c |[line][,|line] gl|
|00005b80| 6f 62 61 6c 20 2f 72 65 | 67 65 78 70 2f 20 63 6f |obal /re|gexp/ co|
|00005b90| 6d 6d 61 6e 64 0a 20 20 | 20 20 20 20 20 20 20 20 |mmand. | |
|00005ba0| 20 20 5b 6c 69 6e 65 5d | 5b 2c 6c 69 6e 65 5d 20 | [line]|[,line] |
|00005bb0| 76 67 6c 6f 62 61 6c 20 | 2f 72 65 67 65 78 70 2f |vglobal |/regexp/|
|00005bc0| 20 63 6f 6d 6d 61 6e 64 | 0a 0a 20 20 20 20 20 20 | command|.. |
|00005bd0| 20 20 54 68 65 20 20 28 | 67 29 6c 6f 62 61 6c 20 | The (|g)lobal |
|00005be0| 20 63 6f 6d 6d 61 6e 64 | 20 20 73 65 61 72 63 68 | command| search|
|00005bf0| 65 73 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 6c |es throu|gh the l|
|00005c00| 69 6e 65 73 20 6f 66 20 | 74 68 65 20 73 70 65 63 |ines of |the spec|
|00005c10| 69 66 69 65 64 0a 20 20 | 20 20 20 72 61 6e 67 65 |ified. | range|
|00005c20| 20 28 6f 72 20 74 68 72 | 6f 75 67 68 20 74 68 65 | (or thr|ough the|
|00005c30| 20 77 68 6f 6c 65 20 66 | 69 6c 65 20 69 66 20 6e | whole f|ile if n|
|00005c40| 6f 20 72 61 6e 67 65 20 | 69 73 20 73 70 65 63 69 |o range |is speci|
|00005c50| 66 69 65 64 29 20 20 66 | 6f 72 20 20 6c 69 6e 65 |fied) f|or line|
|00005c60| 73 0a 20 20 20 20 20 74 | 68 61 74 20 20 63 6f 6e |s. t|hat con|
|00005c70| 74 61 69 6e 20 20 61 20 | 67 69 76 65 6e 20 72 65 |tain a |given re|
|00005c80| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|00005c90| 2e 20 49 74 20 74 68 65 | 6e 20 6d 6f 76 65 73 20 |. It the|n moves |
|00005ca0| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 0a 20 20 |the curs|or to. |
|00005cb0| 20 20 20 65 61 63 68 20 | 6f 66 20 74 68 65 73 65 | each |of these|
|00005cc0| 20 6c 69 6e 65 73 20 61 | 6e 64 20 72 75 6e 73 20 | lines a|nd runs |
|00005cd0| 73 6f 6d 65 20 6f 74 68 | 65 72 20 63 6f 6d 6d 61 |some oth|er comma|
|00005ce0| 6e 64 20 6f 6e 20 74 68 | 65 6d 2e 0a 0a 20 20 20 |nd on th|em... |
|00005cf0| 20 20 20 20 20 54 68 65 | 20 28 76 29 67 6c 6f 62 | The| (v)glob|
|00005d00| 61 6c 20 63 6f 6d 6d 61 | 6e 64 20 69 73 20 73 69 |al comma|nd is si|
|00005d10| 6d 69 6c 61 72 2c 20 62 | 75 74 20 69 74 20 73 65 |milar, b|ut it se|
|00005d20| 61 72 63 68 65 73 20 20 | 66 6f 72 20 20 6c 69 6e |arches |for lin|
|00005d30| 65 73 20 20 74 68 61 74 | 0a 20 20 20 20 20 5f 08 |es that|. _.|
|00005d40| 64 5f 08 6f 5f 08 6e 27 | 5f 08 74 20 63 6f 6e 74 |d_.o_.n'|_.t cont|
|00005d50| 61 69 6e 20 74 68 65 20 | 72 65 67 75 6c 61 72 20 |ain the |regular |
|00005d60| 65 78 70 72 65 73 73 69 | 6f 6e 2e 0a 0a 0a 20 20 |expressi|on.... |
|00005d70| 5f 08 4c 5f 08 69 5f 08 | 6e 5f 08 65 20 5f 08 45 |_.L_.i_.|n_.e _.E|
|00005d80| 5f 08 64 5f 08 69 5f 08 | 74 5f 08 69 5f 08 6e 5f |_.d_.i_.|t_.i_.n_|
|00005d90| 08 67 20 5f 08 43 5f 08 | 6f 5f 08 6d 5f 08 6d 5f |.g _.C_.|o_.m_.m_|
|00005da0| 08 61 5f 08 6e 5f 08 64 | 5f 08 73 0a 20 20 20 20 |.a_.n_.d|_.s. |
|00005db0| 20 20 20 20 20 20 20 20 | 5b 6c 69 6e 65 5d 5b 2c | |[line][,|
|00005dc0| 6c 69 6e 65 5d 20 6a 6f | 69 6e 0a 20 20 20 20 20 |line] jo|in. |
|00005dd0| 20 20 20 20 20 20 20 5b | 6c 69 6e 65 5d 5b 2c 6c | [|line][,l|
|00005de0| 69 6e 65 5d 20 21 20 70 | 72 6f 67 72 61 6d 0a 20 |ine] ! p|rogram. |
|00005df0| 20 20 20 20 20 20 20 20 | 20 20 20 5b 6c 69 6e 65 | | [line|
|00005e00| 5d 5b 2c 6c 69 6e 65 5d | 20 3c 0a 20 20 20 20 20 |][,line]| <. |
|00005e10| 20 20 20 20 20 20 20 5b | 6c 69 6e 65 5d 5b 2c 6c | [|line][,l|
|00005e20| 69 6e 65 5d 20 3e 0a 20 | 20 20 20 20 20 20 20 20 |ine] >. | |
|00005e30| 20 20 20 5b 6c 69 6e 65 | 5d 5b 2c 6c 69 6e 65 5d | [line|][,line]|
|00005e40| 20 73 75 62 73 74 69 74 | 75 74 65 20 2f 72 65 67 | substit|ute /reg|
|00005e50| 65 78 70 2f 72 65 70 6c | 61 63 65 6d 65 6e 74 2f |exp/repl|acement/|
|00005e60| 5b 70 5d 5b 67 5d 0a 0a | 20 20 20 20 20 20 20 20 |[p][g]..| |
|00005e70| 54 68 65 20 20 28 6a 29 | 6f 69 6e 20 20 63 6f 6d |The (j)|oin com|
|00005e80| 6d 61 6e 64 20 20 63 61 | 74 65 6e 61 74 65 73 20 |mand ca|tenates |
|00005e90| 20 61 6c 6c 20 20 6c 69 | 6e 65 73 20 20 69 6e 20 | all li|nes in |
|00005ea0| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 72 61 |the spec|ified ra|
|00005eb0| 6e 67 65 0a 20 20 20 20 | 20 74 6f 67 65 74 68 65 |nge. | togethe|
|00005ec0| 72 20 74 6f 20 66 6f 72 | 6d 20 6f 6e 65 20 62 69 |r to for|m one bi|
|00005ed0| 67 20 6c 69 6e 65 2e 20 | 49 66 20 6f 6e 6c 79 20 |g line. |If only |
|00005ee0| 61 20 20 73 69 6e 67 6c | 65 20 20 6c 69 6e 65 20 |a singl|e line |
|00005ef0| 20 69 73 20 20 73 70 65 | 63 69 66 69 65 64 2c 0a | is spe|cified,.|
|00005f00| 20 20 20 20 20 74 68 65 | 6e 20 74 68 65 20 66 6f | the|n the fo|
|00005f10| 6c 6c 6f 77 69 6e 67 20 | 6c 69 6e 65 20 69 73 20 |llowing |line is |
|00005f20| 63 61 74 65 6e 61 74 65 | 64 20 6f 6e 74 6f 20 69 |catenate|d onto i|
|00005f30| 74 2e 0a 0a 20 20 20 20 | 20 20 20 20 54 68 65 20 |t... | The |
|00005f40| 20 21 20 20 63 6f 6d 6d | 61 6e 64 20 20 72 75 6e | ! comm|and run|
|00005f50| 73 20 20 61 6e 20 20 65 | 78 74 65 72 6e 61 6c 20 |s an e|xternal |
|00005f60| 20 66 69 6c 74 65 72 20 | 20 70 72 6f 67 72 61 6d | filter | program|
|00005f70| 2c 20 61 6e 64 20 66 65 | 65 64 73 20 74 68 65 0a |, and fe|eds the.|
|00005f80| 20 20 20 20 20 73 70 65 | 63 69 66 69 65 64 20 72 | spe|cified r|
|00005f90| 61 6e 67 65 20 6f 66 20 | 6c 69 6e 65 73 20 74 6f |ange of |lines to|
|00005fa0| 20 69 74 27 73 20 73 74 | 64 69 6e 2e 20 54 68 65 | it's st|din. The|
|00005fb0| 20 6c 69 6e 65 73 20 61 | 72 65 20 74 68 65 6e 20 | lines a|re then |
|00005fc0| 72 65 70 6c 61 63 65 64 | 20 62 79 0a 20 20 20 20 |replaced| by. |
|00005fd0| 20 74 68 65 20 20 6f 75 | 74 70 75 74 20 6f 66 20 | the ou|tput of |
|00005fe0| 74 68 65 20 66 69 6c 74 | 65 72 2e 20 41 20 74 79 |the filt|er. A ty|
|00005ff0| 70 69 63 61 6c 20 65 78 | 61 6d 70 6c 65 20 77 6f |pical ex|ample wo|
|00006000| 75 6c 64 20 62 65 20 22 | 3a 27 61 2c 27 7a 21 73 |uld be "|:'a,'z!s|
|00006010| 6f 72 74 22 20 74 6f 0a | 20 20 20 20 20 73 6f 72 |ort" to.| sor|
|00006020| 74 20 74 68 65 20 6c 69 | 6e 65 73 20 27 61 2c 27 |t the li|nes 'a,'|
|00006030| 7a 2e 0a 0a 20 20 20 20 | 20 20 20 20 54 68 65 20 |z... | The |
|00006040| 3c 20 61 6e 64 20 3e 20 | 63 6f 6d 6d 61 6e 64 73 |< and > |commands|
|00006050| 20 73 68 69 66 74 20 74 | 68 65 20 73 70 65 63 69 | shift t|he speci|
|00006060| 66 69 65 64 20 72 61 6e | 67 65 20 20 6f 66 20 20 |fied ran|ge of |
|00006070| 6c 69 6e 65 73 20 20 6c | 65 66 74 20 20 6f 72 0a |lines l|eft or.|
|00006080| 20 20 20 20 20 72 69 67 | 68 74 2c 20 20 6e 6f 72 | rig|ht, nor|
|00006090| 6d 61 6c 6c 79 20 20 62 | 79 20 20 74 68 65 20 20 |mally b|y the |
|000060a0| 77 69 64 74 68 20 20 6f | 66 20 31 20 74 61 62 20 |width o|f 1 tab |
|000060b0| 63 68 61 72 61 63 74 65 | 72 2e 20 54 68 65 20 22 |characte|r. The "|
|000060c0| 73 68 69 66 74 77 69 64 | 74 68 22 0a 20 20 20 20 |shiftwid|th". |
|000060d0| 20 6f 70 74 69 6f 6e 20 | 64 65 74 65 72 6d 69 6e | option |determin|
|000060e0| 65 73 20 74 68 65 20 73 | 68 69 66 74 69 6e 67 20 |es the s|hifting |
|000060f0| 61 6d 6f 75 6e 74 2e 0a | 0a 20 20 20 20 20 20 20 |amount..|. |
|00006100| 20 54 68 65 20 28 73 29 | 75 62 73 74 69 74 75 74 | The (s)|ubstitut|
|00006110| 65 20 63 6f 6d 6d 61 6e | 64 20 66 69 6e 64 73 20 |e comman|d finds |
|00006120| 74 68 65 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 |the regu|lar expr|
|00006130| 65 73 73 69 6f 6e 20 69 | 6e 20 65 61 63 68 20 6c |ession i|n each l|
|00006140| 69 6e 65 2c 0a 20 20 20 | 20 20 61 6e 64 20 20 72 |ine,. | and r|
|00006150| 65 70 6c 61 63 65 73 20 | 20 69 74 20 77 69 74 68 |eplaces | it with|
|00006160| 20 74 68 65 20 72 65 70 | 6c 61 63 65 6d 65 6e 74 | the rep|lacement|
|00006170| 20 74 65 78 74 2e 20 54 | 68 65 20 22 70 22 20 6f | text. T|he "p" o|
|00006180| 70 74 69 6f 6e 20 63 61 | 75 73 65 73 20 74 68 65 |ption ca|uses the|
|00006190| 0a 20 20 20 20 20 61 6c | 74 65 72 65 64 20 6c 69 |. al|tered li|
|000061a0| 6e 65 73 20 74 6f 20 62 | 65 20 70 72 69 6e 74 65 |nes to b|e printe|
|000061b0| 64 2c 20 61 6e 64 20 74 | 68 65 20 22 67 22 20 6f |d, and t|he "g" o|
|000061c0| 70 74 69 6f 6e 20 70 65 | 72 6d 69 74 73 20 61 6c |ption pe|rmits al|
|000061d0| 6c 20 20 69 6e 73 74 61 | 6e 63 65 73 0a 20 20 20 |l insta|nces. |
|000061e0| 20 20 6f 66 20 20 74 68 | 65 20 20 72 65 67 75 6c | of th|e regul|
|000061f0| 61 72 20 65 78 70 72 65 | 73 73 69 6f 6e 20 74 6f |ar expre|ssion to|
|00006200| 20 62 65 20 66 6f 75 6e | 64 20 26 20 72 65 70 6c | be foun|d & repl|
|00006210| 61 63 65 64 2e 20 28 57 | 69 74 68 6f 75 74 20 22 |aced. (W|ithout "|
|00006220| 67 22 2c 20 6f 6e 6c 79 | 0a 20 20 20 20 20 74 68 |g", only|. th|
|00006230| 65 20 66 69 72 73 74 20 | 6f 63 63 75 72 72 65 6e |e first |occurren|
|00006240| 63 65 20 69 6e 20 65 61 | 63 68 20 6c 69 6e 65 20 |ce in ea|ch line |
|00006250| 69 73 20 72 65 70 6c 61 | 63 65 64 2e 29 0a 0a 0a |is repla|ced.)...|
|00006260| 20 20 5f 08 55 5f 08 6e | 5f 08 64 5f 08 6f 20 5f | _.U_.n|_.d_.o _|
|00006270| 08 43 5f 08 6f 5f 08 6d | 5f 08 6d 5f 08 61 5f 08 |.C_.o_.m|_.m_.a_.|
|00006280| 6e 5f 08 64 0a 20 20 20 | 20 20 20 20 20 20 20 20 |n_.d. | |
|00006290| 20 75 6e 64 6f 0a 0a 20 | 20 20 20 20 20 20 20 54 | undo.. | T|
|000062a0| 68 65 20 28 75 29 6e 64 | 6f 20 63 6f 6d 6d 61 6e |he (u)nd|o comman|
|000062b0| 64 20 72 65 73 74 6f 72 | 65 73 20 74 68 65 20 66 |d restor|es the f|
|000062c0| 69 6c 65 20 74 6f 20 74 | 68 65 20 73 74 61 74 65 |ile to t|he state|
|000062d0| 20 69 74 20 77 61 73 20 | 69 6e 20 20 62 65 66 6f | it was |in befo|
|000062e0| 72 65 0a 20 20 20 20 20 | 79 6f 75 72 20 6d 6f 73 |re. |your mos|
|000062f0| 74 20 72 65 63 65 6e 74 | 20 63 6f 6d 6d 61 6e 64 |t recent| command|
|00006300| 20 77 68 69 63 68 20 63 | 68 61 6e 67 65 64 20 74 | which c|hanged t|
|00006310| 65 78 74 2e 0a 0a 0a 20 | 20 5f 08 43 5f 08 6f 5f |ext.... | _.C_.o_|
|00006320| 08 6e 5f 08 66 5f 08 69 | 5f 08 67 5f 08 75 5f 08 |.n_.f_.i|_.g_.u_.|
|00006330| 72 5f 08 61 5f 08 74 5f | 08 69 5f 08 6f 5f 08 6e |r_.a_.t_|.i_.o_.n|
|00006340| 20 26 20 5f 08 53 5f 08 | 74 5f 08 61 5f 08 74 5f | & _.S_.|t_.a_.t_|
|00006350| 08 75 5f 08 73 20 5f 08 | 43 5f 08 6f 5f 08 6d 5f |.u_.s _.|C_.o_.m_|
|00006360| 08 6d 5f 08 61 5f 08 6e | 5f 08 64 5f 08 73 0a 20 |.m_.a_.n|_.d_.s. |
|00006370| 20 20 20 20 20 20 20 20 | 20 20 20 6d 61 70 5b 21 | | map[!|
|00006380| 5d 20 5b 6b 65 79 20 6d | 61 70 70 65 64 5f 74 6f |] [key m|apped_to|
|00006390| 5d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 75 6e |]. | un|
|000063a0| 6d 61 70 5b 21 5d 20 6b | 65 79 0a 20 20 20 20 20 |map[!] k|ey. |
|000063b0| 20 20 20 20 20 20 20 64 | 69 67 72 61 70 68 5b 21 | d|igraph[!|
|000063c0| 5d 20 5b 58 58 20 5b 59 | 5d 5d 0a 20 20 20 20 20 |] [XX [Y|]]. |
|000063d0| 20 20 20 20 20 20 20 73 | 65 74 20 5b 6f 70 74 69 | s|et [opti|
|000063e0| 6f 6e 73 5d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ons]. | |
|000063f0| 20 6d 6b 65 78 72 63 0a | 20 20 20 20 20 20 20 20 | mkexrc.| |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.