AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
VI (l) VI (l) :set x? Show value of option x Options a.utoindent, a.i (default: noai) When on, in the append, change, insert, open, or substitute mode a new line will be started at same indent as previous line. .l a.udoprint, a.p (default: ap) Causes the current line to be printed after each delete, copy, join, move, substitute, t, undo or shift command. This has the same effect as supplying a trailing p to each such command. The autoprint is suppressed in globals and only applies to the last of many commands on a line. a.utowrite, a.w (default: noaw) Causes the contents of the buffer to be written to the current file (if you have modified it) and gives a next, rewind, tab, or ! command, or a Al (switch files) or A] (tag goto) command. Note: the command does not autowrite. In each case, there is an equivalent way of switching when the auto write option is set to avoid the autowrite (ex for next, rewind! for rewind, tag! for tag, shell for !, and :e #nd for a :ta! command). beautify, bf (default: nobeautify) Causes all control characters except tab, newline, and form-feed to be discarded from the input. A complaint is registered the first time a backspace character is discarded. The beaut1jy option does not apply to command l input. directory, dir (default: dir=/tmp) Specifies the directory in which vi places its buffer file. If this directory is not writable, then the editor will exit abruptly when it fails to be able to create its buffer there. edcompa.tible (default: noedcompatible) Causes the presence or absence of g and c suffixes on substitute commands to be remembered and to be toggled by repeating the suffixes. The suffix r makes the substitution be as in the - command, instead of line &. error bells, eb (default: noeb) Error messages are preceded by a bell. Bell ringing in open and visual mode on errors is not suppressed by setting noeb . If possible the editor always places the error message in a standout mode of the terminal (such as inverse video) instead of ringing the bell. ha.rdta.bs, ht (default: ht=8) � Gives the boundaries on which terminal hardware tabs are set (or on which the system expands tabs). ignoreca.se, ic (default: noic) All uppercase characters in the text are mapped to lower case in regular expression matching and vice versa, except in character class specifications. - 8- )
VI (l) VI ( 1) lisp (default: no lisp) The autoindent option indents appropriately for lisp code, and the ( ), { }, [[, and ]] commands in open and visual modes are modified to have meaning for lisp . list (default: no list) All printed lines will be displayed more unambiguously, showing tabs and end-of-lines as in the list command. magic (default: magic for VIJ If nomagic is set, the number of regular expression metacharacters is greatly reduced, with only t and $ having special effects. In addition, the metacharacters - and & of the replacement pattern are treated as normal characters. All the normal metacharacters may be made magic when nomagic is set by preceding them with a \. mesg (default: mesg) Causes write permission to be turned off to the terminal while you are in visual mode if nomesg is set. number, nu (default: nonumber) Causes all output lines to be printed with line numbers. In addition, each input line will be prompted for by supplying the line number it will have. open (default: open) If noopen, the commands open and visual are not permitted. optimize opt (default: optimize) Throughput of text is expedited by setting the terminal not to do automatic carriage returns when printing more than one (logical) line of output, greatly speeding output on terminals without addressable cursors when text with leading white space is printed. paragraphs, para (default: para=IPLPPPQPPLibp) Specifies the paragraphs for the { and } operations in open and visual mode. The pairs of characters in the option's value are the names of the macros which start paragraphs. prompt (default: prompt) Command mode input is prompted for with a colon (:). readonly (default: noreadonly) Set by chmod shell command to allow read but no write. redraw (default: noredraw) The editor simulates (using great amounts of output) an intelligent terminal on a dumb terminal (e.g., during insertions in visual mode the characters to the right of the cursor position are refreshed as each input character is typed). This option is useful only at very high speed. remap (default: remap) If on, macros are repeatedly tried until they are unchanged. For example, if o is mapped to 0, and 0 is - 9 -
- Page 575 and 576: TIME ( 1) TIME ( 1) NAME time - tim
- Page 577: TOUCH (!) TOUCH (!) NAME touch - up
- Page 581 and 582: TRUE ( ! ) NAME true, false - provi
- Page 583 and 584: TSET ( 1) {AT&T UNIX PC only ) TSET
- Page 585: TSORT ( l ) TSORT ( 1) NAME tsort -
- Page 588 and 589: � I I I I I I I II I I I I I I I
- Page 590 and 591: UAHELP (l) \US\ \BL\ \BS\ \EOT\ (AT
- Page 592 and 593: !�
- Page 595 and 596: UMODEM(l) UMODEM (l) NAME umodem -
- Page 597 and 598: UNAME(l) UNAME(l) NAME uname - prin
- Page 599: UNGET ( l ) UNGET ( l ) NAME unget
- Page 602 and 603: � \.,_ .:1 :� \__. ·
- Page 605 and 606: UUCP {IC) UUCP {IC) NAME uucp, uulo
- Page 607 and 608: UUSTAT (IC) UUSTAT ( IC ) NAME uust
- Page 609 and 610: UUTO (lC} UUTO (lC} NAME uuto, uupi
- Page 611 and 612: UUX ( lC ) UUX ( lC ) NAME uux - UN
- Page 613 and 614: VAL(l) VAL(I) NAME val - validate s
- Page 615 and 616: VC (l) VC (l) NAME vc - version con
- Page 617: VC (l) VC ( l ) ::text Used for key
- Page 620 and 621: VI ( 1) vi file vi vi + n file vi +
- Page 622 and 623: VI (l) rn OAD Av MODIFYING TEXT Cha
- Page 624 and 625: VI ( 1 ) VI( 1) file to newtext :gf
- Page 628 and 629: VI (l) VI ( 1) mapped to I, then if
- Page 630 and 631: VI (l) VI (l) won't be broken. Inse
- Page 632 and 633: � I . .... .,_ J _ . . ·
- Page 634 and 635: .. \ '-�� -·
- Page 637 and 638: WIIO (I) WHO(l) NAME who - who is o
- Page 639: WRITE ( l ) WRITE ( l ) NAME write
- Page 642 and 643: XARGS(l) XARGS (l) -nnumber Execute
- Page 645 and 646: YACC { I ) YACC { l ) NAME yacc - y
- Page 647 and 648: INTRO ( 2) INTR0 ( 2 ) NAME intro -
- Page 649 and 650: INTRO ( 2) INTR0 (2) 21 EISDffi Is
- Page 651 and 652: INTRO (2) INTRO ( 2) ProcO is the s
- Page 653 and 654: INTR0 (2) INTR0 (2) permission requ
- Page 655 and 656: INTR0 (2) time_t shm_dtime; time_t
- Page 657: ACCESS (2} ACCESS (2} NAME access -
- Page 661 and 662: ALARM (2) ALARM (2) NAME alarm - se
- Page 663: BRK(2) BRK ( 2 ) NAME brk, sbrk - c
- Page 667 and 668: CHMOD (2) CHMOD (2) NAME chmod - ch
- Page 669: CHOWN(2) CHOWN(2) NAME chown - chan
- Page 673 and 674: CLOSE ( 2) CLOSE (2) NAME close - c
- Page 675 and 676: CREAT ( 2 ) CREAT ( 2 ) NAME creat
VI (l) VI ( 1)<br />
lisp (default: no lisp)<br />
The autoindent option indents appropriately for lisp code,<br />
and the ( ), { }, [[, and ]] commands in open and visual<br />
modes are modified to have meaning for lisp .<br />
list (default: no list)<br />
All printed lines will be displayed more unambiguously,<br />
showing tabs and end-of-lines as in the list command.<br />
magic (default: magic for VIJ<br />
If nomagic is set, the number of regular expression metacharacters<br />
is greatly reduced, with only t and $ having<br />
special effects. In addition, the metacharacters - and & of<br />
the replacement pattern are treated as normal characters.<br />
All the normal metacharacters may be made magic when<br />
nomagic is set by preceding them with a \.<br />
mesg (default: mesg)<br />
Causes write permission to be turned off to the terminal<br />
while you are in visual mode if nomesg is set.<br />
number, nu (default: nonumber)<br />
Causes all output lines to be printed with line numbers.<br />
In addition, each input line will be prompted for by supplying<br />
the line number it will have.<br />
open (default: open)<br />
If noopen, the commands open and visual are not permitted.<br />
optimize opt (default: optimize)<br />
Throughput of text is expedited by setting the terminal<br />
not to do automatic carriage returns when printing more<br />
than one (logical) line of output, greatly speeding output<br />
on terminals without addressable cursors when text with<br />
leading white space is printed.<br />
paragraphs, para (default: para=IPLPPPQPPLibp)<br />
Specifies the paragraphs for the { and } operations in<br />
open and visual mode. The pairs of characters in the<br />
option's value are the names of the macros which start<br />
paragraphs.<br />
prompt (default: prompt)<br />
Command mode input is prompted for with a colon (:).<br />
readonly (default: noreadonly)<br />
Set by chmod shell command to allow read but no write.<br />
redraw (default: noredraw)<br />
The editor simulates (using great amounts of output) an<br />
intelligent terminal on a dumb terminal (e.g., during insertions<br />
in visual mode the characters to the right of the cursor<br />
position are refreshed as each input character is<br />
typed). This option is useful only at very high speed.<br />
remap (default: remap)<br />
If on, macros are repeatedly tried until they are<br />
unchanged. For example, if o is mapped to 0, and 0 is<br />
- 9 -