2 .\" The Regents of the University of California. All rights reserved.
3 .\" Copyright (c) 1994, 1995, 1996
4 .\" Keith Bostic. All rights reserved.
6 .\" This document may not be republished without written permission from
9 .\" See the LICENSE file for redistribution information.
11 .\" @(#)vi.1 8.51 (Berkeley) 10/10/96
12 .\" $FreeBSD: src/contrib/nvi/docs/USD.doc/vi.man/vi.1,v 1.4.6.1 2001/01/03 18:33:27 ben Exp $
13 .\" $DragonFly: src/contrib/nvi/docs/USD.doc/vi.man/vi.1,v 1.2 2003/06/17 04:24:04 dillon Exp $
15 .TH VI 1 "October 10, 1996"
18 ex, vi, view \- text editors
53 The vi program is freely redistributable. You are welcome to copy,
54 modify and share it with others under the conditions listed in the
55 LICENSE file. If any company (not individual!) finds vi sufficiently
56 useful that you would have purchased it, or if any company wishes to
57 redistribute it, contributions to the authors would be appreciated.
60 is a screen oriented text editor.
62 is a line-oriented text editor.
66 are different interfaces to the same program,
67 and it is possible to switch back and forth during an edit session.
69 is the equivalent of using the
74 This manual page is the one provided with the
80 are intended as bug-for-bug compatible replacements for the original
81 Fourth Berkeley Software Distribution (4BSD)
86 For the rest of this manual page,
88 is used only when it's necessary to distinguish it from the historic
92 This manual page is intended for users already familiar with
94 Anyone else should almost certainly read a good tutorial on the
95 editor before this manual page.
96 If you're in an unfamiliar environment, and you absolutely have to
97 get work done immediately, read the section after the options
98 description, entitled ``Fast Startup''.
99 It's probably enough to get you going.
101 The following options are available:
106 immediately after starting the edit session.
107 Particularly useful for initial positioning in the file, however
109 is not limited to positioning commands.
110 This is the POSIX 1003.2 interface for the historic ``+cmd'' syntax.
112 supports both the old and new syntax.
115 Start editing in ex mode, as if the command name were
119 Don't copy the entire file when first starting to edit.
120 (The default is to make a copy in case someone else modifies
121 the file during your edit session.)
124 Start editing with the lisp and showmatch options set.
127 Start editing in gtags mode, as if the gtagsmode option was set.
130 Start editing in read-only mode, as if the command name was
137 Recover the specified files, or, if no files are specified,
138 list the files that could be recovered.
139 If no recoverable files by the specified name exist,
140 the file is edited as if the
142 option had not been specified.
147 edit option set, disallowing all access to external programs.
150 Enter batch mode; applicable only to
153 Batch mode is useful when running
156 Prompts, informative messages and other user oriented message
158 and no startup files or environment variables are read.
159 This is the POSIX 1003.2 interface for the historic ``\-'' argument.
161 supports both the old and new syntax.
164 Start editing at the specified tag.
169 Set the initial window size to the specified number of lines.
172 Start editing in vi mode, as if the command name was
179 is read from the standard input.
182 interface, it is an error if standard input is not a terminal.
185 interface, if standard input is not a terminal,
187 will read commands from it regardless, however, the session will be a
188 batch mode session, exactly as if the
190 option had been specified.
193 exits 0 on success, and greater than 0 if an error occurs.
195 This section will tell you the minimum amount that you need to
196 do simple editing tasks using
198 If you've never used any screen editor before, you're likely to have
199 problems even with this simple introduction.
200 In that case you should find someone that already knows
202 and have them walk you through this section.
206 This means that it takes up almost the entire screen, displaying part
207 of the file on each screen line, except for the last line of the screen.
208 The last line of the screen is used for you to give commands to
212 to give information to you.
214 The other fact that you need to understand is that
216 is a modeful editor, i.e. you are either entering text or you
217 are executing commands, and you have to be in the right mode
218 to do one or the other.
219 You will be in command mode when you first start editing a file.
220 There are commands that switch you into input mode.
221 There is only one key that takes you out of input mode,
222 and that is the <escape> key.
223 (Key names are written using less-than and greater-than signs, e.g.
224 <escape> means the ``escape'' key, usually labeled ``esc'' on your
225 terminal's keyboard.)
226 If you're ever confused as to which mode you're in,
227 keep entering the <escape> key until
232 will beep at you if you try and do something that's not allowed.
233 It will also display error messages.)
235 To start editing a file, enter the command ``vi file_name<carriage-return>''.
236 The command you should enter as soon as you start editing is
237 ``:set verbose showmode<carriage-return>''.
238 This will make the editor give you verbose error messages and display
239 the current mode at the bottom of the screen.
241 The commands to move around the file are:
244 Move the cursor left one character.
247 Move the cursor down one line.
250 Move the cursor up one line.
253 Move the cursor right one character.
256 The cursor arrow keys should work, too.
258 .B /text<carriage-return>
259 Search for the string ``text'' in the file,
260 and move the cursor to its first character.
262 The commands to enter new text are:
275 Open a new line below the line the cursor is on, and start
279 Open a new line above the line the cursor is on, and start
283 Once you've entered input mode using the one of the
291 to quit entering text and return to command mode.
293 The commands to copy text are:
296 Copy the line the cursor is on.
299 Append the copied line after the line the cursor is on.
301 The commands to delete text are:
304 Delete the line the cursor is on.
307 Delete the character the cursor is on.
309 The commands to write the file are:
311 .B :w<carriage-return>
312 Write the file back to the file with the name that you originally used
313 as an argument on the
317 .B ":w file_name<carriage-return>"
318 Write the file back to the file with the name ``file_name''.
320 The commands to quit editing and exit the editor are:
322 .B :q<carriage-return>
323 Quit editing and leave vi (if you've modified the file, but not
326 will refuse to quit).
328 .B :q!<carriage-return>
329 Quit, discarding any modifications that you may have made.
332 Unusual characters can take up more than one column on the screen,
333 and long lines can take up more than a single screen line.
334 The above commands work on ``physical'' characters and lines,
335 i.e. they affect the entire line no matter how many screen lines it
336 takes up and the entire character no matter how many screen columns
339 The following section describes the commands available in the command
343 In each entry below, the tag line is a usage synopsis for the command
347 .B "[count] <control-A>"
350 times for the current word.
352 .B "[count] <control-B>"
357 .B "[count] <control-D>"
362 .B "[count] <control-E>"
365 lines, leaving the current line and column as is, if possible.
367 .B "[count] <control-F>"
373 Display the file information.
380 characters in the current line.
382 .B "[count] <control-J>"
384 .B "[count] <control-N>"
389 lines without changing the current column.
396 .B "[count] <control-M>"
401 lines to the first nonblank character of that line.
403 .B "[count] <control-P>"
408 lines, without changing the current column.
411 Return to the most recent tag context.
419 Switch to the next lower screen in the window, or, to the first
420 screen if there are no lower screens in the window.
425 lines, leaving the current line and column as is, if possible.
428 Suspend the current editor session.
433 commands or cancel partial commands.
436 Push a tag reference onto the tag stack.
437 In gtagsmode, if at the first column of line,
438 locate function references otherwise function definitions.
441 Switch to the most recently edited file.
446 Move the cursor forward
448 characters without changing the current line.
450 .B "[count] ! motion shell-argument(s)"
451 Replace text with results from a shell command.
454 Increment or decrement the cursor number.
457 Move the cursor to the end of a line.
460 Move to the matching character.
463 Repeat the previous substitution command on the current line.
468 Return to a context marked by the character
482 Reverse find character
487 Move to first nonblank of the previous line,
494 command that modified text.
496 .B "/RE<carriage-return>"
498 .B "/RE/ [offset]<carriage-return>"
500 .B "?RE<carriage-return>"
502 .B "?RE? [offset]<carriage-return>"
507 Search forward or backward for a regular expression.
510 Move to the first character in the current line.
513 Execute an ex command.
516 Repeat the last character find
520 .B "[count] < motion"
522 .B "[count] > motion"
523 Shift lines left or right.
526 Execute a named buffer.
529 Enter input mode, appending the text after the end of the line.
536 .B "[buffer] [count] C"
537 Change text from the current position to the end-of-line.
540 Delete text from the current position to the end-of-line.
547 .B "[count] F <character>"
550 times backward through the current line for
556 or the last line of the file if
561 Move to the screen line
563 lines below the top of the screen.
566 Enter input mode, inserting the text at the beginning of the line.
572 Move to the screen line
574 lines above the bottom of the screen.
577 Move to the screen line in the middle of the screen.
580 Enter input mode, appending text in a new line above the current line.
583 Insert text from a buffer.
588 (or visual) mode and switch to
593 Enter input mode, replacing the characters in the current line.
595 .B "[buffer] [count] S"
600 .B "[count] T <character>"
604 through the current line for the character
610 Restore the current line to its state before the cursor last
618 .B "[buffer] [count] X"
621 characters before the cursor.
623 .B "[buffer] [count] Y"
626 lines into the specified buffer.
629 Write the file and exit
643 Move to first nonblank character on the current line.
648 lines, to the first nonblank character.
651 Enter input mode, appending the text after the cursor.
658 .B "[buffer] [count] c motion"
659 Change a region of text.
661 .B "[buffer] [count] d motion"
662 Delete a region of text.
669 .B "[count] f<character>"
672 times, through the rest of the current line for
676 Enter input mode, inserting the text before the cursor.
679 Save the current context (line and column) as
683 Enter input mode, appending text in a new line under the current line.
686 Append text from a buffer.
688 .B "[count] r <character>"
693 .B "[buffer] [count] s"
696 characters in the current line starting with the current character.
698 .B "[count] t <character>"
701 times, through the current line for the character immediately
706 Undo the last change made to the file.
713 .B "[buffer] [count] x"
718 .B "[buffer] [count] y motion"
720 a text region specified by the
722 and motion into a buffer.
724 .B "[count1] z [count2] -|.|+|^|<carriage-return>"
725 Redraw, optionally repositioning and resizing the screen.
735 position on the current line.
743 Reverse the case of the next
747 .B "[count] ~ motion"
748 Reverse the case of the characters in a text region specified by the
754 Interrupt the current operation.
755 .SH VI TEXT INPUT COMMANDS
756 The following section describes the commands available in the text
763 Replay the previous input.
766 Erase to the previous
771 Erase all of the autoindent characters, and reset the autoindent level.
774 Erase all of the autoindent characters.
781 characters to move forward to the next
788 Erase the last character.
791 Quote the next character.
794 Resolve all text input into the file, and return to command mode.
797 Erase the current line.
803 The definition of word is dependent on the
809 .B "<control-X>[0-9A-Fa-f]+"
810 Insert a character with the specified hexadecimal value into the text.
813 Interrupt text input mode, returning to command mode.
815 The following section describes the commands available in the
818 In each entry below, the tag line is a usage synopsis for the command.
826 .B "[range]! argument(s)"
827 Execute a shell command, or filter lines through a shell command.
832 .B "[range] nu[mber] [count] [flags]"
834 .B "[range] # [count] [flags]"
835 Display the selected lines, each preceded with its line number.
842 .B "[line] a[ppend][!]"
843 The input text is appended after the specified line.
845 .B "[range] c[hange][!] [count]"
846 The input text replaces the specified range.
848 .B "cs[cope] add | find | help | kill | reset"
849 Execute a Cscope command.
851 .B "[range] d[elete] [buffer] [count] [flags]"
852 Delete the lines from the file.
854 .B "di[splay] b[uffers] | c[onnections] | s[creens] | t[ags]"
855 Display buffers, Cscope connections, screens or tags.
857 .B "[Ee][dit][!] [+cmd] [file]"
859 .B "[Ee]x[!] [+cmd] [file]"
860 Edit a different file.
862 .B "exu[sage] [command]"
868 Display and optionally change the file name.
873 Foreground the specified screen.
875 .B "[range] g[lobal] /pattern/ [commands]"
877 .B "[range] v /pattern/ [commands]"
878 Apply commands to lines matching (or not matching) a pattern.
881 Display a help message.
883 .B "[line] i[nsert][!]"
884 The input text is inserted before the specified line.
886 .B "[range] j[oin][!] [count] [flags]"
887 Join lines of text together.
889 .B "[range] l[ist] [count] [flags]"
890 Display the lines unambiguously.
892 .B "map[!] [lhs rhs]"
893 Define or display maps (for
897 .B "[line] ma[rk] <character>"
899 .B "[line] k <character>"
900 Mark the line with the mark
903 .B "[range] m[ove] line"
904 Move the specified lines after the target line.
906 .B "mk[exrc][!] file"
907 Write the abbreviations, editor options and maps to the specified
910 .B "[Nn][ext][!] [file ...]"
911 Edit the next file from the argument list.
913 .B "[line] o[pen] /pattern/ [flags]"
917 Save the file in a form that can later be recovered using the
922 .B "[Pp]rev[ious][!]"
923 Edit the previous file from the argument list.
925 .B "[range] p[rint] [count] [flags]"
926 Display the specified lines.
928 .B "[line] pu[t] [buffer]"
929 Append buffer contents to the current line.
932 End the editing session.
934 .B "[line] r[ead][!] [file]"
940 if it was previously saved.
942 .B "res[ize] [+|-]size"
945 Grow or shrink the current screen.
948 Rewind the argument list.
950 .B "rta[g][!] tagstring"
951 Edit the file referring the specified tag. (Only in gtagsmode)
953 .B "se[t] [option[=[value]] ...] [nooption ...] [option? ...] [all]"
954 Display or set editor options.
962 commands from a file.
964 .B "[range] s[ubstitute] [/pattern/replace/] [options] [count] [flags]"
966 .B "[range] & [options] [count] [flags]"
968 .B "[range] ~ [options] [count] [flags]"
976 Suspend the edit session.
978 .B "[Tt]a[g][!] tagstring"
979 Edit the file containing the specified tag.
982 Edit the file containing the next context for the current tag.
984 .B "tagp[op][!] [file | number]"
985 Pop to the specified tag in the tags stack.
988 Edit the file containing the previous context for the current tag.
991 Unmap a mapped string.
994 Display the version of the
998 .B "[line] vi[sual] [type] [count] [flags]"
1004 .B "[Vi]i[sual][!] [+cmd] [file]"
1009 .B "viu[sage] [command]"
1014 .B "[range] w[rite][!] [>>] [file]"
1016 .B "[range] w[rite] [!] [file]"
1018 .B "[range] wn[!] [>>] [file]"
1020 .B "[range] wq[!] [>>] [file]"
1023 .B "[range] x[it][!] [file]"
1024 Write the file if it has been modified.
1026 .B "[range] ya[nk] [buffer] [count]"
1027 Copy the specified lines to a buffer.
1029 .B "[line] z [type] [count] [flags]"
1032 There are a large number of options that may be set (or unset) to
1033 change the editor's behavior.
1034 This section describes the options, their abbreviations and their
1037 In each entry below, the first part of the tag line is the full name
1038 of the option, followed by any equivalent abbreviations.
1039 The part in square brackets is the default value of the option.
1040 Most of the options are boolean, i.e. they are either on or off,
1041 and do not have an associated value.
1043 Options apply to both
1047 modes, unless otherwise specified.
1050 .B "altwerase [off]"
1053 Select an alternate word erase algorithm.
1055 .B "autoindent, ai [off]"
1056 Automatically indent new lines.
1058 .B "autoprint, ap [off]"
1061 Display the current line automatically.
1063 .B "autowrite, aw [off]"
1064 Write modified files automatically when changing files.
1065 .\" I cannot get a double quote to print between the square brackets
1066 .\" to save my life. The ONLY way I've been able to get this to work
1067 .\" is with the .tr command.
1073 Backup files before they are overwritten.
1075 .B "beautify, bf [off]"
1076 Discard control characters.
1078 .B "cdpath [environment variable CDPATH, or current directory]"
1079 The directory paths used as path prefixes for the
1083 .B "cedit [no default]"
1084 Set the character to edit the colon command-line history.
1086 .B "columns, co [80]"
1087 Set the number of columns in the screen.
1092 Skip leading comments in shell, C and C++ language files.
1094 .B "directory, dir [environment variable TMPDIR, or /tmp]"
1095 The directory where temporary files are created.
1097 .B "edcompatible, ed [off]"
1098 Remember the values of the ``c'' and ``g'' suffices to the
1100 commands, instead of initializing them as unset for each new
1103 .B "errorbells, eb [off]"
1106 Announce error messages with a bell.
1109 Read the startup files in the local directory.
1112 Regular expressions are extended (i.e.
1116 .B "filec [no default]"
1117 Set the character to perform file path completion on the colon
1121 Flash the screen instead of beeping the keyboard on error.
1123 .B "gtagsmode, gt [off]"
1124 Use GTAGS and GRTAGS instead of tags.
1126 .B "hardtabs, ht [8]"
1127 Set the spacing between hardware tab settings.
1130 Makes all Regular Expressions case-insensitive,
1131 as long as an upper-case letter does not appear in the search string.
1133 .B "ignorecase, ic [off]"
1134 Ignore case differences in regular expressions.
1137 The 10th's of a second
1139 waits for a subsequent key to complete a key mapping.
1141 .B "leftright [off]"
1144 Do left-right scrolling.
1149 Set the number of lines in the screen.
1154 Modify various search commands and options to work with Lisp.
1155 .I "This option is not yet implemented."
1158 Display lines in an unambiguous fashion.
1161 Attempt to get an exclusive lock on any file being edited,
1165 Treat certain characters specially in regular expressions.
1170 The 10th's of a second
1172 pauses on the matching character when the
1177 Permit messages from other users.
1179 .B "modelines, modeline [off]"
1180 Read the first and last few lines of each file for
1183 .I "This option will never be implemented."
1184 .\" I cannot get a double quote to print between the square brackets
1185 .\" to save my life. The ONLY way I've been able to get this to work
1186 .\" is with the .tr command.
1192 Characters that are never handled as printable characters.
1194 .B "number, nu [off]"
1195 Precede each line displayed with its current line number.
1198 Display unknown characters as octal numbers, instead of the default
1204 If this option is not set, the
1208 commands are disallowed.
1210 .B "optimize, opt [on]"
1213 Optimize text throughput to dumb terminals.
1214 .I "This option is not yet implemented."
1216 .B "paragraphs, para [IPLPPPQPP LIpplpipbp]"
1219 Define additional paragraph boundaries for the
1226 Define additional directories to search for files being edited.
1227 .\" I cannot get a double quote to print between the square brackets
1228 .\" to save my life. The ONLY way I've been able to get this to work
1229 .\" is with the .tr command.
1235 Characters that are always handled as printable characters.
1240 Display a command prompt.
1242 .B "readonly, ro [off]"
1243 Mark the file and session as read-only.
1245 .B "recdir [/var/tmp/vi.recover]"
1246 The directory where recovery files are stored.
1248 .B "redraw, re [off]"
1251 Simulate an intelligent terminal on a dumb one.
1252 .I "This option is not yet implemented."
1255 Remap keys until resolved.
1258 Set the number of lines about which the editor reports changes
1264 Display a row/column ruler on the colon command line.
1266 .B "scroll, scr [window / 2]"
1267 Set the number of lines scrolled.
1269 .B "searchincr [off]"
1274 commands incremental.
1276 .B "sections, sect [NHSHH HUnhsh]"
1279 Define additional section boundaries for the
1286 Turns off all access to external programs.
1288 .B "shell, sh [environment variable SHELL, or /bin/sh]"
1289 Select the shell used by the editor.
1290 .\" I cannot get a double quote to print between the square brackets
1291 .\" to save my life. The ONLY way I've been able to get this to work
1292 .\" is with the .tr command.
1294 .ds ms shellmeta [~{[*?$`'Q\e]
1298 Set the meta characters checked to determine if file name expansion
1301 .B "shiftwidth, sw [8]"
1302 Set the autoindent and shift command indentation width.
1304 .B "showmatch, sm [off]"
1307 Note matching ``{'' and ``('' for ``}'' and ``)'' characters.
1309 .B "showmode, smd [off]"
1312 Display the current editor mode and a ``modified'' flag.
1314 .B "sidescroll [16]"
1317 Set the amount a left-right scroll will shift.
1319 .B "slowopen, slow [off]"
1320 Delay display updating during text input.
1321 .I "This option is not yet implemented."
1323 .B "sourceany [off]"
1324 Read startup files not owned by the current user.
1325 .I "This option will never be implemented."
1327 .B "tabstop, ts [8]"
1328 This option sets tab widths for the editor display.
1330 .B "taglength, tl [0]"
1331 Set the number of significant characters in tag names.
1333 .B "tags, tag [tags /var/db/libc.tags /sys/kern/tags]"
1334 Set the list of tags files.
1336 .B "term, ttytype, tty [environment variable TERM]"
1337 Set the terminal type.
1340 This option has historically made editor messages less verbose.
1341 It has no effect in this implementation.
1346 command to take an associated motion.
1348 .B "timeout, to [on]"
1349 Time out on keys which may be mapped.
1351 .B "ttywerase [off]"
1354 Select an alternate erase algorithm.
1359 Display an error message for every error.
1361 .B "w300 [no default]"
1364 Set the window size if the baud rate is less than 1200 baud.
1366 .B "w1200 [no default]"
1369 Set the window size if the baud rate is equal to 1200 baud.
1371 .B "w9600 [no default]"
1374 Set the window size if the baud rate is greater than 1200 baud.
1379 This option causes a warning message to the terminal if the file has
1380 been modified, since it was last written, before a
1384 .B "window, w, wi [environment variable LINES]"
1385 Set the window size for the screen.
1387 .B "windowname [off]"
1388 Change the icon/window name to the current file name even if it can't
1389 be restored on editor exit.
1391 .B "wraplen, wl [0]"
1394 Break lines automatically, the specified number of columns from the
1400 edit options are set, the
1404 .B "wrapmargin, wm [0]"
1407 Break lines automatically, the specified number of columns from the
1413 edit options are set, the
1417 .B "wrapscan, ws [on]"
1418 Set searches to wrap around the end or beginning of the file.
1420 .B "writeany, wa [off]"
1421 Turn off file-overwriting checks.
1422 .SH ENVIRONMENT VARIABLES
1425 The number of columns on the screen.
1426 This value overrides any system or terminal specific values.
1429 environment variable is not set when
1433 option is explicitly reset by the user,
1435 enters the value into the environment.
1440 startup commands, read if the variable
1445 The user's home directory, used as the initial directory path
1446 for the startup ``$\fIHOME\fP/.nexrc'' and ``$\fIHOME\fP/.exrc''
1448 This value is also used as the default directory for the
1454 The number of rows on the screen.
1455 This value overrides any system or terminal specific values.
1458 environment variable is not set when
1462 option is explicitly reset by the user,
1464 enters the value into the environment.
1472 The user's shell of choice (see also the
1477 The user's terminal type.
1478 The default is the type ``unknown''.
1481 environment variable is not set when
1485 option is explicitly reset by the user,
1487 enters the value into the environment.
1490 The location used to stored temporary files (see also the
1493 .SH ASYNCHRONOUS EVENTS
1497 uses this signal for periodic backups of file modifications and to
1498 display ``busy'' messages when operations are likely to take a long time.
1503 If the current buffer has changed since it was last written in its
1504 entirety, the editor attempts to save the modified file so it can
1508 Reference manual section entitled ``Recovery'' for more information.
1511 When an interrupt occurs,
1512 the current operation is halted,
1513 and the editor returns to the command level.
1514 If interrupted during text input,
1515 the text already input is resolved into the file as if the text
1516 input had been normally terminated.
1519 The screen is resized.
1522 Reference manual section entitled ``Sizing the Screen'' for more information.
1530 ignores these signals.
1534 The default user shell.
1537 System-wide vi startup file.
1540 Temporary file directory.
1543 The default recovery file directory.
1546 1st choice for user's home directory startup file.
1549 2nd choice for user's home directory startup file.
1552 1st choice for local directory startup file.
1555 2nd choice for local directory startup file.
1562 The ``Vi Quick Reference'' card.
1564 ``An Introduction to Display Editing with Vi'', found in the
1565 ``UNIX User's Manual Supplementary Documents''
1566 section of both the 4.3BSD and 4.4BSD manual sets.
1567 This document is the closest thing available to an introduction to the
1571 ``Ex Reference Manual (Version 3.7)'',
1573 ``UNIX User's Manual Supplementary Documents''
1574 section of both the 4.3BSD and 4.4BSD manual sets.
1575 This document is the final reference for the
1577 editor, as distributed in most historic 4BSD and System V systems.
1579 ``Edit: A tutorial'',
1581 ``UNIX User's Manual Supplementary Documents''
1582 section of the 4.3BSD manual set.
1583 This document is an introduction to a simple version of the
1587 ``Ex/Vi Reference Manual'',
1589 ``UNIX User's Manual Supplementary Documents''
1590 section of the 4.4BSD manual set.
1591 This document is the final reference for the
1593 text editors, as distributed in 4.4BSD and 4.4BSD-Lite.
1596 source for all of these documents is distributed with
1604 The files ``autowrite'', ``input'', ``quoting'' and ``structures''
1606 .I nvi/docs/internals
1613 replacements for the
1615 editor first appeared in 4.4BSD.
1618 is close to IEEE Std1003.2 (``POSIX'').
1619 That document differs from historical
1621 practice in several places; there are changes to be made on both sides.