
e
ex(1) | ex(1) |
| The form s\&repl is equivalent to |
| stitution string. |
suspend | su[spend][!] |
stop | st[op][!] |
| susp |
| Suspend the editor job and return to the calling shell. stop and susp are equivalent to |
| suspend. susp is the user process control suspend character, which is typically the |
| character ÃZ (ASCII SUB) (see stty(1)). This command is disabled if the calling shell |
| does not support job control or has disabled it. |
| The work area is written to the current ®le before the editor is suspended if the |
| autowrite editor option is set, the readonly editor option is not set, and the work |
| area has been modi®ed since the last write. To override this action, append the ! char- |
| acter to the suspend or stop command. |
tag | ta[g][!] tag |
| Search the ®les speci®ed by the tags editor option (see Editor Options below) sequen- |
| tially until a tag de®nition for tag is found. If tag is found, load the associated ®le into |
| the work area and set the current position to the address speci®ed in the tag de®nition. |
| The work area is written to the current ®le before the new ®le is loaded if the new ®le is |
| different from the current ®le, the autowrite editor option is set, the readonly |
| editor option is not set, and the work area has been modi®ed since the last write. To |
| override this action, append the ! character to the command. |
| If the tagstack editor option is set, the current ®le name and line number is pushed |
| onto the tag stack for later recall with the line mode pop command or the visual mode |
| ^] command. |
unabbreviate una[bbreviate] word
| Delete word from the list of abbreviations (see the abbreviate command above). | |
undo | u[ndo] |
|
| Reverse the changes made by the previous editing command. For this purpose, glo- | |
| bal and visual are considered single commands. Commands that affect the external | |
| environment, such as write, edit, and next, cannot be undone. An undo can itself | |
| be reversed. |
|
unmap | unm[ap][!] key |
|
| The macro de®nition for key is removed (see the map command above). | |
version | ve[rsion] |
|
| Print the current version information for the editor. |
|
visual | line vi[sual] type count ¯ags |
|
| Enter visual mode at the speci®ed line. |
|
| The type can be one of the characters +, | |
| specify the position of the speci®ed line on the screen window The default is to place the | |
| line at the top of the screen window. |
|
| A count speci®es an initial window size; the default is the value of the editor option | |
| window. |
|
| The ¯ags # and l (ell) cause the lines in the visual window to be displayed in the | |
| corresponding mode (see the number and list commands). | |
| Use the Q command to exit visual mode. For more information, see vi(1). | |
write | [range] w[rite][!][>>] ®le |
|
| [range] wq[!][>>] ®le |
|
| Write the speci®ed lines (or the entire work area, if no range is given) out to ®le, print- | |
| ing the number of lines and characters written. If ®le is not speci®ed, the default is the | |
| current ®le (the command fails with an error message if there is no current ®le and no | |
| ®le is speci®ed). |
|
Section 1−250 | − 10 − | |