Commit | Line | Data |
---|---|---|
362b077f C |
1 | |
2 | ||
3 | ||
4 | EX(1) UNIX Programmer's Manual EX(1) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | ex, edit - text editor | |
10 | ||
11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
12 | e\bex\bx [ -\b- ] [ -\b-v\bv ] [ -\b-t\bt tag ] [ -\b-r\br ] [ +\b+_\bc_\bo_\bm_\bm_\ba_\bn_\bd ] [ -\b-l\bl ] name | |
13 | ... | |
14 | e\bed\bdi\bit\bt [ ex options ] | |
15 | ||
16 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
17 | _\bE_\bx is the root of a family of editors: _\be_\bd_\bi_\bt, _\be_\bx and _\bv_\bi. _\bE_\bx | |
18 | is a superset of _\be_\bd, with the most notable extension being a | |
19 | display editing facility. Display based editing is the | |
20 | focus of _\bv_\bi. | |
21 | ||
22 | If you have not used _\be_\bd, or are a casual user, you will find | |
23 | that the editor _\be_\bd_\bi_\bt is convenient for you. It avoids some | |
24 | of the complexities of _\be_\bx used mostly by systems programmers | |
25 | and persons very familiar with _\be_\bd. | |
26 | ||
27 | If you have a CRT terminal, you may wish to use a display | |
28 | based editor; in this case see _\bv_\bi(1), which is a command | |
29 | which focuses on the display editing portion of _\be_\bx. | |
30 | ||
31 | D\bDO\bOC\bCU\bUM\bME\bEN\bNT\bTA\bAT\bTI\bIO\bON\bN | |
32 | The document _\bE_\bd_\bi_\bt: _\bA _\bt_\bu_\bt_\bo_\br_\bi_\ba_\bl (USD:14) provides a comprehen- | |
33 | sive introduction to _\be_\bd_\bi_\bt assuming no previous knowledge of | |
34 | computers or the UNIX system. | |
35 | ||
36 | The _\bE_\bx _\bR_\be_\bf_\be_\br_\be_\bn_\bc_\be _\bM_\ba_\bn_\bu_\ba_\bl - _\bV_\be_\br_\bs_\bi_\bo_\bn _\b3._\b7 (USD:16) is a | |
37 | comprehensive and complete manual for the command mode | |
38 | features of _\be_\bx, but you cannot learn to use the editor by | |
39 | reading it. For an introduction to more advanced forms of | |
40 | editing using the command mode of _\be_\bx see the editing docu- | |
41 | ments written by Brian Kernighan for the editor _\be_\bd; the | |
42 | material in the introductory and advanced documents works | |
43 | also with _\be_\bx. | |
44 | ||
45 | _\bA_\bn _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn _\bt_\bo _\bD_\bi_\bs_\bp_\bl_\ba_\by _\bE_\bd_\bi_\bt_\bi_\bn_\bg _\bw_\bi_\bt_\bh _\bV_\bi (USD:15) intro- | |
46 | duces the display editor _\bv_\bi and provides reference material | |
47 | on _\bv_\bi. In addition, the _\bV_\bi _\bQ_\bu_\bi_\bc_\bk _\bR_\be_\bf_\be_\br_\be_\bn_\bc_\be card summarizes | |
48 | the commands of _\bv_\bi in a useful, functional way, and is use- | |
49 | ful with the _\bI_\bn_\bt_\br_\bo_\bd_\bu_\bc_\bt_\bi_\bo_\bn. | |
50 | ||
51 | F\bFI\bIL\bLE\bES\bS | |
52 | /usr/lib/ex?.?strings error messages | |
53 | /usr/lib/ex?.?recover recover command | |
54 | /usr/lib/ex?.?preserve preserve command | |
55 | /etc/termcap describes capabilities of terminals | |
56 | ~/.exrc editor startup file | |
57 | /tmp/Ex_\bn_\bn_\bn_\bn_\bn editor temporary | |
58 | /tmp/Rx_\bn_\bn_\bn_\bn_\bn named buffer temporary | |
59 | /usr/preserve preservation directory | |
60 | ||
61 | ||
62 | ||
63 | Printed 7/9/88 June 5, 1986 1 | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | EX(1) UNIX Programmer's Manual EX(1) | |
71 | ||
72 | ||
73 | ||
74 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
75 | awk(1), ed(1), grep(1), sed(1), grep(1), vi(1), termcap(5), | |
76 | environ(7) | |
77 | ||
78 | A\bAU\bUT\bTH\bHO\bOR\bR | |
79 | Originally written by William Joy | |
80 | Mark Horton has maintained the editor since version 2.7, | |
81 | adding macros, support for many unusual terminals, and other | |
82 | features such as word abbreviation mode. | |
83 | ||
84 | B\bBU\bUG\bGS\bS | |
85 | The _\bu_\bn_\bd_\bo command causes all marks to be lost on lines | |
86 | changed and then restored if the marked lines were changed. | |
87 | ||
88 | _\bU_\bn_\bd_\bo never clears the buffer modified condition. | |
89 | ||
90 | The _\bz command prints a number of logical rather than physi- | |
91 | cal lines. More than a screen full of output may result if | |
92 | long lines are present. | |
93 | ||
94 | File input/output errors don't print a name if the command | |
95 | line `\b`-\b-'\b' option is used. | |
96 | ||
97 | There is no easy way to do a single scan ignoring case. | |
98 | ||
99 | The editor does not warn if text is placed in named buffers | |
100 | and not used before exiting the editor. | |
101 | ||
102 | Null characters are discarded in input files, and cannot | |
103 | appear in resultant files. | |
104 | ||
105 | ||
106 | ||
107 | ||
108 | ||
109 | ||
110 | ||
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ||
121 | ||
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | ||
128 | ||
129 | Printed 7/9/88 June 5, 1986 2 | |
130 | ||
131 | ||
132 |