BSD 2 development
[unix-history] / .ref-BSD-1 / help / edit
CommitLineData
700bb841
BJ
1 "EDIT" TEXT EDITOR
2
3Edit is the name of a version of the editor ex which is designed for
4beginning or casual users. When the editor is invoked as "edit" rather
5than as "ex" the default setting of certain options is changed, making
6the editing environment less complicated and more informative. Edit is
7the recommended editor for people who are learning text editing.
8
9Users who have experience with an editor such as ed or nex may also
10prefer to use edit, but they should be aware that the option settings
11of edit introduce some differences in the way the editor behaves. The
12option settings which differ in edit are:
13
14nomagic: When the "magic" option is set (as in ex), several characters
15 have special meanings in regular expressions (the character
16 strings specified when searching the buffer or indicating the
17 characters to be changed by a substitute command). However, in
18 edit the "nomagic" option in effect, and only the characters
19
20 $ ^ \
21
22 have special meanings. In this respect, edit is different from
23 the editor ed as well as from ex.
24
25noopen: This option prevents the user from accidently entering open and
26 visual modes, in which the editor behaves quite differently than
27 in normal command mode.
28
29notify=1: The editor gives feedback whenever a command modifies more
30 than a specified number of lines, set to 1 line in edit. With ex,
31 the user is not notified unless the number of lines modified is
32 greater than 5.
33
34Type "help ex" for more information about ex.