1 .\" $NetBSD: vi.1,v 1.2 2013/11/22 15:52:05 christos Exp $
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 .\" Id: vi.1,v 8.53 2001/01/28 13:20:06 skimo Exp (Berkeley) Date: 2001/01/28 13:20:06
16 ex, vi, view \- text editors
51 The vi program is freely redistributable. You are welcome to copy,
52 modify and share it with others under the conditions listed in the
53 LICENSE file. If any company (not individual!) finds vi sufficiently
54 useful that you would have purchased it, or if any company wishes to
55 redistribute it, contributions to the authors would be appreciated.
58 is a screen oriented text editor.
60 is a line-oriented text editor.
64 are different interfaces to the same program,
65 and it is possible to switch back and forth during an edit session.
67 is the equivalent of using the
72 This manual page is the one provided with the
78 are intended as bug-for-bug compatible replacements for the original
79 Fourth Berkeley Software Distribution (4BSD)
84 For the rest of this manual page,
86 is used only when it's necessary to distinguish it from the historic
90 This manual page is intended for users already familiar with
92 Anyone else should almost certainly read a good tutorial on the
93 editor before this manual page.
94 If you're in an unfamiliar environment, and you absolutely have to
95 get work done immediately, read the section after the options
96 description, entitled ``Fast Startup''.
97 It's probably enough to get you going.
99 The following options are available:
104 immediately after starting the edit session.
105 Particularly useful for initial positioning in the file, however
107 is not limited to positioning commands.
108 This is the POSIX 1003.2 interface for the historic ``+cmd'' syntax.
110 supports both the old and new syntax.
113 Start editing in ex mode, as if the command name were
117 Don't copy the entire file when first starting to edit.
118 (The default is to make a copy in case someone else modifies
119 the file during your edit session.)
122 Start editing in gtags mode, as if the gtagsmode option was set.
125 Start editing with the lisp and showmatch options set.
128 Start editing in read-only mode, as if the command name was
135 Recover the specified files, or, if no files are specified,
136 list the files that could be recovered.
137 If no recoverable files by the specified name exist,
138 the file is edited as if the
140 option had not been specified.
145 edit option set, disallowing all access to external programs.
148 Enter batch mode; applicable only to
151 Batch mode is useful when running
154 Prompts, informative messages and other user oriented message
156 and no startup files or environmental variables are read.
157 This is the POSIX 1003.2 interface for the historic ``\-'' argument.
159 supports both the old and new syntax.
162 Start editing at the specified tag.
167 Set the initial window size to the specified number of lines.
170 Start editing in vi mode, as if the command name was
177 is read from the standard input.
180 interface, it is an error if standard input is not a terminal.
183 interface, if standard input is not a terminal,
185 will read commands from it regardless, however, the session will be a
186 batch mode session, exactly as if the
188 option had been specified.
191 exits 0 on success, and greater than 0 if an error occurs.
193 This section will tell you the minimum amount that you need to
194 do simple editing tasks using
196 If you've never used any screen editor before, you're likely to have
197 problems even with this simple introduction.
198 In that case you should find someone that already knows
200 and have them walk you through this section.
204 This means that it takes up almost the entire screen, displaying part
205 of the file on each screen line, except for the last line of the screen.
206 The last line of the screen is used for you to give commands to
210 to give information to you.
212 The other fact that you need to understand is that
214 is a modeful editor, i.e. you are either entering text or you
215 are executing commands, and you have to be in the right mode
216 to do one or the other.
217 You will be in command mode when you first start editing a file.
218 There are commands that switch you into input mode.
219 There is only one key that takes you out of input mode,
220 and that is the <escape> key.
221 (Key names are written using less-than and greater-than signs, e.g.
222 <escape> means the ``escape'' key, usually labeled ``esc'' on your
223 terminal's keyboard.)
224 If you're ever confused as to which mode you're in,
225 keep entering the <escape> key until
230 will beep at you if you try and do something that's not allowed.
231 It will also display error messages.)
233 To start editing a file, enter the command ``vi file_name<carriage-return>''.
234 The command you should enter as soon as you start editing is
235 ``:set verbose showmode<carriage-return>''.
236 This will make the editor give you verbose error messages and display
237 the current mode at the bottom of the screen.
239 The commands to move around the file are:
242 Move the cursor left one character.
245 Move the cursor down one line.
248 Move the cursor up one line.
251 Move the cursor right one character.
254 The cursor arrow keys should work, too.
256 .B /text<carriage-return>
257 Search for the string ``text'' in the file,
258 and move the cursor to its first character.
260 The commands to enter new text are:
273 Open a new line below the line the cursor is on, and start
277 Open a new line above the line the cursor is on, and start
281 Once you've entered input mode using the one of the
289 to quit entering text and return to command mode.
291 The commands to copy text are:
294 Copy the line the cursor is on.
297 Append the copied line after the line the cursor is on.
299 The commands to delete text are:
302 Delete the line the cursor is on.
305 Delete the character the cursor is on.
307 The commands to write the file are:
309 .B :w<carriage-return>
310 Write the file back to the file with the name that you originally used
311 as an argument on the
315 .B ":w file_name<carriage-return>"
316 Write the file back to the file with the name ``file_name''.
318 The commands to quit editing and exit the editor are:
320 .B :q<carriage-return>
321 Quit editing and leave vi (if you've modified the file, but not
324 will refuse to quit).
326 .B :q!<carriage-return>
327 Quit, discarding any modifications that you may have made.
330 Unusual characters can take up more than one column on the screen,
331 and long lines can take up more than a single screen line.
332 The above commands work on ``physical'' characters and lines,
333 i.e. they affect the entire line no matter how many screen lines it
334 takes up and the entire character no matter how many screen columns
337 The following section describes the commands available in the command
341 In each entry below, the tag line is a usage synopsis for the command
345 .B "[count] <control-A>"
348 times for the current word.
350 .B "[count] <control-B>"
355 .B "[count] <control-D>"
360 .B "[count] <control-E>"
363 lines, leaving the current line and column as is, if possible.
365 .B "[count] <control-F>"
371 Display the file information.
378 characters in the current line.
380 .B "[count] <control-J>"
382 .B "[count] <control-N>"
387 lines without changing the current column.
394 .B "[count] <control-M>"
399 lines to the first nonblank character of that line.
401 .B "[count] <control-P>"
406 lines, without changing the current column.
409 Return to the most recent tag context.
417 Switch to the next lower screen in the window, or, to the first
418 screen if there are no lower screens in the window.
423 lines, leaving the current line and column as is, if possible.
426 Suspend the current editor session.
431 commands or cancel partial commands.
434 Push a tag reference onto the tag stack.
435 In gtagsmode, if at the first column of line,
436 locate function references otherwise function definitions.
439 Switch to the most recently edited file.
444 Move the cursor forward
446 characters without changing the current line.
448 .B "[count] ! motion shell-argument(s)"
449 Replace text with results from a shell command.
452 Increment or decrement the cursor number.
455 Move the cursor to the end of a line.
458 Move to the matching character.
461 Repeat the previous substitution command on the current line.
466 Return to a context marked by the character
480 Reverse find character
485 Move to first nonblank of the previous line,
492 command that modified text.
494 .B "/RE<carriage-return>"
496 .B "/RE/ [offset]<carriage-return>"
498 .B "?RE<carriage-return>"
500 .B "?RE? [offset]<carriage-return>"
505 Search forward or backward for a regular expression.
508 Move to the first character in the current line.
511 Execute an ex command.
514 Repeat the last character find
518 .B "[count] < motion"
520 .B "[count] > motion"
521 Shift lines left or right.
524 Execute a named buffer.
527 Enter input mode, appending the text after the end of the line.
534 .B "[buffer] [count] C"
535 Change text from the current position to the end-of-line.
538 Delete text from the current position to the end-of-line.
545 .B "[count] F <character>"
548 times backward through the current line for
554 or the last line of the file if
559 Move to the screen line
561 lines below the top of the screen.
564 Enter input mode, inserting the text at the beginning of the line.
570 Move to the screen line
572 lines above the bottom of the screen.
575 Move to the screen line in the middle of the screen.
578 Enter input mode, appending text in a new line above the current line.
581 Insert text from a buffer.
586 (or visual) mode and switch to
591 Enter input mode, replacing the characters in the current line.
593 .B "[buffer] [count] S"
598 .B "[count] T <character>"
602 through the current line for the character
608 Restore the current line to its state before the cursor last
616 .B "[buffer] [count] X"
619 characters before the cursor.
621 .B "[buffer] [count] Y"
624 lines into the specified buffer.
627 Write the file and exit
641 Move to first nonblank character on the current line.
646 lines, to the first nonblank character.
649 Enter input mode, appending the text after the cursor.
656 .B "[buffer] [count] c motion"
657 Change a region of text.
659 .B "[buffer] [count] d motion"
660 Delete a region of text.
667 .B "[count] f<character>"
670 times, through the rest of the current line for
674 Enter input mode, inserting the text before the cursor.
677 Save the current context (line and column) as
681 Enter input mode, appending text in a new line under the current line.
684 Append text from a buffer.
686 .B "[count] r <character>"
691 .B "[buffer] [count] s"
694 characters in the current line starting with the current character.
696 .B "[count] t <character>"
699 times, through the current line for the character immediately
704 Undo the last change made to the file.
711 .B "[buffer] [count] x"
716 .B "[buffer] [count] y motion"
718 a text region specified by the
720 and motion into a buffer.
722 .B "[count1] z [count2] -|.|+|^|<carriage-return>"
723 Redraw, optionally repositioning and resizing the screen.
733 position on the current line.
741 Reverse the case of the next
745 .B "[count] ~ motion"
746 Reverse the case of the characters in a text region specified by the
752 Interrupt the current operation.
753 .SH VI TEXT INPUT COMMANDS
754 The following section describes the commands available in the text
761 Replay the previous input.
764 Erase to the previous
769 Erase all of the autoindent characters, and reset the autoindent level.
772 Erase all of the autoindent characters.
779 characters to move forward to the next
791 Erase the last character.
794 Quote the next character.
797 Resolve all text input into the file, and return to command mode.
800 Erase the current line.
806 The definition of word is dependent on the
812 .B "<control-X>[0-9A-Fa-f]+"
813 Insert a character with the specified hexadecimal value into the text.
816 Interrupt text input mode, returning to command mode.
818 The following section describes the commands available in the
821 In each entry below, the tag line is a usage synopsis for the command.
829 .B "[range]! argument(s)"
830 Execute a shell command, or filter lines through a shell command.
835 .B "[range] nu[mber] [count] [flags]"
837 .B "[range] # [count] [flags]"
838 Display the selected lines, each preceded with its line number.
845 .B "[line] a[ppend][!]"
846 The input text is appended after the specified line.
848 .B "[range] c[hange][!] [count]"
849 The input text replaces the specified range.
851 .B "cs[cope] add | find | help | kill | reset"
852 Execute a Cscope command.
854 .B "[range] d[elete] [buffer] [count] [flags]"
855 Delete the lines from the file.
857 .B "di[splay] b[uffers] | c[onnections] | s[creens] | t[ags]"
858 Display buffers, Cscope connections, screens or tags.
860 .B "[Ee][dit][!] [+cmd] [file]"
862 .B "[Ee]x[!] [+cmd] [file]"
863 Edit a different file.
865 .B "exu[sage] [command]"
871 Display and optionally change the file name.
876 Foreground the specified screen.
878 .B "[range] g[lobal] /pattern/ [commands]"
880 .B "[range] v /pattern/ [commands]"
881 Apply commands to lines matching (or not matching) a pattern.
884 Display a help message.
886 .B "[line] i[nsert][!]"
887 The input text is inserted before the specified line.
889 .B "[range] j[oin][!] [count] [flags]"
890 Join lines of text together.
892 .B "[range] l[ist] [count] [flags]"
893 Display the lines unambiguously.
895 .B "map[!] [lhs rhs]"
896 Define or display maps (for
900 .B "[line] ma[rk] <character>"
902 .B "[line] k <character>"
903 Mark the line with the mark
906 .B "[range] m[ove] line"
907 Move the specified lines after the target line.
909 .B "mk[exrc][!] file"
910 Write the abbreviations, editor options and maps to the specified
913 .B "[Nn][ext][!] [file ...]"
914 Edit the next file from the argument list.
916 .B "[line] o[pen] /pattern/ [flags]"
920 Save the file in a form that can later be recovered using the
925 .B "[Pp]rev[ious][!]"
926 Edit the previous file from the argument list.
928 .B "[range] p[rint] [count] [flags]"
929 Display the specified lines.
931 .B "[line] pu[t] [buffer]"
932 Append buffer contents to the current line.
935 End the editing session.
937 .B "[line] r[ead][!] [file]"
943 if it was previously saved.
945 .B "res[ize] [+|-]size"
948 Grow or shrink the current screen.
951 Rewind the argument list.
953 .B "rta[g][!] tagstring"
954 Edit the file referring the specified tag. (Only in gtagsmode)
956 .B "se[t] [option[=[value]] ...] [nooption ...] [option? ...] [all]"
957 Display or set editor options.
965 commands from a file.
967 .B "[range] s[ubstitute] [/pattern/replace/] [options] [count] [flags]"
969 .B "[range] & [options] [count] [flags]"
971 .B "[range] ~ [options] [count] [flags]"
979 Suspend the edit session.
981 .B "[Tt]a[g][!] tagstring"
982 Edit the file containing the specified tag.
985 Edit the file containing the next context for the current tag.
987 .B "tagp[op][!] [file | number]"
988 Pop to the specified tag in the tags stack.
991 Edit the file containing the previous context for the current tag.
994 Unmap a mapped string.
997 Display the version of the
1001 .B "[line] vi[sual] [type] [count] [flags]"
1007 .B "[Vi]i[sual][!] [+cmd] [file]"
1012 .B "viu[sage] [command]"
1017 .B "[range] w[rite][!] [>>] [file]"
1019 .B "[range] w[rite] [!] [file]"
1021 .B "[range] wn[!] [>>] [file]"
1023 .B "[range] wq[!] [>>] [file]"
1026 .B "[range] x[it][!] [file]"
1027 Write the file if it has been modified.
1029 .B "[range] ya[nk] [buffer] [count]"
1030 Copy the specified lines to a buffer.
1032 .B "[line] z [type] [count] [flags]"
1035 There are a large number of options that may be set (or unset) to
1036 change the editor's behavior.
1037 This section describes the options, their abbreviations and their
1040 In each entry below, the first part of the tag line is the full name
1041 of the option, followed by any equivalent abbreviations.
1042 The part in square brackets is the default value of the option.
1043 Most of the options are boolean, i.e. they are either on or off,
1044 and do not have an associated value.
1046 Options apply to both
1050 modes, unless otherwise specified.
1053 .B "altwerase [off]"
1056 Select an alternate word erase algorithm.
1058 .B "autoindent, ai [off]"
1059 Automatically indent new lines.
1061 .B "autoprint, ap [off]"
1064 Display the current line automatically.
1066 .B "autowrite, aw [off]"
1067 Write modified files automatically when changing files.
1068 .\" I cannot get a double quote to print between the square brackets
1069 .\" to save my life. The ONLY way I've been able to get this to work
1070 .\" is with the .tr command.
1076 Backup files before they are overwritten.
1078 .B "beautify, bf [off]"
1079 Discard control characters.
1081 .B "cdpath [environment variable CDPATH, or current directory]"
1082 The directory paths used as path prefixes for the
1086 .B "cedit [no default]"
1087 Set the character to edit the colon command-line history.
1089 .B "columns, co [80]"
1090 Set the number of columns in the screen.
1095 Skip leading comments in shell, C and C++ language files.
1097 .B "directory, dir [environment variable TMPDIR, or /tmp]"
1098 The directory where temporary files are created.
1100 .B "edcompatible, ed [off]"
1101 Remember the values of the ``c'' and ``g'' suffices to the
1103 commands, instead of initializing them as unset for each new
1106 .B "errorbells, eb [off]"
1109 Announce error messages with a bell.
1111 .B "expandtab, et [off]"
1114 characters in leading whitespace when shifting text, autoindenting,
1121 Read the startup files in the local directory.
1124 Regular expressions are extended (i.e.
1128 .B "filec [no default]"
1129 Set the character to perform file path completion on the colon
1133 Flash the screen instead of beeping the keyboard on error.
1135 .B "gtagsmode, gt [off]"
1136 Use GTAGS and GRTAGS instead of tags.
1138 .B "hardtabs, ht [8]"
1139 Set the spacing between hardware tab settings.
1142 Makes all Regular Expressions case-insensitive,
1143 as long as an upper-case letter does not appear in the search string.
1145 .B "ignorecase, ic [off]"
1146 Ignore case differences in regular expressions.
1149 The 10th's of a second
1151 waits for a subsequent key to complete a key mapping.
1153 .B "leftright [off]"
1156 Do left-right scrolling.
1161 Set the number of lines in the screen.
1166 Modify various search commands and options to work with Lisp.
1167 .I "This option is not yet implemented."
1170 Display lines in an unambiguous fashion.
1173 Attempt to get an exclusive lock on any file being edited,
1177 Treat certain characters specially in regular expressions.
1179 .B "matchchars [[]{}()<>]"
1180 Character pairs looked for by the % command.
1185 The 10th's of a second
1187 pauses on the matching character when the
1192 Permit messages from other users.
1194 .B "modelines, modeline [off]"
1195 Read the first and last few lines of each file for
1198 .I "This option will never be implemented."
1199 .\" I cannot get a double quote to print between the square brackets
1200 .\" to save my life. The ONLY way I've been able to get this to work
1201 .\" is with the .tr command.
1207 Characters that are never handled as printable characters.
1209 .B "number, nu [off]"
1210 Precede each line displayed with its current line number.
1213 Display unknown characters as octal numbers, instead of the default
1219 If this option is not set, the
1223 commands are disallowed.
1225 .B "optimize, opt [on]"
1228 Optimize text throughput to dumb terminals.
1229 .I "This option is not yet implemented."
1231 .B "paragraphs, para [IPLPPPQPP LIpplpipbp]"
1234 Define additional paragraph boundaries for the
1241 Define additional directories to search for files being edited.
1242 .\" I cannot get a double quote to print between the square brackets
1243 .\" to save my life. The ONLY way I've been able to get this to work
1244 .\" is with the .tr command.
1250 Characters that are always handled as printable characters.
1255 Display a command prompt.
1257 .B "readonly, ro [off]"
1258 Mark the file and session as read-only.
1260 .B "recdir [/var/tmp/vi.recover]"
1261 The directory where recovery files are stored.
1263 .B "redraw, re [off]"
1266 Simulate an intelligent terminal on a dumb one.
1267 .I "This option is not yet implemented."
1270 Remap keys until resolved.
1273 Set the number of lines about which the editor reports changes
1279 Display a row/column ruler on the colon command line.
1281 .B "scroll, scr [window / 2]"
1282 Set the number of lines scrolled.
1284 .B "searchincr [off]"
1289 commands incremental.
1291 .B "sections, sect [NHSHH HUnhsh]"
1294 Define additional section boundaries for the
1301 Turns off all access to external programs.
1303 .B "shell, sh [environment variable SHELL, or /bin/sh]"
1304 Select the shell used by the editor.
1305 .\" I cannot get a double quote to print between the square brackets
1306 .\" to save my life. The ONLY way I've been able to get this to work
1307 .\" is with the .tr command.
1309 .ds ms shellmeta [~{[*?$`'Q\e]
1313 Set the meta characters checked to determine if file name expansion
1316 .B "shiftwidth, sw [8]"
1317 Set the autoindent and shift command indentation width.
1319 .B "showmatch, sm [off]"
1322 Note matching ``{'' and ``('' for ``}'' and ``)'' characters.
1324 .B "showmode, smd [off]"
1327 Display the current editor mode and a ``modified'' flag.
1329 .B "sidescroll [16]"
1332 Set the amount a left-right scroll will shift.
1334 .B "slowopen, slow [off]"
1335 Delay display updating during text input.
1336 .I "This option is not yet implemented."
1338 .B "sourceany [off]"
1339 Read startup files not owned by the current user.
1340 .I "This option will never be implemented."
1342 .B "tabstop, ts [8]"
1343 This option sets tab widths for the editor display.
1345 .B "taglength, tl [0]"
1346 Set the number of significant characters in tag names.
1348 .B "tags, tag [tags /var/db/libc.tags /sys/kern/tags]"
1349 Set the list of tags files.
1351 .B "term, ttytype, tty [environment variable TERM]"
1352 Set the terminal type.
1355 This option has historically made editor messages less verbose.
1356 It has no effect in this implementation.
1361 command to take an associated motion.
1363 .B "timeout, to [on]"
1364 Time out on keys which may be mapped.
1366 .B "ttywerase [off]"
1369 Select an alternate erase algorithm.
1374 Display an error message for every error.
1376 .B "w300 [no default]"
1379 Set the window size if the baud rate is less than 1200 baud.
1381 .B "w1200 [no default]"
1384 Set the window size if the baud rate is equal to 1200 baud.
1386 .B "w9600 [no default]"
1389 Set the window size if the baud rate is greater than 1200 baud.
1394 This option causes a warning message to the terminal if the file has
1395 been modified, since it was last written, before a
1399 .B "window, w, wi [environment variable LINES]"
1400 Set the window size for the screen.
1402 .B "windowname [off]"
1403 Change the icon/window name to the current file name even if it can't
1404 be restored on editor exit.
1406 .B "wraplen, wl [0]"
1409 Break lines automatically, the specified number of columns from the
1415 edit options are set, the
1419 .B "wrapmargin, wm [0]"
1422 Break lines automatically, the specified number of columns from the
1428 edit options are set, the
1432 .B "wrapscan, ws [on]"
1433 Set searches to wrap around the end or beginning of the file.
1435 .B "writeany, wa [off]"
1436 Turn off file-overwriting checks.
1437 .SH "ENVIRONMENT VARIABLES
1440 The number of columns on the screen.
1441 This value overrides any system or terminal specific values.
1444 environmental variable is not set when
1448 option is explicitly reset by the user,
1450 enters the value into the environment.
1455 startup commands, read if the variable
1460 The user's home directory, used as the initial directory path
1461 for the startup ``$\fIHOME\fP/.nexrc'' and ``$\fIHOME\fP/.exrc''
1463 This value is also used as the default directory for the
1469 The number of rows on the screen.
1470 This value overrides any system or terminal specific values.
1473 environmental variable is not set when
1477 option is explicitly reset by the user,
1479 enters the value into the environment.
1487 The user's shell of choice (see also the
1492 The user's terminal type.
1493 The default is the type ``unknown''.
1496 environmental variable is not set when
1500 option is explicitly reset by the user,
1502 enters the value into the environment.
1505 The location used to stored temporary files (see also the
1508 .SH ASYNCHRONOUS EVENTS
1512 uses this signal for periodic backups of file modifications and to
1513 display ``busy'' messages when operations are likely to take a long time.
1518 If the current buffer has changed since it was last written in its
1519 entirety, the editor attempts to save the modified file so it can
1523 Reference manual section entitled ``Recovery'' for more information.
1526 When an interrupt occurs,
1527 the current operation is halted,
1528 and the editor returns to the command level.
1529 If interrupted during text input,
1530 the text already input is resolved into the file as if the text
1531 input had been normally terminated.
1534 The screen is resized.
1537 Reference manual section entitled ``Sizing the Screen'' for more information.
1545 ignores these signals.
1549 The default user shell.
1552 System-wide vi startup file.
1555 Temporary file directory.
1558 The default recovery file directory.
1561 1st choice for user's home directory startup file.
1564 2nd choice for user's home directory startup file.
1567 1st choice for local directory startup file.
1570 2nd choice for local directory startup file.
1577 The ``Vi Quick Reference'' card.
1579 ``An Introduction to Display Editing with Vi'', found in the
1580 ``UNIX User's Manual Supplementary Documents''
1581 section of both the 4.3BSD and 4.4BSD manual sets.
1582 This document is the closest thing available to an introduction to the
1586 ``Ex Reference Manual (Version 3.7)'',
1588 ``UNIX User's Manual Supplementary Documents''
1589 section of both the 4.3BSD and 4.4BSD manual sets.
1590 This document is the final reference for the
1592 editor, as distributed in most historic 4BSD and System V systems.
1594 ``Edit: A tutorial'',
1596 ``UNIX User's Manual Supplementary Documents''
1597 section of the 4.3BSD manual set.
1598 This document is an introduction to a simple version of the
1602 ``Ex/Vi Reference Manual'',
1604 ``UNIX User's Manual Supplementary Documents''
1605 section of the 4.4BSD manual set.
1606 This document is the final reference for the
1608 text editors, as distributed in 4.4BSD and 4.4BSD-Lite.
1611 source for all of these documents is distributed with
1619 The files ``autowrite'', ``input'', ``quoting'' and ``structures''
1621 .I nvi/docs/internals
1628 replacements for the
1630 editor first appeared in 4.4BSD.
1633 is close to IEEE Std1003.2 (``POSIX'').
1634 That document differs from historical
1636 practice in several places; there are changes to be made on both sides.