1 .\" $NetBSD: vi.1,v 1.3 2008/10/29 17:50:49 christos Exp $
4 .\" The Regents of the University of California. All rights reserved.
5 .\" Copyright (c) 1994, 1995, 1996
6 .\" Keith Bostic. All rights reserved.
8 .\" This document may not be republished without written permission from
11 .\" See the LICENSE file for redistribution information.
13 .\" Id: vi.1,v 8.53 2001/01/28 13:20:06 skimo Exp (Berkeley) Date: 2001/01/28 13:20:06
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 in gtags mode, as if the gtagsmode option was set.
127 Start editing with the lisp and showmatch options 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 environmental 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
793 Erase the last character.
796 Quote the next character.
799 Resolve all text input into the file, and return to command mode.
802 Erase the current line.
808 The definition of word is dependent on the
814 .B "<control-X>[0-9A-Fa-f]+"
815 Insert a character with the specified hexadecimal value into the text.
818 Interrupt text input mode, returning to command mode.
820 The following section describes the commands available in the
823 In each entry below, the tag line is a usage synopsis for the command.
831 .B "[range]! argument(s)"
832 Execute a shell command, or filter lines through a shell command.
837 .B "[range] nu[mber] [count] [flags]"
839 .B "[range] # [count] [flags]"
840 Display the selected lines, each preceded with its line number.
847 .B "[line] a[ppend][!]"
848 The input text is appended after the specified line.
850 .B "[range] c[hange][!] [count]"
851 The input text replaces the specified range.
853 .B "cs[cope] add | find | help | kill | reset"
854 Execute a Cscope command.
856 .B "[range] d[elete] [buffer] [count] [flags]"
857 Delete the lines from the file.
859 .B "di[splay] b[uffers] | c[onnections] | s[creens] | t[ags]"
860 Display buffers, Cscope connections, screens or tags.
862 .B "[Ee][dit][!] [+cmd] [file]"
864 .B "[Ee]x[!] [+cmd] [file]"
865 Edit a different file.
867 .B "exu[sage] [command]"
873 Display and optionally change the file name.
878 Foreground the specified screen.
880 .B "[range] g[lobal] /pattern/ [commands]"
882 .B "[range] v /pattern/ [commands]"
883 Apply commands to lines matching (or not matching) a pattern.
886 Display a help message.
888 .B "[line] i[nsert][!]"
889 The input text is inserted before the specified line.
891 .B "[range] j[oin][!] [count] [flags]"
892 Join lines of text together.
894 .B "[range] l[ist] [count] [flags]"
895 Display the lines unambiguously.
897 .B "map[!] [lhs rhs]"
898 Define or display maps (for
902 .B "[line] ma[rk] <character>"
904 .B "[line] k <character>"
905 Mark the line with the mark
908 .B "[range] m[ove] line"
909 Move the specified lines after the target line.
911 .B "mk[exrc][!] file"
912 Write the abbreviations, editor options and maps to the specified
915 .B "[Nn][ext][!] [file ...]"
916 Edit the next file from the argument list.
918 .B "[line] o[pen] /pattern/ [flags]"
922 Save the file in a form that can later be recovered using the
927 .B "[Pp]rev[ious][!]"
928 Edit the previous file from the argument list.
930 .B "[range] p[rint] [count] [flags]"
931 Display the specified lines.
933 .B "[line] pu[t] [buffer]"
934 Append buffer contents to the current line.
937 End the editing session.
939 .B "[line] r[ead][!] [file]"
945 if it was previously saved.
947 .B "res[ize] [+|-]size"
950 Grow or shrink the current screen.
953 Rewind the argument list.
955 .B "rta[g][!] tagstring"
956 Edit the file refering the specified tag. (Only in gtagsmode)
958 .B "se[t] [option[=[value]] ...] [nooption ...] [option? ...] [all]"
959 Display or set editor options.
967 commands from a file.
969 .B "[range] s[ubstitute] [/pattern/replace/] [options] [count] [flags]"
971 .B "[range] & [options] [count] [flags]"
973 .B "[range] ~ [options] [count] [flags]"
981 Suspend the edit session.
983 .B "[Tt]a[g][!] tagstring"
984 Edit the file containing the specified tag.
987 Edit the file containing the next context for the current tag.
989 .B "tagp[op][!] [file | number]"
990 Pop to the specified tag in the tags stack.
993 Edit the file containing the previous context for the current tag.
996 Unmap a mapped string.
999 Display the version of the
1003 .B "[line] vi[sual] [type] [count] [flags]"
1009 .B "[Vi]i[sual][!] [+cmd] [file]"
1014 .B "viu[sage] [command]"
1019 .B "[range] w[rite][!] [>>] [file]"
1021 .B "[range] w[rite] [!] [file]"
1023 .B "[range] wn[!] [>>] [file]"
1025 .B "[range] wq[!] [>>] [file]"
1028 .B "[range] x[it][!] [file]"
1029 Write the file if it has been modified.
1031 .B "[range] ya[nk] [buffer] [count]"
1032 Copy the specified lines to a buffer.
1034 .B "[line] z [type] [count] [flags]"
1037 There are a large number of options that may be set (or unset) to
1038 change the editor's behavior.
1039 This section describes the options, their abbreviations and their
1042 In each entry below, the first part of the tag line is the full name
1043 of the option, followed by any equivalent abbreviations.
1044 The part in square brackets is the default value of the option.
1045 Most of the options are boolean, i.e. they are either on or off,
1046 and do not have an associated value.
1048 Options apply to both
1052 modes, unless otherwise specified.
1055 .B "altwerase [off]"
1058 Select an alternate word erase algorithm.
1060 .B "autoindent, ai [off]"
1061 Automatically indent new lines.
1063 .B "autoprint, ap [off]"
1066 Display the current line automatically.
1068 .B "autowrite, aw [off]"
1069 Write modified files automatically when changing files.
1070 .\" I cannot get a double quote to print between the square brackets
1071 .\" to save my life. The ONLY way I've been able to get this to work
1072 .\" is with the .tr command.
1078 Backup files before they are overwritten.
1080 .B "beautify, bf [off]"
1081 Discard control characters.
1083 .B "cdpath [environment variable CDPATH, or current directory]"
1084 The directory paths used as path prefixes for the
1088 .B "cedit [no default]"
1089 Set the character to edit the colon command-line history.
1091 .B "columns, co [80]"
1092 Set the number of columns in the screen.
1097 Skip leading comments in shell, C and C++ language files.
1099 .B "directory, dir [environment variable TMPDIR, or /tmp]"
1100 The directory where temporary files are created.
1102 .B "edcompatible, ed [off]"
1103 Remember the values of the ``c'' and ``g'' suffices to the
1105 commands, instead of initializing them as unset for each new
1108 .B "errorbells, eb [off]"
1111 Announce error messages with a bell.
1113 .B "expandtab, et [off]"
1116 characters in leading whitespace when shifting text, autoindenting,
1123 Read the startup files in the local directory.
1126 Regular expressions are extended (i.e.
1130 .B "filec [no default]"
1131 Set the character to perform file path completion on the colon
1135 Flash the screen instead of beeping the keyboard on error.
1137 .B "gtagsmode, gt [off]"
1138 Use GTAGS and GRTAGS instead of tags.
1140 .B "hardtabs, ht [8]"
1141 Set the spacing between hardware tab settings.
1144 Makes all Regular Expressions case-insensitive,
1145 as long as an upper-case letter does not appear in the search string.
1147 .B "ignorecase, ic [off]"
1148 Ignore case differences in regular expressions.
1151 The 10th's of a second
1153 waits for a subsequent key to complete a key mapping.
1155 .B "leftright [off]"
1158 Do left-right scrolling.
1163 Set the number of lines in the screen.
1168 Modify various search commands and options to work with Lisp.
1169 .I "This option is not yet implemented."
1172 Display lines in an unambiguous fashion.
1175 Attempt to get an exclusive lock on any file being edited,
1179 Treat certain characters specially in regular expressions.
1181 .B "matchchars [[]{}()<>]"
1182 Character pairs looked for by the % command.
1187 The 10th's of a second
1189 pauses on the matching character when the
1194 Permit messages from other users.
1196 .B "modelines, modeline [off]"
1197 Read the first and last few lines of each file for
1200 .I "This option will never be implemented."
1201 .\" I cannot get a double quote to print between the square brackets
1202 .\" to save my life. The ONLY way I've been able to get this to work
1203 .\" is with the .tr command.
1209 Characters that are never handled as printable characters.
1211 .B "number, nu [off]"
1212 Precede each line displayed with its current line number.
1215 Display unknown characters as octal numbers, instead of the default
1221 If this option is not set, the
1225 commands are disallowed.
1227 .B "optimize, opt [on]"
1230 Optimize text throughput to dumb terminals.
1231 .I "This option is not yet implemented."
1233 .B "paragraphs, para [IPLPPPQPP LIpplpipbp]"
1236 Define additional paragraph boundaries for the
1243 Define additional directories to search for files being edited.
1244 .\" I cannot get a double quote to print between the square brackets
1245 .\" to save my life. The ONLY way I've been able to get this to work
1246 .\" is with the .tr command.
1252 Characters that are always handled as printable characters.
1257 Display a command prompt.
1259 .B "readonly, ro [off]"
1260 Mark the file and session as read-only.
1262 .B "recdir [/var/tmp/vi.recover]"
1263 The directory where recovery files are stored.
1265 .B "redraw, re [off]"
1268 Simulate an intelligent terminal on a dumb one.
1269 .I "This option is not yet implemented."
1272 Remap keys until resolved.
1275 Set the number of lines about which the editor reports changes
1281 Display a row/column ruler on the colon command line.
1283 .B "scroll, scr [window / 2]"
1284 Set the number of lines scrolled.
1286 .B "searchincr [off]"
1291 commands incremental.
1293 .B "sections, sect [NHSHH HUnhsh]"
1296 Define additional section boundaries for the
1303 Turns off all access to external programs.
1305 .B "shell, sh [environment variable SHELL, or /bin/sh]"
1306 Select the shell used by the editor.
1307 .\" I cannot get a double quote to print between the square brackets
1308 .\" to save my life. The ONLY way I've been able to get this to work
1309 .\" is with the .tr command.
1311 .ds ms shellmeta [~{[*?$`'Q\e]
1315 Set the meta characters checked to determine if file name expansion
1318 .B "shiftwidth, sw [8]"
1319 Set the autoindent and shift command indentation width.
1321 .B "showmatch, sm [off]"
1324 Note matching ``{'' and ``('' for ``}'' and ``)'' characters.
1326 .B "showmode, smd [off]"
1329 Display the current editor mode and a ``modified'' flag.
1331 .B "sidescroll [16]"
1334 Set the amount a left-right scroll will shift.
1336 .B "slowopen, slow [off]"
1337 Delay display updating during text input.
1338 .I "This option is not yet implemented."
1340 .B "sourceany [off]"
1341 Read startup files not owned by the current user.
1342 .I "This option will never be implemented."
1344 .B "tabstop, ts [8]"
1345 This option sets tab widths for the editor display.
1347 .B "taglength, tl [0]"
1348 Set the number of significant characters in tag names.
1350 .B "tags, tag [tags /var/db/libc.tags /sys/kern/tags]"
1351 Set the list of tags files.
1353 .B "term, ttytype, tty [environment variable TERM]"
1354 Set the terminal type.
1357 This option has historically made editor messages less verbose.
1358 It has no effect in this implementation.
1363 command to take an associated motion.
1365 .B "timeout, to [on]"
1366 Time out on keys which may be mapped.
1368 .B "ttywerase [off]"
1371 Select an alternate erase algorithm.
1376 Display an error message for every error.
1378 .B "w300 [no default]"
1381 Set the window size if the baud rate is less than 1200 baud.
1383 .B "w1200 [no default]"
1386 Set the window size if the baud rate is equal to 1200 baud.
1388 .B "w9600 [no default]"
1391 Set the window size if the baud rate is greater than 1200 baud.
1396 This option causes a warning message to the terminal if the file has
1397 been modified, since it was last written, before a
1401 .B "window, w, wi [environment variable LINES]"
1402 Set the window size for the screen.
1404 .B "windowname [off]"
1405 Change the icon/window name to the current file name even if it can't
1406 be restored on editor exit.
1408 .B "wraplen, wl [0]"
1411 Break lines automatically, the specified number of columns from the
1417 edit options are set, the
1421 .B "wrapmargin, wm [0]"
1424 Break lines automatically, the specified number of columns from the
1430 edit options are set, the
1434 .B "wrapscan, ws [on]"
1435 Set searches to wrap around the end or beginning of the file.
1437 .B "writeany, wa [off]"
1438 Turn off file-overwriting checks.
1439 .SH "ENVIRONMENT VARIABLES
1442 The number of columns on the screen.
1443 This value overrides any system or terminal specific values.
1446 environmental variable is not set when
1450 option is explicitly reset by the user,
1452 enters the value into the environment.
1457 startup commands, read if the variable
1462 The user's home directory, used as the initial directory path
1463 for the startup ``$\fIHOME\fP/.nexrc'' and ``$\fIHOME\fP/.exrc''
1465 This value is also used as the default directory for the
1471 The number of rows on the screen.
1472 This value overrides any system or terminal specific values.
1475 environmental variable is not set when
1479 option is explicitly reset by the user,
1481 enters the value into the environment.
1489 The user's shell of choice (see also the
1494 The user's terminal type.
1495 The default is the type ``unknown''.
1498 environmental variable is not set when
1502 option is explicitly reset by the user,
1504 enters the value into the environment.
1507 The location used to stored temporary files (see also the
1510 .SH ASYNCHRONOUS EVENTS
1514 uses this signal for periodic backups of file modifications and to
1515 display ``busy'' messages when operations are likely to take a long time.
1520 If the current buffer has changed since it was last written in its
1521 entirety, the editor attempts to save the modified file so it can
1525 Reference manual section entitled ``Recovery'' for more information.
1528 When an interrupt occurs,
1529 the current operation is halted,
1530 and the editor returns to the command level.
1531 If interrupted during text input,
1532 the text already input is resolved into the file as if the text
1533 input had been normally terminated.
1536 The screen is resized.
1539 Reference manual section entitled ``Sizing the Screen'' for more information.
1547 ignores these signals.
1551 The default user shell.
1554 System-wide vi startup file.
1557 Temporary file directory.
1560 The default recovery file directory.
1563 1st choice for user's home directory startup file.
1566 2nd choice for user's home directory startup file.
1569 1st choice for local directory startup file.
1572 2nd choice for local directory startup file.
1579 The ``Vi Quick Reference'' card.
1581 ``An Introduction to Display Editing with Vi'', found in the
1582 ``UNIX User's Manual Supplementary Documents''
1583 section of both the 4.3BSD and 4.4BSD manual sets.
1584 This document is the closest thing available to an introduction to the
1588 ``Ex Reference Manual (Version 3.7)'',
1590 ``UNIX User's Manual Supplementary Documents''
1591 section of both the 4.3BSD and 4.4BSD manual sets.
1592 This document is the final reference for the
1594 editor, as distributed in most historic 4BSD and System V systems.
1596 ``Edit: A tutorial'',
1598 ``UNIX User's Manual Supplementary Documents''
1599 section of the 4.3BSD manual set.
1600 This document is an introduction to a simple version of the
1604 ``Ex/Vi Reference Manual'',
1606 ``UNIX User's Manual Supplementary Documents''
1607 section of the 4.4BSD manual set.
1608 This document is the final reference for the
1610 text editors, as distributed in 4.4BSD and 4.4BSD-Lite.
1613 source for all of these documents is distributed with
1621 The files ``autowrite'', ``input'', ``quoting'' and ``structures''
1623 .I nvi/docs/internals
1630 replacements for the
1632 editor first appeared in 4.4BSD.
1635 is close to IEEE Std1003.2 (``POSIX'').
1636 That document differs from historical
1638 practice in several places; there are changes to be made on both sides.