diff options
Diffstat (limited to 'usr.bin/vi/docs/USD.doc/vi.ref/vi.ref.ps')
-rw-r--r-- | usr.bin/vi/docs/USD.doc/vi.ref/vi.ref.ps | 5557 |
1 files changed, 0 insertions, 5557 deletions
diff --git a/usr.bin/vi/docs/USD.doc/vi.ref/vi.ref.ps b/usr.bin/vi/docs/USD.doc/vi.ref/vi.ref.ps deleted file mode 100644 index 48e14ab6189..00000000000 --- a/usr.bin/vi/docs/USD.doc/vi.ref/vi.ref.ps +++ /dev/null @@ -1,5557 +0,0 @@ -%!PS-Adobe-3.0 -%%Creator: groff version 1.10 -%%CreationDate: Sat May 18 15:39:22 1996 -%%DocumentNeededResources: font Times-Bold -%%+ font Times-Italic -%%+ font Times-Roman -%%+ font Courier -%%DocumentSuppliedResources: procset grops 1.10 0 -%%Pages: 68 -%%PageOrder: Ascend -%%Orientation: Portrait -%%EndComments -%%BeginProlog -%%BeginResource: procset grops 1.10 0 -/setpacking where{ -pop -currentpacking -true setpacking -}if -/grops 120 dict dup begin -/SC 32 def -/A/show load def -/B{0 SC 3 -1 roll widthshow}bind def -/C{0 exch ashow}bind def -/D{0 exch 0 SC 5 2 roll awidthshow}bind def -/E{0 rmoveto show}bind def -/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def -/G{0 rmoveto 0 exch ashow}bind def -/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/I{0 exch rmoveto show}bind def -/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def -/K{0 exch rmoveto 0 exch ashow}bind def -/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/M{rmoveto show}bind def -/N{rmoveto 0 SC 3 -1 roll widthshow}bind def -/O{rmoveto 0 exch ashow}bind def -/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/Q{moveto show}bind def -/R{moveto 0 SC 3 -1 roll widthshow}bind def -/S{moveto 0 exch ashow}bind def -/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def -/SF{ -findfont exch -[exch dup 0 exch 0 exch neg 0 0]makefont -dup setfont -[exch/setfont cvx]cvx bind def -}bind def -/MF{ -findfont -[5 2 roll -0 3 1 roll -neg 0 0]makefont -dup setfont -[exch/setfont cvx]cvx bind def -}bind def -/level0 0 def -/RES 0 def -/PL 0 def -/LS 0 def -/MANUAL{ -statusdict begin/manualfeed true store end -}bind def -/PLG{ -gsave newpath clippath pathbbox grestore -exch pop add exch pop -}bind def -/BP{ -/level0 save def -1 setlinecap -1 setlinejoin -72 RES div dup scale -LS{ -90 rotate -}{ -0 PL translate -}ifelse -1 -1 scale -}bind def -/EP{ -level0 restore -showpage -}bind def -/DA{ -newpath arcn stroke -}bind def -/SN{ -transform -.25 sub exch .25 sub exch -round .25 add exch round .25 add exch -itransform -}bind def -/DL{ -SN -moveto -SN -lineto stroke -}bind def -/DC{ -newpath 0 360 arc closepath -}bind def -/TM matrix def -/DE{ -TM currentmatrix pop -translate scale newpath 0 0 .5 0 360 arc closepath -TM setmatrix -}bind def -/RC/rcurveto load def -/RL/rlineto load def -/ST/stroke load def -/MT/moveto load def -/CL/closepath load def -/FL{ -currentgray exch setgray fill setgray -}bind def -/BL/fill load def -/LW/setlinewidth load def -/RE{ -findfont -dup maxlength 1 index/FontName known not{1 add}if dict begin -{ -1 index/FID ne{def}{pop pop}ifelse -}forall -/Encoding exch def -dup/FontName exch def -currentdict end definefont pop -}bind def -/DEFS 0 def -/EBEGIN{ -moveto -DEFS begin -}bind def -/EEND/end load def -/CNT 0 def -/level1 0 def -/PBEGIN{ -/level1 save def -translate -div 3 1 roll div exch scale -neg exch neg exch translate -0 setgray -0 setlinecap -1 setlinewidth -0 setlinejoin -10 setmiterlimit -[]0 setdash -/setstrokeadjust where{ -pop -false setstrokeadjust -}if -/setoverprint where{ -pop -false setoverprint -}if -newpath -/CNT countdictstack def -userdict begin -/showpage{}def -}bind def -/PEND{ -clear -countdictstack CNT sub{end}repeat -level1 restore -}bind def -end def -/setpacking where{ -pop -setpacking -}if -%%EndResource -%%IncludeResource: font Times-Bold -%%IncludeResource: font Times-Italic -%%IncludeResource: font Times-Roman -%%IncludeResource: font Courier -grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72 -def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron -/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef -/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef -/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef -/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent -/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen -/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon -/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O -/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex -/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y -/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft -/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl -/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut -/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash -/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen -/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft -/logicalnot/minus/registered/macron/degree/plusminus/twosuperior -/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior -/ordmasculine/guilsinglright/onequarter/onehalf/threequarters -/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE -/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex -/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis -/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn -/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla -/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis -/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash -/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def -/Courier@0 ENC0/Courier RE/Times-Roman@0 ENC0/Times-Roman RE -/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE -%%EndProlog -%%Page: 1 1 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 12/Times-Bold@0 SF(Ex/V)225.006 100.2 Q 3(iR)-.444 G(efer)-3 E -(ence Manual)-.216 E/F1 10/Times-Italic@0 SF -.35(Ke)263.59 124.2 S -(ith Bostic).35 E/F2 10/Times-Roman@0 SF(Computer Science Di)232.85 -148.2 Q(vision)-.25 E -(Department of Electrical Engineering and Computer Science)166.36 160.2 -Q(Uni)219.725 172.2 Q -.15(ve)-.25 G(rsity of California, Berk).15 E -(ele)-.1 E(y)-.15 E(Berk)232.625 184.2 Q(ele)-.1 E 1.3 -.65(y, C)-.15 H -2.5(alifornia 94720).65 F(May 18, 1996)260.085 208.2 Q F1(Abstr)271.13 -256.2 Q(act)-.15 E F2 1.406 -(This document is the reference guide for the 4.4BSD implementations of) -97 292.8 R/F3 10/Times-Bold@0 SF(nex)3.906 E F2(/)A F3 -.4(nv)C(i).4 E -F2 3.906(,w)C 1.406(hich are)-3.906 F -(reimplementations of the historic Berk)72 304.8 Q(ele)-.1 E(y)-.15 E F3 -(ex)2.5 E F2(/)A F3(vi)A F2(editors.)2.5 E F1(Ac)249.825 361.2 Q -(knowledg)-.2 E(ements)-.1 E F2 2.356 -(Bruce Englar encouraged the early de)97 397.8 R -.15(ve)-.25 G 2.357 -(lopment of the historic).15 F F3(ex)4.857 E F2(/)A F3(vi)A F2(editor) -4.857 E 7.357(.P)-.55 G 2.357(eter K)-7.357 F(essler)-.25 E .143 -(helped bring sanity to v)72 409.8 R .143(ersion 2')-.15 F 2.643(sc)-.55 -G .142(ommand layout.)-2.643 F .142(Bill Jo)5.142 F 2.642(yw)-.1 G .142 -(rote v)-2.642 F .142(ersions 1 and 2.0 through 2.7, and)-.15 F .57 -(created the frame)72 421.8 R -.1(wo)-.25 G .57 -(rk that users see in the present editor).1 F 5.571(.M)-.55 G .571 -(ark Horton added macros and other fea-)-5.571 F(tures and made)72 433.8 -Q F3(ex)2.5 E F2(/)A F3(vi)A F2 -.1(wo)2.5 G(rk on a lar).1 E -(ge number of terminals and Unix systems.)-.18 E F3(Nvi)97 450 Q F2 .476 -(is originally deri)2.976 F -.15(ve)-.25 G 2.976(df).15 G .476 -(rom softw)-2.976 F .475(are contrib)-.1 F .475(uted to the Uni)-.2 F --.15(ve)-.25 G .475(rsity of California, Berk).15 F(ele)-.1 E 2.975(yb) --.15 G(y)-2.975 E(Ste)72 462 Q .3 -.15(ve K)-.25 H(irk).15 E -(endall, the author of the)-.1 E F3(vi)2.5 E F2(clone)2.5 E F3(elvis)2.5 -E F2(.)A 2.908(IEEE Standard Portable Operating System Interf)97 478.2 R -2.908(ace for Computer En)-.1 F 2.908(vironments \(POSIX\))-.4 F -(1003.2 style Re)72 490.2 Q(gular Expression support w)-.15 E -(as done by Henry Spencer)-.1 E(.)-.55 E 1.384(The curses library w)97 -506.4 R 1.384(as originally done by K)-.1 F 1.384(en Arnold.)-.25 F -1.383(Scrolling and re)6.383 F -.1(wo)-.25 G 1.383(rking for).1 F F3 -.4 -(nv)3.883 G(i).4 E F2 -.1(wa)3.883 G(s).1 E(done by Elan Amir)72 518.4 Q -(.)-.55 E .381 -(The Institute of Electrical and Electronics Engineers has gi)97 534.6 R --.15(ve)-.25 G 2.881(nu).15 G 2.881(sp)-2.881 G .381 -(ermission to reprint portions)-2.881 F 2.36(of their documentation.)72 -546.6 R 2.359 -(Portions of this document are reprinted and reproduced from IEEE Std) -7.36 F 3.71(1003.2-1992, IEEE Standard Portable Operating System Interf) -72 558.6 R 3.71(ace for Computer En)-.1 F(vironments)-.4 E -(\(POSIX\), cop)72 570.6 Q(yright 1992 by the Institute of Electrical and Electronics Engineers, Inc.) --.1 E(The \214nancial support of UUNET Communications Services is gratefully ackno) -97 586.8 Q(wledged.)-.25 E(Cop)72 679.2 Q(yright \(c\) 1991, 1993, 1994) --.1 E(The Re)122 691.2 Q(gents of the Uni)-.15 E -.15(ve)-.25 G -(rsity of California.).15 E(All Rights Reserv)5 E(ed.)-.15 E(Cop)72 -707.4 Q(yright \(c\) 1994, 1995)-.1 E -.25(Ke)122 719.4 S(ith Bostic.) -.25 E(All Rights Reserv)5 E(ed.)-.15 E EP -%%Page: 3 2 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 308.33(ence USD:13-3)-.18 F -2.5(1. Description)72 96 R -.37(Vi)97 112.2 S/F1 10/Times-Roman@0 SF -.265(is a screen oriented te)3.135 F .265(xt editor)-.15 F(.)-.55 E F0 -(Ex)5.265 E F1 .264(is a line-oriented te)2.765 F .264(xt editor)-.15 F -(.)-.55 E F0(Ex)5.264 E F1(and)2.764 E F0(vi)2.764 E F1 .264(are dif) -2.764 F .264(ferent interf)-.25 F(aces)-.1 E .452(to the same program, and it is possible to switch back and forth during an edit session.) -72 124.2 R F0 -.37(Vi)5.453 G(ew).37 E F1 .453(is the equi)2.953 F(v-) --.25 E(alent of using the)72 136.2 Q F0<ad52>2.5 E F1 -(\(read-only\) option of)2.5 E F0(vi)2.5 E F1(.)A 2.49 -(This reference manual is the one pro)97 152.4 R 2.489(vided with the) --.15 F F0(nex)4.989 E F1(/)A F0 -.4(nv)C(i).4 E F1 -.15(ve)4.989 G 2.489 -(rsions of the).15 F F0(ex)4.989 E F1(/)A F0(vi)A F1(te)4.989 E 2.489 -(xt editors.)-.15 F F0(Nex)72 164.4 Q F1(/)A F0 -.4(nv)C(i).4 E F1 1.363 -(are intended as b)3.863 F(ug-for)-.2 E(-b)-.2 E 1.363 -(ug compatible replacements for the original F)-.2 F 1.364(ourth Berk) --.15 F(ele)-.1 E 3.864(yS)-.15 G(oftw)-3.864 E(are)-.1 E(Distrib)72 -176.4 Q .745(ution \(4BSD\))-.2 F F0(ex)3.245 E F1(/)A F0(vi)A F1 3.244 -(programs. This)3.244 F .744 -(reference manual is accompanied by a traditional-style manual)3.244 F -3.746(page. That)72 188.4 R 1.246 -(manual page describes the functionality found in)3.746 F F0(ex)3.746 E -F1(/)A F0(vi)A F1 1.246(in f)3.746 F 1.247 -(ar less detail than the description)-.1 F 3.467(here. In)72 200.4 R -.967(addition, it describes the system interf)3.467 F .967(ace to)-.1 F -F0(ex)3.467 E F1(/)A F0(vi)A F1 3.467(,e)C .966 -(.g. command line options, session reco)-3.467 F -.15(ve)-.15 G(ry).15 E -(,)-.65 E(signals, en)72 212.4 Q(vironmental v)-.4 E -(ariables, and similar things.)-.25 E .325 -(This reference is intended for users already f)97 228.6 R .325 -(amiliar with)-.1 F F0(ex)2.825 E F1(/)A F0(vi)A F1 5.325(.A)C -.15(ny) --5.325 G .325(one else should almost certainly).15 F .3 -(read a good tutorial on the editor \214rst.)72 240.6 R .299 -(If you are in an unf)5.3 F .299(amiliar en)-.1 F .299 -(vironment, and you absolutely ha)-.4 F .599 -.15(ve t)-.2 H(o).15 E -1.458(get w)72 252.6 R 1.458(ork done immediately)-.1 F 3.958(,s)-.65 G -1.458(ee the section entitled \231)-3.958 F F0 -.25(Fa)C 1.458 -(st Startup).25 F F1 3.958<9a69>C 3.958(nt)-3.958 G 1.458 -(he manual page.)-3.958 F 1.459(It is probably)6.458 F -(enough to get you started.)72 264.6 Q .166(There are a fe)97 280.8 R -2.666(wf)-.25 G .166(eatures in)-2.666 F F0(nex)2.666 E F1(/)A F0 -.4 -(nv)C(i).4 E F1 .166(that are not found in historic v)2.666 F .166 -(ersions of)-.15 F F0(ex)2.666 E F1(/)A F0(vi)A F1 5.165(.S)C .165 -(ome of the more)-5.165 F .656 -(interesting of those features are brie\215y described in the ne)72 -292.8 R .656(xt section, entitled \231)-.15 F F0 .656(Additional F)B -(eatur)-.25 E(es)-.18 E F1 3.156(\232. F)B(or)-.15 E .098 -(the rest of this document,)72 304.8 R F0(nex)2.598 E F1(/)A F0 -.4(nv)C -(i).4 E F1 .097(is used only when it is necessary to distinguish it from the historic imple-) -2.598 F(mentations of)72 316.8 Q F0(ex)2.5 E F1(/)A F0(vi)A F1(.)A 1.046 -(Future v)97 333 R 1.046(ersions of this softw)-.15 F 1.046 -(are will be periodically made a)-.1 F -.25(va)-.2 G 1.046 -(ilable by anon).25 F 1.046(ymous ftp, and can be)-.15 F(retrie)72 345 Q --.15(ve)-.25 G 2.5(df).15 G(rom)-2.5 E/F2 10/Courier@0 SF -(ftp.cs.berkeley.edu)2.5 E F1 2.5(,i)C 2.5(nt)-2.5 G(he directory)-2.5 E -F2(ucb/4bsd)2.5 E F1(.)A F0 2.5(2. Additional)72 369 R -.25(Fe)2.5 G -(atur).25 E(es in Nex/Nvi)-.18 E F1 .166(There are a fe)97 385.2 R 2.666 -(wf)-.25 G .166(eatures in)-2.666 F F0(nex)2.666 E F1(/)A F0 -.4(nv)C(i) -.4 E F1 .166(that are not found in historic v)2.666 F .166(ersions of) --.15 F F0(ex)2.666 E F1(/)A F0(vi)A F1 5.165(.S)C .165(ome of the more) --5.165 F(interesting of these are as follo)72 397.2 Q(ws:)-.25 E F0 -(8-bit clean data, lar)72 421.2 Q(ge lines, \214les)-.1 E(Nex)97 433.2 Q -F1(/)A F0 -.4(nv)C(i).4 E F1 1.116(will edit an)3.616 F 3.616(yf)-.15 G -1.116(ormat \214le.)-3.616 F 1.116(Line lengths are limited by a)6.116 F --.25(va)-.2 G 1.116(ilable memory).25 F 3.617(,a)-.65 G 1.117 -(nd \214le sizes are)-3.617 F .309(limited by a)97 445.2 R -.25(va)-.2 G -.309(ilable disk space.).25 F(The)5.309 E F0(vi)2.809 E F1(te)2.809 E -.309(xt input mode command)-.15 F F0(<contr)2.808 E(ol-X>)-.18 E F1 .308 -(can insert an)2.808 F 2.808(yp)-.15 G(ossi-)-2.808 E(ble character v)97 -457.2 Q(alue into the te)-.25 E(xt.)-.15 E F0(Backgr)72 481.2 Q -(ound and f)-.18 E(or)-.25 E(egr)-.18 E(ound scr)-.18 E(eens)-.18 E F1 -(The)97 493.2 Q F0(bg)3.543 E F1 1.043 -(command backgrounds the current screen, and the)3.543 F F0(fg)3.544 E -F1 1.044(command fore)3.544 F 1.044(grounds backgrounded)-.15 F 2.5 -(screens. The)97 505.2 R F0(display)2.5 E F1 -(command can be used to list the background screens.)2.5 E F0 -(Command Editing)72 529.2 Q F1 -1.1(Yo)97 541.2 S 3.831(uc)1.1 G 1.331 -(an enter a normal editing windo)-3.831 F 3.831(wo)-.25 G 3.831(nt) --3.831 G 1.331(he collected commands that you')-3.831 F 1.63 -.15(ve e) --.5 H 1.33(ntered on the).15 F F0(vi)3.83 E F1 .942 -(colon command-line, and then modify and/or e)97 553.2 R -.15(xe)-.15 G -.942(cute the commands.).15 F .942(See the)5.942 F F0(cedit)3.442 E F1 -.943(edit option for)3.442 F(more information.)97 565.2 Q F0(Displays)72 -589.2 Q F1(The)97 601.2 Q F0(display)2.984 E F1 .483 -(command can be used to display the current b)2.984 F(uf)-.2 E .483 -(fers, the backgrounded screens, and the)-.25 F(tags stack.)97 613.2 Q -F0(Extended Regular Expr)72 637.2 Q(essions)-.18 E F1(The)97 649.2 Q F0 -(extended)3.387 E F1 .887(option causes Re)3.387 F .888 -(gular Expressions to be interpreted as as Extended Re)-.15 F .888 -(gular Expres-)-.15 F(sions, \(i.e.)97 661.2 Q/F3 10/Times-Italic@0 SF --.4(eg)2.5 G -.37(re).4 G(p).37 E F1(\(1\) style Re)A -(gular Expressions\).)-.15 E F0(File Name Completion)72 685.2 Q F1 .724 -(It is possible to do \214le name completion and \214le name displays when entering commands on the) -97 697.2 R F0(vi)3.223 E F1(colon command-line.)97 709.2 Q(See the)5 E -F0(\214lec)2.5 E F1(option for more information.)2.5 E EP -%%Page: 4 3 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 308.33(USD:13-4 Nvi/Nex)72 60 R(Refer)2.5 E(ence) --.18 E(In\214nite undo)72 96 Q/F1 10/Times-Roman@0 SF .577 -(Changes made during an edit session may be rolled backw)97 108 R .577 -(ard and forw)-.1 F 3.078(ard. A)-.1 F F0(.)3.078 E F1 .578 -(command immedi-)5.578 F .098(ately after a)97 120 R F0(u)2.598 E F1 -.097(command continues either forw)2.598 F .097(ard or backw)-.1 F .097 -(ard depending on whether the)-.1 F F0(u)2.597 E F1(command)2.597 E -.1 -(wa)97 132 S 2.5(sa).1 G 2.5(nu)-2.5 G(ndo or a redo.)-2.5 E F0 -(Left-right scr)72 156 Q(olling)-.18 E F1(The)97 168 Q F0(leftright) -4.181 E F1 1.681(option causes)4.181 F F0 -.4(nv)4.181 G(i).4 E F1 1.681 -(to do left-right screen scrolling, instead of the traditional)4.181 F -F0(vi)4.182 E F1(line)4.182 E(wrapping.)97 180 Q F0(Message Catalogs)72 -204 Q F1 .442 -(It is possible to display informational and error messages in dif)97 -216 R .442(ferent languages by pro)-.25 F .442(viding a cata-)-.15 F -(log of messages.)97 228 Q(See the)5 E F0(msgcat)2.5 E F1 -(option and the \214le)2.5 E/F2 10/Courier@0 SF(catalog/README)2.5 E F1 -(for more information.)2.5 E F0(Incr)72 252 Q(ementing numbers)-.18 E F1 -(The)97 264 Q F0(#)2.5 E F1 -(command increments or decrements the number referenced by the cursor) -2.5 E(.)-.55 E F0(Pr)72 288 Q -.15(ev)-.18 G(ious \214le).15 E F1(The)97 -300 Q F0(pr)2.5 E -.15(ev)-.18 G(ious).15 E F1(command edits the pre)2.5 -E(vious \214le from the ar)-.25 E(gument list.)-.18 E F0 -(Scripting languages)72 324 Q F1(The)97 336 Q F0 1.487(:pe[rl] cmd)3.986 -F F1(,)A F0 1.487(:perld[o] cmd)3.987 F F1(and)3.987 E F0 1.487 -(:tc[l] cmd)3.987 F F1 1.487(commands e)3.987 F -.15(xe)-.15 G 1.487 -(cute Perl5 and Tcl/Tk commands,).15 F(respecti)97 348 Q -.15(ve)-.25 G -(ly).15 E 3.329(,o)-.65 G 3.329(nl)-3.329 G .829(ines from the edit b) --3.329 F(uf)-.2 E(fer)-.25 E 5.829(.S)-.55 G .829(ee the \231)-5.829 F -F0 .828(Scripting Languages)B F1 3.328<9a73>C .828 -(ection and the speci\214c)-3.328 F(commands for more information.)97 -360 Q F0(Split scr)72 384 Q(eens)-.18 E F1(The)97 396 Q F0(Edit)2.951 E -F1(,)A F0(Ex)2.951 E F1(,)A F0(Next)2.951 E F1(,)A F0(Pr)2.951 E -.15 -(ev)-.18 G(ious).15 E F1(,)A F0 -.92(Ta)2.951 G(g).92 E F1(and)2.951 E -F0 -.37(Vi)2.951 G(sual).37 E F1(\(in)2.951 E F0(vi)2.951 E F1 .451 -(mode\) commands di)2.951 F .452(vide the screen into multi-)-.25 F .659 -(ple editing re)97 408 R .659 -(gions and then perform their normal function in a ne)-.15 F 3.158(ws) --.25 G .658(creen area.)-3.158 F(The)5.658 E F0(<contr)3.158 E(ol-W>) --.18 E F1 1.739(command rotates between the fore)97 420 R 1.739 -(ground screens.)-.15 F(The)6.739 E F0 -.18(re)4.239 G(size).18 E F1 -1.74(command can be used to gro)4.239 F 4.24(wo)-.25 G(r)-4.24 E -(shrink a particular screen.)97 432 Q F0 -.92(Ta)72 456 S 2.5(gs).92 G -(tacks)-2.5 E F1 -.8(Ta)97 468 S .254(gs are no).8 F 2.754(wm)-.25 G -.254(aintained in a stack.)-2.754 F(The)5.254 E F0(<contr)2.754 E(ol-T>) --.18 E F1 .254(command returns to the pre)2.754 F .254 -(vious tag location.)-.25 F(The)97 480 Q F0(tagpop)3.283 E F1 .784 -(command returns to the most recent tag location by def)3.283 F .784 -(ault, or)-.1 F 3.284(,o)-.4 G .784(ptionally to a speci\214c)-3.284 F -.592(tag number in the tag stack, or the most recent tag from a speci\214ed \214le.) -97 492 R(The)5.592 E F0(display)3.092 E F1 .592(command can)3.092 F -(be used to list the tags stack.)97 504 Q(The)5 E F0(tagtop)2.5 E F1 -(command returns to the top of the tag stack.)2.5 E F0(Usage inf)72 528 -Q(ormation)-.25 E F1(The)97 540 Q F0(exusage)2.568 E F1(and)2.568 E F0 -(viusage)2.568 E F1 .068(commands pro)2.568 F .068 -(vide usage information for all of the)-.15 F F0(ex)2.568 E F1(and)2.568 -E F0(vi)2.568 E F1 .069(commands by)2.569 F(def)97 552 Q(ault, or)-.1 E -2.5(,o)-.4 G(ptionally)-2.5 E 2.5(,f)-.65 G -(or a speci\214c command or k)-2.5 E -.15(ey)-.1 G(.)-.5 E F0 -.75(Wo)72 -576 S(rd sear).75 E(ch)-.18 E F1(The)97 588 Q F0(<contr)2.5 E(ol-A>)-.18 -E F1(command searches for the w)2.5 E(ord referenced by the cursor)-.1 E -(.)-.55 E F0 2.5(3. Startup)72 612 R(Inf)2.5 E(ormation)-.25 E(Ex)97 -628.2 Q F1(/)A F0(vi)A F1 1.104(interprets one of tw)3.604 F 3.604(op) --.1 G 1.104(ossible en)-3.604 F 1.104(vironmental v)-.4 F 1.104 -(ariables and reads up to three of \214v)-.25 F 3.604(ep)-.15 G(ossible) --3.604 E 1.073(\214les during startup.)72 640.2 R 1.073(The v)6.073 F -1.074(ariables and \214les are e)-.25 F 1.074(xpected to contain)-.15 F -F0(ex)3.574 E F1 1.074(commands, not)3.574 F F0(vi)3.574 E F1 3.574 -(commands. In)3.574 F .308(addition, the)72 652.2 R 2.808(ya)-.15 G .308 -(re interpreted)-2.808 F/F3 10/Times-Italic@0 SF(befor)2.808 E(e)-.37 E -F1 .307(the \214le to be edited is read, and therefore man)2.807 F(y) --.15 E F0(ex)2.807 E F1 .307(commands may not)2.807 F .103(be used.)72 -664.2 R(Generally)5.103 E 2.603(,a)-.65 G .403 -.15(ny c)-2.603 H .104(ommand that requires output to the screen or that needs a \214le upon which to oper) -.15 F(-)-.2 E -(ate, will cause an error if included in a startup \214le or en)72 676.2 -Q(vironmental v)-.4 E(ariable.)-.25 E 1.056(Because the)97 692.4 R F0 -(ex)3.556 E F1 1.056(command set supported by)3.556 F F0(nex)3.556 E F1 -(/)A F0 -.4(nv)C(i).4 E F1 1.055 -(is a superset of the command set supported by)3.556 F 1.305 -(historical implementations of)72 704.4 R F0(ex)3.805 E F1(,)A F0(nex) -3.805 E F1(/)A F0 -.4(nv)C(i).4 E F1 1.306 -(can use the startup \214les created for the historical implementa-) -3.806 F(tions, b)72 716.4 Q(ut the con)-.2 E -.15(ve)-.4 G -(rse may not be true.).15 E EP -%%Page: 5 4 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 308.33(ence USD:13-5)-.18 F -/F1 10/Times-Roman@0 SF .425(If the)97 96 R F0<ad73>2.925 E F1 .424(\(the historic \255 option\) is speci\214ed, or if standard input is redirected from a \214le, all en) -2.925 F(viron-)-.4 E(mental v)72 108 Q -(ariables and startup \214les are ignored.)-.25 E -(Otherwise, startup \214les and en)97 124.2 Q(vironmental v)-.4 E -(ariables are handled in the follo)-.25 E(wing order:)-.25 E 12.5 -(\(1\) The)77 140.4 R(\214le)2.659 E/F2 10/Courier@0 SF(/etc/vi.exrc) -2.659 E F1 .159(is read, as long as it is o)2.659 F .16 -(wned by root or the ef)-.25 F(fecti)-.25 E .46 -.15(ve u)-.25 H .16 -(ser ID of the user).15 F(.)-.55 E 12.5(\(2\) The)77 156.6 R(en)3.5 E 1 -(vironmental v)-.4 F(ariable)-.25 E F2(NEXINIT)3.5 E F1 .999(\(or the v) -3.5 F(ariable)-.25 E F2(EXINIT)3.499 E F1 3.499(,i)C(f)-3.499 E F2 -(NEXINIT)3.499 E F1 .999(is not set\) is inter)3.499 F(-)-.2 E(preted.) -103.66 168.6 Q 12.5(\(3\) If)77 184.8 R(neither)4.35 E F2(NEXINIT)4.35 E -F1(or)4.35 E F2(EXINIT)4.35 E F1 -.1(wa)4.35 G 4.35(ss).1 G 1.85 -(et, and the)-4.35 F F2(HOME)4.35 E F1(en)4.35 E 1.85(vironmental v)-.4 -F 1.85(ariable is set, the \214le)-.25 F F2($HOME/.nexrc)103.66 196.8 Q -F1 .531(\(or the \214le)3.031 F F2($HOME/.exrc)3.031 E F1 3.031(,i)C(f) --3.031 E F2($HOME/.nexrc)3.031 E F1 .531(does not e)3.031 F .53 -(xist\) is read, as long)-.15 F(as the ef)103.66 208.8 Q(fecti)-.25 E .3 --.15(ve u)-.25 H(ser ID of the user is root or is the same as the o).15 -E(wner of the \214le.)-.25 E .088 -(When the $HOME directory is being used for both)103.66 232.8 R F0(nex) -2.589 E F1(/)A F0 -.4(nv)C(i).4 E F1 .089 -(and an historic implementation of)2.589 F F0(ex)2.589 E F1(/)A F0(vi)A -F1(,)A 3.277(ap)103.66 244.8 S .777(ossible solution is to put)-3.277 F -F0(nex)3.276 E F1(/)A F0 -.4(nv)C(i).4 E F1 .776 -(speci\214c commands in the)3.276 F F2(.nexrc)3.276 E F1 .776 -(\214le, along with a)3.276 F F0(:sour)3.276 E(ce)-.18 E($HOME/.exr) -103.66 256.8 Q(c)-.18 E F1 -(command to read in the commands common to both implementations.)2.5 E -12.5(\(4\) If)77 273 R(the)4.728 E F0(exr)4.728 E(c)-.18 E F1 2.228 -(option w)4.728 F 2.228(as turned on by one of the pre)-.1 F 2.228 -(vious startup information sources, the \214le)-.25 F F2(.nexrc)103.66 -285 Q F1 .499(\(or the \214le)2.999 F F2(.exrc)2.999 E F1 2.999(,i)C(f) --2.999 E F2(.nexrc)2.999 E F1 .499(does not e)2.999 F .499 -(xist\) is read, as long as the ef)-.15 F(fecti)-.25 E .799 -.15(ve u) --.25 H .499(ser ID of).15 F(the user is the same as the o)103.66 297 Q -(wner of the \214le.)-.25 E -(No startup \214le is read if it is writable by an)97 313.2 Q -(yone other than its o)-.15 E(wner)-.25 E(.)-.55 E -(It is not an error for an)97 329.4 Q 2.5(yo)-.15 G 2.5(ft)-2.5 G -(he startup en)-2.5 E(vironmental v)-.4 E(ariables or \214les not to e) --.25 E(xist.)-.15 E 1.663(Once all en)97 345.6 R 1.663(vironmental v)-.4 -F 1.664(ariables are interpreted, and all startup \214les are read, the \214rst \214le to be) --.25 F 1.057(edited is read in \(or a temporary \214le is created\).)72 -357.6 R 1.057(Then, an)6.057 F 3.557(yc)-.15 G 1.057 -(ommands speci\214ed using the)-3.557 F F0<ad63>3.557 E F1 1.057 -(option are)3.557 F -.15(exe)72 369.6 S(cuted, in the conte).15 E -(xt of that \214le.)-.15 E F0 2.5(4. Reco)72 393.6 R -.1(ve)-.1 G(ry).1 -E F1 1.046(There is no reco)97 409.8 R -.15(ve)-.15 G 1.046 -(ry program for).15 F F0(nex)3.547 E F1(/)A F0 -.4(nv)C(i).4 E F1 3.547 -(,n)C 1.047(or does)-3.547 F F0(nex)3.547 E F1(/)A F0 -.4(nv)C(i).4 E F1 -1.047(run setuid.)3.547 F(Reco)6.047 E -.15(ve)-.15 G 1.047 -(ry \214les are created).15 F .001(readable and writable by the o)72 -421.8 R .001(wner only)-.25 F 5.001(.U)-.65 G .001(sers may reco)-5.001 -F -.15(ve)-.15 G 2.501(ra).15 G .3 -.15(ny \214)-2.501 H(le which the) -.15 E 2.5(yc)-.15 G(an read, and the superuser)-2.5 E(may reco)72 433.8 -Q -.15(ve)-.15 G 2.5(ra).15 G .3 -.15(ny e)-2.5 H(dit session.).15 E -2.989(Edit sessions are back)97 450 R 2.989 -(ed by \214les in the directory named by the)-.1 F F0 -.18(re)5.49 G -(cdir).18 E F1 2.99(option \(the directory)5.49 F F2 -(/var/tmp/vi.recover)72 462 Q F1 .948(by def)3.448 F .947 -(ault\), and are named \231)-.1 F F0(vi.XXXXXX)A F1 .947 -(\232, where \231)B F0(XXXXXX)A F1 3.447<9a69>C 3.447(san)-3.447 G -(umber)-3.447 E .301(related to the process ID.)72 474 R .302 -(When a \214le is \214rst modi\214ed, a second reco)5.301 F -.15(ve)-.15 -G .302(ry \214le containing an email message).15 F .989 -(for the user is created, and is named \231)72 486 R F0 -.18(re)C(co).18 -E -.1(ve)-.1 G -1(r.).1 G(XXXXXX)1 E F1 .988(\232, where, ag)B .988 -(ain, \231)-.05 F F0(XXXXXX)A F1 3.488<9a69>C 3.488(sa)-3.488 G .988 -(ssociated with)-3.488 F .598(the process ID.)72 498 R .598 -(Both \214les are remo)5.598 F -.15(ve)-.15 G 3.098(da).15 G 3.098(tt) --3.098 G .598(he end of a normal edit session, b)-3.098 F .598 -(ut will remain if the edit ses-)-.2 F -(sion is abnormally terminated or the user runs the)72 510 Q F0(ex pr) -2.5 E(eser)-.18 E -.1(ve)-.1 G F1(command.)2.6 E(The)97 526.2 Q F0 -.18 -(re)2.632 G(cdir).18 E F1 .132(option may be set in either the user') -2.632 F 2.632(so)-.55 G 2.632(rs)-2.632 G(ystem')-2.632 E 2.632(ss)-.55 -G .132(tartup information, changing the reco)-2.632 F(v-)-.15 E .2 -(ery directory)72 538.2 R 5.2(.\()-.65 G .2(Note, ho)-5.2 F(we)-.25 E --.15(ve)-.25 G 1 -.4(r, t).15 H .201 -(hat if a memory based \214le system is used as the backup directory).4 -F 2.701(,e)-.65 G .201(ach sys-)-2.701 F .018 -(tem reboot will delete all of the reco)72 550.2 R -.15(ve)-.15 G .018 -(ry \214les!).15 F .018(The same caution applies to directories such as) -5.018 F F2(/tmp)2.517 E F1(which)2.517 E .211 -(are cleared of their contents by a system reboot, or)72 562.2 R F2 -(/usr/tmp)2.711 E F1 .211 -(which is periodically cleared of old \214les on)2.711 F(man)72 574.2 Q -2.5(ys)-.15 G(ystems.\))-2.5 E .008(The reco)97 590.4 R -.15(ve)-.15 G -.008(ry directory should be o).15 F .008 -(wned by root, or at least by a pseudo-user)-.25 F 5.007(.I)-.55 G 2.507 -(na)-5.007 G .007(ddition, if directory)-2.507 F(\231stick)72 602.4 Q -1.013(y-bit\232 semantics are a)-.15 F -.25(va)-.2 G 1.013 -(ilable, the directory should ha).25 F 1.313 -.15(ve t)-.2 H 1.013 -(he stick).15 F 1.013(y-bit set so that \214les may only be)-.15 F(remo) -72 614.4 Q -.15(ve)-.15 G 2.529(db).15 G 2.529(yt)-2.529 G .029(heir o) --2.529 F 2.529(wners. The)-.25 F(reco)2.528 E -.15(ve)-.15 G .028 -(ry directory must be read, write, and e).15 F -.15(xe)-.15 G .028 -(cutable by an).15 F 2.528(yu)-.15 G(ser)-2.528 E 2.528(,i)-.4 G .028 -(.e. mode)-2.528 F(1777.)72 626.4 Q .203(If the reco)97 642.6 R -.15(ve) --.15 G .203(ry directory does not e).15 F(xist,)-.15 E F0(ex)2.703 E F1 -(/)A F0(vi)A F1 .203(will attempt to create it.)2.703 F .204 -(This can result in the reco)5.204 F -.15(ve)-.15 G(ry).15 E 1.172 -(directory being o)72 654.6 R 1.171(wned by a normal user)-.25 F 3.671 -(,w)-.4 G 1.171(hich means that that user will be able to remo)-3.671 F -1.471 -.15(ve o)-.15 H 1.171(ther user').15 F(s)-.55 E(reco)72 666.6 Q --.15(ve)-.15 G .38(ry and backup \214les.).15 F .38(This is anno)5.38 F -.38(ying, b)-.1 F .38 -(ut is not a security issue as the user cannot otherwise access)-.2 F -(or modify the \214les.)72 678.6 Q .537(The reco)97 694.8 R -.15(ve)-.15 -G .536(ry \214le has all of the necessary information in it to enable the user to reco) -.15 F -.15(ve)-.15 G 3.036(rt).15 G .536(he edit ses-)-3.036 F 3.128 -(sion. In)72 706.8 R .628 -(addition, it has all of the necessary email headers for)3.128 F/F3 10 -/Times-Italic@0 SF(sendmail)3.128 E F1 3.128(\(8\). When)B .629 -(the system is rebooted,)3.129 F .682(all of the \214les in)72 718.8 R -F2(/var/tmp/vi.recover)3.182 E F1 .682(named \231)3.182 F F0 -.18(re)C -(co).18 E -.1(ve)-.1 G -1(r.).1 G(XXXXXX)1 E F1 3.181<9a73>C .681 -(hould be sent to their o)-3.181 F(wners,)-.25 E EP -%%Page: 6 5 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 308.33(USD:13-6 Nvi/Nex)72 60 R(Refer)2.5 E(ence) --.18 E/F1 10/Times-Roman@0 SF 1.007(by email, using the)72 96 R F0<ad74> -3.507 E F1 1.008(option of)3.508 F F0(sendmail)3.508 E F1 1.008 -(\(or a similar mechanism in other mailers\).)3.508 F(If)6.008 E F0(ex) -3.508 E F1(/)A F0(vi)A F1(recei)3.508 E -.15(ve)-.25 G 3.508(sa).15 G -.017(hangup \(SIGHUP\) signal, or the user e)72 108 R -.15(xe)-.15 G -.017(cutes the).15 F F0 .017(ex pr)2.517 F(eser)-.18 E -.1(ve)-.1 G F1 -(command,)2.617 E F0(ex)2.516 E F1(/)A F0(vi)A F1 .016 -(will automatically email the)2.516 F(reco)72 120 Q -.15(ve)-.15 G -(ry information to the user).15 E(.)-.55 E .538 -(If your system does not ha)97 136.2 R .838 -.15(ve t)-.2 H(he).15 E F0 -(sendmail)3.038 E F1 .538 -(utility \(or a mailer program which supports its interf)3.038 F(ace\)) --.1 E .723(the source \214le)72 148.2 R/F2 10/Courier@0 SF -(nvi/common/recover.c)3.223 E F1 .723(will ha)3.223 F 1.023 -.15(ve t) --.2 H 3.223(ob).15 G 3.223(em)-3.223 G .722 -(odi\214ed to use your local mail deli)-3.223 F -.15(ve)-.25 G .722 -(ry pro-).15 F 2.794(grams. Note,)72 160.2 R(if)2.794 E F0(nex)2.794 E -F1(/)A F0 -.4(nv)C(i).4 E F1 .295(is changed to use another mailer)2.794 -F 2.795(,i)-.4 G 2.795(ti)-2.795 G 2.795(si)-2.795 G .295 -(mportant to remember that the o)-2.795 F .295(wner of the)-.25 F .024 -(\214le gi)72 172.2 R -.15(ve)-.25 G 2.524(nt).15 G 2.524(ot)-2.524 G -.023(he mailer is the)-2.524 F F0(nex)2.523 E F1(/)A F0 -.4(nv)C(i).4 E -F1(user)2.523 E 2.523(,s)-.4 G 2.523(on)-2.523 G .023 -(othing in the \214le should be trusted as it may ha)-2.523 F .323 -.15 -(ve b)-.2 H .023(een modi-).15 F(\214ed in an ef)72 184.2 Q -(fort to compromise the system.)-.25 E(Finally)97 200.4 Q 3.162(,t)-.65 -G .662(he o)-3.162 F .662(wner e)-.25 F -.15(xe)-.15 G .662 -(cute bit is set on backup \214les when the).15 F 3.162(ya)-.15 G .663 -(re created, and unset when the)-3.162 F 3.163(ya)-.15 G(re)-3.163 E -.586(\214rst modi\214ed, e.g. backup \214les that ha)72 212.4 R .886 --.15(ve n)-.2 H 3.086(oa).15 G .586(ssociated email reco)-3.086 F -.15 -(ve)-.15 G .586(ry \214le will ha).15 F .886 -.15(ve t)-.2 H .586 -(his bit set.).15 F .586(\(There is)5.586 F 1.382(also a small windo)72 -224.4 R 3.883(ww)-.25 G 1.383 -(here empty \214les can be created and not yet ha)-3.883 F 1.683 -.15 -(ve t)-.2 H 1.383(his bit set.).15 F 1.383(This is due to the)6.383 F -(method in which the \214les are created.\))72 236.4 Q -(Such \214les should be deleted when the system reboots.)5 E 6.329(As)97 -252.6 S 3.829(imple w)-6.329 F 3.828 -(ay to do this cleanup is to insert the follo)-.1 F 3.828 -(wing Bourne shell script into your)-.25 F F2(/etc/rc.local)72 264.6 Q -F1 .46(\(or other startup\) \214le.)2.96 F .461(The script should w)5.46 -F .461(ork with the historic Bourne shell, a POSIX)-.1 F .403 -(1003.2 shell or the K)72 276.6 R .403(orn shell.)-.35 F .403(\(A cop) -5.403 F 2.903(yo)-.1 G 2.903(ft)-2.903 G .403(his script is included as) --2.903 F F2(nvi/install/recover.script)2.902 E F1(in the)72 288.6 Q F0 -(nex)2.5 E F1(/)A F0 -.4(nv)C(i).4 E F1(distrib)2.5 E(ution.\))-.2 E EP -%%Page: 7 6 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 308.33(ence USD:13-7)-.18 F -/F1 10/Courier@0 SF 30(#@)112 96 S 30(\(#\)recover.script 8.7)-30 F -(\(Berkeley\) 8/16/94)6 E(#)112 108 Q 6(#S)112 120 S -(cript to recover nvi edit sessions.)-6 E(#)112 132 Q -(RECDIR=/var/tmp/vi.recover)112 144 Q(SENDMAIL=/usr/lib/sendmail)112 156 -Q(echo 'Recovering nvi editor sessions.')112 168 Q 6(#C)112 192 S -(heck editor backup files.)-6 E(vibackup=`echo $RECDIR/vi.*`)112 204 Q -(if [ "$vibackup" != "$RECDIR/vi.*" ]; then)112 216 Q -(for i in $vibackup; do)148 228 Q 6(#O)184 240 S -(nly test files that are readable.)-6 E(if test ! -r $i; then)184 252 Q -(continue)220 264 Q(fi)184 276 Q 6(#U)184 300 S -(nmodified nvi editor backup files either have the)-6 E 6(#e)184 312 S -(xecute bit set or are zero length.)-6 E(Delete them.)12 E -(if test -x $i -o ! -s $i; then)184 324 Q(rm $i)220 336 Q(fi)184 348 Q -(done)148 360 Q(fi)112 372 Q 6(#I)112 396 S 6(ti)-6 G 6(sp)-6 G -(ossible to get incomplete recovery files, if the editor crashes)-6 E 6 -(#a)112 408 S 6(tt)-6 G(he right time.)-6 E -(virecovery=`echo $RECDIR/recover.*`)112 420 Q -(if [ "$virecovery" != "$RECDIR/recover.*" ]; then)112 432 Q -(for i in $virecovery; do)148 444 Q 6(#O)184 456 S -(nly test files that are readable.)-6 E(if test ! -r $i; then)184 468 Q -(continue)220 480 Q(fi)184 492 Q 6(#D)184 516 S -(elete any recovery files that are zero length, corrupted,)-6 E 6(#o)184 -528 S 6(rt)-6 G(hat have no corresponding backup file.)-6 E -(Else send mail)12 E 6(#t)184 540 S 6(ot)-6 G(he user.)-6 E -(recfile=`awk '/^X-vi-recover-path:/{print $2}' < $i`)184 552 Q -(if test -n "$recfile" -a -s "$recfile"; then)184 564 Q -($SENDMAIL -t < $i)220 576 Q(else)184 588 Q(rm $i)220 600 Q(fi)184 612 Q -(done)148 624 Q(fi)112 636 Q/F2 10/Times-Roman@0 SF 1.281 -(If you are not using the def)97 668.4 R 1.282(ault v)-.1 F 1.282 -(alue for the)-.25 F F0 -.18(re)3.782 G(cdir).18 E F2 1.282 -(option, be sure to substitute the v)3.782 F 1.282(alue you')-.25 F(re) --.5 E(using for the)72 680.4 Q F1(RECDIR)2.5 E F2 -.25(va)2.5 G -(lue in the reco).25 E -.15(ve)-.15 G(ry script.).15 E 4.219 -(If the path of your system')97 696.6 R(s)-.55 E F0(sendmail)6.719 E F2 -4.219(program \(or whate)6.719 F -.15(ve)-.25 G 6.718(rm).15 G 4.218 -(ailer you')-6.718 F 4.218(re using\) is not)-.5 F F1(/usr/lib/sendmail) -72 708.6 Q F2 2.695(,b)C 2.695(es)-2.695 G .196 -(ure to substitute the correct pathname for the)-2.695 F F1(SENDMAIL) -2.696 E F2 -.25(va)2.696 G .196(lue in the reco).25 F(v-)-.15 E -(ery script.)72 720.6 Q(Consult the manual page for details on reco)5 E --.15(ve)-.15 G(ring preserv).15 E(ed or aborted editing sessions.)-.15 E -EP -%%Page: 8 7 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 308.33(USD:13-8 Nvi/Nex)72 60 R(Refer)2.5 E(ence) --.18 E 2.5(5. Sizing)72 96 R(the Scr)2.5 E(een)-.18 E/F1 10 -/Times-Roman@0 SF .745 -(The size of the screen can be set in a number of w)97 112.2 R(ays.)-.1 -E F0(Ex)5.745 E F1(/)A F0(vi)A F1(tak)3.245 E .744(es the follo)-.1 F -.744(wing steps until v)-.25 F(alues)-.25 E -(are obtained for both the number of ro)72 124.2 Q -(ws and number of columns in the screen.)-.25 E 12.5(\(1\) If)77 140.4 R -(the en)2.5 E(vironmental v)-.4 E(ariable)-.25 E/F2 10/Courier@0 SF -(LINES)2.5 E F1 -.15(ex)2.5 G -(ists, it is used to specify the number of ro).15 E(ws in the screen.) --.25 E 12.5(\(2\) If)77 156.6 R .799(the en)3.299 F .799(vironmental v) --.4 F(ariable)-.25 E F2(COLUMNS)3.299 E F1 -.15(ex)3.299 G .8 -(ists, it is used to specify the number of columns in the).15 F(screen.) -103.66 168.6 Q 12.5(\(3\) The)77 184.8 R(TIOCGWINSZ)2.5 E/F3 10 -/Times-Italic@0 SF(ioctl)2.5 E F1 -(\(2\) is attempted on the standard error \214le descriptor)A(.)-.55 E -12.5(\(4\) The)77 201 R .848 -(termcap entry \(or terminfo entry on System V machines\) is check)3.348 -F .847(ed for the \231li\232 entry \(ro)-.1 F(ws\))-.25 E -(and the \231co\232 entry \(columns\).)103.66 213 Q 12.5(\(5\) The)77 -229.2 R(number of ro)2.5 E -(ws is set to 24, and the number of columns is set to 80.)-.25 E .314 -(If a windo)97 245.4 R 2.814(wc)-.25 G .314 -(hange size signal \(SIGWINCH\) is recei)-2.814 F -.15(ve)-.25 G .314 -(d, the ne).15 F 2.815(ww)-.25 G(indo)-2.815 E 2.815(ws)-.25 G .315 -(ize is retrie)-2.815 F -.15(ve)-.25 G 2.815(du).15 G .315(sing the) --2.815 F(TIOCGWINSZ)72 257.4 Q F3(ioctl)2.5 E F1 -(\(2\) call, and all other information is ignored.)A F0 2.5 -(6. Character)72 281.4 R(Display)2.5 E F1 .444(In both)97 297.6 R F0(ex) -2.944 E F1(and)2.943 E F0(vi)2.943 E F1 .443 -(printable characters as de\214ned by)2.943 F F3(isprint)2.943 E F1 .443 -(\(3\) are displayed using the local character)B(set.)72 309.6 Q .066 -(Non-printable characters, for which)97 325.8 R F3(iscntrl)2.566 E F1 -.066(\(3\) returns true, and which are less than octal \\040, are dis-)B -.233(played as the string \231)72 337.8 R F2(^<character>)A F1 .232 -(\232, where)B F2(<character>)2.732 E F1 .232 -(is the character that is the original charac-)2.732 F(ter')72 349.8 Q -2.603(sv)-.55 G .103(alue of)-2.853 F .103(fset from the \231)-.25 F F2 -(@)A F1 2.603<9a63>C(haracter)-2.603 E 5.103(.F)-.55 G .103(or e)-5.253 -F .103(xample, the octal character \\001 is displayed as \231)-.15 F F2 -(^A)A F1 2.604(\232. If)B F3(isc-)2.604 E(ntrl)72 361.8 Q F1 .638(\(3\) returns true for the octal character \\177, it is displayed as the string \231) -B F2(^?)A F1 3.138(\232. All)B .638(other characters are)3.138 F 1.65 -(displayed as either he)72 373.8 R 1.65(xadecimal v)-.15 F 1.65 -(alues, in the form \231)-.25 F F2 1.65 -(0x<high-halfbyte> ... 0x<low-half-)B(byte>)72 385.8 Q F1 2.728 -(\232, or as octal v)B 2.728(alues, in the form \231)-.25 F F2 2.728 -(\\<high-one-or-two-bits> ... \\<low-three-)B(bits>)72 397.8 Q F1 2.5 -(\232. The)B(display of unkno)2.5 E(wn characters is based on the v)-.25 -E(alue of the)-.25 E F0(octal)2.5 E F1(option.)2.5 E(In)97 414 Q F0(vi) -2.802 E F1 .302(command mode, the cursor is al)2.802 F -.1(wa)-.1 G .303 -(ys positioned on the last column of characters which tak).1 F 2.803(eu) --.1 G(p)-2.803 E .457(more than one column on the screen.)72 426 R(In) -5.457 E F0(vi)2.957 E F1(te)2.957 E .456 -(xt input mode, the cursor is positioned on the \214rst column of)-.15 F -(characters which tak)72 438 Q 2.5(eu)-.1 G 2.5(pm)-2.5 G -(ore than one column on the screen.)-2.5 E F0 2.5(7. Multiple)72 462 R -(Scr)2.5 E(eens)-.18 E(Nvi)97 478.2 Q F1 .16 -(supports multiple screens by di)2.66 F .16(viding the windo)-.25 F 2.66 -(wi)-.25 G .16(nto re)-2.66 F 2.66(gions. It)-.15 F .16 -(also supports stacks of screens)2.66 F(by permitting the user to change the set of screens that are currently displayed.) -72 490.2 Q(The)97 506.4 Q F0(Edit)2.71 E F1(,)A F0(Ex)2.71 E F1(,)A F0 -(Next)2.71 E F1(,)A F0(Pr)2.71 E -.15(ev)-.18 G(ious).15 E F1(,)A F0 --.92(Ta)2.71 G(g).92 E F1(and)2.71 E F0 -.37(Vi)2.709 G(sual).37 E F1 -(\(in)2.709 E F0(vi)2.709 E F1 .209(mode\) commands di)2.709 F .209 -(vide the current screen into)-.25 F(tw)72 518.4 Q 3.447(or)-.1 G -.15 -(eg)-3.447 G .947(ions of approximately equal size and then perform their usual action in a ne) -.15 F 3.448(ws)-.25 G .948(creen area.)-3.448 F .948(If the)5.948 F .712 -(cursor is in the lo)72 530.4 R .712 -(wer half of the screen, the screen will split up, i.e. the ne)-.25 F -3.212(ws)-.25 G .711(creen will be abo)-3.212 F 1.011 -.15(ve t)-.15 H -.711(he old).15 F 2.5(one. If)72 542.4 R -(the cursor is in the upper half of the screen, the ne)2.5 E 2.5(ws)-.25 -G(creen will be belo)-2.5 E 2.5(wt)-.25 G(he old one.)-2.5 E .665 -(When more than one screen is editing a \214le, changes in an)97 558.6 R -3.166(ys)-.15 G .666(creen are re\215ected in all other screens)-3.166 F -.055(editing the same \214le.)72 570.6 R .055 -(Exiting a screen without sa)5.055 F .055(ving an)-.2 F 2.555(yc)-.15 G -.055(hanges \(or e)-2.555 F .055(xplicitly discarding them\) is permit-) --.15 F(ted until the last screen editing the \214le is e)72 582.6 Q -(xited, at which time the changes must be sa)-.15 E -.15(ve)-.2 G 2.5 -(do).15 G 2.5(rd)-2.5 G(iscarded.)-2.5 E(The)97 598.8 Q F0 -.18(re)2.868 -G(size).18 E F1 .368(command permits resizing of indi)2.868 F .369 -(vidual screens.)-.25 F .369(Screens may be gro)5.369 F .369 -(wn, shrunk or set to)-.25 F(an absolute number of ro)72 610.8 Q(ws.) --.25 E(The)97 627 Q F0(^W)2.655 E F1 .155 -(command is used to switch between screens.)2.655 F(Each)5.154 E F0(^W) -2.654 E F1(mo)2.654 E -.15(ve)-.15 G 2.654(st).15 G 2.654(ot)-2.654 G -.154(he ne)-2.654 F .154(xt lo)-.15 F .154(wer screen in the)-.25 F -(windo)72 639 Q 1.3 -.65(w, o)-.25 H 2.5(rt).65 G 2.5(ot)-2.5 G -(he \214rst screen in the windo)-2.5 E 2.5(wi)-.25 G 2.5(ft)-2.5 G -(here are no lo)-2.5 E(wer screens.)-.25 E(The)97 655.2 Q F0(bg)3.628 E -F1 1.128(command \231backgrounds\232 the current screen.)3.628 F 1.129 -(The screen disappears from the windo)6.128 F 2.429 -.65(w, a)-.25 H(nd) -.65 E 1.066(the ro)72 667.2 R 1.066(ws it occupied are tak)-.25 F 1.065 -(en o)-.1 F -.15(ve)-.15 G 3.565(rb).15 G 3.565(yan)-3.565 G 1.065 -(eighboring screen.)-3.565 F 1.065 -(It is an error to attempt to background the)6.065 F -(only screen in the windo)72 679.2 Q -.65(w.)-.25 G(The)97 695.4 Q F0 -1.865(display scr)4.365 F(eens)-.18 E F1 1.866(command displays the names of the \214les associated with the current back-) -4.365 F(grounded screens in the windo)72 707.4 Q -.65(w.)-.25 G EP -%%Page: 9 8 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 308.33(ence USD:13-9)-.18 F -/F1 10/Times-Roman@0 SF(The)97 96 Q F0 .314(fg [\214le])2.814 F F1 .313 -(command \231fore)2.813 F .313(grounds\232 the \214rst screen in the list of backgrounded screens that is asso-) --.15 F .382(ciated with its ar)72 108 R 2.882(gument. If)-.18 F .382 -(no \214le ar)2.882 F .382 -(gument is speci\214ed, the \214rst screen on the list is fore)-.18 F -2.883(grounded. F)-.15 F(ore-)-.15 E 1.303(grounding consists of backgrounding the current screen, and replacing its space in the windo) -72 120 R 3.802(ww)-.25 G 1.302(ith the)-3.802 F(fore)72 132 Q -(grounded screen.)-.15 E .416(If the last screen in the windo)97 148.2 R -2.917(wi)-.25 G 2.917(se)-2.917 G .417 -(xited, and there are backgrounded screens, the \214rst screen on the) --3.067 F(list of backgrounded screens tak)72 160.2 Q(es o)-.1 E -.15(ve) --.15 G 2.5(rt).15 G(he windo)-2.5 E -.65(w.)-.25 G F0 2.5(8. T)72 184.2 -R(ags, T)-.92 E(ag Stacks, and Cscope)-.92 E(Nvi)97 200.4 Q F1 .537 -(supports the historic)3.037 F F0(vi)3.037 E F1 .537(tag command)3.037 F -F0(<contr)3.037 E(ol-]>)-.18 E F1 3.037(,a)C .537(nd the historic)-3.037 -F F0(ex)3.036 E F1 .536(tag command)3.036 F F0(tag)3.036 E F1 5.536(.T)C -(hese)-5.536 E .317(commands change the current \214le conte)72 212.4 R -.318(xt to a ne)-.15 F 2.818(wl)-.25 G .318 -(ocation, based on information found in the)-2.818 F/F2 10/Courier@0 SF -(tags)2.818 E F1(\214les.)2.818 E .222(If you are unf)72 224.4 R .222 -(amiliar with these commands, you should re)-.1 F(vie)-.25 E 2.722(wt) --.25 G .222(heir description in the)-2.722 F F0(ex)2.721 E F1(and)2.721 -E F0(vi)2.721 E F1(commands)2.721 E .748(section of this manual.)72 -236.4 R -.15(Fo)5.748 G 3.248(ra).15 G .748 -(dditional information on tags \214les, see the discussion of the)-3.248 -F F0(tags)3.249 E F1 .749(edit option)3.249 F(and the system)72 248.4 Q -/F3 10/Times-Italic@0 SF(cta)2.5 E(gs)-.1 E F1(\(1\) manual page.)A .989 -(In addition,)97 264.6 R F0 -.4(nv)3.489 G(i).4 E F1 .989 -(supports the notion of \231tags stacks\232, using the)3.489 F F0 -(<contr)3.488 E(ol-T>)-.18 E F1 3.488(command. The)3.488 F F0(<con-) -3.488 E(tr)72 276.6 Q(ol-T>)-.18 E F1 .55 -(command returns the user to the pre)3.05 F .55(vious conte)-.25 F .55 -(xt, i.e., the last place from which a)-.15 F F0(<contr)3.05 E(ol-]>) --.18 E F1(or)3.05 E F0(tag)72 288.6 Q F1 .264(command w)2.764 F .264 -(as entered.)-.1 F .264(These three commands pro)5.264 F .264 -(vide the basic functionality which allo)-.15 F .264(ws you to use)-.25 -F F0(vi)72 300.6 Q F1(to re)2.5 E(vie)-.25 E 2.5(ws)-.25 G -(ource code in a structured manner)-2.5 E(.)-.55 E F0(Nvi)97 316.8 Q F1 -1.17(also pro)3.67 F 1.17(vides tw)-.15 F 3.67(oo)-.1 G 1.17(ther basic) --3.67 F F0(ex)3.671 E F1 1.171(commands for tag support:)3.671 F F0 -(tagpop)3.671 E F1(and)3.671 E F0(tagtop)3.671 E F1 6.171(.T)C(he)-6.171 -E F0(tagpop)3.671 E F1 .395(command is identical to the)72 328.8 R F0 -(<contr)2.895 E(ol-T>)-.18 E F1 .395 -(command, with the additional functionality that you may specify)2.895 F -.392(that modi\214cations to the current \214le are to be discarded.)72 -340.8 R .393(This cannot be done using the)5.392 F F0(<contr)2.893 E -(ol-T>)-.18 E F1(com-)2.893 E 2.553(mand. The)72 352.8 R F0(tagtop)2.553 -E F1 .053(command discards all of the conte)2.553 F .053(xts that ha) --.15 F .353 -.15(ve b)-.2 H .053 -(een pushed onto the tag stack, returning).15 F(to the conte)72 364.8 Q -(xt from which the \214rst)-.15 E F0(<contr)2.5 E(ol-]>)-.18 E F1(or)2.5 -E F0(tag)2.5 E F1(command w)2.5 E(as entered.)-.1 E .957(The historic)97 -381 R F3(cta)3.457 E(gs)-.1 E F1 .957(\(1\) tags \214le format supports only a single location per tag, normally the function) -B 1.131(declaration or structure or string de\214nition.)72 393 R 1.131 -(More sophisticated source code tools often pro)6.131 F 1.13 -(vide multiple)-.15 F .402(locations per tag, e.g., a list of the places from which a function is called or a string de\214nition is used.) -72 405 R(An)5.402 E -.15(ex)72 417 S -(ample of this functionality is the System V source code tool,).15 E F0 -(cscope)2.5 E F1(.)A F0(Cscope)72 441 Q F1 .103(creates a database of information on source code \214les, and supports a query language for that infor) -2.603 F(-)-.2 E .38(mation as described in the)72 453 R F3(cscope)2.88 E -F1 .38(\(1\) manual page.)B F0(Nvi)5.381 E F1 .381(contains an interf) -2.881 F .381(ace to the)-.1 F F0(cscope)2.881 E F1 .381(query language) -2.881 F 1.378(which permits you to query)72 465 R F0(cscope)3.878 E F1 -1.377(and then sequentially step through the locations in the sources \214les) -3.878 F(which)72 477 Q F0(cscope)3.835 E F1 3.835(returns. There)3.835 F -1.335(are tw)3.835 F(o)-.1 E F0 -.4(nv)3.835 G(i).4 E F1 1.336 -(commands which support this ability to step through multiple)3.835 F -2.515(locations. The)72 489 R 2.515(ya)-.15 G .015(re the)-2.515 F F0 -(ex)2.515 E F1(commands)2.515 E F0(tagnext)2.515 E F1(and)2.514 E F0 -(tagpr)2.514 E -.15(ev)-.18 G F1 5.014(.T).15 G(he)-5.014 E F0(tagnext) -2.514 E F1 .014(command mo)2.514 F -.15(ve)-.15 G 2.514(st).15 G 2.514 -(ot)-2.514 G .014(he ne)-2.514 F .014(xt loca-)-.15 F .164 -(tion for the current tag.)72 501 R(The)5.164 E F0(tagpr)2.664 E -.15 -(ev)-.18 G F1 .164(command mo)2.814 F -.15(ve)-.15 G 2.664(st).15 G -2.664(ot)-2.664 G .165(he pre)-2.664 F .165 -(vious location for the current tag.)-.25 F .165(\(See the)5.165 F F0 -(tagnext)72 513 Q F1(and)3.456 E F0(tagpr)3.456 E -.15(ev)-.18 G F1 .956 -(command discussion in the)3.606 F F0(ex)3.455 E F1 .955 -(commands section of this manual for more informa-)3.455 F 3.167 -(tion.\) At)72 525 R(an)3.167 E 3.167(yt)-.15 G .667 -(ime during this sequential w)-3.167 F .668(alk, you may use the)-.1 F -F0(<contr)3.168 E(ol-]>)-.18 E F1(,)A F0(tag)3.168 E F1(or)3.168 E F0 -(cscope)3.168 E F1 .668(commands to)3.168 F(mo)72 537 Q .432 -.15(ve t) --.15 H 2.632(oan).15 G .632 -.25(ew t)-2.632 H .132(ag conte).25 F .132 -(xt, and then use the)-.15 F F0(<contr)2.632 E(ol-T>)-.18 E F1(or)2.632 -E F0(tagpop)2.632 E F1 .131(commands to return and continue step-)2.631 -F .624(ping through the locations for this tag.)72 549 R .625 -(This is similar to the pre)5.625 F .625 -(vious model of a simple tag stack, e)-.25 F(xcept)-.15 E -(that each entry in the tag stack may ha)72 561 Q .3 -.15(ve m)-.2 H -(ore than one \214le conte).15 E(xt that is of interest.)-.15 E .555 -(Although there is no widely distrib)97 577.2 R .555(uted v)-.2 F .555 -(ersion of)-.15 F F3(cta)3.055 E(gs)-.1 E F1 .554 -(\(1\) that creates tags \214les with multiple loca-)B .568 -(tions per tag,)72 589.2 R F0 -.4(nv)3.068 G(i).4 E F1 .568 -(has been written to understand the ob)3.068 F .568(vious e)-.15 F .569 -(xtension to the historic tags \214le format, i.e.,)-.15 F 1.044(more than a single line in the tags \214le with the same initial tag name.) -72 601.2 R 1.043(If you wish to e)6.043 F 1.043(xtend your)-.15 F F0 -(ctags)3.543 E F1 1.657(implementation or other tool with which you b)72 -613.2 R 1.657(uild tags \214les, this e)-.2 F 1.657 -(xtension should be simple and will)-.15 F(require no changes to)72 -625.2 Q F0 -.4(nv)2.5 G(i).4 E F1(.)A(The)97 641.4 Q F0 -.4(nv)2.599 G -(i).4 E F1(and)2.599 E F0(cscope)2.599 E F1(interf)2.599 E .099 -(ace is based on the ne)-.1 F(w)-.25 E F0(ex)2.599 E F1(command)2.599 E -F0(cscope)2.599 E F1 2.598(,w)C .098(hich has \214v)-2.598 F 2.598(es) --.15 G(ubcommands:)-2.598 E F0(add)72 653.4 Q F1(,)A F0(\214nd)2.669 E -F1(,)A F0(help)2.669 E F1(,)A F0(kill)2.669 E F1(and)2.669 E F0 -.18(re) -2.669 G(set).18 E F1 5.169(.T)C .169(he subcommand)-5.169 F F0(\214nd) -2.669 E F1 .17(itself has eight subcommands:)2.669 F F0(c)2.67 E F1(,)A -F0(d)2.67 E F1(,)A F0(e)2.67 E F1(,)A F0(f)2.67 E F1(,)A F0(g)2.67 E F1 -(,)A F0(i)2.67 E F1(,)A F0(s)2.67 E F1(and)2.67 E F0(t)2.67 E F1(.)A F0 -(cs[cope] a[dd] dir)72 669.6 Q(ectory)-.18 E F1(The)97 681.6 Q F0(add) -3.034 E F1 .534(command attaches to the)3.034 F F0(cscope)3.033 E F1 -.533(database in the speci\214ed directory)3.033 F 5.533(.T)-.65 G .533 -(he directory name is)-5.533 F -.15(ex)97 693.6 S 1.069 -(panded using the standard \214lename e).15 F 3.569(xpansions. After) --.15 F F0 -.4(nv)3.569 G(i).4 E F1 1.069(attaches to a ne)3.569 F 3.57 -(wd)-.25 G 1.07(atabase, all subse-)-3.57 F(quent)97 705.6 Q F0(cscope) -3.078 E F1 .578(queries will be ask)3.078 F .578(ed of that database.) --.1 F .578(The result of an)5.578 F 3.077(ys)-.15 G .577 -(ingle query is the collection)-3.077 F -(of responses from all of the databases to the query)97 717.6 Q(.)-.65 E -EP -%%Page: 10 9 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 303.33(USD:13-10 Nvi/Nex)72 60 R(Refer)2.5 E -(ence)-.18 E/F1 10/Times-Roman@0 SF 2.511(If the \231CSCOPE_DIRS\232 en) -97 96 R 2.511(vironmental v)-.4 F 2.511(ariable is set when)-.25 F F0 --.4(nv)5.011 G(i).4 E F1 2.511(is run, it is e)5.011 F 2.512 -(xpected to be a)-.15 F -(<blank>-separated list of directories containing)97 108 Q F0(cscope)2.5 -E F1(databases to which the user wishes to attach.)2.5 E F0 -(:cs[cope] f[ind] c|d|e|f|g|i|s|t b)72 132 Q(uffer|patter)-.2 E(n)-.15 E -F1(The)97 144 Q F0(\214nd)2.6 E F1 .1(command is the)2.6 F F0(cscope)2.6 -E F1 .099(query command for)2.6 F F0 -.4(nv)2.599 G(i).4 E F1 5.099(.F)C -.099(or this command,)-5.249 F F0 -.4(nv)2.599 G(i).4 E F1 .099 -(queries all attached)2.599 F F0(cscope)97 156 Q F1 .226 -(databases for the pattern.)2.726 F .226 -(If the pattern is a double-quote character follo)5.226 F .227 -(wed by a v)-.25 F .227(alid b)-.25 F(uf)-.2 E(fer)-.25 E .402 -(name \(e.g.,)97 168 R/F2 10/Courier@0 SF("<character>)2.902 E F1 .401 -(\), then the contents of the named b)B(uf)-.2 E .401 -(fer are used as the pattern.)-.25 F(Other)5.401 E(-)-.2 E -(wise, the pattern is a Re)97 180 Q(gular Expression.)-.15 E(The)97 204 -Q F0(\214nd)3.095 E F1 .596(command pushes the current location onto the tags stack, and switches to the \214rst location) -3.095 F(resulting from the query)97 216 Q 2.5(,i)-.65 G 2.5(ft)-2.5 G -(he query returned at least one result.)-2.5 E .463 -(File names returned by the)97 240 R F0(cscope)2.963 E F1(query)2.963 E -2.963(,i)-.65 G 2.963(fn)-2.963 G .463 -(ot absolute paths, are searched for relati)-2.963 F .763 -.15(ve t)-.25 -H 2.963(ot).15 G .462(he direc-)-2.963 F .443(tory where the)97 252 R F0 -(cscope)2.943 E F1 .443(database is located.)2.943 F .443 -(In addition, if the \214le \231cscope.tpath\232 appears in the same) -5.443 F .89(directory as the)97 264 R F0(cscope)3.39 E F1 .89 -(database, it is e)3.39 F .89 -(xpected to contain a colon-separated list of directory names)-.15 F -(where \214les referenced by its associated)97 276 Q F0(cscope)2.5 E F1 -(database may be found.)2.5 E(The)97 300 Q F0(\214nd)2.5 E F1 -(subcommand is one of the follo)2.5 E(wing:)-.25 E 40.56(cF)97 324 S -(ind callers of the name.)-40.56 E 40(dF)97 336 S -(ind all function calls made from name.)-40 E 40.56(eF)97 348 S -(ind pattern.)-40.56 E 41.67(fF)97 360 S -(ind \214les with name as substring.)-41.67 E 40(gF)97 372 S -(ind de\214nition of name.)-40 E 42.22(iF)97 384 S -(ind \214les #including name.)-42.22 E 41.11(sF)97 396 S -(ind all uses of name.)-41.11 E 42.22(tF)97 408 S -(ind assignments to name.)-42.22 E F0(:cs[cope] h[elp] [command])72 432 -Q F1(List the)97 444 Q F0(cscope)2.5 E F1 -(commands, or optionally list usage help for an)2.5 E 2.5(ys)-.15 G -(ingle)-2.5 E F0(cscope)2.5 E F1(command.)2.5 E F0 -(:display c[onnections])72 468 Q F1(Display the list of)97 480 Q F0 -(cscope)2.5 E F1(databases to which)2.5 E F0 -.4(nv)2.5 G(i).4 E F1 -(is currently connected.)2.5 E F0(:cs[cope] k[ill] #)72 504 Q F1 .638 -(Disconnect from a speci\214c)97 516 R F0(cscope)3.138 E F1 3.139 -(database. The)3.138 F .639 -(connection number is the one displayed by the)3.139 F F0(ex)3.139 E -(display connections)97 528 Q F1(command.)2.5 E F0(:cs[cope] r[eset])72 -552 Q F1(Disconnect from all attached)97 564 Q F0(cscope)2.5 E F1 -(databases.)2.5 E .87(Cscope is not freely redistrib)97 580.2 R .869 -(utable softw)-.2 F .869(are, b)-.1 F .869(ut is f)-.2 F .869(airly ine) --.1 F(xpensi)-.15 E 1.169 -.15(ve a)-.25 H .869(nd easily a).15 F -.25 -(va)-.2 G 3.369(ilable. T).25 F 3.369(op)-.8 G(ur)-3.369 E(-)-.2 E -(chase a cop)72 592.2 Q 2.5(yo)-.1 G(f)-2.5 E F0(cscope)2.5 E F1 2.5(,s) -C(ee http://www)-2.5 E(.att.com/ssg/products/toolchest.html.)-.65 E F0 -2.5(9. Regular)72 616.2 R(Expr)2.5 E(essions and Replacement Strings) --.18 E F1(Re)97 632.4 Q 1.085(gular e)-.15 F 1.086 -(xpressions are used in line addresses, as the \214rst part of the)-.15 -F F0 1.086(ex substitute)3.586 F F1(,)A F0(global)3.586 E F1 3.586(,a)C -(nd)-3.586 E F0(v)3.586 E F1(commands, and in search patterns.)72 644.4 -Q .992(The re)97 660.6 R .992(gular e)-.15 F .992 -(xpressions supported by)-.15 F F0(ex)3.492 E F1(/)A F0(vi)A F1 .992 -(are, by def)3.492 F .991(ault, the Basic Re)-.1 F .991 -(gular Expressions \(BRE')-.15 F(s\))-.55 E .676 -(described in the IEEE POSIX Standard 1003.2.)72 672.6 R(The)5.676 E F0 -(extended)3.176 E F1 .676(option causes all re)3.176 F .676(gular e)-.15 -F .676(xpressions to be)-.15 F 1.562(interpreted as the Extended Re)72 -684.6 R 1.562(gular Expressions \(ERE')-.15 F 1.561 -(s\) described by the same standard.)-.55 F(\(See)6.561 E/F3 10 -/Times-Italic@0 SF -.37(re)4.061 G(_for).37 E(-)-.2 E(mat)72 696.6 Q F1 -.575(\(7\) for more information.\))B .576(Generally speaking, BRE')5.575 -F 3.076(sa)-.55 G .576(re the Re)-3.076 F .576 -(gular Expressions found in)-.15 F F3(ed)3.076 E F1 .576(\(1\) and)B F3 -(gr)72 708.6 Q(ep)-.37 E F1(\(1\), and ERE')A 2.5(sa)-.55 G(re the Re) --2.5 E(gular Expressions found in)-.15 E F3 -.4(eg)2.5 G -.37(re).4 G(p) -.37 E F1(\(1\).)A EP -%%Page: 11 10 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 303.33(ence USD:13-11)-.18 -F/F1 10/Times-Roman@0 SF .265(The follo)97 96 R .265 -(wing is not intended to pro)-.25 F .265(vide a description of Re)-.15 F -.265(gular Expressions.)-.15 F .265(The information here)5.265 F .559 -(only describes strings and characters which ha)72 108 R .859 -.15(ve s) --.2 H .559(pecial meanings in the).15 F F0(ex)3.06 E F1(/)A F0(vi)A F1 --.15(ve)3.06 G .56(rsion of RE').15 F .56(s, or options)-.55 F -(which change the meanings of characters that normally ha)72 120 Q .3 --.15(ve s)-.2 H(pecial meanings in RE').15 E(s.)-.55 E 12.5(\(1\) An)77 -136.2 R(empty RE \(e.g.)2.5 E<99>5 E/F2 10/Courier@0 SF(//)A F1 2.5 -<9a6f>C 2.5<7299>-2.5 G F2(??)-2.5 E F1 5<9a69>C 2.5(se)-5 G(qui)-2.5 E --.25(va)-.25 G(lent to the last RE used.).25 E 12.5(\(2\) The)77 152.4 R -(construct \231)2.5 E F2(\\<)A F1 2.5<9a6d>C(atches the be)-2.5 E -(ginning of a w)-.15 E(ord.)-.1 E 12.5(\(3\) The)77 168.6 R -(construct \231)2.5 E F2(\\>)A F1 2.5<9a6d>C(atches the end of a w)-2.5 -E(ord.)-.1 E 12.5(\(4\) The)77 184.8 R(character \231)2.5 E F2(~)A F1 -2.5<9a6d>C(atches the replacement part of the last)-2.5 E F0(substitute) -2.5 E F1(command.)2.5 E .849(When the)97 201 R F0(magic)3.349 E F1 .849 -(option is)3.349 F/F3 10/Times-Italic@0 SF(not)3.349 E F1 .849 -(set, the only characters with special meanings are a \231)3.349 F F2(^) -A F1 3.348<9a63>C .848(haracter at)-3.348 F .542(the be)72 213 R .542 -(ginning of an RE, a \231)-.15 F F2($)A F1 3.042<9a63>C .543 -(haracter at the end of an RE, and the escaping character \231)-3.042 F -F2(\\)A F1 3.043(\232. The)B(charac-)3.043 E .188(ters \231)72 225 R F2 -(.)A F1 .188<9a2c2099>B F2(*)A F1 .188<9a2c2099>B F2([)A F1 2.688<9a61>C -.188(nd \231)-2.688 F F2(~)A F1 2.688<9a61>C .187 -(re treated as ordinary characters unless preceded by a \231)-2.688 F F2 -(\\)A F1 .187(\232; when preceded by a)B<99>72 237 Q F2(\\)A F1 2.5 -<9a74>C(he)-2.5 E 2.5(yr)-.15 G -2.25 -.15(eg a)-2.5 H -(in their special meaning.).15 E -(Replacement strings are the second part of a)97 253.2 Q F0(substitute) -2.5 E F1(command.)2.5 E .062(The character \231)97 269.4 R F2(&)A F1 -2.562<9a28>C .062(or \231)-2.562 F F2(\\&)A F1 2.562<9a69>C 2.562(ft) --2.562 G(he)-2.562 E F0(magic)2.562 E F1 .062(option is)2.562 F F3(not) -2.562 E F1 .062(set\) in the replacement string stands for the te)2.562 -F(xt)-.15 E .121(matched by the RE that is being replaced.)72 281.4 R -.121(The character \231)5.121 F F2(~)A F1 2.621<9a28>C .121(or \231) --2.621 F F2(\\~)A F1 2.621<9a69>C 2.621(ft)-2.621 G(he)-2.621 E F0 -(magic)2.621 E F1 .121(option is)2.621 F F3(not)2.621 E F1 .121 -(set\) stands)2.621 F .542(for the replacement part of the pre)72 293.4 -R(vious)-.25 E F0(substitute)3.042 E F1 3.042(command. It)3.042 F .542 -(is only v)3.042 F .542(alid after a)-.25 F F0(substitute)3.042 E F1 -(command)3.042 E(has been performed.)72 305.4 Q .12(The string \231)97 -321.6 R F2(\\#)A F1 .12(\232, where \231)B F2(#)A F1 2.62<9a69>C 2.62 -(sa)-2.62 G 2.62(ni)-2.62 G(nte)-2.62 E .12(ger v)-.15 F .12 -(alue from 1 to 9, stands for the te)-.25 F .12 -(xt matched by the portion)-.15 F 3.095(of the RE enclosed in the \231) -72 333.6 R F2(#)A F1<9a27>A 3.095(th set of escaped parentheses, e.g.) --.18 F<99>8.095 E F2(\\\()A F1 5.595<9a61>C 3.095(nd \231)-5.595 F F2 -(\\\))A F1 5.595(\232. F)B 3.095(or e)-.15 F(xample,)-.15 E<99>72 345.6 -Q F2(s/abc\\\(.*\\\)def/\\1/)A F1 2.5<9a64>C(eletes the strings \231) --2.5 E F2(abc)A F1 2.5<9a61>C(nd \231)-2.5 E F2(def)A F1 2.5<9a66>C -(rom the matched pattern.)-2.5 E .722(The strings \231)97 361.8 R F2 -(\\l)A F1 .722<9a2c2099>B F2(\\u)A F1 .722<9a2c2099>B F2(\\L)A F1 3.222 -<9a61>C .722(nd \231)-3.222 F F2(\\U)A F1 3.222<9a63>C .721 -(an be used to modify the case of elements in the replace-)-3.222 F -1.919(ment string.)72 373.8 R 1.919(The string \231)6.919 F F2(\\l)A F1 -4.419<9a63>C 1.919(auses the ne)-4.419 F 1.919(xt character to be con) --.15 F -.15(ve)-.4 G 1.92(rted to lo).15 F 1.92 -(wercase; the string \231)-.25 F F2(\\u)A F1<9a>A(beha)72 385.8 Q -.15 -(ve)-.2 G 3.098(ss).15 G(imilarly)-3.098 E 3.098(,b)-.65 G .598(ut con) --3.298 F -.15(ve)-.4 G .598(rts to uppercase \(e.g.).15 F F2 -(s/abc/\\U&/)5.598 E F1 .598(replaces the string)3.098 F F2(abc)3.098 E -F1(with)3.098 E F2(ABC)3.097 E F1 3.097(\). The)B .257(string \231)72 -397.8 R F2(\\L)A F1 2.757<9a63>C .257 -(auses characters up to the end of the string or the ne)-2.757 F .258 -(xt occurrence of the strings \231)-.15 F F2(\\e)A F1 2.758<9a6f>C 2.758 -<7299>-2.758 G F2(\\E)-2.758 E F1<9a>A(to be con)72 409.8 Q -.15(ve)-.4 -G(rted to lo).15 E(wercase; the string \231)-.25 E F2(\\U)A F1 2.5<9a62> -C(eha)-2.5 E -.15(ve)-.2 G 2.5(ss).15 G(imilarly)-2.5 E 2.5(,b)-.65 G -(ut con)-2.7 E -.15(ve)-.4 G(rts to uppercase.).15 E -(If the entire replacement pattern is \231)97 426 Q F2(%)A F1 -(\232, then the last replacement pattern is used ag)A(ain.)-.05 E(In)97 -442.2 Q F0(vi)3.138 E F1 3.138(,i)C .638(nserting a)-3.138 F F2 -(<control-M>)3.138 E F1 .637 -(into the replacement string will cause the matched line to be split) -3.138 F(into tw)72 454.2 Q 2.5(ol)-.1 G(ines at that point.)-2.5 E -(\(The)5 E F2(<control-M>)2.5 E F1(will be discarded.\))2.5 E F0 2.5 -(10. Scripting)72 478.2 R(Languages)2.5 E F1(The)97 494.4 Q F0 -.4(nv) -3.467 G(i).4 E F1 .968(editor currently supports tw)3.467 F 3.468(os)-.1 -G .968(cripting languages, Tcl/Tk and Perl5.)-3.468 F .968 -(\(Note that Perl4 isn')5.968 F(t)-.18 E(suf)72 506.4 Q .728 -(\214cient, and that the Perl5 must be v)-.25 F .727 -(ersion 5.002 or later)-.15 F 5.727(.S)-.55 G .727 -(ee the \) See the \231)-5.727 F F0 .727(Building Nvi)B F1 3.227<9a73>C -.727(ection for)-3.227 F(more information.)72 518.4 Q .127 -(The scripting language interf)97 534.6 R .127(ace is still being w)-.1 -F(ork)-.1 E .127(ed on, therefore the follo)-.1 F .128 -(wing information is prob-)-.25 F .163 -(ably incomplete, probably wrong in cases, and lik)72 546.6 R .163 -(ely to change.)-.1 F .162(See the)5.163 F F2(perl_api)2.662 E F1(and) -2.662 E F2(tcl_api)2.662 E F1(source)2.662 E .722 -(directories for more information.)72 558.6 R .722 -(As a quick reference, the follo)5.722 F .722 -(wing function calls are pro)-.25 F .722(vided for both)-.15 F 1.07 -(the Perl and Tcl interf)72 570.6 R 3.57(aces. The)-.1 F 1.069 -(Perl interf)3.569 F 1.069(ace uses a slightly dif)-.1 F 1.069 -(ferent naming con)-.25 F -.15(ve)-.4 G 1.069(ntion, e.g. `).15 F -(`viFind-)-.74 E(Screen')72 582.6 Q 2.5('i)-.74 G 2.5(sn)-2.5 G(amed `) --2.5 E(`VI:FindScreen')-.74 E('.)-.74 E F0(viFindScr)72 606.6 Q -(een \214le)-.18 E F1(Return the)97 618.6 Q F2(screenId)2.5 E F1 -(associated)A F2(file)2.5 E F1(.)A F0(viA)72 642.6 Q(ppendLine scr)-.25 -E(eenId lineNumber text)-.18 E F1(Append)97 654.6 Q F2(text)2.5 E F1 -(as a ne)2.5 E 2.5(wl)-.25 G(ine after line number)-2.5 E F2(lineNumber) -2.5 E F1 2.5(,i)C 2.5(nt)-2.5 G(he screen)-2.5 E F2(screenId)2.5 E F1(.) -A F0(viDelLine scr)72 678.6 Q(eenId lineNum)-.18 E F1(Delete the line)97 -690.6 Q F2(lineNumber)2.5 E F1(from the screen)2.5 E F2(screenId)2.5 E -F1(.)A EP -%%Page: 12 11 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 303.33(USD:13-12 Nvi/Nex)72 60 R(Refer)2.5 E -(ence)-.18 E(viGetLine scr)72 96 Q(eenId lineNumber)-.18 E/F1 10 -/Times-Roman@0 SF(Return the line)97 108 Q/F2 10/Courier@0 SF -(lineNumber)2.5 E F1(from the screen)2.5 E F2(screenId)2.5 E F1(.)A F0 -(viInsertLine scr)72 132 Q(eenId lineNumber text)-.18 E F1(Insert)97 144 -Q F2(text)2.5 E F1(as a ne)2.5 E 2.5(wl)-.25 G(ine before line number) --2.5 E F2(lineNumber)2.5 E F1(in the screen)2.5 E F2(screenId)2.5 E F1 -(.)A F0(viLastLine scr)72 168 Q(eenId)-.18 E F1 -(Return the line number of the last line in the screen)97 180 Q F2 -(screenId)2.5 E F1(.)A F0(viSetLine scr)72 204 Q(eenId lineNumber text) --.18 E F1(Change the line)97 216 Q F2(lineNumber)2.5 E F1(in the screen) -2.5 E F2(screenId)2.5 E F1(to match the speci\214ed)2.5 E F2(text)2.5 E -F1(.)A F0(viGetMark scr)72 240 Q(eenId mark)-.18 E F1 -(Return the current line and column for the speci\214ed)97 252 Q F2 -(mark)2.5 E F1(from the screen)2.5 E F2(screenId)2.5 E F1(.)A F0 -(viSetMark scr)72 276 Q(eenId mark line column)-.18 E F1 -(Set the speci\214ed)97 288 Q F2(mark)2.5 E F1(to be at line)2.5 E F2 -(line)2.5 E F1 2.5(,c)C(olumn)-2.5 E F2(column)2.5 E F1 2.5(,i)C 2.5(nt) --2.5 G(he screen)-2.5 E F2(screenId)2.5 E F1(.)A F0(viGetCursor scr)72 -312 Q(eenId)-.18 E F1 -(Return the current line and column for the cursor in the screen)97 324 -Q F2(screenId)2.5 E F1(.)A F0(viSetCursor scr)72 348 Q -(eenId line column)-.18 E F1(Set the cursor in the screen)97 360 Q F2 -(screenId)2.5 E F1(to the speci\214ed)2.5 E F2(line)2.5 E F1(and)2.5 E -F2(column)2.5 E F1(.)A F0(viMsg scr)72 384 Q(eenId text)-.18 E F1 -(Display the speci\214ed)97 396 Q F2(text)2.5 E F1 -(as a vi message in the screen)2.5 E F2(screenId)2.5 E F1(.)A F0 -(viNewScr)72 420 Q(een scr)-.18 E(eenId [\214le])-.18 E F1(Create a ne) -97 432 Q 2.5(ws)-.25 G(creen.)-2.5 E F0(viEndScr)72 456 Q(een scr)-.18 E -(eenId)-.18 E F1(Exit the screen)97 468 Q F2(screenId)2.5 E F1(.)A F0 -(viSwitchScr)72 492 Q(een scr)-.18 E(eenId scr)-.18 E(eenId)-.18 E F1 -(Switch from the screen)97 504 Q F2(screenId)2.5 E F1(to the screen)2.5 -E F2(screenId)2.5 E F1(.)A F0(viMapK)72 528 Q(ey scr)-.25 E(eenId k)-.18 -E(ey tclpr)-.1 E(oc)-.18 E F1(Map the speci\214ed)97 540 Q F2(key)2.5 E -F1(in the screen)2.5 E F2(screenId)2.5 E F1(to the Tcl procedure)2.5 E -F2(tclproc)2.5 E F1(.)A F0(viUnmMapK)72 564 Q(ey scr)-.25 E(eenId k)-.18 -E(ey)-.1 E F1(Unmap the speci\214ed)97 576 Q F2(key)2.5 E F1 -(in the screen)2.5 E F2(screenId)2.5 E F0(viGetOpt scr)72 600 Q -(eenId option)-.18 E F1(Return the v)97 612 Q(alue of the speci\214ed) --.25 E F2(option)2.5 E F1(from the screen)2.5 E F2(screenId)2.5 E F1(.)A -F0(viSetOpt scr)72 636 Q(eenId command)-.18 E F1 -(Set one or more options in the screen)97 648 Q F2(screenId)2.5 E F1(.)A -F0 2.5(11. General)72 672 R(Editor Description)2.5 E F1(When)97 688.2 Q -F0(ex)2.717 E F1(or)2.717 E F0(vi)2.717 E F1 .217(are e)2.717 F -.15(xe) --.15 G .217(cuted, the te).15 F .217(xt of a \214le is read \(or a temporary \214le is created\), and then all edit-) --.15 F .22(ing changes happen within the conte)72 700.2 R .22 -(xt of the cop)-.15 F 2.72(yo)-.1 G 2.72(ft)-2.72 G .219(he \214le.) --2.72 F/F3 10/Times-Italic@0 SF .219(No c)5.219 F(hang)-.15 E .219 -(es af)-.1 F .219(fect the actual \214le until the \214le)-.18 F 1.8 -(is written out)72 712.2 R F1 4.3(,e)C 1.8 -(ither using a write command or another command which is af)-4.3 F 1.8 -(fected by the)-.25 F F0(auto)4.3 E(write)-.1 E F1(option.)72 724.2 Q EP -%%Page: 13 12 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 303.33(ence USD:13-13)-.18 -F/F1 10/Times-Roman@0 SF .254(All \214les are lock)97 96 R .254 -(ed \(using the)-.1 F/F2 10/Times-Italic@0 SF(\215oc)2.754 E(k)-.2 E F1 -.254(\(2\) or)B F2(fcntl)2.754 E F1 .254(\(2\) interf)B .254 -(aces\) during the edit session, to a)-.1 F -.2(vo)-.2 G .253(id inadv) -.2 F(er)-.15 E(-)-.2 E .385 -(tently making modi\214cations to multiple copies of the \214le.)72 108 -R .385(If a lock cannot be obtained for a \214le because it)5.385 F .013 -(is lock)72 120 R .013 -(ed by another process, the edit session is read-only \(as if the)-.1 F -F0 -.18(re)2.512 G(adonly).18 E F1 .012(option or the)2.512 F F0<ad52> -2.512 E F1 .012(\215ag had been)2.512 F 3.088(speci\214ed\). If)72 132 R -3.088(al)3.088 G .588(ock cannot be obtained for other reasons, the edit session will continue, b) --3.088 F .589(ut the \214le status)-.2 F(information \(see the)72 144 Q -F0(<contr)2.5 E(ol-G>)-.18 E F1(command\) will re\215ect this f)2.5 E -(act.)-.1 E(Both)97 160.2 Q F0(ex)3.752 E F1(and)3.752 E F0(vi)3.752 E -F1 1.252(are modeful editors, i.e. the)3.752 F 3.752(yh)-.15 G -2.25 -.2 -(av e)-3.752 H(tw)3.952 E 3.752(om)-.1 G 1.252 -(odes, \231command\232 mode and \231te)-3.752 F 1.251(xt input\232)-.15 -F 2.855(mode. The)72 172.2 R .355(former is intended to permit you to enter commands which modi\214es already e) -2.855 F .355(xisting te)-.15 F 2.855(xt. The)-.15 F .261 -(latter is intended to permit you to enter ne)72 184.2 R 2.761(wt)-.25 G --.15(ex)-2.761 G 2.761(t. When).15 F F0(ex)2.76 E F1 .26 -(\214rst starts running, it is in command mode, and)2.76 F 1.353 -(usually displays a prompt \(see the)72 196.2 R F0(pr)3.854 E(ompt)-.18 -E F1 1.354(option for more information\).)3.854 F 1.354 -(The prompt is a single colon)6.354 F<2899>72 208.2 Q/F3 10/Courier@0 SF -(:)A F1 1.859(\232\) character)B 6.859(.T)-.55 G 1.859 -(here are three commands that switch)-6.859 F F0(ex)4.359 E F1 1.859 -(into te)4.359 F 1.858(xt input mode:)-.15 F F0(append)4.358 E F1(,)A F0 -(change)4.358 E F1(and)4.358 E F0(insert)72 220.2 Q F1 5.159(.O)C .159(nce in input mode, entering a line containing only a single period \(\231) --5.159 F F3(.)A F1 2.66(\232\) ends)B(te)2.66 E .16(xt input mode and) --.15 F(returns to command mode, where the prompt is redisplayed.)72 -232.2 Q(When)97 248.4 Q F0(vi)2.775 E F1 .275 -(\214rst starts running, it is in command mode as well.)2.775 F .274 -(There are ele)5.275 F -.15(ve)-.25 G 2.774(nc).15 G .274 -(ommands that switch)-2.774 F F0(vi)72 260.4 Q F1 .066(into te)2.566 F -.066(xt input mode:)-.15 F F0(A)2.566 E F1(,)A F0(a)2.566 E F1(,)A F0(C) -2.566 E F1(,)A F0(c)2.566 E F1(,)A F0(I)2.567 E F1(,)A F0(i)2.567 E F1 -(,)A F0(O)2.567 E F1(,)A F0(o)2.567 E F1(,)A F0(R)2.567 E F1(,)A F0(S) -2.567 E F1(and)2.567 E F0(s)2.567 E F1 5.067(.O)C .067 -(nce in input mode, entering an)-5.067 F F3(<escape>)2.567 E F1(char) -2.567 E(-)-.2 E(acter ends te)72 272.4 Q -(xt input mode and returns to command mode.)-.15 E F0(Ex)97 288.6 Q F1 -(/)A F0(vi)A F1 .182(present three dif)2.682 F .182(ferent interf)-.25 F -.182(aces to editing a \214le.)-.1 F F0(Ex)5.182 E F1 .182 -(presents a line oriented interf)2.682 F(ace.)-.1 E F0 -.37(Vi)5.181 G -F1(pre-)3.051 E 1.27(sents a full screen display oriented interf)72 -300.6 R 1.27(ace, also kno)-.1 F 1.27(wn as \231visual mode\232.)-.25 F -1.27(In addition, there is a third)6.27 F .244 -(mode, \231open mode\232, which is line oriented, b)72 312.6 R .243 -(ut supports cursor mo)-.2 F -.15(ve)-.15 G .243 -(ment and editing within the displayed).15 F -(line, similarly to visual mode.)72 324.6 Q -(Open mode is not yet implemented in)5 E F0 -.4(nv)2.5 G(i).4 E F1(.)A -(The follo)97 340.8 Q(wing w)-.25 E(ords ha)-.1 E .3 -.15(ve s)-.2 H -(pecial meanings in both the).15 E F0(ex)2.5 E F1(and)2.5 E F0(vi)2.5 E -F1(command descriptions:)2.5 E F0(<interrupt>)72 364.8 Q F1 .853 -(The interrupt character is used to interrupt the current operation.)97 -376.8 R(Normally)5.854 E F3(<control-C>)3.354 E F1 3.354(,w)C(hat-) --3.354 E -2.15 -.25(ev e)97 388.8 T 2.5(rc).25 G -(haracter is set for the current terminal is used.)-2.5 E F0 -(<literal-next>)72 412.8 Q F1 .364(The literal ne)97 424.8 R .364 -(xt character is used to escape the subsequent character from an)-.15 F -2.864(ys)-.15 G .364(pecial meaning.)-2.864 F(This)5.364 E 1.247 -(character is al)97 436.8 R -.1(wa)-.1 G(ys).1 E F3(<control-V>)3.747 E -F1 6.247(.I)C 3.747(ft)-6.247 G 1.247 -(he terminal is not set up to do XON/XOFF \215o)-3.747 F 3.748(wc)-.25 G -(ontrol,)-3.748 E(then)97 448.8 Q F3(<control-Q>)2.5 E F1 -(is used to mean literal ne)2.5 E(xt as well.)-.15 E F0(curr)72 472.8 Q -(ent pathname)-.18 E F1 .278 -(The pathname of the \214le currently being edited by vi.)97 484.8 R -.278(When the percent character \(\231)5.278 F F3(%)A F1 .278 -(\232\) appears in a)B .624(\214le name entered as part of an)97 496.8 R -F0(ex)3.124 E F1 .624(command ar)3.124 F .624 -(gument, it is replaced by the current pathname.)-.18 F(\(The)5.625 E -<99>97 508.8 Q F3(%)A F1 2.5<9a63>C -(haracter can be escaped by preceding it with a backslash.\))-2.5 E F0 -(alter)72 532.8 Q(nate pathname)-.15 E F1 .151 -(The name of the last \214le name mentioned in an)97 544.8 R F0(ex)2.651 -E F1 .151(command, or)2.651 F 2.651(,t)-.4 G .151(he pre)-2.651 F .151 -(vious current pathname if the)-.25 F 1.006 -(last \214le mentioned becomes the current \214le.)97 556.8 R 1.006 -(When the hash mark character \(\231)6.006 F F3(#)A F1 1.007 -(\232\) appears in a \214le)B .142(name entered as part of an)97 568.8 R -F0(ex)2.641 E F1 .141(command ar)2.641 F .141 -(gument, it is replaced by the alternate pathname.)-.18 F .141 -(\(The \231)5.141 F F3(#)A F1<9a>A -(character can be escaped by preceding it with a backslash.\))97 580.8 Q -F0 -.2(bu)72 604.8 S(ffer).2 E F1 .298 -(One of a number of named areas for sa)97 616.8 R .298 -(ving copies of te)-.2 F 2.798(xt. Commands)-.15 F .299 -(that change or delete te)2.799 F .299(xt can)-.15 F(sa)97 628.8 Q .597 --.15(ve t)-.2 H .297(he changed or deleted te).15 F .296 -(xt into a speci\214c b)-.15 F(uf)-.2 E(fer)-.25 E 2.796(,f)-.4 G .296 -(or later use, if the command allo)-2.796 F .296(ws it \(i.e. the)-.25 F -F0 .242(ex change)97 640.8 R F1 .243(command cannot sa)2.743 F .543 -.15 -(ve t)-.2 H .243(he changed te).15 F .243(xt in a named b)-.15 F(uf)-.2 -E 2.743(fer\). Buf)-.25 F .243(fers are named with a sin-)-.25 F .161 -(gle character)97 652.8 R 2.661(,p)-.4 G .161 -(receded by a double quote, e.g.)-2.661 F F3("<character>)5.161 E F1(in) -2.661 E F0(vi)2.661 E F1 .16(and without the double quote,)2.66 F(e.g.) -97 664.8 Q F3(<character>)6.512 E F1 4.012(,i)C(n)-4.012 E F0(ex)4.012 E -F1 6.512(.\()C 1.512(The double quote isn')-6.512 F 4.012(tn)-.18 G -1.512(ecessary for)-4.012 F F0(ex)4.012 E F1 1.512(because b)4.012 F(uf) --.2 E 1.513(fers names are)-.25 F .612 -(denoted by their position in the command line.\))97 676.8 R .611 -(Historic implementations of)5.611 F F0(ex)3.111 E F1(/)A F0(vi)A F1 -(limited)3.111 E F3(<char-)3.111 E(acter>)97 688.8 Q F1 1.129 -(to the alphanumeric characters;)3.629 F F0(nex)3.629 E F1(/)A F0 -.4 -(nv)C(i).4 E F1 1.129(permits the use of an)3.629 F 3.63(yc)-.15 G 1.13 -(haracter without another)-3.63 F(meaning in the position where a b)97 -700.8 Q(uf)-.2 E(fer name is e)-.25 E(xpected.)-.15 E(Buf)97 724.8 Q -.718(fers named by uppercase characters are the same as b)-.25 F(uf)-.2 -E .718(fers named by lo)-.25 F .717(wercase characters, e.g.)-.25 F EP -%%Page: 14 13 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 303.33(USD:13-14 Nvi/Nex)72 60 R(Refer)2.5 E -(ence)-.18 E/F1 10/Times-Roman@0 SF .442(the b)97 96 R(uf)-.2 E .442 -(fer named by the English character \231)-.25 F/F2 10/Courier@0 SF(A)A -F1 2.943<9a69>C 2.943(st)-2.943 G .443(he same as the b)-2.943 F(uf)-.2 -E .443(fer named by the character \231)-.25 F F2(a)A F1<9a2c>A .296 -(with the e)97 108 R .296(xception that, if the b)-.15 F(uf)-.2 E .296 -(fer contents are being changed \(as with a te)-.25 F .295 -(xt deletion or)-.15 F F0 .295(vi change)2.795 F F1(command\), the te)97 -120 Q(xt is)-.15 E/F3 10/Times-Italic@0 SF(appended)2.5 E F1(to the b) -2.5 E(uf)-.2 E(fer)-.25 E 2.5(,i)-.4 G -(nstead of replacing the current contents.)-2.5 E .565(The b)97 144 R -(uf)-.2 E .565(fers named by the numeric characters \(in English, \231) --.25 F F2(1)A F1 3.066<9a74>C .566(hrough \231)-3.066 F F2(9)A F1 .566 -(\232\), are special.)B .566(If a re)5.566 F(gion)-.15 E .213(of te)97 -156 R .212(xt including characters from more than one line, or a single line of te) --.15 F .212(xt speci\214ed by using a line-)-.15 F .304 -(oriented motion, is changed or deleted in the \214le using the)97 168 R -F0 .305(vi change)2.805 F F1(or)2.805 E F0(delete)2.805 E F1 .305 -(commands, a cop)2.805 F 2.805(yo)-.1 G(f)-2.805 E 1.519(the te)97 180 R -1.518(xt is placed into the numeric b)-.15 F(uf)-.2 E 1.518(fer \231) --.25 F F2(1)A F1 1.518(\232, re)B -.05(ga)-.15 G 1.518 -(rdless of the user specifying another b).05 F(uf)-.2 E 1.518(fer in) --.25 F .394(which to sa)97 192 R .694 -.15(ve i)-.2 H 2.894(t. In).15 F -.395(addition, there are a fe)2.894 F 2.895(wc)-.25 G .395 -(ommands which, when used as a)-2.895 F F2(motion)2.895 E F1 .395 -(with the)2.895 F F0(vi)2.895 E(change)97 204 Q F1(and)4.275 E F0 -(delete)4.275 E F1(commands,)4.275 E F3(always)4.275 E F1(cop)4.275 E -4.275(yt)-.1 G 1.775(he speci\214ed re)-4.275 F 1.775(gion of te)-.15 F -1.775(xt into the numeric b)-.15 F(uf)-.2 E(fers)-.25 E(re)97 216 Q -.05 -(ga)-.15 G(rdless of the re).05 E -(gion including characters from more than one line.)-.15 E -(These commands are:)5 E F2 9(<control-A> % \( \))103 244.2 R 9 -(`<character> / ? N)97 256.2 R 15(n{})163 268.2 S F1 1.262 -(Before this cop)97 296.4 R 3.763(yi)-.1 G 3.763(sd)-3.763 G 1.263 -(one, the pre)-3.763 F 1.263(vious contents of b)-.25 F(uf)-.2 E 1.263 -(fer \231)-.25 F F2(1)A F1 3.763<9a61>C 1.263(re mo)-3.763 F -.15(ve) --.15 G 3.763(di).15 G 1.263(nto b)-3.763 F(uf)-.2 E 1.263(fer \231)-.25 -F F2(2)A F1 1.263<9a2c2099>B F2(2)A F1 3.763<9a69>C(nto)-3.763 E -.2(bu) -97 308.4 S -.25(ff).2 G .474(er \231).25 F F2(3)A F1 .474 -(\232, and so on.)B .473(The contents of b)5.474 F(uf)-.2 E .473 -(fer \231)-.25 F F2(9)A F1 2.973<9a61>C .473(re discarded.)-2.973 F(In) -5.473 E F0(vi)2.973 E F1 2.973(,t)C -.15(ex)-2.973 G 2.973(tm).15 G .473 -(ay be e)-2.973 F .473(xplicitly stored)-.15 F .554(into the numeric b) -97 320.4 R(uf)-.2 E 3.054(fers. In)-.25 F .555(this case, the b)3.054 F -(uf)-.2 E .555(fer rotation described abo)-.25 F .855 -.15(ve o)-.15 H -.555(ccurs before the replace-).15 F .488(ment of the b)97 332.4 R(uf) --.2 E(fer')-.25 E 2.988(sc)-.55 G 2.988(ontents. The)-2.988 F .487 -(numeric b)2.987 F(uf)-.2 E .487(fers are only a)-.25 F -.25(va)-.2 G -.487(ilable in).25 F F2(visual)2.987 E F1(and)2.987 E F2(open)2.987 E F1 -(modes,)2.987 E .405(and are not accessible by)97 344.4 R F0(ex)2.905 E -F1 .405(in an)2.905 F 2.905(yw)-.15 G(ay)-3.005 E 2.905(,a)-.65 G .405 -(lthough changed and deleted te)-2.905 F .405 -(xt is still stored there while)-.15 F(in)97 356.4 Q F0(ex)2.5 E F1 -(mode.)2.5 E .552(When a)97 380.4 R F0(vi)3.052 E F1 .552 -(command synopsis sho)3.052 F .552(ws both a)-.25 F F2([buffer])3.052 E -F1 .552(and a)3.052 F F2([count])3.052 E F1 3.052(,t)C(he)-3.052 E 3.052 -(ym)-.15 G .551(ay be presented in)-3.052 F(an)97 392.4 Q 2.5(yo)-.15 G -(rder)-2.5 E(.)-.55 E(Finally)97 416.4 Q 3.241(,a)-.65 G .741(ll b) --3.241 F(uf)-.2 E .741 -(fers are either \231line\232 or \231character\232 oriented.)-.25 F(All) -5.741 E F0(ex)3.241 E F1 .742(commands which store te)3.242 F .742 -(xt into)-.15 F -.2(bu)97 428.4 S -.25(ff).2 G .005 -(ers are line oriented.).25 F(Some)5.005 E F0(vi)2.505 E F1 .004 -(commands which store te)2.505 F .004(xt into b)-.15 F(uf)-.2 E .004 -(fers are line oriented, and some)-.25 F .16 -(are character oriented; the description for each applicable)97 440.4 R -F0(vi)2.661 E F1 .161(command notes whether te)2.661 F .161 -(xt copied into)-.15 F -.2(bu)97 452.4 S -.25(ff).2 G 2.341 -(ers using the command is line or character oriented.).25 F 2.341 -(In addition, the)7.341 F F0(vi)4.84 E F1(command)4.84 E F0(display)4.84 -E -.2(bu)97 464.4 S(ffers).2 E F1 .901 -(displays the current orientation for each b)3.401 F(uf)-.2 E(fer)-.25 E -5.902(.G)-.55 G(enerally)-5.902 E 3.402(,t)-.65 G .902 -(he only importance attached to)-3.402 F .628 -(this orientation is that if the b)97 476.4 R(uf)-.2 E .628 -(fer is subsequently inserted into the te)-.25 F .628 -(xt, line oriented b)-.15 F(uf)-.2 E .628(fers create)-.25 F(ne)97 488.4 -Q 3.319(wl)-.25 G .819(ines for each of the lines the)-3.319 F 3.319(yc) --.15 G .819(ontain, and character oriented b)-3.319 F(uf)-.2 E .82 -(fers create ne)-.25 F 3.32(wl)-.25 G .82(ines for an)-3.32 F(y)-.15 E -(lines)97 500.4 Q F3(other)2.561 E F1 .061 -(than the \214rst and last lines the)2.561 F 2.561(yc)-.15 G 2.561 -(ontain. The)-2.561 F .061 -(\214rst and last lines are inserted into the te)2.561 F .061(xt at)-.15 -F .964(the current cursor position, becoming part of the current line.) -97 512.4 R .964(If there is more than one line in the)5.964 F -.2(bu)97 -524.4 S -.25(ff).2 G(er).25 E 2.5(,h)-.4 G -.25(ow)-2.5 G -2.15 -.25 -(ev e).25 H .8 -.4(r, t).25 H(he current line itself will be split.).4 E -F0(unnamed b)72 548.4 Q(uffer)-.2 E F1 .239(The unnamed b)97 560.4 R(uf) --.2 E .239(fer is a te)-.25 F .239 -(xt storage area which is used by commands that use or operate on a b) --.15 F(uf)-.2 E(fer)-.25 E .923(when no b)97 572.4 R(uf)-.2 E .923 -(fer is speci\214ed by the user)-.25 F 5.924(.I)-.55 G 3.424(ft)-5.924 G -.924(he command stores te)-3.424 F .924(xt into a b)-.15 F(uf)-.2 E(fer) --.25 E 3.424(,t)-.4 G .924(he te)-3.424 F .924(xt is stored)-.15 F .203 -(into the unnamed b)97 584.4 R(uf)-.2 E .203(fer e)-.25 F -.15(ve)-.25 G -2.703(ni).15 G 2.703(fab)-2.703 G(uf)-2.903 E .203 -(fer is also speci\214ed by the user)-.25 F 5.203(.I)-.55 G 2.703(ti) --5.203 G 2.703(sn)-2.703 G .203(ot possible to append te)-2.703 F(xt) --.15 E .36(to the unnamed b)97 596.4 R(uf)-.2 E(fer)-.25 E 5.36(.I)-.55 -G 2.86(ft)-5.36 G -.15(ex)-2.86 G 2.86(ti).15 G 2.86(sa)-2.86 G .36 -(ppended to a named b)-2.86 F(uf)-.2 E(fer)-.25 E 2.86(,t)-.4 G .36 -(he named b)-2.86 F(uf)-.2 E .36(fer contains both the old)-.25 F .153 -(and ne)97 608.4 R 2.653(wt)-.25 G -.15(ex)-2.653 G .153 -(t, while the unnamed b).15 F(uf)-.2 E .152(fer contains only the ne) --.25 F 2.652(wt)-.25 G -.15(ex)-2.652 G 2.652(t. There).15 F .152 -(is no w)2.652 F .152(ay to e)-.1 F .152(xplicitly ref-)-.15 F -(erence the unnamed b)97 620.4 Q(uf)-.2 E(fer)-.25 E(.)-.55 E -(Historically)97 644.4 Q 3.298(,t)-.65 G .798 -(he contents of the unnamed b)-3.298 F(uf)-.2 E .799 -(fer were discarded by man)-.25 F 3.299(yd)-.15 G(if)-3.299 E .799 -(ferent commands, e)-.25 F -.15(ve)-.25 G(n).15 E 1.095(ones that didn') -97 656.4 R 3.595(ts)-.18 G 1.095(tore te)-3.595 F 1.095(xt into it.)-.15 -F F0(Nex)6.094 E F1(/)A F0 -.4(nv)C(i).4 E F1(ne)3.594 E -.15(ve)-.25 G -3.594(rd).15 G 1.094(iscards the contents of the unnamed b)-3.594 F(uf) --.2 E 1.094(fer until)-.25 F(ne)97 668.4 Q 2.5(wt)-.25 G -.15(ex)-2.5 G -2.5(tr).15 G(eplaces them.)-2.5 E F0(whitespace)72 692.4 Q F1 -(The characters <tab> and <space>.)97 704.4 Q EP -%%Page: 15 14 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 303.33(ence USD:13-15)-.18 -F(<carriage-r)72 96 Q(etur)-.18 E(n>)-.15 E/F1 10/Times-Roman@0 SF 1.636 -(The character represented by an ASCII)97 108 R/F2 10/Courier@0 SF -(<control-M>)4.136 E F1 6.636(.T)C 1.636(his character is almost al) --6.636 F -.1(wa)-.1 G 1.636(ys treated).1 F .36(identically to a)97 120 -R F2(<newline>)2.86 E F1(character)2.86 E 2.86(,b)-.4 G .36(ut dif)-3.06 -F .36(fers in that it can be escaped into the \214le te)-.25 F .36 -(xt or into a)-.15 F(command.)97 132 Q F0(<newline>)72 156 Q F1 1.636 -(The character represented by an ASCII)97 168 R F2(<control-J>)4.136 E -F1 6.636(.T)C 1.636(his character is almost al)-6.636 F -.1(wa)-.1 G -1.636(ys treated).1 F .416(identically to a)97 180 R F2(<control-M>) -2.916 E F1(character)2.916 E 2.916(,b)-.4 G .415(ut dif)-3.116 F .415 -(fers in that it cannot be escaped into the \214le te)-.25 F .415(xt or) --.15 F(into a command.)97 192 Q F0 2.5(12. V)72 216 R 2.5(iD)-.37 G -(escription)-2.5 E -.37(Vi)97 232.2 S F1(tak)3.421 E .551 -(es up the entire screen to display the edited \214le, e)-.1 F .551 -(xcept for the bottom line of the screen.)-.15 F(The)5.552 E .285 -(bottom line of the screen is used to enter)72 244.2 R F0(ex)2.785 E F1 -.285(commands, and for)2.785 F F0(vi)2.785 E F1 .284 -(error and informational messages.)2.785 F .284(If no)5.284 F .948 -(other information is being displayed, the def)72 256.2 R .949 -(ault display can sho)-.1 F 3.449(wt)-.25 G .949(he current cursor ro) --3.449 F 3.449(wa)-.25 G .949(nd cursor col-)-3.449 F .27(umn, an indication of whether the \214le has been modi\214ed, and the current mode of the editor) -72 268.2 R 5.269(.S)-.55 G .269(ee the)-5.269 F F0(ruler)2.769 E F1(and) -72 280.2 Q F0(sho)2.5 E(wmode)-.1 E F1(options for more information.)2.5 -E .56(Empty lines do not ha)97 296.4 R .86 -.15(ve a)-.2 H .86 -.15 -(ny s).15 H .561(pecial representation on the screen, b).15 F .561 -(ut lines on the screen that w)-.2 F(ould)-.1 E 1.647(logically come after the end of the \214le are displayed as a single tilde \(\231) -72 308.4 R F2(~)A F1 1.646(\232\) character)B 6.646(.T)-.55 G 4.146(od) --7.446 G(if)-4.146 E(ferentiate)-.25 E 1.026(between empty lines and lines consisting of only whitespace characters, use the) -72 320.4 R F0(list)3.527 E F1 3.527(option. Historically)3.527 F(,)-.65 -E .448(implementations of)72 332.4 R F0(vi)2.948 E F1(ha)2.948 E .748 --.15(ve a)-.2 H .447(lso displayed some lines as single asterisk \(\231) -.15 F F2(@)A F1 .447(\232\) characters.)B .447(These were lines)5.447 F -.269(that were not correctly displayed, i.e. lines on the screen that did not correspond to lines in the \214le, or lines) -72 344.4 R(that did not \214t on the current screen.)72 356.4 Q F0(Nvi)5 -E F1(ne)2.5 E -.15(ve)-.25 G 2.5(rd).15 G(isplays lines in this f)-2.5 E -(ashion.)-.1 E F0 -.37(Vi)97 372.6 S F1 .232(is a modeful editor)3.102 F -2.732(,i)-.4 G .232(.e. it has tw)-2.732 F 2.732(om)-.1 G .232 -(odes, \231command\232 mode and \231te)-2.732 F .231(xt input\232 mode.) --.15 F(When)5.231 E F0(vi)2.731 E F1(\214rst)2.731 E 1.623 -(starts, it is in command mode.)72 384.6 R 1.623(There are se)6.623 F --.15(ve)-.25 G 1.624(ral commands that change).15 F F0(vi)4.124 E F1 -1.624(into te)4.124 F 1.624(xt input mode.)-.15 F(The)6.624 E F2 -(<escape>)72 396.6 Q F1 .061(character is used to resolv)2.562 F 2.561 -(et)-.15 G .061(he te)-2.561 F .061(xt input into the \214le, and e)-.15 -F .061(xit back into command mode.)-.15 F(In)5.061 E F0(vi)2.561 E F1 -.498(command mode, the cursor is al)72 408.6 R -.1(wa)-.1 G .499 -(ys positioned on the last column of characters which tak).1 F 2.999(eu) --.1 G 2.999(pm)-2.999 G .499(ore than)-2.999 F .38 -(one column on the screen.)72 420.6 R(In)5.38 E F0(vi)2.88 E F1(te)2.88 -E .379(xt insert mode, the cursor is positioned on the \214rst column of characters) --.15 F(which tak)72 432.6 Q 2.5(eu)-.1 G 2.5(pm)-2.5 G -(ore than one column on the screen.)-2.5 E .684 -(When positioning the cursor to a ne)97 448.8 R 3.184(wl)-.25 G .684 -(ine and column, the type of mo)-3.184 F -.15(ve)-.15 G .684 -(ment is de\214ned by the dis-).15 F .433(tance to the ne)72 460.8 R -2.933(wc)-.25 G .433(ursor position.)-2.933 F .433(If the ne)5.433 F -2.933(wp)-.25 G .432(osition is close, the screen is scrolled to the ne) --2.933 F 2.932(wl)-.25 G 2.932(ocation. If)-2.932 F .382(the ne)72 472.8 -R 2.882(wp)-.25 G .382(osition is f)-2.882 F .382(ar a)-.1 F -.1(wa)-.15 -G 1.682 -.65(y, t).1 H .382(he screen is repainted so that the ne).65 F -2.883(wp)-.25 G .383(osition is on the screen.)-2.883 F .383 -(If the screen)5.383 F .098(is scrolled, it is mo)72 484.8 R -.15(ve) --.15 G 2.598(dam).15 G .097(inimal amount, and the cursor line will usually appear at the top or bottom of the) --2.598 F 2.717(screen. If)72 496.8 R .217(the screen is repainted, the cursor line will appear in the center of the screen, unless the cursor is) -2.717 F(suf)72 508.8 Q .2(\214ciently close to the be)-.25 F .2 -(ginning or end of the \214le that this isn')-.15 F 2.699(tp)-.18 G -2.699(ossible. If)-2.699 F(the)2.699 E F0(leftright)2.699 E F1 .199 -(option is set, the)2.699 F(screen may be scrolled or repainted in a horizontal direction as well as in a v) -72 520.8 Q(ertical one.)-.15 E 3.33(Am)97 537 S .83(ajor dif)-3.33 F .83 -(ference between the historical)-.25 F F0(vi)3.33 E F1 .83 -(presentation and)3.33 F F0 -.4(nv)3.33 G(i).4 E F1 .83 -(is in the scrolling and screen ori-)3.33 F .124 -(ented position commands,)72 549 R F0(<contr)2.624 E(ol-B>)-.18 E F1(,)A -F0(<contr)2.624 E(ol-D>)-.18 E F1(,)A F0(<contr)2.624 E(ol-E>)-.18 E F1 -(,)A F0(<contr)2.624 E(ol-F>)-.18 E F1(,)A F0(<contr)2.623 E(ol-U>)-.18 -E F1(,)A F0(<contr)2.623 E(ol-)-.18 E(Y>)72 561 Q F1(,)A F0(H)3.464 E F1 -(,)A F0(L)3.464 E F1(and)3.464 E F0(M)3.464 E F1 5.964(.I)C 3.464(nh) --5.964 G .964(istorical implementations of)-3.464 F F0(vi)3.464 E F1 -3.464(,t)C .964(hese commands acted on ph)-3.464 F .965 -(ysical \(as opposed to)-.05 F .145(logical, or screen\) lines.)72 573 R --.15(Fo)5.145 G 2.644(rl).15 G .144(ines that were suf)-2.644 F .144 -(\214ciently long in relation to the size of the screen, this meant)-.25 -F .444(that single line scroll commands might repaint the entire screen, scrolling or screen positioning commands) -72 585 R .511(might not change the screen or mo)72 597 R .811 -.15(ve t) --.15 H .51 -(he cursor at all, and some lines simply could not be displayed, e).15 F --.15(ve)-.25 G(n).15 E(though)72 609 Q F0(vi)3.026 E F1 -.1(wo)3.026 G -.526(uld edit the \214le that contained them.).1 F(In)5.527 E F0 -.4(nv) -3.027 G(i).4 E F1 3.027(,t)C .527 -(hese commands act on logical, i.e. screen lines.)-3.027 F -1.1(Yo)72 -621 S 3.189(ua)1.1 G .689(re unlik)-3.189 F .689(ely to notice an)-.1 F -3.189(yd)-.15 G(if)-3.189 E .689(ference unless you are editing \214les with lines signi\214cantly longer than a) --.25 F(screen width.)72 633 Q F0 -.37(Vi)97 649.2 S F1 -.1(ke)4.357 G -1.487(eps track of the currently \231most attracti).1 F -.15(ve)-.25 G -3.988<9a63>.15 G 1.488(ursor position.)-3.988 F 1.488 -(Each command description \(for)6.488 F .932(commands that alter the current cursor position\), speci\214es if the cursor is set to a speci\214c location in the) -72 661.2 R .416(line, or if it is mo)72 673.2 R -.15(ve)-.15 G 2.916(dt) -.15 G 2.916(ot)-2.916 G .416(he \231most attracti)-2.916 F .716 -.15 -(ve c)-.25 H .416(ursor position\232.).15 F .416 -(The latter means that the cursor is mo)5.416 F -.15(ve)-.15 G 2.916(dt) -.15 G(o)-2.916 E .268(the cursor position that is horizontally as close as possible to the current cursor position.) -72 685.2 R .268(If the current line)5.268 F .508 -(is shorter than the cursor position)72 697.2 R F0(vi)3.008 E F1 -.1(wo) -3.008 G .508(uld select, the cursor is positioned on the last character in the line.) -.1 F .338(\(If the line is empty)72 709.2 R 2.838(,t)-.65 G .338 -(he cursor is positioned on the \214rst column of the line.\))-2.838 F -.337(If a command mo)5.337 F -.15(ve)-.15 G 2.837(st).15 G .337(he cur) --2.837 F(-)-.2 E .373(sor to the most attracti)72 721.2 R .673 -.15 -(ve p)-.25 H .374(osition, it does not alter the current cursor position, and a subsequent mo) -.15 F -.15(ve)-.15 G(ment).15 E EP -%%Page: 16 15 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-16 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E/F1 10/Times-Roman@0 SF -1.009(will ag)72 96 R 1.009(ain attempt to mo)-.05 F 1.308 -.15(ve t) --.15 H 1.008(he cursor to that position.).15 F 1.008 -(Therefore, although a mo)6.008 F -.15(ve)-.15 G 1.008 -(ment to a line shorter).15 F .086(than the currently most attracti)72 -108 R .386 -.15(ve p)-.25 H .086(osition will cause the cursor to mo).15 -F .386 -.15(ve t)-.15 H 2.586(ot).15 G .087 -(he end of that line, a subsequent)-2.586 F(mo)72 120 Q -.15(ve)-.15 G -(ment to a longer line will cause the cursor to mo).15 E .3 -.15(ve b) --.15 H(ack to the most attracti).15 E .3 -.15(ve p)-.25 H(osition.).15 E -.249(In addition, the)97 136.2 R F0($)2.749 E F1 .249(command mak)2.749 -F .249(es the end of each line the most attracti)-.1 F .549 -.15(ve c) --.25 H .248(ursor position rather than).15 F 2.5(as)72 148.2 S -(peci\214c column.)-2.5 E(Each)97 164.4 Q F0(vi)2.837 E F1 .337 -(command described belo)2.837 F 2.837(wn)-.25 G .338 -(otes where the cursor ends up after it is e)-2.837 F -.15(xe)-.15 G -2.838(cuted. This).15 F(position)2.838 E .926 -(is described in terms of characters on the line, i.e.)72 176.4 R .925 -(\231the pre)5.926 F .925(vious character\232, or)-.25 F 3.425<2c99>-.4 -G .925(the last character in the)-3.425 F 2.5(line\232. This)72 188.4 R -(is to a)2.5 E -.2(vo)-.2 G(id needing to continually refer to on what part of the character the cursor rests.) -.2 E(The follo)97 204.6 Q(wing w)-.25 E(ords ha)-.1 E .3 -.15(ve s)-.2 H -(pecial meaning for).15 E F0(vi)2.5 E F1(commands.)2.5 E F0(pr)72 228.6 -Q -.15(ev)-.18 G(ious context).15 E F1 2.359(The position of the cursor before the command which caused the last absolute mo) -97 240.6 R -.15(ve)-.15 G 2.359(ment w).15 F(as)-.1 E -.15(exe)97 252.6 -S 2.632(cuted. Each).15 F F0(vi)2.632 E F1 .132 -(command described in the ne)2.632 F .132 -(xt section that is considered an absolute mo)-.15 F -.15(ve)-.15 G .132 -(ment is).15 F .027(so noted.)97 264.6 R .027(In addition, specifying) -5.027 F/F2 10/Times-Italic@0 SF(any)2.527 E F1 .027(address to an)2.527 -F F0(ex)2.527 E F1 .028(command is considered an absolute mo)2.527 F --.15(ve)-.15 G(ment.).15 E F0(motion)72 288.6 Q F1 3.77(As)97 300.6 S -(econd)-3.77 E F0(vi)3.77 E F1 1.27 -(command can be used as an optional trailing ar)3.77 F 1.269 -(gument to the)-.18 F F0 1.269(vi <)3.769 F F1(,)A F0(>)3.769 E F1(,)A -F0(!)3.769 E F1(,)A F0(c)3.769 E F1(,)A F0(d)3.769 E F1(,)A F0(y)3.769 E -F1 3.769(,a)C(nd)-3.769 E .076(\(depending on the)97 312.6 R F0(tildeop) -2.577 E F1(option\))2.577 E F0(~)2.577 E F1 2.577(commands. This)2.577 F -.077(command indicates the end of the re)2.577 F .077(gion of te)-.15 F -(xt)-.15 E(that')97 324.6 Q 5.051(sa)-.55 G -.25(ff)-5.051 G 2.551 -(ected by the command.).25 F 2.551 -(The motion command may be either the command character)7.551 F .174 -(repeated \(in which case it means the current line\) or a cursor mo)97 -336.6 R -.15(ve)-.15 G .174(ment command.).15 F .175 -(In the latter case,)5.174 F .119(the re)97 348.6 R .119(gion af)-.15 F -.118(fected by the command is from the starting or stopping cursor position which comes \214rst) --.25 F .038(in the \214le, to immediately before the starting or stopping cursor position which comes later in the \214le.) -97 360.6 R .016(Commands that operate on lines instead of using be)97 -372.6 R .016(ginning and ending cursor positions operate on all)-.15 F -.194(of the lines that are wholly or partially in the re)97 384.6 R -2.695(gion. In)-.15 F .195(addition, some other commands become line) -2.695 F .527(oriented depending on where in the te)97 396.6 R .527 -(xt the)-.15 F 3.027(ya)-.15 G .527(re used.)-3.027 F .526 -(The command descriptions belo)5.527 F 3.026(wn)-.25 G .526(ote these) --3.026 F(special cases.)97 408.6 Q(The follo)97 432.6 Q -(wing commands may all be used as motion components for)-.25 E F0(vi)2.5 -E F1(commands:)2.5 E/F3 10/Courier@0 SF 15(<control-A> <control-H>)97 -460.8 R 9(<control-J> <control-M>)15 F 15(<control-N> <control-P>)97 -472.8 R 69(<space> $)39 F 15(%')157 484.8 S 69(<character> \( \))-15 F -81(+,)157 496.8 S 75(-/)-6 G 81(0;)157 508.8 S 75(?B)-6 G 81(EF)157 -520.8 S 75(GH)-6 G 81(LM)157 532.8 S 75(NT)-6 G 75(W[)157 544.8 S 69([]) --75 G 75(]^)-69 G 15(_`)157 556.8 S 69(<character> b e)-15 F 81(fh)157 -568.8 S 75(jk)-6 G 81(ln)157 580.8 S 75(tw)-6 G 81({|)157 592.8 S(})-6 E -F1 .422(The optional count pre\214x a)97 621 R -.25(va)-.2 G .422 -(ilable for some of the).25 F F0(vi)2.923 E F1 .423(commands that tak) -2.923 F 2.923(em)-.1 G .423(otion commands, or the)-2.923 F .14 -(count pre\214x a)97 633 R -.25(va)-.2 G .14(ilable for the).25 F F0(vi) -2.64 E F1 .139 -(commands that are used as motion components, may be included and)2.64 F -(is)97 645 Q F2(always)3.462 E F1 .963(considered part of the motion ar) -3.462 F 3.463(gument. F)-.18 F .963(or e)-.15 F .963 -(xample, the commands \231)-.15 F F3(c2w)A F1 3.463<9a61>C .963(nd \231) --3.463 F F3(2cw)A F1<9a>A 1.111(are equi)97 657 R -.25(va)-.25 G 1.111 -(lent, and the re).25 F 1.111(gion af)-.15 F 1.111(fected by the)-.25 F -F0(c)3.611 E F1 1.111(command is tw)3.611 F 3.61(ow)-.1 G 1.11 -(ords of te)-3.71 F 3.61(xt. In)-.15 F 1.11(addition, if the)3.61 F -1.062(optional count pre\214x is speci\214ed for both the)97 669 R F0 -(vi)3.562 E F1 1.063(command and its motion component, the ef)3.563 F -1.063(fect is)-.25 F(multiplicati)97 681 Q 1.491 -.15(ve a)-.25 H 1.191 -(nd is considered part of the motion ar).15 F 3.691(gument. F)-.18 F -1.191(or e)-.15 F 1.19(xample, the commands \231)-.15 F F3(4cw)A F1<9a>A -(and \231)97 693 Q F3(2c2w)A F1 2.5<9a61>C(re equi)-2.5 E -.25(va)-.25 G -(lent, and the re).25 E(gion af)-.15 E(fected by the)-.25 E F0(c)2.5 E -F1(command is four w)2.5 E(ords of te)-.1 E(xt.)-.15 E EP -%%Page: 17 16 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-17)-2.5 F(count)72 96 Q/F1 10/Times-Roman@0 SF -2.559(Ap)97 108 S(ositi)-2.559 E .359 -.15(ve n)-.25 H .059 -(umber used as an optional ar).15 F .059 -(gument to most commands, either to gi)-.18 F .36 -.15(ve a s)-.25 H .06 -(ize or a position).15 F 1.168(\(for display or mo)97 120 R -.15(ve)-.15 -G 1.168 -(ment commands\), or as a repeat count \(for commands that modify te).15 -F 3.668(xt\). The)-.15 F .409(count ar)97 132 R .409(gument is al)-.18 F --.1(wa)-.1 G .409(ys optional and def).1 F .41 -(aults to 1 unless otherwise noted in the command descrip-)-.1 F(tion.) -97 144 Q 1.052(When a)97 168 R F0(vi)3.552 E F1 1.052 -(command synopsis sho)3.552 F 1.051(ws both a)-.25 F/F2 10/Courier@0 SF -([buffer])3.551 E F1(and)3.551 E F2([count])3.551 E F1 3.551(,t)C(he) --3.551 E 3.551(ym)-.15 G 1.051(ay be presented in)-3.551 F(an)97 180 Q -2.5(yo)-.15 G(rder)-2.5 E(.)-.55 E F0 -.1(wo)72 204 S(rd).1 E F1 -(Generally)97 216 Q 2.665(,i)-.65 G 2.665(nl)-2.665 G .165 -(anguages where it is applicable,)-2.665 F F0(vi)2.666 E F1 .166 -(recognizes tw)2.666 F 2.666(ok)-.1 G .166(inds of w)-2.666 F 2.666 -(ords. First,)-.1 F 2.666(as)2.666 G .166(equence of)-2.666 F 1.853(letters, digits and underscores, delimited at both ends by: characters other than letters, digits, or) -97 228 R .332(underscores, the be)97 240 R .333 -(ginning or end of a line, and the be)-.15 F .333 -(ginning or end of the \214le.)-.15 F .333(Second, a sequence)5.333 F -.695(of characters other than letters, digits, underscores, or whitespace characters, delimited at both ends) -97 252 R .514(by: a letter)97 264 R 3.014(,d)-.4 G .514 -(igit, underscore, or whitespace character)-3.014 F 3.015(,t)-.4 G .515 -(he be)-3.015 F .515(ginning or end of a line, and the be)-.15 F(gin-) --.15 E .6(ning or end of the \214le.)97 276 R -.15(Fo)5.6 G 3.099(re).15 -G .599(xample, the characters \231)-3.249 F F2(!@#abc$%^)6.599 E F1 -3.099<9a63>6.599 G .599(ontain three w)-3.099 F .599(ords: \231)-.1 F F2 -(!@#)A F1<9a2c>A<99>97 288 Q F2(abc)A F1 2.5<9a61>C(nd \231)-2.5 E F2 -($%^)A F1<9a2e>A(Groups of empty lines \(or lines containing only whitespace characters\) are treated as a single w) -97 312 Q(ord.)-.1 E F0(bigw)72 336 Q(ord)-.1 E F1 2.758(As)97 348 S .258 -(et of non-whitespace characters preceded and follo)-2.758 F .259 -(wed by whitespace characters or the be)-.25 F(ginning)-.15 E 1.88 -(or end of the \214le or line.)97 360 R -.15(Fo)6.88 G 4.38(re).15 G -1.88(xample, the characters \231)-4.53 F F2(!@#abc$%^)7.88 E F1 4.38 -<9a63>7.88 G 1.88(ontain one bigw)-4.38 F(ord:)-.1 E<99>97 372 Q F2 -(!@#abc$%^)A F1<9a2e>A 1.121(Groups of empty lines \(or lines containing only whitespace characters\) are treated as a single big-) -97 396 R -.1(wo)97 408 S(rd.).1 E F0(paragraph)72 432 Q F1 .693 -(An area of te)97 444 R .693(xt that be)-.15 F .693 -(gins with either the be)-.15 F .692 -(ginning of a \214le, an empty line, or a section boundary)-.15 F(,)-.65 -E(and continues until either an empty line, section boundary)97 456 Q -2.5(,o)-.65 G 2.5(rt)-2.5 G(he end of the \214le.)-2.5 E .825(Groups of empty lines \(or lines containing only whitespace characters\) are treated as a single para-) -97 480 R(graph.)97 492 Q -(Additional paragraph boundaries can be de\214ned using the)97 516 Q F0 -(paragraphs)2.5 E F1(option.)2.5 E F0(section)72 540 Q F1 .021 -(An area of te)97 552 R .021(xt that starts with the be)-.15 F .021(ginning of the \214le or a line whose \214rst character is an open brace) --.15 F<2899>97 564 Q F2({)A F1(\232\) and continues until the ne)A -(xt section or the end of the \214le.)-.15 E -(Additional section boundaries can be de\214ned using the)97 588 Q F0 -(sections)2.5 E F1(option.)2.5 E F0(sentence)72 612 Q F1 .215 -(An area of te)97 624 R .215(xt that be)-.15 F .215 -(gins with either the be)-.15 F .216 -(ginning of the \214le or the \214rst nonblank character follo)-.15 F -(w-)-.25 E .448(ing the pre)97 636 R .447(vious sentence, paragraph, or section boundary and continues until the end of the \214le or a) --.25 F .589(period \(\231)97 648 R F2(.)A F1 3.089(\232\) e)B .589 -(xclamation point \(\231)-.15 F F2(!)A F1 3.089(\232\) or)B .589 -(question mark \(\231)3.089 F F2(?)A F1 3.089(\232\) character)B 3.089 -(,f)-.4 G(ollo)-3.089 E .59(wed by either an end-)-.25 F .272 -(of-line or tw)97 660 R 2.772(ow)-.1 G .272(hitespace characters.)-2.772 -F(An)5.272 E 2.772(yn)-.15 G .271(umber of closing parentheses \(\231) --2.772 F F2(\))A F1 .271(\232\), brack)B .271(ets \(\231)-.1 F F2(])A F1 -.271(\232\), dou-)B .138(ble-quote \(\231)97 672 R F2(")A F1 .138 -(\232\) or single quote \(\231)B F2(')A F1 .139 -(\232\) characters can appear between the period, e)B .139 -(xclamation point, or)-.15 F -(question mark and the whitespace characters or end-of-line.)97 684 Q -1.084(Groups of empty lines \(or lines containing only whitespace characters\) are treated as a single sen-) -97 708 R(tence.)97 720 Q EP -%%Page: 18 17 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-18 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E 2.5(13. V)72 96 R 2.5 -(iC)-.37 G(ommands)-2.5 E/F1 10/Times-Roman@0 SF .831(The follo)97 112.2 -R .831(wing section describes the commands a)-.25 F -.25(va)-.2 G .831 -(ilable in the command mode of the).25 F F0(vi)3.332 E F1(editor)3.332 E -5.832(.I)-.55 G(n)-5.832 E .23(each entry belo)72 124.2 R 1.53 -.65 -(w, t)-.25 H .23 -(he tag line is a usage synopsis for the command character).65 F 5.229 -(.I)-.55 G 2.729(na)-5.229 G .229(ddition, the \214nal line and)-2.729 F -(column the cursor rests upon, and an)72 136.2 Q 2.5(yo)-.15 G -(ptions which af)-2.5 E(fect the command are noted.)-.25 E F0 -([count] <contr)72 160.2 Q(ol-A>)-.18 E F1 .558(Search forw)97 172.2 R -(ard)-.1 E/F2 10/Courier@0 SF(count)3.058 E F1 .558 -(times for the current w)3.058 F 3.058(ord. The)-.1 F .558(current w) -3.058 F .558(ord be)-.1 F .558(gins at the \214rst non-whites-)-.15 F -.488(pace character on or after the current cursor position, and e)97 -184.2 R .487(xtends up to the ne)-.15 F .487(xt non-w)-.15 F .487 -(ord character)-.1 F .093(or the end of the line.)97 196.2 R .093 -(The search is literal, i.e. no characters in the w)5.093 F .093(ord ha) --.1 F .393 -.15(ve a)-.2 H .393 -.15(ny s).15 H .093(pecial meaning in) -.15 F .049(terms of Re)97 208.2 R .049(gular Expressions.)-.15 F .048(It is an error if no matching pattern is found between the starting posi-) -5.049 F(tion and the end of the \214le.)97 220.2 Q(The)97 244.2 Q F0 -(<contr)3.284 E(ol-A>)-.18 E F1 .784(command is an absolute mo)3.284 F --.15(ve)-.15 G 3.285(ment. The).15 F F0(<contr)3.285 E(ol-A>)-.18 E F1 -.785(command may be used as)3.285 F .265(the motion component of other) -97 256.2 R F0(vi)2.764 E F1 .264(commands, in which case an)2.764 F -2.764(yt)-.15 G -.15(ex)-2.764 G 2.764(tc).15 G .264(opied into a b) --2.764 F(uf)-.2 E .264(fer is character)-.25 F(oriented.)97 268.2 Q -21.39(Line: Set)97 292.2 R(to the line where the w)2.5 E(ord is found.) --.1 E 7.49(Column: Set)97 304.2 R(to the \214rst character of the w)2.5 -E(ord.)-.1 E 8.05(Options: Af)97 316.2 R(fected by the)-.25 E F0(ignor) -2.5 E(ecase)-.18 E F1(and)2.5 E F0(wrapscan)2.5 E F1(options.)2.5 E F0 -([count] <contr)72 340.2 Q(ol-B>)-.18 E F1 -.15(Pa)97 352.2 S .767 -(ge backw).15 F(ard)-.1 E F2(count)3.267 E F1 3.267(screens. T)3.267 F -.967 -.1(wo l)-.8 H .767(ines of o).1 F -.15(ve)-.15 G .767 -(rlap are maintained, if possible, by displaying the).15 F(windo)97 -364.2 Q 5.907(ws)-.25 G 3.407(tarting at line)-5.907 F F2 3.407 -(\(top_line - count * window_size\) + 2)5.907 F F1 5.906(,w)C(here) --5.906 E F2(win-)5.906 E(dow_size)97 376.2 Q F1 .506(is the v)3.006 F -.506(alue of the)-.25 F F0(windo)3.006 E(w)-.1 E F1 3.007(option. \(In) -3.007 F .507(the case of split screens, this size is corrected to)3.007 -F(the current screen size.\))97 388.2 Q(It is an error if the mo)5 E --.15(ve)-.15 G(ment is past the be).15 E(ginning of the \214le.)-.15 E -21.39(Line: Set)97 412.2 R(to the last line of te)2.5 E -(xt displayed on the screen.)-.15 E 7.49(Column: Set)97 424.2 R -(to the \214rst nonblank character of the line.)2.5 E 8.05(Options: Af) -97 436.2 R(fected by the)-.25 E F0(windo)2.5 E(w)-.1 E F1(option.)2.5 E -F0([count] <contr)72 460.2 Q(ol-D>)-.18 E F1 .447(Scroll forw)97 472.2 R -(ard)-.1 E F2(count)2.947 E F1 2.947(lines. If)2.947 F F2(count)2.947 E -F1 .447(is not speci\214ed, scroll forw)2.947 F .446 -(ard the number of lines speci\214ed)-.1 F .71(by the last)97 484.2 R F0 -(<contr)3.21 E(ol-D>)-.18 E F1(or)3.21 E F0(<contr)3.211 E(ol-U>)-.18 E -F1 3.211(command. If)3.211 F .711(this is the \214rst)3.211 F F0(<contr) -3.211 E(ol-D>)-.18 E F1(or)3.211 E F0(<contr)3.211 E(ol-U>)-.18 E F1 -1.289(command, scroll forw)97 496.2 R 1.289 -(ard half the number of lines in the screen.)-.1 F 1.289 -(\(In the case of split screens, the)6.289 F(def)97 508.2 Q .046(ault scrolling distance is corrected to half the current screen size.\)) --.1 F .046(It is an error if the mo)5.046 F -.15(ve)-.15 G .047(ment is) -.15 F(past the end of the \214le.)97 520.2 Q 21.39(Line: Set)97 544.2 R -(to the current line plus the number of lines scrolled.)2.5 E 7.49 -(Column: Set)97 556.2 R(to the \214rst nonblank character of the line.) -2.5 E 8.05(Options: None.)97 568.2 R F0([count] <contr)72 592.2 Q(ol-E>) --.18 E F1 .743(Scroll forw)97 604.2 R(ard)-.1 E F2(count)3.243 E F1 .743 -(lines, lea)3.243 F .743 -(ving the cursor on the current line and column, if possible.)-.2 F .743 -(It is an)5.743 F(error if the mo)97 616.2 Q -.15(ve)-.15 G -(ment is past the end of the \214le.).15 E 21.39(Line: Unchanged)97 -640.2 R .43(unless the current line scrolls of)2.93 F 2.93(ft)-.25 G .43 -(he screen, in which case it is set to the \214rst)-2.93 F -(line on the screen.)142 652.2 Q 7.49(Column: Unchanged)97 664.2 R .201 -(unless the current line scrolls of)2.702 F 2.701(ft)-.25 G .201 -(he screen, in which case it is set to the most)-2.701 F(attracti)142 -676.2 Q .3 -.15(ve c)-.25 H(ursor position.).15 E 8.05(Options: None.)97 -688.2 R F0([count] <contr)72 712.2 Q(ol-F>)-.18 E F1 -.15(Pa)97 724.2 S -1.282(ge forw).15 F(ard)-.1 E F2(count)3.782 E F1 3.783(screens. T)3.783 -F 1.483 -.1(wo l)-.8 H 1.283(ines of o).1 F -.15(ve)-.15 G 1.283 -(rlap are maintained, if possible, by displaying the).15 F EP -%%Page: 19 18 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-19)-2.5 F/F1 10/Times-Roman@0 SF(windo)97 96 Q -2.632(ws)-.25 G .132(tarting at line)-2.632 F/F2 10/Courier@0 SF .132 -(top_line + count * window_size - 2)2.632 F F1 2.631(,w)C(here)-2.631 E -F2(window_size)2.631 E F1(is)2.631 E 1.291(the v)97 108 R 1.291 -(alue of the)-.25 F F0(windo)3.791 E(w)-.1 E F1 3.791(option. \(In)3.791 -F 1.292 -(the case of split screens, this size is corrected to the current)3.792 -F(screen size.\))97 120 Q(It is an error if the mo)5 E -.15(ve)-.15 G -(ment is past the end of the \214le.).15 E 21.39(Line: Set)97 144 R -(to the \214rst line on the screen.)2.5 E 7.49(Column: Set)97 156 R -(to the \214rst nonblank character of the current line.)2.5 E 8.05 -(Options: Af)97 168 R(fected by the)-.25 E F0(windo)2.5 E(w)-.1 E F1 -(option.)2.5 E F0(<contr)72 192 Q(ol-G>)-.18 E F1 1.377 -(Display the \214le information.)97 204 R 1.376 -(The information includes the current pathname, the current line, the) -6.376 F .27(number of total lines in the \214le, the current line as a percentage of the total lines in the \214le, if the \214le) -97 216 R .354(has been modi\214ed, w)97 228 R .353(as able to be lock) --.1 F .353(ed, if the \214le')-.1 F 2.853(sn)-.55 G .353 -(ame has been changed, and if the edit session)-2.853 F(is read-only)97 -240 Q(.)-.65 E 21.39(Line: Unchanged.)97 264 R 7.49(Column: Unchanged.) -97 276 R 8.05(Options: None.)97 288 R F0([count] <contr)72 312 Q(ol-H>) --.18 E([count] h)72 324 Q F1(Mo)97 336 Q .78 -.15(ve t)-.15 H .48 -(he cursor back).15 F F2(count)2.98 E F1 .48 -(characters in the current line.)2.98 F .481 -(It is an error if the cursor is on the \214rst)5.48 F -(character in the line.)97 348 Q(The)97 372 Q F0(<contr)2.916 E(ol-H>) --.18 E F1(and)2.916 E F0(h)2.916 E F1 .416 -(commands may be used as the motion component of other)2.916 F F0(vi) -2.915 E F1 .415(commands, in)2.915 F(which case an)97 384 Q 2.5(yt)-.15 -G -.15(ex)-2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Unchanged.)97 408 R 7.49 -(Column: Set)97 420 R .803(to the)3.303 F F2 .803(current - count)3.303 -F F1(character)3.303 E 3.303(,o)-.4 G 1.603 -.4(r, t)-3.303 H .803 -(he \214rst character in the line if).4 F F2(count)3.304 E F1(is)3.304 E -(greater than or equal to the number of characters in the line before the cursor) -142 432 Q(.)-.55 E 8.05(Options: None.)97 444 R F0([count] <contr)72 468 -Q(ol-J>)-.18 E([count] <contr)72 480 Q(ol-N>)-.18 E([count] j)72 492 Q -F1(Mo)97 504 Q 2.373 -.15(ve t)-.15 H 2.073(he cursor do).15 F(wn)-.25 E -F2(count)4.573 E F1 2.073(lines without changing the current column.) -4.573 F 2.072(It is an error if the)7.072 F(mo)97 516 Q -.15(ve)-.15 G -(ment is past the end of the \214le.).15 E(The)97 540 Q F0(<contr)3.363 -E(ol-J>)-.18 E F1(,)A F0(<contr)3.363 E(ol-N>)-.18 E F1(and)3.363 E F0 -(j)3.363 E F1 .863 -(commands may be used as the motion component of other)3.363 F F0(vi) -3.364 E F1(commands, in which case an)97 552 Q 2.5(yt)-.15 G -.15(ex) --2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is line oriented.)-.25 E 21.39(Line: Set)97 576 R -(to the current line plus)2.5 E F2(count)2.5 E F1(.)A 7.49(Column: The) -97 588 R(most attracti)2.5 E .3 -.15(ve c)-.25 H(ursor position.).15 E -8.05(Options: None.)97 600 R F0(<contr)72 624 Q(ol-L>)-.18 E(<contr)72 -636 Q(ol-R>)-.18 E F1(Repaint the screen.)97 648 Q 21.39 -(Line: Unchanged.)97 672 R 7.49(Column: Unchanged.)97 684 R 8.05 -(Options: None.)97 696 R EP -%%Page: 20 19 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-20 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E([count] <contr)72 96 Q -(ol-M>)-.18 E([count] +)72 108 Q/F1 10/Times-Roman@0 SF(Mo)97 120 Q -1.125 -.15(ve t)-.15 H .825(he cursor do).15 F(wn)-.25 E/F2 10/Courier@0 -SF(count)3.325 E F1 .825 -(lines to the \214rst nonblank character of that line.)3.325 F .824 -(It is an error if the)5.825 F(mo)97 132 Q -.15(ve)-.15 G -(ment is past the end of the \214le.).15 E(The)97 156 Q F0(<contr)2.803 -E(ol-M>)-.18 E F1(and)2.803 E F0(+)2.803 E F1 .303 -(commands may be used as the motion component of other)2.803 F F0(vi) -2.803 E F1 .304(commands, in)2.804 F(which case an)97 168 Q 2.5(yt)-.15 -G -.15(ex)-2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is line oriented.)-.25 E 21.39(Line: Set)97 192 R -(to the current line plus)2.5 E F2(count)2.5 E F1(.)A 7.49(Column: Set) -97 204 R(to the \214rst nonblank character in the line.)2.5 E 8.05 -(Options: None.)97 216 R F0([count] <contr)72 240 Q(ol-P>)-.18 E -([count] k)72 252 Q F1(Mo)97 264 Q 2.965 -.15(ve t)-.15 H 2.665 -(he cursor up).15 F F2(count)5.165 E F1 2.664 -(lines, without changing the current column.)5.165 F 2.664 -(It is an error if the)7.664 F(mo)97 276 Q -.15(ve)-.15 G -(ment is past the be).15 E(ginning of the \214le.)-.15 E(The)97 300 Q F0 -(<contr)3.02 E(ol-P>)-.18 E F1(and)3.02 E F0(k)3.02 E F1 .52 -(commands may be used as the motion component of other)3.02 F F0(vi)3.02 -E F1 .52(commands, in)3.02 F(which case an)97 312 Q 2.5(yt)-.15 G -.15 -(ex)-2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is line oriented.)-.25 E 21.39(Line: Set)97 336 R -(to the current line minus)2.5 E F2(count)2.5 E F1(.)A 7.49(Column: The) -97 348 R(most attracti)2.5 E .3 -.15(ve c)-.25 H(ursor position.).15 E -8.05(Options: None.)97 360 R F0(<contr)72 384 Q(ol-T>)-.18 E F1 -(Return to the most recent tag conte)97 396 Q 2.5(xt. The)-.15 F F0 -(<contr)2.5 E(ol-T>)-.18 E F1(command is an absolute mo)2.5 E -.15(ve) --.15 G(ment.).15 E 21.39(Line: Set)97 420 R(to the conte)2.5 E -(xt of the pre)-.15 E(vious tag command.)-.25 E 7.49(Column: Set)97 432 -R(to the conte)2.5 E(xt of the pre)-.15 E(vious tag command.)-.25 E 8.05 -(Options: None.)97 444 R F0([count] <contr)72 468 Q(ol-U>)-.18 E F1 .262 -(Scroll backw)97 480 R(ard)-.1 E F2(count)2.762 E F1 2.762(lines. If) -2.762 F F2(count)2.762 E F1 .262(is not speci\214ed, scroll backw)2.762 -F .262(ard the number of lines speci-)-.1 F .358(\214ed by the last)97 -492 R F0(<contr)2.858 E(ol-D>)-.18 E F1(or)2.858 E F0(<contr)2.858 E -(ol-U>)-.18 E F1 2.858(command. If)2.858 F .358(this is the \214rst) -2.858 F F0(<contr)2.858 E(ol-D>)-.18 E F1(or)2.858 E F0(<contr)2.858 E -(ol-)-.18 E(U>)97 504 Q F1 .823(command, scroll backw)3.323 F .823 -(ard half the number of lines in the screen.)-.1 F .823 -(\(In the case of split screens,)5.823 F 2.335(the def)97 516 R 2.335(ault scrolling distance is corrected to half the current screen size.\)) --.1 F 2.336(It is an error if the)7.335 F(mo)97 528 Q -.15(ve)-.15 G -(ment is past the be).15 E(ginning of the \214le.)-.15 E 21.39 -(Line: Set)97 552 R(to the current line minus the amount scrolled.)2.5 E -7.49(Column: Set)97 564 R -(to the \214rst nonblank character in the line.)2.5 E 8.05 -(Options: None.)97 576 R F0(<contr)72 600 Q(ol-W>)-.18 E F1 .535 -(Switch to the ne)97 612 R .535(xt lo)-.15 F .535 -(wer screen in the windo)-.25 F 1.835 -.65(w, o)-.25 H 1.335 -.4(r, t) -.65 H 3.035(ot).4 G .535(he \214rst screen if there are no lo)-3.035 F -.535(wer screens in)-.25 F(the windo)97 624 Q -.65(w.)-.25 G 21.39 -(Line: Set)97 648 R(to the pre)2.5 E(vious cursor position in the windo) --.25 E -.65(w.)-.25 G 7.49(Column: Set)97 660 R(to the pre)2.5 E -(vious cursor position in the windo)-.25 E -.65(w.)-.25 G 8.05 -(Options: None.)97 672 R F0([count] <contr)72 696 Q(ol-Y>)-.18 E F1 .532 -(Scroll backw)97 708 R(ard)-.1 E F2(count)3.032 E F1 .532(lines, lea) -3.032 F .532(ving the current line and column as is, if possible.)-.2 F -.533(It is an error if)5.532 F(the mo)97 720 Q -.15(ve)-.15 G -(ment is past the be).15 E(ginning of the \214le.)-.15 E EP -%%Page: 21 20 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-21)-2.5 F/F1 10/Times-Roman@0 SF 21.39 -(Line: Unchanged)97 96 R .529(unless the current line scrolls of)3.029 F -3.028(ft)-.25 G .528(he screen, in which case it is set to the last) --3.028 F(line of te)142 108 Q(xt displayed on the screen.)-.15 E 7.49 -(Column: Unchanged)97 120 R 1.82(unless the current line scrolls of)4.32 -F 4.321(ft)-.25 G 1.821(he screen, in which case it is the most)-4.321 F -(attracti)142 132 Q .3 -.15(ve c)-.25 H(ursor position.).15 E 8.05 -(Options: None.)97 144 R F0(<contr)72 168 Q(ol-Z>)-.18 E F1 .325 -(Suspend the current editor session.)97 180 R .325 -(If the \214le has been modi\214ed since it w)5.325 F .325 -(as last completely written,)-.1 F .196(and the)97 192 R F0(auto)2.696 E -(write)-.1 E F1 .196(option is set, the \214le is written before the editor session is suspended.) -2.696 F .197(If this write)5.196 F -.1(fa)97 204 S -(ils, the editor session is not suspended.).1 E 21.39(Line: Unchanged.) -97 228 R 7.49(Column: Unchanged.)97 240 R 8.05(Options: Af)97 252 R -(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1(option.)2.5 E F0 -(<escape>)72 276 Q F1(Ex)97 288 Q(ecute)-.15 E F0(ex)2.579 E F1 .079 -(commands or cancel partial commands.)2.579 F .078(If an)5.078 F F0(ex) -2.578 E F1 .078(command is being entered \(e.g.)2.578 F F0(/)5.078 E F1 -(,)A F0(?)2.578 E F1(,)A F0(:)2.578 E F1(or)2.578 E F0(!)97 300 Q F1 -3.67(\), the command is e)B -.15(xe)-.15 G 6.171(cuted. If).15 F 6.171 -(ap)6.171 G 3.671(artial command has been entered, e.g.)-6.171 F<99> -8.671 E/F2 10/Courier@0 SF([0-9]*)A F1 3.671(\232, or)B<99>97 312 Q F2 -([0-9]*[!<>cdy])A F1(\232, the command is cancelled.)A -(Otherwise, it is an error)5 E(.)-.55 E 21.39(Line: When)97 336 R(an) -2.875 E F0(ex)2.875 E F1 .375(command is being e)2.875 F -.15(xe)-.15 G -.374(cuted, the current line is set as described for that com-).15 F 2.5 -(mand. Otherwise,)142 348 R(unchanged.)2.5 E 7.49(Column: When)97 360 R -(an)3.436 E F0(ex)3.436 E F1 .936(command is being e)3.436 F -.15(xe) --.15 G .936(cuted, the current column is set as described for that).15 F -2.5(command. Otherwise,)142 372 R(unchanged.)2.5 E 8.05(Options: None.) -97 384 R F0(<contr)72 408 Q(ol-]>)-.18 E F1 .363 -(Push a tag reference onto the tag stack.)97 420 R .363 -(The tags \214les \(see the)5.363 F F0(tags)2.863 E F1 .362 -(option for more information\) are)2.863 F .996 -(searched for a tag matching the current w)97 432 R 3.497(ord. The)-.1 F -.997(current w)3.497 F .997(ord be)-.1 F .997 -(gins at the \214rst non-whitespace)-.15 F .181 -(character on or after the current cursor position, and e)97 444 R .18 -(xtends up to the ne)-.15 F .18(xt non-w)-.15 F .18 -(ord character or the)-.1 F .228(end of the line.)97 456 R .228(If a matching tag is found, the current \214le is discarded and the \214le containing the tag) -5.228 F(reference is edited.)97 468 Q .296 -(If the current \214le has been modi\214ed since it w)97 492 R .296 -(as last completely written, the command will f)-.1 F 2.795(ail. The)-.1 -F F0(<contr)97 504 Q(ol-]>)-.18 E F1(command is an absolute mo)2.5 E --.15(ve)-.15 G(ment.).15 E 21.39(Line: Set)97 528 R -(to the line containing the matching tag string.)2.5 E 7.49(Column: Set) -97 540 R(to the start of the matching tag string.)2.5 E 8.05 -(Options: Af)97 552 R(fected by the)-.25 E F0(tags)2.5 E F1(and)2.5 E F0 -(taglength)2.5 E F1(options.)2.5 E F0(<contr)72 576 Q(ol-^>)-.18 E F1 -(Switch to the most recently edited \214le.)97 588 Q .34 -(If the \214le has been modi\214ed since it w)97 612 R .341 -(as last completely written, and the)-.1 F F0(auto)2.841 E(write)-.1 E -F1 .341(option is set, the)2.841 F .804(\214le is written out.)97 624 R -.804(If this write f)5.804 F .804(ails, the command will f)-.1 F 3.304 -(ail. Otherwise,)-.1 F .804(if the current \214le has been)3.304 F -(modi\214ed since it w)97 636 Q -(as last completely written, the command will f)-.1 E(ail.)-.1 E 21.39 -(Line: Set)97 660 R(to the line the cursor w)2.5 E -(as on when the \214le w)-.1 E(as last edited.)-.1 E 7.49(Column: Set)97 -672 R(to the column the cursor w)2.5 E(as on when the \214le w)-.1 E -(as last edited.)-.1 E 8.05(Options: Af)97 684 R(fected by the)-.25 E F0 -(auto)2.5 E(write)-.1 E F1(option.)2.5 E F0([count] <space>)72 708 Q EP -%%Page: 22 21 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-22 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E([count] l)72 96 Q/F1 10 -/Times-Roman@0 SF(Mo)97 108 Q 1.358 -.15(ve t)-.15 H 1.058 -(he cursor forw).15 F(ard)-.1 E/F2 10/Courier@0 SF(count)3.558 E F1 -1.059(characters without changing the current line.)3.559 F 1.059 -(It is an error if the)6.059 F -(cursor is on the last character in the line.)97 120 Q(The)97 144 Q F0 -(<space>)2.538 E F1(and)2.538 E F0(l)2.538 E F1 .038 -(commands may be used as the motion component of other)2.538 F F0(vi) -2.537 E F1 .037(commands, in which)2.537 F .33(case an)97 156 R 2.83(yt) --.15 G -.15(ex)-2.83 G 2.83(tc).15 G .33(opied into a b)-2.83 F(uf)-.2 E -.331(fer is character oriented.)-.25 F .331 -(In addition, these commands may be used as)5.331 F .382(the motion components of other commands when the cursor is on the last character in the line, with-) -97 168 R(out error)97 180 Q(.)-.55 E 21.39(Line: Unchanged.)97 204 R -7.49(Column: Set)97 216 R .262(to the current character plus the ne) -2.761 F(xt)-.15 E F2(count)2.762 E F1 .262 -(characters, or to the last character on the)2.762 F .271(line if)142 -228 R F2(count)2.771 E F1 .271(is greater than the number of characters in the line after the current charac-) -2.771 F(ter)142 240 Q(.)-.55 E 8.05(Options: None.)97 252 R F0 -([count] ! motion shell-ar)72 276 Q(gument\(s\)<carriage-r)-.1 E(etur) --.18 E(n>)-.15 E F1 .118(Replace te)97 288 R .118 -(xt with results from a shell command.)-.15 F -.15(Pa)5.118 G .118 -(ss the lines speci\214ed by the).15 F F2(count)2.618 E F1(and)2.619 E -F2(motion)2.619 E F1(ar)97 300 Q .712 -(guments as standard input to the program named by the)-.18 F F0(shell) -3.212 E F1 .712(option, and replace those lines with)3.212 F(the output \(both standard error and standard output\) of that command.) -97 312 Q(After the motion is entered,)97 336 Q F0(vi)2.5 E F1 -(prompts for ar)2.5 E(guments to the shell command.)-.18 E -.4(Wi)97 360 -S .14(thin those ar).4 F .14(guments, \231)-.18 F F2(%)A F1 2.64<9a61>C -.14(nd \231)-2.64 F F2(#)A F1 2.64<9a63>C .14(haracters are e)-2.64 F -.14(xpanded to the current and alternate pathnames,)-.15 F(respecti)97 -372 Q -.15(ve)-.25 G(ly).15 E 6.089(.T)-.65 G 1.089(he \231)-6.089 F F2 -(!)A F1 6.089<9a63>C 1.089(haracter is e)-6.089 F 1.089 -(xpanded with the command te)-.15 F 1.089(xt of the pre)-.15 F(vious) --.25 E F0(!)3.588 E F1(or)6.088 E F0(:!)3.588 E F1(com-)6.088 E 2.648 -(mands. \(Therefore,)97 384 R .148(the command)2.648 F F0(!<motion>!) -2.648 E F1 .148(repeats the pre)5.148 F(vious)-.25 E F0(!)2.648 E F1 -2.649(command.\) The)5.149 F .149(special mean-)2.649 F .498 -(ings of \231)97 396 R F2(%)A F1 .498<9a2c2099>B F2(#)A F1 2.998<9a61>C -.498(nd \231)-2.998 F F2(!)A F1 5.498<9a63>C .498(an be o)-5.498 F -.15 -(ve)-.15 G .498(rridden by escaping them with a backslash.).15 F .498 -(If no)5.498 F F0(!)2.998 E F1(or)5.498 E F0(:!)2.998 E F1(com-)5.498 E -1.03(mand has yet been e)97 408 R -.15(xe)-.15 G 1.03 -(cuted, it is an error to use an unescaped \231).15 F F2(!)A F1 6.03 -<9a63>C 1.03(haracter as a shell ar)-6.03 F(gument.)-.18 E(The)97 420 Q -F0(!)3.835 E F1 1.334(command does)6.335 F/F3 10/Times-Italic@0 SF(not) -3.834 E F1 1.334(do shell e)3.834 F 1.334(xpansion on the strings pro) --.15 F 1.334(vided as ar)-.15 F 3.834(guments. If)-.18 F(an)3.834 E -3.834(yo)-.15 G 3.834(ft)-3.834 G(he)-3.834 E(abo)97 432 Q .949 -.15 -(ve ex)-.15 H .649(pansions change the ar).15 F .649 -(guments the user entered, the command is redisplayed at the bottom)-.18 -F(of the screen.)97 444 Q F0 -.37(Vi)97 468 S F1 .863(then e)3.733 F --.15(xe)-.15 G .863(cutes the program named by the).15 F F0(shell)3.363 -E F1 .863(option, with a)3.363 F F0<ad63>3.363 E F1 .863(\215ag follo) -3.363 F .863(wed by the ar)-.25 F(guments)-.18 E(\(which are b)97 480 Q -(undled into a single ar)-.2 E(gument\).)-.18 E(The)97 504 Q F0(!)2.5 E -F1(command is permitted in an empty \214le.)5 E -(If the \214le has been modi\214ed since it w)97 528 Q -(as last completely written, the)-.1 E F0(!)2.5 E F1(command will w)5 E -(arn you.)-.1 E 21.39(Line: The)97 552 R -(\214rst line of the replaced te)2.5 E(xt.)-.15 E 7.49(Column: The)97 -564 R(\214rst column of the replaced te)2.5 E(xt.)-.15 E 8.05 -(Options: Af)97 576 R(fected by the)-.25 E F0(shell)2.5 E F1(option.)2.5 -E F0([count] # #|+|-)72 600 Q F1 .238 -(Increment or decrement the number referenced by the cursor)97 612 R -5.238(.I)-.55 G 2.738(ft)-5.238 G .238(he trailing character is a)-2.738 -F F2(+)2.739 E F1(or)2.739 E F2(#)2.739 E F1 2.739(,t)C(he)-2.739 E 1.3 -(number is incremented by)97 624 R F2(count)3.8 E F1 6.3(.I)C 3.8(ft) --6.3 G 1.3(he trailing character is a)-3.8 F F2(-)3.8 E F1 3.8(,t)C 1.3 -(he number is decremented by)-3.8 F F2(count)97 636 Q F1(.)A 2.79(Al)97 -660 S .29(eading \231)-2.79 F F2(0X)A F1 2.79<9a6f>C 2.79<7299>-2.79 G -F2(0x)-2.79 E F1 2.79<9a63>C .29 -(auses the number to be interpreted as a he)-2.79 F .29 -(xadecimal number)-.15 F 5.29(.O)-.55 G .29(therwise, a)-5.29 F .316 -(leading \231)97 672 R F2(0)A F1 2.816<9a63>C .315 -(auses the number to be interpreted as an octal number)-2.816 F 2.815 -(,u)-.4 G .315(nless a non-octal digit is found)-2.815 F 1 -(as part of the number)97 684 R 6(.O)-.55 G 1 -(therwise, the number is interpreted as a decimal number)-6 F 3.5(,a)-.4 -G 1(nd may ha)-3.5 F 1.3 -.15(ve a)-.2 H(leading)97 696 Q F2(+)2.699 E -F1(or)2.699 E F2(-)2.699 E F1 2.699(sign. The)2.699 F .199 -(current number be)2.699 F .199 -(gins at the \214rst non-blank character at or after the current)-.15 F -.155(cursor position, and e)97 708 R .156 -(xtends up to the end of the line or the \214rst character that isn') --.15 F 2.656(tap)-.18 G .156(ossible charac-)-2.656 F .083 -(ter for the numeric type.)97 720 R .083 -(The format of the number \(e.g. leading 0')5.083 F .082 -(s, signs\) is retained unless the ne)-.55 F(w)-.25 E EP -%%Page: 23 22 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-23)-2.5 F/F1 10/Times-Roman@0 SF -.25(va)97 96 -S(lue cannot be represented in the pre).25 E(vious format.)-.25 E 2.402 -(Octal and he)97 120 R 2.403(xadecimal numbers, and the result of the operation, must \214t into an \231) --.15 F/F2 10/Courier@0 SF(unsigned)A(long)97 132 Q F1 2.911 -(\232. Similarly)B 2.911(,d)-.65 G .411 -(ecimal numbers and their result must \214t into a \231)-2.911 F F2 .41 -(signed long)B F1 2.91(\232. It)B .41(is an error)2.91 F -(to use this command when the cursor is not positioned at a number)97 -144 Q(.)-.55 E 21.39(Line: Unchanged.)97 180 R 7.49(Column: Set)97 192 R -(to the \214rst character in the cursor number)2.5 E(.)-.55 E 8.05 -(Options: None.)97 204 R F0([count] $)72 228 Q F1(Mo)97 240 Q 1.177 -.15 -(ve t)-.15 H .878(he cursor to the end of a line.).15 F(If)5.878 E F2 -(count)3.378 E F1 .878(is speci\214ed, the cursor mo)3.378 F -.15(ve) --.15 G 3.378(sd).15 G -.25(ow)-3.378 G(n).25 E F2 .878(count - 1)3.378 F -F1(lines.)97 252 Q .079(It is not an error to use the)97 276 R F0($) -2.578 E F1 .078(command when the cursor is on the last character in the line or when the) -2.578 F(line is empty)97 288 Q(.)-.65 E(The)97 312 Q F0($)2.646 E F1 -.146(command may be used as the motion component of other)2.646 F F0(vi) -2.646 E F1 .146(commands, in which case an)2.646 F 2.647(yt)-.15 G -.15 -(ex)-2.647 G(t).15 E .069(copied into a b)97 324 R(uf)-.2 E .069(fer is character oriented, unless the cursor is at, or before the \214rst nonblank character) --.25 F .161(in the line, in which case it is line oriented.)97 336 R -.161(It is not an error to use the)5.161 F F0($)2.662 E F1 .162 -(command as a motion com-)2.662 F 1.117(ponent when the cursor is on the last character in the line, although it is an error when the line is) -97 348 R(empty)97 360 Q(.)-.65 E 21.39(Line: Set)97 384 R -(to the current line plus)2.5 E F2(count)2.5 E F1(minus 1.)2.5 E 7.49 -(Column: Set)97 396 R(to the last character in the line.)2.5 E 8.05 -(Options: None.)97 408 R F0(%)72 432 Q F1(Mo)97 444 Q .915 -.15(ve t) --.15 H 3.115(ot).15 G .615(he matching character)-3.115 F 5.615(.T)-.55 -G .615(he cursor mo)-5.615 F -.15(ve)-.15 G 3.115(st).15 G 3.115(ot) --3.115 G .616(he parenthesis or curly brace which)-3.115 F/F3 10 -/Times-Italic@0 SF(matc)3.116 E(hes)-.15 E F1 .702(the parenthesis or curly brace found at the current cursor position or which is the closest one to the) -97 456 R .205(right of the cursor on the line.)97 468 R .206 -(It is an error to e)5.206 F -.15(xe)-.15 G .206(cute the).15 F F0(%) -2.706 E F1 .206(command on a line without a parenthe-)2.706 F -(sis or curly brace.)97 480 Q(Historically)5 E 2.5(,a)-.65 G -.15(ny) --2.5 G F2(count)2.65 E F1(speci\214ed to the)2.5 E F0(%)2.5 E F1 -(command w)2.5 E(as ignored.)-.1 E(The)97 504 Q F0(%)2.647 E F1 .147 -(command is an absolute mo)2.647 F -.15(ve)-.15 G 2.646(ment. The).15 F -F0(%)2.646 E F1 .146(command may be used as the motion component)2.646 F -1(of other)97 516 R F0(vi)3.5 E F1 1(commands, in which case an)3.5 F -3.5(yt)-.15 G -.15(ex)-3.5 G 3.5(tc).15 G 1(opied into a b)-3.5 F(uf)-.2 -E 1(fer is character oriented, unless the)-.25 F .116 -(starting point of the re)97 528 R .116(gion is at or before the \214rst nonblank character on its line, and the ending point) --.15 F(is at or after the last nonblank character on its line, in which case it is line oriented.) -97 540 Q 21.39(Line: Set)97 564 R -(to the line containing the matching character)2.5 E(.)-.55 E 7.49 -(Column: Set)97 576 R(to the matching character)2.5 E(.)-.55 E 8.05 -(Options: None.)97 588 R F0(&)72 612 Q F1(Repeat the pre)97 624 Q -(vious substitution command on the current line.)-.25 E(Historically)97 -648 Q 2.5(,a)-.65 G -.15(ny)-2.5 G F2(count)2.65 E F1 -(speci\214ed to the)2.5 E F0(&)2.5 E F1(command w)2.5 E(as ignored.)-.1 -E 21.39(Line: Unchanged.)97 672 R 7.49(Column: Unchanged)97 684 R 1.212 -(if the cursor w)3.711 F 1.212 -(as on the last character in the line, otherwise, set to the \214rst)-.1 -F(nonblank character in the line.)142 696 Q 8.05(Options: Af)97 708 R -(fected by the)-.25 E F0(edcompatible)2.5 E F1(,)A F0(extended)2.5 E F1 -(,)A F0(ignor)2.5 E(ecase)-.18 E F1(and)2.5 E F0(magic)2.5 E F1 -(options.)2.5 E EP -%%Page: 24 23 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-24 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E(\264<character>)72 96 Q -(`<character>)72 108 Q/F1 10/Times-Roman@0 SF .759(Return to a conte)97 -120 R .759(xt mark)-.15 F .759(ed by the character)-.1 F/F2 10/Courier@0 -SF(<character>)3.259 E F1 5.759(.I)C(f)-5.759 E F2(<character>)3.259 E -F1 .758(is the \231)3.258 F F2(')A F1 3.258<9a6f>C 3.258<7299>-3.258 G -F2(`)-3.258 E F1<9a>A(character)97 132 Q 2.756(,r)-.4 G .256 -(eturn to the pre)-2.756 F .256(vious conte)-.25 F 2.756(xt. If)-.15 F -F2(<character>)2.756 E F1 .256(is an)2.756 F 2.756(yo)-.15 G .256 -(ther character)-2.756 F 2.756(,r)-.4 G .256(eturn to the con-)-2.756 F -(te)97 144 Q .808(xt mark)-.15 F .808(ed by that character \(see the)-.1 -F F0(m)3.308 E F1 .808(command for more information\).)3.308 F .807 -(If the command is the)5.807 F F0<b4>3.307 E F1 .61 -(command, only the line v)97 156 R .611(alue is restored, and the cursor is placed on the \214rst nonblank character of) --.25 F(that line.)97 168 Q(If the command is the)5 E F0(`)2.5 E F1 -(command, both the line and column v)2.5 E(alues are restored.)-.25 E -.648(It is an error if the conte)97 192 R .647(xt no longer e)-.15 F -.647(xists because of line deletion.)-.15 F(\(Conte)5.647 E .647 -(xts follo)-.15 F 3.147(wl)-.25 G .647(ines that are)-3.147 F(mo)97 204 -Q -.15(ve)-.15 G(d, or which are deleted and then restored.\)).15 E(The) -97 228 Q F0<b4>2.958 E F1(and)2.958 E F0(`)2.958 E F1 .458 -(commands are both absolute mo)2.958 F -.15(ve)-.15 G 2.958(ments. The) -.15 F 2.958(ym)-.15 G .459(ay be used as a motion component for)-2.958 F -(other)97 240 Q F0(vi)2.635 E F1 2.635(commands. F)2.635 F .135(or the) --.15 F F0<b4>2.634 E F1 .134(command, an)2.634 F 2.634(yt)-.15 G -.15 -(ex)-2.634 G 2.634(tc).15 G .134(opied into a b)-2.634 F(uf)-.2 E .134 -(fer is line oriented.)-.25 F -.15(Fo)5.134 G 2.634(rt).15 G(he)-2.634 E -F0(`)2.634 E F1(com-)2.634 E 1.081(mand, an)97 252 R 3.581(yt)-.15 G --.15(ex)-3.581 G 3.581(tc).15 G 1.081(opied into a b)-3.581 F(uf)-.2 E -1.082(fer is character oriented, unless it both starts and stops at the \214rst) --.25 F .854(character in the line, in which case it is line oriented.)97 -264 R .854(In addition, when using the)5.854 F F0(`)3.354 E F1 .854 -(command as a)3.354 F .479(motion component, commands which mo)97 276 R -.779 -.15(ve b)-.15 H(ackw).15 E .479 -(ard and started at the \214rst character in the line, or)-.1 F(mo)97 -288 Q .463 -.15(ve f)-.15 H(orw).15 E .162(ard and ended at the \214rst character in the line, are corrected to the last character of the line) --.1 F(preceding the starting and ending lines, respecti)97 300 Q -.15 -(ve)-.25 G(ly).15 E(.)-.65 E 21.39(Line: Set)97 324 R -(to the line from the conte)2.5 E(xt.)-.15 E 7.49(Column: Set)97 336 R -.537(to the \214rst nonblank character in the line, for the)3.037 F F0 -<b4>3.038 E F1 .538(command, and set to the conte)3.038 F(xt')-.15 E(s) --.55 E(column for the)142 348 Q F0(`)2.5 E F1(command.)2.5 E 8.05 -(Options: None.)97 360 R F0([count] \()72 384 Q F1(Back up)97 396 Q F2 -(count)2.5 E F1(sentences.)2.5 E(The)97 420 Q F0(\()2.786 E F1 .286 -(command is an absolute mo)2.786 F -.15(ve)-.15 G 2.785(ment. The).15 F -F0(\()2.785 E F1 .285(command may be used as the motion component of) -2.785 F(other)97 432 Q F0(vi)2.781 E F1 .281(commands, in which case an) -2.781 F 2.781(yt)-.15 G -.15(ex)-2.781 G 2.781(tc).15 G .281 -(opied into a b)-2.781 F(uf)-.2 E .281 -(fer is character oriented, unless the start-)-.25 F .985 -(ing and stopping points of the re)97 444 R .985(gion are the \214rst character in the line, in which case it is line ori-) --.15 F 2.71(ented. If)97 456 R .21 -(it is line oriented, the starting point of the re)2.71 F .21 -(gion is adjusted to be the end of the line imme-)-.15 F -(diately before the starting cursor position.)97 468 Q 21.39(Line: Set) -97 492 R(to the line containing the be)2.5 E(ginning of the sentence.) --.15 E 7.49(Column: Set)97 504 R -(to the \214rst nonblank character of the sentence.)2.5 E 8.05 -(Options: Af)97 516 R(fected by the)-.25 E F0(lisp)2.5 E F1(option.)2.5 -E F0([count] \))72 540 Q F1(Mo)97 552 Q .3 -.15(ve f)-.15 H(orw).15 E -(ard)-.1 E F2(count)2.5 E F1(sentences.)2.5 E(The)97 576 Q F0(\))2.786 E -F1 .286(command is an absolute mo)2.786 F -.15(ve)-.15 G 2.785 -(ment. The).15 F F0(\))2.785 E F1 .285 -(command may be used as the motion component of)2.785 F(other)97 588 Q -F0(vi)2.781 E F1 .281(commands, in which case an)2.781 F 2.781(yt)-.15 G --.15(ex)-2.781 G 2.781(tc).15 G .281(opied into a b)-2.781 F(uf)-.2 E -.281(fer is character oriented, unless the start-)-.25 F .529 -(ing point of the re)97 600 R .528(gion is the \214rst character in the line, in which case it is line oriented.) --.15 F .528(In the latter)5.528 F .752 -(case, if the stopping point of the re)97 612 R .753(gion is also the \214rst character in the line, it is adjusted to be the) --.15 F(end of the line immediately before it.)97 624 Q 21.39(Line: Set) -97 648 R(to the line containing the be)2.5 E(ginning of the sentence.) --.15 E 7.49(Column: Set)97 660 R -(to the \214rst nonblank character of the sentence.)2.5 E 8.05 -(Options: Af)97 672 R(fected by the)-.25 E F0(lisp)2.5 E F1(option.)2.5 -E F0([count] ,)72 696 Q F1(Re)97 708 Q -.15(ve)-.25 G .209 -(rse \214nd character).15 F F2(count)2.709 E F1 2.708(times. Re)2.709 F --.15(ve)-.25 G .208(rse the last).15 F F0(F)2.708 E F1(,)A F0(f)2.708 E -F1(,)A F0(T)2.708 E F1(or)2.708 E F0(t)2.708 E F1 .208 -(command, searching the other w)2.708 F(ay)-.1 E(in the line,)97 720 Q -F2(count)2.5 E F1 2.5(times. It)2.5 F(is an error if a)2.5 E F0(F)2.5 E -F1(,)A F0(f)2.5 E F1(,)A F0(T)2.5 E F1(or)2.5 E F0(t)2.5 E F1 -(command has not been performed yet.)2.5 E EP -%%Page: 25 24 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-25)-2.5 F/F1 10/Times-Roman@0 SF(The)97 96 Q -F0(,)2.785 E F1 .285 -(command may be used as the motion component of other)2.785 F F0(vi) -2.785 E F1 .285(commands, in which case an)2.785 F 2.785(yt)-.15 G -.15 -(ex)-2.785 G(t).15 E(copied into a b)97 108 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Unchanged.)97 132 R 7.49 -(Column: Set)97 144 R .463(to the searched-for character for the)2.964 F -F0(F)2.963 E F1(and)2.963 E F0(f)2.963 E F1 .463 -(commands, before the character for the)2.963 F F0(t)2.963 E F1 -(command and after the character for the)142 156 Q F0(T)2.5 E F1 -(command.)2.5 E 8.05(Options: None.)97 168 R F0([count] \255)72 192 Q F1 -(Mo)97 204 Q .3 -.15(ve t)-.15 H 2.5(ot).15 G -(he \214rst nonblank of the pre)-2.5 E(vious line,)-.25 E/F2 10 -/Courier@0 SF(count)2.5 E F1(times.)2.5 E(It is an error if the mo)97 -228 Q -.15(ve)-.15 G(ment is past the be).15 E(ginning of the \214le.) --.15 E(The)97 252 Q F0(-)2.738 E F1 .239 -(command may be used as the motion component of other)2.738 F F0(vi) -2.739 E F1 .239(commands, in which case an)2.739 F 2.739(yt)-.15 G -.15 -(ex)-2.739 G(t).15 E(copied into a b)97 264 Q(uf)-.2 E -(fer is line oriented.)-.25 E 21.39(Line: Set)97 288 R -(to the current line minus)2.5 E F2(count)2.5 E F1(.)A 7.49(Column: Set) -97 300 R(to the \214rst nonblank character in the line.)2.5 E 8.05 -(Options: None.)97 312 R F0([count] .)72 336 Q F1 1.61(Repeat the last) -97 348 R F0(vi)4.11 E F1 1.61(command that modi\214ed te)4.11 F 4.11 -(xt. The)-.15 F 1.61(repeated command may be a command and)4.11 F .919 -(motion component combination.)97 360 R(If)5.919 E F2(count)3.419 E F1 -.919(is speci\214ed, it replaces)3.419 F/F3 10/Times-Italic@0 SF(both) -3.419 E F1 .92(the count speci\214ed for the)3.419 F 1.002(repeated command, and, if applicable, for the repeated motion component.) -97 372 R(If)6.001 E F2(count)3.501 E F1 1.001(is not speci-)3.501 F(\214ed, the counts originally speci\214ed to the command being repeated are used ag) -97 384 Q(ain.)-.05 E .347(As a special case, if the)97 408 R F0(.)2.848 -E F1 .348(command is e)5.348 F -.15(xe)-.15 G .348 -(cuted immediately after the).15 F F0(u)2.848 E F1 .348 -(command, the change log is)2.848 F(rolled forw)97 420 Q(ard or backw) --.1 E(ard, depending on the action of the)-.1 E F0(u)2.5 E F1(command.) -2.5 E 21.39(Line: Set)97 444 R(as described for the repeated command.) -2.5 E 7.49(Column: Set)97 456 R(as described for the repeated command.) -2.5 E 8.05(Options: None.)97 468 R F0(/RE<carriage-r)72 492 Q(etur)-.18 -E(n>)-.15 E(/RE/ [offset]<carriage-r)72 504 Q(etur)-.18 E(n>)-.15 E -(?RE<carriage-r)72 516 Q(etur)-.18 E(n>)-.15 E(?RE? [offset]<carriage-r) -72 528 Q(etur)-.18 E(n>)-.15 E(N)72 540 Q(n)72 552 Q F1 .84(Search forw) -97 564 R .84(ard or backw)-.1 F .84(ard for a re)-.1 F .84(gular e)-.15 -F 3.34(xpression. The)-.15 F .84(commands be)3.34 F .84 -(ginning with a slash \(\231)-.15 F F2(/)A F1<9a29>A .819 -(character are forw)97 576 R .819(ard searches, the commands be)-.1 F -.819(ginning with a question mark \(\231)-.15 F F2(?)A F1 3.32 -(\232\) are)B(backw)3.32 E(ard)-.1 E(searches.)97 588 Q F0 -.37(Vi)6.124 -G F1 1.124(prompts with the leading character on the last line of the screen for a string.) -3.994 F 1.123(It then)6.123 F .341(searches forw)97 600 R .341 -(ard or backw)-.1 F .341(ard in the \214le for the ne)-.1 F .341 -(xt occurrence of the string, which is interpreted as)-.15 F 2.5(aB)97 -612 S(asic Re)-2.5 E(gular Expression.)-.15 E(The)97 636 Q F0(/)3.507 E -F1(and)3.507 E F0(?)3.507 E F1 1.007(commands are absolute mo)6.007 F --.15(ve)-.15 G 3.507(ments. The).15 F 3.507(ym)-.15 G 1.007 -(ay be used as the motion components of)-3.507 F(other)97 648 Q F0(vi) -4.239 E F1 1.739(commands, in which case an)4.239 F 4.239(yt)-.15 G -.15 -(ex)-4.239 G 4.239(tc).15 G 1.739(opied into a b)-4.239 F(uf)-.2 E 1.74 -(fer is character oriented, unless the)-.25 F .678(search started and ended on the \214rst column of a line, in which case it is line oriented.) -97 660 R .678(In addition,)5.678 F(forw)97 672 Q .657 -(ard searches ending at the \214rst character of a line, and backw)-.1 F -.658(ard searches be)-.1 F .658(ginning at the \214rst)-.15 F .881 -(character in the line, are corrected to be)97 684 R .88 -(gin or end at the last character of the pre)-.15 F .88(vious line.)-.25 -F(\(Note,)5.88 E(forw)97 696 Q .069(ard and backw)-.1 F .069 -(ard searches can occur for both)-.1 F F0(/)2.569 E F1(and)2.569 E F0(?) -2.569 E F1 .07(commands, if the)5.07 F F0(wrapscan)2.57 E F1 .07 -(option is set.\))2.57 F .822(If an of)97 720 R .821 -(fset from the matched line is speci\214ed \(i.e. a trailing \231)-.25 F -F2(/)A F1 3.321<9a6f>C 3.321<7299>-3.321 G F2(?)-3.321 E F1 5.821<9a63>C -.821(haracter is follo)-5.821 F .821(wed by a)-.25 F EP -%%Page: 26 25 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-26 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E/F1 10/Times-Roman@0 SF -.386(signed of)97 96 R .386(fset\), the b)-.25 F(uf)-.2 E .386 -(fer will al)-.25 F -.1(wa)-.1 G .386(ys be line oriented \(e.g.).1 F -<99>5.387 E/F2 10/Courier@0 SF(/string/+0)A F1 2.887<9a77>C .387(ill al) --2.887 F -.1(wa)-.1 G .387(ys guarantee a).1 F(line orientation\).)97 -108 Q(The)97 132 Q F0(N)3.437 E F1 .937(command repeats the pre)3.437 F -.937(vious search, b)-.25 F .937(ut in the re)-.2 F -.15(ve)-.25 G .936 -(rse direction.).15 F(The)5.936 E F0(n)3.436 E F1 .936(command repeats) -3.436 F .731(the pre)97 144 R .731(vious search.)-.25 F .731 -(If either the)5.731 F F0(N)3.231 E F1(or)3.231 E F0(n)3.231 E F1 .731 -(commands are used as motion components for the)3.231 F F0(!)3.232 E F1 -(com-)5.732 E .781(mand, you will not be prompted for the te)97 156 R -.781(xt of the bang command, instead the pre)-.15 F .781 -(vious bang com-)-.25 F(mand will be e)97 168 Q -.15(xe)-.15 G(cuted.) -.15 E .27(Missing RE')97 192 R 2.77(s\()-.55 G 2.77(e.g. \231)-2.77 F F2 -(//<carriage-return>)A F1 .27<9a2c2099>B F2(/<carriage-return>)A F1 .27 -<9a2c2099>B F2(??<carriage-)A(return>)97 204 Q F1 .335(\232, or \231)B -F2(?<carriage-return>)A F1 2.834<9a73>C .334 -(earch for the last search RE, in the indicated direction.)-2.834 F -(Searches may be interrupted using the)97 228 Q F2(<interrupt>)2.5 E F1 -(character)2.5 E(.)-.55 E 1.019(Multiple search patterns may be grouped together by delimiting them with semicolons and zero or) -97 252 R .563(more whitespace characters, e.g.)97 264 R F2 .562 -(/foo/ ; ?bar?)5.562 F F1 .562(searches forw)5.562 F .562(ard for)-.1 F -F2(foo)3.062 E F1 .562(and then, from that)3.062 F .646(location, backw) -97 276 R .646(ards for)-.1 F F2(bar)3.146 E F1 5.646(.W)C .646 -(hen search patterns are grouped together in this manner)-5.646 F 3.147 -(,t)-.4 G .647(he search)-3.147 F .213(patterns are e)97 288 R -.25(va) --.25 G .212(luated left to right with the \214nal cursor position determined by the last search pattern.) -.25 F .953(It is also permissible to append a)97 312 R F0(z)3.453 E F1 -.954(command to the search strings, e.g.)3.453 F F2 .954(/foo/ z.)5.954 -F F1 .954(searches for)5.954 F(-)-.2 E -.1(wa)97 324 S(rd for the ne).1 -E(xt occurrence of)-.15 E F2(foo)2.5 E F1 2.5(,a)C -(nd then positions that line in the middle of screen.)-2.5 E 21.39 -(Line: Set)97 348 R(to the line in which the match occurred.)2.5 E 7.49 -(Column: Set)97 360 R(to the \214rst character of the matched string.) -2.5 E 8.05(Options: Af)97 372 R(fected by the)-.25 E F0(edcompatible)2.5 -E F1(,)A F0(extended)2.5 E F1(,)A F0(ignor)2.5 E(ecase)-.18 E F1(,)A F0 -(magic)2.5 E F1 2.5(,a)C(nd)-2.5 E F0(wrapscan)2.5 E F1(options.)2.5 E -F0(0)72 396 Q F1(Mo)97 408 Q .728 -.15(ve t)-.15 H 2.928(ot).15 G .427 -(he \214rst character in the current line.)-2.928 F .427 -(It is not an error to use the)5.427 F F0(0)2.927 E F1 .427 -(command when the cur)2.927 F(-)-.2 E -(sor is on the \214rst character in the line,)97 420 Q(The)97 444 Q F0 -(0)2.9 E F1 .4(command may be used as the motion component of other)2.9 -F F0(vi)2.9 E F1 .4(commands, in which case it is an)2.9 F .057 -(error if the cursor is on the \214rst character in the line, and an)97 -456 R 2.557(yt)-.15 G -.15(ex)-2.557 G 2.556(tc).15 G .056 -(opied into a b)-2.556 F(uf)-.2 E .056(fer is character ori-)-.25 F -(ented.)97 468 Q 21.39(Line: Unchanged.)97 492 R 7.49(Column: Set)97 504 -R(to the \214rst character in the line.)2.5 E 8.05(Options: None.)97 516 -R F0(:)72 540 Q F1(Ex)97 552 Q .194(ecute an)-.15 F F0(ex)2.694 E F1 -(command.)2.694 E F0 -.37(Vi)5.194 G F1 .195(prompts for an)3.064 F F0 -(ex)2.695 E F1 .195 -(command on the last line of the screen, using a colon)2.695 F<2899>97 -564 Q F2(:)A F1 3.367(\232\) character)B 8.367(.T)-.55 G 3.367 -(he command is terminated by a)-8.367 F F2(<carriage-return>)5.867 E F1 -(,)A F2(<newline>)5.867 E F1(or)5.867 E F2(<escape>)97 576 Q F1 .685 -(character; all of these characters may be escaped by using a)3.185 F F2 -(<literal-next>)3.186 E F1(char)3.186 E(-)-.2 E(acter)97 588 Q 5(.T)-.55 -G(he command is then e)-5 E -.15(xe)-.15 G(cuted.).15 E .126(If the)97 -612 R F0(ex)2.626 E F1 .126(command writes to the screen,)2.626 F F0(vi) -2.626 E F1 .125(will prompt the user for a)2.626 F F2(<carriage-return>) -2.625 E F1(before)2.625 E .796(continuing when the)97 624 R F0(ex)3.296 -E F1 .796(command \214nishes.)3.296 F(Lar)5.796 E .796 -(ge amounts of output from the)-.18 F F0(ex)3.296 E F1 .796 -(command will be)3.296 F .878(paged for the user)97 636 R 3.378(,a)-.4 G -.877(nd the user prompted for a)-3.378 F F2(<carriage-return>)3.377 E F1 -(or)3.377 E F2(<space>)3.377 E F1 -.1(ke)3.377 G 3.377(yt)-.05 G 3.377 -(oc)-3.377 G(on-)-3.377 E 3.223(tinue. In)97 648 R .723 -(some cases, a quit \(normally a \231q\232 character\) or)3.223 F F2 -(<interrupt>)3.223 E F1 .723(may be entered to inter)3.223 F(-)-.2 E -(rupt the)97 660 Q F0(ex)2.5 E F1(command.)2.5 E .082(When the)97 684 R -F0(ex)2.582 E F1 .082(command \214nishes, and the user is prompted to resume visual mode, it is also possible to) -2.582 F(enter another \231)97 696 Q F2(:)A F1 2.5<9a63>C(haracter follo) --2.5 E(wed by another)-.25 E F0(ex)2.5 E F1(command.)2.5 E EP -%%Page: 27 26 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-27)-2.5 F/F1 10/Times-Roman@0 SF 21.39 -(Line: The)97 96 R(current line is set as described for the)2.5 E F0(ex) -2.5 E F1(command.)2.5 E 7.49(Column: The)97 108 R -(current column is set as described for the)2.5 E F0(ex)2.5 E F1 -(command.)2.5 E 8.05(Options: Af)97 120 R(fected as described for the) --.25 E F0(ex)2.5 E F1(command.)2.5 E F0([count] ;)72 144 Q F1 .881 -(Repeat the last character \214nd)97 156 R/F2 10/Courier@0 SF(count) -3.381 E F1 3.381(times. The)3.381 F .882 -(last character \214nd is one of the)3.381 F F0(F)3.382 E F1(,)A F0(f) -3.382 E F1(,)A F0(T)3.382 E F1(or)3.382 E F0(t)3.382 E F1(com-)3.382 E -2.5(mands. It)97 168 R(is an error if a)2.5 E F0(F)2.5 E F1(,)A F0(f)2.5 -E F1(,)A F0(T)2.5 E F1(or)2.5 E F0(t)2.5 E F1 -(command has not been performed yet.)2.5 E(The)97 192 Q F0(;)2.739 E F1 -.239(command may be used as the motion component of other)2.739 F F0(vi) -2.739 E F1 .239(commands, in which case an)2.739 F 2.738(yt)-.15 G -.15 -(ex)-2.738 G(t).15 E(copied into a b)97 204 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Unchanged.)97 228 R 7.49 -(Column: Set)97 240 R .463(to the searched-for character for the)2.963 F -F0(F)2.963 E F1(and)2.963 E F0(f)2.963 E F1 .463 -(commands, before the character for the)2.963 F F0(t)2.964 E F1 -(command and after the character for the)142 252 Q F0(T)2.5 E F1 -(command.)2.5 E 8.05(Options: None.)97 264 R F0([count] < motion)72 288 -Q([count] > motion)72 300 Q F1 .282(Shift lines left or right.)97 312 R -.281(Shift the number of lines in the re)5.281 F .281 -(gion speci\214ed by the)-.15 F F2(count)2.781 E F1(and)2.781 E F2 -(motion)2.781 E F1 .962(left \(for the)97 324 R F0(<)3.462 E F1 .963 -(command\) or right \(for the)3.462 F F0(>)3.463 E F1 .963 -(command\) by the number of columns speci\214ed by the)3.463 F F0 -(shiftwidth)97 336 Q F1 2.939(option. Only)2.939 F .439 -(whitespace characters are deleted when shifting left.)2.939 F .438 -(Once the \214rst charac-)5.438 F .337 -(ter in the line no longer contains a whitespace character)97 348 R -2.837(,t)-.4 G .337(he command will succeed, b)-2.837 F .337 -(ut the line will)-.2 F(not be modi\214ed.)97 360 Q 21.39 -(Line: Unchanged.)97 384 R 7.49(Column: Set)97 396 R -(to the \214rst nonblank character in the line.)2.5 E 8.05(Options: Af) -97 408 R(fected by the)-.25 E F0(shiftwidth)2.5 E F1(option.)2.5 E F0 -2.5(@b)72 432 S(uffer)-2.7 E F1(Ex)97 444 Q 1.528(ecute a named b)-.15 F -(uf)-.2 E(fer)-.25 E 6.528(.E)-.55 G -.15(xe)-6.528 G 1.528 -(cute the named b).15 F(uf)-.2 E 1.528(fer as)-.25 F F0(vi)4.028 E F1 -4.028(commands. The)4.028 F -.2(bu)4.028 G -.25(ff).2 G 1.528 -(er may include).25 F F0(ex)4.028 E F1 .895(commands, too, b)97 456 R -.896(ut the)-.2 F 3.396(ym)-.15 G .896(ust be e)-3.396 F .896 -(xpressed as a)-.15 F F0(:)3.396 E F1 3.396(command. If)3.396 F .896 -(the b)3.396 F(uf)-.2 E .896(fer is line oriented,)-.25 F F2(<new-)3.396 -E(line>)97 468 Q F1 1.266 -(characters are logically appended to each line of the b)3.766 F(uf)-.2 -E(fer)-.25 E 6.265(.I)-.55 G 3.765(ft)-6.265 G 1.265(he b)-3.765 F(uf) --.2 E 1.265(fer is character ori-)-.25 F(ented,)97 480 Q F2(<newline>) -2.5 E F1(characters are logically appended to all b)2.5 E -(ut the last line in the b)-.2 E(uf)-.2 E(fer)-.25 E(.)-.55 E .366 -(If the b)97 504 R(uf)-.2 E .366(fer name is \231)-.25 F F2(@)A F1 .366 -(\232, or \231)B F2(*)A F1 .367(\232, then the last b)B(uf)-.2 E .367 -(fer e)-.25 F -.15(xe)-.15 G .367(cuted shall be used.).15 F .367 -(It is an error to specify)5.367 F<99>97 516 Q F2(@@)A F1 2.508<9a6f>C -2.508<7299>-2.508 G F2(@*)-2.508 E F1 2.508<9a69>C 2.508(ft)-2.508 G -.008(here were no pre)-2.508 F .007(vious b)-.25 F(uf)-.2 E .007(fer e) --.25 F -.15(xe)-.15 G 2.507(cutions. The).15 F(te)2.507 E .007 -(xt of a b)-.15 F(uf)-.2 E .007(fer may contain a)-.25 F F0(@)2.507 E F1 -(com-)2.507 E .551 -(mand, and it is possible to create in\214nite loops in this manner)97 -528 R 5.551(.\()-.55 G(The)-5.551 E F2(<interrupt>)3.051 E F1 .551 -(character may)3.051 F(be used to interrupt the loop.\))97 540 Q 21.39 -(Line: The)97 564 R -(current line is set as described for the command\(s\).)2.5 E 7.49 -(Column: The)97 576 R -(current column is set as described for the command\(s\).)2.5 E 8.05 -(Options: None.)97 588 R F0([count] A)72 612 Q F1 1.427 -(Enter input mode, appending the te)97 624 R 1.427 -(xt after the end of the line.)-.15 F(If)6.427 E F2(count)3.926 E F1 -1.426(is speci\214ed, the te)3.926 F 1.426(xt is)-.15 F -(repeatedly input)97 636 Q F2(count - 1)2.5 E F1 -(more times after input mode is e)2.5 E(xited.)-.15 E 21.39(Line: Set)97 -660 R(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 672 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 684 R .464(fected by the)-.25 F F0(altwerase)2.964 E F1 -(,)A F0(autoindent)2.964 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.965 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.965 E F1(and)2.965 E F0 -(wrapmar)2.965 E(-)-.37 E(gin)142 696 Q F1(options.)2.5 E EP -%%Page: 28 27 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-28 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E([count] B)72 96 Q/F1 10 -/Times-Roman@0 SF(Mo)97 108 Q 1.959 -.15(ve b)-.15 H(ackw).15 E(ard)-.1 -E/F2 10/Courier@0 SF(count)4.159 E F1(bigw)4.159 E 4.159(ords. Mo)-.1 F -1.959 -.15(ve t)-.15 H 1.659(he cursor backw).15 F 1.658(ard to the be) --.1 F 1.658(ginning of a bigw)-.15 F 1.658(ord by)-.1 F .178 -(repeating the follo)97 120 R .178 -(wing algorithm: if the current position is at the be)-.25 F .178 -(ginning of a bigw)-.15 F .179(ord or the char)-.1 F(-)-.2 E .463 -(acter at the current position cannot be part of a bigw)97 132 R .463 -(ord, mo)-.1 F .763 -.15(ve t)-.15 H 2.963(ot).15 G .462 -(he \214rst character of the preceding)-2.963 F(bigw)97 144 Q 2.852 -(ord. Otherwise,)-.1 F(mo)2.852 E .652 -.15(ve t)-.15 H 2.852(ot).15 G -.352(he \214rst character of the bigw)-2.852 F .353 -(ord at the current position.)-.1 F .353(If no preced-)5.353 F .377 -(ing bigw)97 156 R .377(ord e)-.1 F .377(xists on the current line, mo) --.15 F .676 -.15(ve t)-.15 H 2.876(ot).15 G .376 -(he \214rst character of the last bigw)-2.876 F .376 -(ord on the \214rst pre-)-.1 F(ceding line that contains a bigw)97 168 Q -(ord.)-.1 E(The)97 192 Q F0(B)2.553 E F1 .053 -(command may be used as the motion component of other)2.553 F F0(vi) -2.553 E F1 .054(commands, in which case an)2.554 F 2.554(yt)-.15 G -.15 -(ex)-2.554 G(t).15 E(copied into a b)97 204 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Set)97 228 R -(to the line containing the w)2.5 E(ord selected.)-.1 E 7.49 -(Column: Set)97 240 R(to the \214rst character of the w)2.5 E -(ord selected.)-.1 E 8.05(Options: None.)97 252 R F0([b)72 276 Q -(uffer] [count] C)-.2 E F1 2.23(Change te)97 288 R 2.23 -(xt from the current position to the end-of-line.)-.15 F(If)7.23 E F2 -(count)4.73 E F1 2.23(is speci\214ed, the input te)4.73 F(xt)-.15 E -(replaces from the current position to the end-of-line, plus)97 300 Q F2 -(count - 1)2.5 E F1(subsequent lines.)2.5 E 21.39(Line: Set)97 324 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 336 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 348 R .464(fected by the)-.25 F F0(altwerase)2.964 E F1 -(,)A F0(autoindent)2.964 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.965 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.965 E F1(and)2.965 E F0 -(wrapmar)2.965 E(-)-.37 E(gin)142 360 Q F1(options.)2.5 E F0([b)72 384 Q -(uffer] D)-.2 E F1(Delete te)97 396 Q -(xt from the current position to the end-of-line.)-.15 E -(It is not an error to e)97 420 Q -.15(xe)-.15 G(cute the).15 E F0(D)2.5 -E F1(command on an empty line.)2.5 E 21.39(Line: Unchanged.)97 444 R -7.49(Column: Set)97 456 R .223 -(to the character before the current character)2.723 F 2.723(,o)-.4 G -1.022 -.4(r, c)-2.723 H .222(olumn 1 if the cursor w).4 F .222 -(as on column)-.1 F(1.)142 468 Q 8.05(Options: None.)97 480 R F0 -([count] E)72 504 Q F1(Mo)97 516 Q .525 -.15(ve f)-.15 H(orw).15 E(ard) --.1 E F2(count)2.725 E F1(end-of-bigw)2.725 E 2.725(ords. Mo)-.1 F .525 --.15(ve t)-.15 H .225(he cursor forw).15 F .225 -(ard to the end of a bigw)-.1 F .226(ord by repeat-)-.1 F 1.06 -(ing the follo)97 528 R 1.06 -(wing algorithm: if the current position is the end of a bigw)-.25 F -1.059(ord or the character at that)-.1 F .072 -(position cannot be part of a bigw)97 540 R .072(ord, mo)-.1 F .372 -.15 -(ve t)-.15 H 2.572(ot).15 G .072(he last character of the follo)-2.572 F -.072(wing bigw)-.25 F 2.572(ord. Otherwise,)-.1 F(mo)97 552 Q .673 -.15 -(ve t)-.15 H 2.873(ot).15 G .373(he last character of the bigw)-2.873 F -.372(ord at the current position.)-.1 F .372(If no succeeding bigw)5.372 -F .372(ord e)-.1 F .372(xists on)-.15 F .05(the current line, mo)97 564 -R .35 -.15(ve t)-.15 H 2.55(ot).15 G .05 -(he last character of the \214rst bigw)-2.55 F .051(ord on the ne)-.1 F -.051(xt follo)-.15 F .051(wing line that contains)-.25 F 2.5(ab)97 576 S -(igw)-2.5 E(ord.)-.1 E(The)97 600 Q F0(E)2.554 E F1 .053 -(command may be used as the motion component of other)2.554 F F0(vi) -2.553 E F1 .053(commands, in which case an)2.553 F 2.553(yt)-.15 G -.15 -(ex)-2.553 G(t).15 E(copied into a b)97 612 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Set)97 636 R -(to the line containing the w)2.5 E(ord selected.)-.1 E 7.49 -(Column: Set)97 648 R(to the last character of the w)2.5 E -(ord selected.)-.1 E 8.05(Options: None.)97 660 R F0 -([count] F <character>)72 684 Q F1(Search)97 696 Q F2(count)2.5 E F1 -(times backw)2.5 E(ard through the current line for)-.1 E F2 -(<character>)2.5 E F1(.)A(The)97 720 Q F0(F)2.584 E F1 .084 -(command may be used as the motion component of other)2.584 F F0(vi) -2.585 E F1 .085(commands, in which case an)2.585 F 2.585(yt)-.15 G -.15 -(ex)-2.585 G(t).15 E EP -%%Page: 29 28 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-29)-2.5 F/F1 10/Times-Roman@0 SF -(copied into a b)97 96 Q(uf)-.2 E(fer is character oriented.)-.25 E -21.39(Line: Unchanged.)97 120 R 7.49(Column: Set)97 132 R -(to the searched-for character)2.5 E(.)-.55 E 8.05(Options: None.)97 144 -R F0([count] G)72 168 Q F1(Mo)97 180 Q .3 -.15(ve t)-.15 H 2.5(ol).15 G -(ine)-2.5 E/F2 10/Courier@0 SF(count)2.5 E F1 2.5(,o)C 2.5(rt)-2.5 G -(he last line of the \214le if)-2.5 E F2(count)2.5 E F1 -(not speci\214ed.)2.5 E(The)97 204 Q F0(G)2.924 E F1 .424 -(command is an absolute mo)2.924 F -.15(ve)-.15 G 2.924(ment. The).15 F -F0(G)2.924 E F1 .423(command may be used as the motion component)2.924 F -(of other)97 216 Q F0(vi)2.5 E F1(commands, in which case an)2.5 E 2.5 -(yt)-.15 G -.15(ex)-2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is line oriented.)-.25 E 21.39(Line: Set)97 240 R(to)2.5 E F2 -(count)2.5 E F1 2.5(,i)C 2.5(fs)-2.5 G -(peci\214ed, otherwise, the last line.)-2.5 E 7.49(Column: Set)97 252 R -(to the \214rst nonblank character in the line.)2.5 E 8.05 -(Options: None.)97 264 R F0([count] H)72 288 Q F1(Mo)97 300 Q .3 -.15 -(ve t)-.15 H 2.5(ot).15 G(he screen line)-2.5 E F2(count - 1)2.5 E F1 -(lines belo)2.5 E 2.5(wt)-.25 G(he top of the screen.)-2.5 E(The)97 324 -Q F0(H)2.923 E F1 .423(command is an absolute mo)2.923 F -.15(ve)-.15 G -2.924(ment. The).15 F F0(H)2.924 E F1 .424 -(command may be used as the motion component)2.924 F(of other)97 336 Q -F0(vi)2.5 E F1(commands, in which case an)2.5 E 2.5(yt)-.15 G -.15(ex) --2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is line oriented.)-.25 E 21.39(Line: Set)97 360 R(to the line)2.5 E -F2(count - 1)2.5 E F1(lines belo)2.5 E 2.5(wt)-.25 G -(he top of the screen.)-2.5 E 7.49(Column: Set)97 372 R -(to the \214rst nonblank character of the)2.5 E/F3 10/Times-Italic@0 SF -(scr)2.5 E(een)-.37 E F1(line.)2.5 E 8.05(Options: None.)97 384 R F0 -([count] I)72 408 Q F1 .23(Enter input mode, inserting the te)97 420 R -.23(xt at the be)-.15 F .23(ginning of the line.)-.15 F(If)5.23 E F2 -(count)2.73 E F1 .23(is speci\214ed, the te)2.73 F .23(xt input)-.15 F -(is repeatedly input)97 432 Q F2(count - 1)2.5 E F1(more times.)2.5 E -21.39(Line: Set)97 456 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 468 R(to the last character entered.)2.5 E 8.05 -(Options: None.)97 480 R F0([count] J)72 504 Q F1 .055(Join lines.)97 -516 R(If)5.055 E F2(count)2.555 E F1 .055(is speci\214ed,)2.555 F F2 -(count)2.555 E F1 .055(lines are joined; a minimum of tw)2.555 F 2.556 -(ol)-.1 G .056(ines are al)-2.556 F -.1(wa)-.1 G .056(ys joined,).1 F -(re)97 528 Q -.05(ga)-.15 G(rdless of the v).05 E(alue of)-.25 E F2 -(count)2.5 E F1(.)A 1.346 -(If the current line ends with a whitespace character)97 552 R 3.846(,a) --.4 G 1.345(ll whitespace is stripped from the ne)-3.846 F 1.345 -(xt line.)-.15 F .493(Otherwise, if the ne)97 564 R .493 -(xt line starts with a open parenthesis \(\231)-.15 F F2(\()A F1 .493 -(\232\) do nothing.)B .494(Otherwise, if the current)5.493 F 1.234 -(line ends with a question mark \(\231)97 576 R F2(?)A F1 1.233 -(\232\), period \(\231)B F2(.)A F1 3.733(\232\) or)B -.15(ex)3.733 G -1.233(clamation point \(\231).15 F F2(!)A F1 1.233(\232\), insert tw)B -3.733(os)-.1 G(paces.)-3.733 E(Otherwise, insert a single space.)97 588 -Q(It is not an error to join lines past the end of the \214le, i.e. lines that do not e) -97 612 Q(xist.)-.15 E 21.39(Line: Unchanged.)97 636 R 7.49(Column: Set) -97 648 R(to the character after the last character of the ne)2.5 E -(xt-to-last joined line.)-.15 E 8.05(Options: None.)97 660 R F0 -([count] L)72 684 Q F1(Mo)97 696 Q .3 -.15(ve t)-.15 H 2.5(ot).15 G -(he screen line)-2.5 E F2(count - 1)2.5 E F1(lines abo)2.5 E .3 -.15 -(ve t)-.15 H(he bottom of the screen.).15 E(The)97 720 Q F0(L)3.062 E F1 -.562(command is an absolute mo)3.062 F -.15(ve)-.15 G 3.062(ment. The) -.15 F F0(L)3.062 E F1 .563(command may be used as the motion component) -3.063 F EP -%%Page: 30 29 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-30 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E/F1 10/Times-Roman@0 SF -(of other)97 96 Q F0(vi)2.5 E F1(commands, in which case an)2.5 E 2.5 -(yt)-.15 G -.15(ex)-2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is line oriented.)-.25 E 21.39(Line: Set)97 120 R(to the line)2.5 E -/F2 10/Courier@0 SF(count - 1)2.5 E F1(lines abo)2.5 E .3 -.15(ve t)-.15 -H(he bottom of the screen.).15 E 7.49(Column: Set)97 132 R -(to the \214rst nonblank character of the)2.5 E/F3 10/Times-Italic@0 SF -(scr)2.5 E(een)-.37 E F1(line.)2.5 E 8.05(Options: None.)97 144 R F0(M) -74.5 168 Q F1(Mo)97 180 Q .3 -.15(ve t)-.15 H 2.5(ot).15 G -(he screen line in the middle of the screen.)-2.5 E(The)97 204 Q F0(M) -2.717 E F1 .217(command is an absolute mo)2.717 F -.15(ve)-.15 G 2.716 -(ment. The).15 F F0(M)2.716 E F1 .216 -(command may be used as the motion component)2.716 F(of other)97 216 Q -F0(vi)2.5 E F1(commands, in which case an)2.5 E 2.5(yt)-.15 G -.15(ex) --2.5 G 2.5(tc).15 G(opied into a b)-2.5 E(uf)-.2 E -(fer is line oriented.)-.25 E(Historically)97 240 Q 2.5(,a)-.65 G -.15 -(ny)-2.5 G F2(count)2.65 E F1(speci\214ed to the)2.5 E F0(M)2.5 E F1 -(command w)2.5 E(as ignored.)-.1 E 21.39(Line: Set)97 264 R -(to the line in the middle of the screen.)2.5 E 7.49(Column: Set)97 276 -R(to the \214rst nonblank character of the)2.5 E F3(scr)2.5 E(een)-.37 E -F1(line.)2.5 E 8.05(Options: None.)97 288 R F0([count] O)72 312 Q F1 .13 -(Enter input mode, appending te)97 324 R .13(xt in a ne)-.15 F 2.63(wl) --.25 G .131(ine abo)-2.63 F .431 -.15(ve t)-.15 H .131(he current line.) -.15 F(If)5.131 E F2(count)2.631 E F1 .131(is speci\214ed, the te)2.631 F -(xt)-.15 E(input is repeatedly input)97 336 Q F2(count - 1)2.5 E F1 -(more times.)2.5 E(Historically)97 360 Q 2.5(,a)-.65 G -.15(ny)-2.5 G F2 -(count)2.65 E F1(speci\214ed to the)2.5 E F0(O)2.5 E F1(command w)2.5 E -(as ignored.)-.1 E 21.39(Line: Set)97 384 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 396 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 408 R .465(fected by the)-.25 F F0(altwerase)2.965 E F1 -(,)A F0(autoindent)2.965 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.964 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.964 E F1(and)2.964 E F0 -(wrapmar)2.964 E(-)-.37 E(gin)142 420 Q F1(options.)2.5 E F0([b)72 444 Q -(uffer] P)-.2 E F1 .48(Insert te)97 456 R .48(xt from a b)-.15 F(uf)-.2 -E(fer)-.25 E 5.48(.T)-.55 G -.15(ex)-6.18 G 2.98(tf).15 G .48(rom the b) --2.98 F(uf)-.2 E .481(fer \(the unnamed b)-.25 F(uf)-.2 E .481 -(fer by def)-.25 F .481(ault\) is inserted before the)-.1 F -(current column or)97 468 Q 2.5(,i)-.4 G 2.5(ft)-2.5 G(he b)-2.5 E(uf) --.2 E(fer is line oriented, before the current line.)-.25 E 21.39 -(Line: Set)97 492 R .336(to the lo)2.836 F .336 -(west numbered line insert, if the b)-.25 F(uf)-.2 E .335 -(fer is line oriented, otherwise unchanged.)-.25 F 7.49(Column: Set)97 -504 R .04(to the \214rst nonblank character of the appended te)2.54 F -.041(xt, if the b)-.15 F(uf)-.2 E .041(fer is line oriented, other)-.25 -F(-)-.2 E(wise, the last character of the appended te)142 516 Q(xt.)-.15 -E 8.05(Options: None.)97 528 R F0(Q)72 552 Q F1(Exit)97 564 Q F0(vi)2.5 -E F1(\(or visual\) mode and switch to)2.5 E F0(ex)2.5 E F1(mode.)2.5 E -21.39(Line: Unchanged.)97 588 R 7.49(Column: No)97 600 R(longer rele)2.5 -E -.25(va)-.25 G(nt.).25 E 8.05(Options: None.)97 612 R F0([count] R)72 -636 Q F1 .212 -(Enter input mode, replacing the characters in the current line.)97 648 -R(If)5.212 E F2(count)2.712 E F1 .211(is speci\214ed, the te)2.712 F -.211(xt input is)-.15 F(repeatedly input)97 660 Q F2(count - 1)2.5 E F1 -(more times.)2.5 E .789(If the end of the current line is reached, no more characters are replaced and an) -97 684 R 3.29(yf)-.15 G .79(urther characters)-3.29 F -(input are appended to the line.)97 696 Q EP -%%Page: 31 30 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-31)-2.5 F/F1 10/Times-Roman@0 SF 21.39 -(Line: Set)97 96 R(to the last line upon which characters were entered.) -2.5 E 7.49(Column: Set)97 108 R(to the last character entered.)2.5 E -8.05(Options: Af)97 120 R .465(fected by the)-.25 F F0(altwerase)2.965 E -F1(,)A F0(autoindent)2.965 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.964 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.964 E F1(and)2.964 E F0 -(wrapmar)2.964 E(-)-.37 E(gin)142 132 Q F1(options.)2.5 E F0([b)72 156 Q -(uffer] [count] S)-.2 E F1(Substitute)97 168 Q/F2 10/Courier@0 SF(count) -2.5 E F1(lines.)2.5 E 21.39(Line: Set)97 192 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 204 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 216 R .464(fected by the)-.25 F F0(altwerase)2.964 E F1 -(,)A F0(autoindent)2.964 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.965 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.965 E F1(and)2.965 E F0 -(wrapmar)2.965 E(-)-.37 E(gin)142 228 Q F1(options.)2.5 E F0 -([count] T <character>)72 252 Q F1 2.925(Search backw)97 264 R(ard,)-.1 -E F2(count)5.425 E F1 2.925 -(times, through the current line for the character)5.425 F/F3 10 -/Times-Italic@0 SF(after)5.424 E F1 2.924(the speci\214ed)5.424 F F2 -(<character>)97 276 Q F1(.)A(The)97 300 Q F0(T)2.553 E F1 .053 -(command may be used as the motion component of other)2.553 F F0(vi) -2.553 E F1 .054(commands, in which case an)2.554 F 2.554(yt)-.15 G -.15 -(ex)-2.554 G(t).15 E(copied into a b)97 312 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Unchanged.)97 336 R 7.49 -(Column: Set)97 348 R(to the character)2.5 E F3(after)2.5 E F1 -(the searched-for character)2.5 E(.)-.55 E 8.05(Options: None.)97 360 R -F0(U)72 384 Q F1 -(Restore the current line to its state before the cursor last mo)97 396 -Q -.15(ve)-.15 G 2.5(dt).15 G 2.5(oi)-2.5 G(t.)-2.5 E 21.39 -(Line: Unchanged.)97 420 R 7.49(Column: The)97 432 R -(\214rst character in the line.)2.5 E 8.05(Options: None.)97 444 R F0 -([count] W)72 468 Q F1(Mo)97 480 Q .794 -.15(ve f)-.15 H(orw).15 E(ard) --.1 E F2(count)2.994 E F1(bigw)2.994 E 2.994(ords. Mo)-.1 F .794 -.15 -(ve t)-.15 H .493(he cursor forw).15 F .493(ard to the be)-.1 F .493 -(ginning of a bigw)-.15 F .493(ord by repeat-)-.1 F .647(ing the follo) -97 492 R .647(wing algorithm: if the current position is within a bigw) --.25 F .647(ord or the character at that posi-)-.1 F .846 -(tion cannot be part of a bigw)97 504 R .846(ord, mo)-.1 F 1.146 -.15 -(ve t)-.15 H 3.346(ot).15 G .845(he \214rst character of the ne)-3.346 F -.845(xt bigw)-.15 F 3.345(ord. If)-.1 F .845(no subsequent)3.345 F(bigw) -97 516 Q .426(ord e)-.1 F .426(xists on the current line, mo)-.15 F .726 --.15(ve t)-.15 H 2.926(ot).15 G .426 -(he \214rst character of the \214rst bigw)-2.926 F .426 -(ord on the \214rst follo)-.1 F(w-)-.25 E(ing line that contains a bigw) -97 528 Q(ord.)-.1 E(The)97 552 Q F0(W)3.382 E F1 .881 -(command may be used as the motion component of other)3.382 F F0(vi) -3.381 E F1 .881(commands, in which case an)3.381 F(y)-.15 E(te)97 564 Q -(xt copied into a b)-.15 E(uf)-.2 E(fer is character oriented.)-.25 E -21.39(Line: The)97 588 R(line containing the w)2.5 E(ord selected.)-.1 E -7.49(Column: The)97 600 R(\214rst character of the w)2.5 E -(ord selected.)-.1 E 8.05(Options: None.)97 612 R F0([b)72 636 Q -(uffer] [count] X)-.2 E F1(Delete)97 648 Q F2(count)2.945 E F1 .445 -(characters before the cursor)2.945 F 5.445(.I)-.55 G 2.946(ft)-5.445 G -.446(he number of characters to be deleted is greater than)-2.946 F .393 -(or equal to the number of characters to the be)97 660 R .392 -(ginning of the line, all of the characters before the cur)-.15 F(-)-.2 -E(rent cursor position, to the be)97 672 Q -(ginning of the line, are deleted.)-.15 E 21.39(Line: Unchanged.)97 696 -R 7.49(Column: Set)97 708 R .147(to the current character minus)2.647 F -F2(count)2.647 E F1 2.647(,o)C 2.647(rt)-2.647 G .148 -(he \214rst character if count is greater than the)-2.647 F -(number of characters in the line before the cursor)142 720 Q(.)-.55 E -EP -%%Page: 32 31 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-32 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E/F1 10/Times-Roman@0 SF -8.05(Options: None.)97 96 R F0([b)72 120 Q(uffer] [count] Y)-.2 E F1 -(Cop)97 132 Q 2.5(y\()-.1 G(or \231yank\232\))-2.5 E/F2 10/Courier@0 SF -(count)2.5 E F1(lines into the speci\214ed b)2.5 E(uf)-.2 E(fer)-.25 E -(.)-.55 E 21.39(Line: Unchanged.)97 156 R 7.49(Column: Unchanged.)97 168 -R 8.05(Options: None.)97 180 R F0(ZZ)72 204 Q F1 .137 -(Write the \214le and e)97 216 R(xit)-.15 E F0(vi)2.637 E F1 5.137(.T)C -.137(he \214le is only written if it has been modi\214ed since the last complete write) --5.137 F(of the \214le to an)97 228 Q 2.5<798c>-.15 G(le.)-2.5 E(The)97 -252 Q F0(ZZ)2.802 E F1 .302(command will e)2.802 F .302(xit the editor after writing the \214le, if there are no further \214les to edit.) --.15 F(Enter)5.303 E(-)-.2 E .58(ing tw)97 264 R 3.08<6f99>-.1 G .58 -(quit\232 commands \(i.e.)-3.08 F F0(wq)5.58 E F1(,)A F0(quit)3.08 E F1 -(,)A F0(xit)3.08 E F1(or)3.08 E F0(ZZ)3.08 E F1 3.08(\)i)C 3.08(nar) --3.08 G 1.08 -.25(ow w)-3.08 H .58(ill o).25 F -.15(ve)-.15 G .58 -(rride this check and the editor).15 F(will e)97 276 Q(xit, ignoring an) --.15 E 2.5<798c>-.15 G(les that ha)-2.5 E .3 -.15(ve n)-.2 H -(ot yet been edited.).15 E 21.39(Line: Unchanged.)97 300 R 7.49 -(Column: Unchanged.)97 312 R 8.05(Options: None.)97 324 R F0([count] [[) -72 348 Q F1(Back up)97 360 Q F2(count)2.5 E F1(section boundaries.)2.5 E -(The)97 384 Q F0([[)3.063 E F1 .563(command is an absolute mo)3.063 F --.15(ve)-.15 G 3.064(ment. The).15 F F0([[)3.064 E F1 .564 -(command may be used as the motion component)3.064 F 1(of other)97 396 R -F0(vi)3.5 E F1 1(commands, in which case an)3.5 F 3.5(yt)-.15 G -.15(ex) --3.5 G 3.5(tc).15 G 1(opied into a b)-3.5 F(uf)-.2 E 1 -(fer is character oriented, unless the)-.25 F -(starting position is column 0, in which case it is line oriented.)97 -408 Q(It is an error if the mo)97 432 Q -.15(ve)-.15 G -(ment is past the be).15 E(ginning of the \214le.)-.15 E 21.39 -(Line: Set)97 456 R .46(to the pre)2.96 F .46(vious line that is)-.25 F -F2(count)2.96 E F1 .461 -(section boundaries back, or the \214rst line of the \214le)2.961 F -(if no more section boundaries e)142 468 Q -(xist preceding the current line.)-.15 E 7.49(Column: Set)97 480 R -(to the \214rst nonblank character in the line.)2.5 E 8.05(Options: Af) -97 492 R(fected by the)-.25 E F0(sections)2.5 E F1(option.)2.5 E F0 -([count] ]])72 516 Q F1(Mo)97 528 Q .3 -.15(ve f)-.15 H(orw).15 E(ard) --.1 E F2(count)2.5 E F1(section boundaries.)2.5 E(The)97 552 Q F0(]]) -3.064 E F1 .564(command is an absolute mo)3.064 F -.15(ve)-.15 G 3.064 -(ment. The).15 F F0(]])3.064 E F1 .563 -(command may be used as the motion component)3.064 F 1(of other)97 564 R -F0(vi)3.5 E F1 1(commands, in which case an)3.5 F 3.5(yt)-.15 G -.15(ex) --3.5 G 3.5(tc).15 G 1(opied into a b)-3.5 F(uf)-.2 E 1 -(fer is character oriented, unless the)-.25 F -(starting position is column 0, in which case it is line oriented.)97 -576 Q(It is an error if the mo)97 600 Q -.15(ve)-.15 G -(ment is past the end of the \214le.).15 E 21.39(Line: Set)97 624 R .112 -(to the line that is)2.613 F F2(count)2.612 E F1 .112 -(section boundaries forw)2.612 F .112 -(ard, or to the last line of the \214le if no)-.1 F -(more section boundaries e)142 636 Q(xist follo)-.15 E -(wing the current line.)-.25 E 7.49(Column: Set)97 648 R -(to the \214rst nonblank character in the line.)2.5 E 8.05(Options: Af) -97 660 R(fected by the)-.25 E F0(sections)2.5 E F1(option.)2.5 E F0(^)72 -684 Q F1(Mo)97 696 Q .3 -.15(ve t)-.15 H 2.5<6f8c>.15 G -(rst nonblank character on the current line.)-2.5 E(The)97 720 Q F0(^) -2.738 E F1 .239(command may be used as the motion component of other) -2.738 F F0(vi)2.739 E F1 .239(commands, in which case an)2.739 F 2.739 -(yt)-.15 G -.15(ex)-2.739 G(t).15 E EP -%%Page: 33 32 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-33)-2.5 F/F1 10/Times-Roman@0 SF -(copied into a b)97 96 Q(uf)-.2 E(fer is character oriented.)-.25 E -21.39(Line: Unchanged.)97 120 R 7.49(Column: Set)97 132 R -(to the \214rst nonblank character of the current line.)2.5 E 8.05 -(Options: None.)97 144 R F0([count] _)72 168 Q F1(Mo)97 180 Q .701 -.15 -(ve d)-.15 H -.25(ow).15 G(n).25 E/F2 10/Courier@0 SF .401(count - 1) -2.901 F F1 .401(lines, to the \214rst nonblank character)2.901 F 5.4(.T) --.55 G(he)-5.4 E F0(_)2.9 E F1 .4(command may be used as the)2.9 F .181 -(motion component of other)97 192 R F0(vi)2.681 E F1 .181 -(commands, in which case an)2.681 F 2.681(yt)-.15 G -.15(ex)-2.681 G -2.681(tc).15 G .181(opied into a b)-2.681 F(uf)-.2 E .182 -(fer is line oriented.)-.25 F(It is not an error to e)97 216 Q -.15(xe) --.15 G(cute the).15 E F0(_)2.5 E F1 -(command when the cursor is on the \214rst character in the line.)2.5 E -21.39(Line: The)97 240 R(current line plus)2.5 E F2(count - 1)2.5 E F1 -(.)A 7.49(Column: The)97 252 R(\214rst nonblank character in the line.) -2.5 E 8.05(Options: None.)97 264 R F0([count] a)72 288 Q F1 .319 -(Enter input mode, appending the te)97 300 R .318(xt after the cursor) --.15 F 5.318(.I)-.55 G(f)-5.318 E F2(count)2.818 E F1 .318 -(is speci\214ed, the te)2.818 F .318(xt input is repeat-)-.15 F -(edly input)97 312 Q F2(count - 1)2.5 E F1(more times.)2.5 E 21.39 -(Line: Set)97 336 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 348 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 360 R .464(fected by the)-.25 F F0(altwerase)2.964 E F1 -(,)A F0(autoindent)2.964 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.965 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.965 E F1(and)2.965 E F0 -(wrapmar)2.965 E(-)-.37 E(gin)142 372 Q F1(options.)2.5 E F0([count] b) -72 396 Q F1(Mo)97 408 Q .905 -.15(ve b)-.15 H(ackw).15 E(ard)-.1 E F2 -(count)3.105 E F1 -.1(wo)3.105 G 3.105(rds. Mo).1 F .905 -.15(ve t)-.15 -H .605(he cursor backw).15 F .605(ard to the be)-.1 F .604 -(ginning of a w)-.15 F .604(ord by repeating)-.1 F .111(the follo)97 420 -R .111(wing algorithm: if the current position is at the be)-.25 F .112 -(ginning of a w)-.15 F .112(ord, mo)-.1 F .412 -.15(ve t)-.15 H 2.612 -(ot).15 G .112(he \214rst charac-)-2.612 F .349(ter of the preceding w) -97 432 R 2.848(ord. Otherwise,)-.1 F .348(the current position mo)2.848 -F -.15(ve)-.15 G 2.848(st).15 G 2.848(ot)-2.848 G .348 -(he \214rst character of the w)-2.848 F .348(ord at)-.1 F .13 -(the current position.)97 444 R .13(If no preceding w)5.13 F .13(ord e) --.1 F .131(xists on the current line, mo)-.15 F .431 -.15(ve t)-.15 H -2.631(ot).15 G .131(he \214rst character of the)-2.631 F(last w)97 456 Q -(ord on the \214rst preceding line that contains a w)-.1 E(ord.)-.1 E -(The)97 480 Q F0(b)2.615 E F1 .115 -(command may be used as the motion component of other)2.615 F F0(vi) -2.615 E F1 .115(commands, in which case an)2.615 F 2.615(yt)-.15 G -.15 -(ex)-2.615 G(t).15 E(copied into a b)97 492 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Set)97 516 R -(to the line containing the w)2.5 E(ord selected.)-.1 E 7.49 -(Column: Set)97 528 R(to the \214rst character of the w)2.5 E -(ord selected.)-.1 E 8.05(Options: None.)97 540 R F0([b)72 564 Q -(uffer] [count] c motion)-.2 E F1 1.617(Change the re)97 576 R 1.617 -(gion of te)-.15 F 1.618(xt speci\214ed by the)-.15 F F2(count)4.118 E -F1(and)4.118 E F2(motion)4.118 E F1 6.618(.I)C 4.118(fo)-6.618 G 1.618 -(nly part of a single line is)-4.118 F(af)97 588 Q .283 -(fected, then the last character being changed is mark)-.25 F .283 -(ed with a \231)-.1 F F2($)A F1 2.783(\232. Otherwise,)B .283(the re) -2.783 F .283(gion of te)-.15 F .282(xt is)-.15 F -(deleted, and input mode is entered.)97 600 Q 21.39(Line: Set)97 624 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 636 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 648 R .464(fected by the)-.25 F F0(altwerase)2.964 E F1 -(,)A F0(autoindent)2.964 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.965 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.965 E F1(and)2.965 E F0 -(wrapmar)2.965 E(-)-.37 E(gin)142 660 Q F1(options.)2.5 E F0([b)72 684 Q -(uffer] [count] d motion)-.2 E F1(Delete the re)97 696 Q(gion of te)-.15 -E(xt speci\214ed by the)-.15 E F2(count)2.5 E F1(and)2.5 E F2(motion)2.5 -E F1(.)A EP -%%Page: 34 33 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-34 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E/F1 10/Times-Roman@0 SF -21.39(Line: Set)97 96 R(to the line where the re)2.5 E(gion starts.)-.15 -E 7.49(Column: Set)97 108 R .063(to the \214rst character in the line after the last character in the re) -2.564 F 2.563(gion. If)-.15 F .063(no such charac-)2.563 F(ter e)142 120 -Q(xists, set to the last character before the re)-.15 E(gion.)-.15 E -8.05(Options: None.)97 132 R F0([count] e)72 156 Q F1(Mo)97 168 Q .598 --.15(ve f)-.15 H(orw).15 E(ard)-.1 E/F2 10/Courier@0 SF(count)2.798 E F1 -(end-of-w)2.798 E 2.798(ords. Mo)-.1 F .598 -.15(ve t)-.15 H .298 -(he cursor forw).15 F .298(ard to the end of a w)-.1 F .299 -(ord by repeating the)-.1 F(follo)97 180 Q .201 -(wing algorithm: if the current position is the end of a w)-.25 F .201 -(ord, mo)-.1 F .501 -.15(ve t)-.15 H 2.701(ot).15 G .201 -(he last character of the fol-)-2.701 F(lo)97 192 Q .95(wing w)-.25 F -3.45(ord. Otherwise,)-.1 F(mo)3.45 E 1.25 -.15(ve t)-.15 H 3.45(ot).15 G -.951(he last character of the w)-3.45 F .951 -(ord at the current position.)-.1 F .951(If no suc-)5.951 F .766 -(ceeding w)97 204 R .766(ord e)-.1 F .766(xists on the current line, mo) --.15 F 1.065 -.15(ve t)-.15 H 3.265(ot).15 G .765 -(he last character of the \214rst w)-3.265 F .765(ord on the ne)-.1 F -.765(xt fol-)-.15 F(lo)97 216 Q(wing line that contains a w)-.25 E(ord.) --.1 E(The)97 240 Q F0(e)2.677 E F1 .177 -(command may be used as the motion component of other)2.677 F F0(vi) -2.677 E F1 .178(commands, in which case an)2.677 F 2.678(yt)-.15 G -.15 -(ex)-2.678 G(t).15 E(copied into a b)97 252 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Set)97 276 R -(to the line containing the w)2.5 E(ord selected.)-.1 E 7.49 -(Column: Set)97 288 R(to the last character of the w)2.5 E -(ord selected.)-.1 E 8.05(Options: None.)97 300 R F0 -([count] f <character>)72 324 Q F1(Search forw)97 336 Q(ard,)-.1 E F2 -(count)2.5 E F1(times, through the rest of the current line for)2.5 E F2 -(<character>)2.5 E F1(.)A(The)97 360 Q F0(f)2.739 E F1 .239 -(command may be used as the motion component of other)2.739 F F0(vi) -2.739 E F1 .239(commands, in which case an)2.739 F 2.738(yt)-.15 G -.15 -(ex)-2.738 G(t).15 E(copied into a b)97 372 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Unchanged.)97 396 R 7.49 -(Column: Set)97 408 R(to the searched-for character)2.5 E(.)-.55 E 8.05 -(Options: None.)97 420 R F0([count] i)72 444 Q F1 .285 -(Enter input mode, inserting the te)97 456 R .285(xt before the cursor) --.15 F 5.285(.I)-.55 G(f)-5.285 E F2(count)2.785 E F1 .286 -(is speci\214ed, the te)2.785 F .286(xt input is repeat-)-.15 F -(edly input)97 468 Q F2(count - 1)2.5 E F1(more times.)2.5 E 21.39 -(Line: Set)97 492 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 504 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 516 R .465(fected by the)-.25 F F0(altwerase)2.965 E F1 -(,)A F0(autoindent)2.965 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.964 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.964 E F1(and)2.964 E F0 -(wrapmar)2.964 E(-)-.37 E(gin)142 528 Q F1(options.)2.5 E F0 2.5(m<)72 -552 S(character>)-2.5 E F1(Sa)97 564 Q .988 -.15(ve t)-.2 H .688 -(he current conte).15 F .688(xt \(line and column\) as)-.15 F F2 -(<character>)3.189 E F1 5.689(.T)C .689(he e)-5.689 F .689 -(xact position is referred to by)-.15 F<99>97 576 Q F2(`<character>)A F1 -2.5(\232. The)B(line is referred to by \231)2.5 E F2('<character>)A F1 -<9a2e>A(Historically)97 600 Q(,)-.65 E F2(<character>)2.816 E F1 -.1(wa) -2.816 G 2.816(sr).1 G .316(estricted to lo)-2.816 F(wer)-.25 E .315 -(-case letters.)-.2 F F0(Nvi)5.315 E F1 .315(permits the use of an)2.815 -F 2.815(yc)-.15 G(harac-)-2.815 E(ter)97 612 Q(.)-.55 E 21.39 -(Line: Unchanged.)97 636 R 7.49(Column: Unchanged.)97 648 R 8.05 -(Options: None.)97 660 R F0([count] o)72 684 Q F1 .175 -(Enter input mode, appending te)97 696 R .175(xt in a ne)-.15 F 2.675 -(wl)-.25 G .176(ine under the current line.)-2.675 F(If)5.176 E F2 -(count)2.676 E F1 .176(is speci\214ed, the te)2.676 F(xt)-.15 E -(input is repeatedly input)97 708 Q F2(count - 1)2.5 E F1(more times.) -2.5 E EP -%%Page: 35 34 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-35)-2.5 F/F1 10/Times-Roman@0 SF(Historically) -97 96 Q 2.5(,a)-.65 G -.15(ny)-2.5 G/F2 10/Courier@0 SF(count)2.65 E F1 -(speci\214ed to the)2.5 E F0(o)2.5 E F1(command w)2.5 E(as ignored.)-.1 -E 21.39(Line: Set)97 120 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 132 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 144 R .465(fected by the)-.25 F F0(altwerase)2.965 E F1 -(,)A F0(autoindent)2.965 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.964 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.964 E F1(and)2.964 E F0 -(wrapmar)2.964 E(-)-.37 E(gin)142 156 Q F1(options.)2.5 E F0([b)72 180 Q -(uffer] p)-.2 E F1 .91(Append te)97 192 R .91(xt from a b)-.15 F(uf)-.2 -E(fer)-.25 E 5.91(.T)-.55 G -.15(ex)-6.61 G 3.41(tf).15 G .91(rom the b) --3.41 F(uf)-.2 E .91(fer \(the unnamed b)-.25 F(uf)-.2 E .91(fer by def) --.25 F .91(ault\) is appended after)-.1 F(the current column or)97 204 Q -2.5(,i)-.4 G 2.5(ft)-2.5 G(he b)-2.5 E(uf)-.2 E -(fer is line oriented, after the current line.)-.25 E 21.39(Line: Set)97 -228 R(to the \214rst line appended, if the b)2.5 E(uf)-.2 E -(fer is line oriented, otherwise unchanged.)-.25 E 7.49(Column: Set)97 -240 R .197(to the \214rst nonblank character of the appended te)2.697 F -.197(xt if the b)-.15 F(uf)-.2 E .197(fer is line oriented, other)-.25 F -(-)-.2 E(wise, the last character of the appended te)142 252 Q(xt.)-.15 -E 8.05(Options: None.)97 264 R F0([count] r <character>)72 288 Q F1 -2.395(Replace characters.)97 300 R 2.396(The ne)7.395 F(xt)-.15 E F2 -(count)4.896 E F1 2.396(characters in the line are replaced with)4.896 F -F2(<character>)4.896 E F1(.)A(Replacing characters with)97 312 Q F2 -(<newline>)2.5 E F1(characters results in creating ne)2.5 E 1.3 -.65 -(w, e)-.25 H(mpty lines into the \214le.).65 E(If)97 336 Q F2 -(<character>)2.5 E F1(is)2.5 E F2(<escape>)2.5 E F1 2.5(,t)C -(he command is cancelled.)-2.5 E 21.39(Line: Unchanged)97 360 R .755 -(unless the replacement character is a)3.255 F F2(<newline>)3.255 E F1 -3.255(,i)C 3.255(nw)-3.255 G .755(hich case it is set to)-3.255 F -(the current line plus)142 372 Q F2(count - 1)2.5 E F1(.)A 7.49 -(Column: Set)97 384 R .9 -(to the last character replaced, unless the replacement character is a) -3.4 F F2(<newline>)3.4 E F1 3.4(,i)C(n)-3.4 E -(which case the cursor is in column 1 of the last line inserted.)142 396 -Q 8.05(Options: None.)97 408 R F0([b)72 432 Q(uffer] [count] s)-.2 E F1 -(Substitute)97 444 Q F2(count)2.5 E F1 -(characters in the current line starting with the current character)2.5 -E(.)-.55 E 21.39(Line: Set)97 468 R -(to the last line upon which characters were entered.)2.5 E 7.49 -(Column: Set)97 480 R(to the last character entered.)2.5 E 8.05 -(Options: Af)97 492 R .465(fected by the)-.25 F F0(altwerase)2.965 E F1 -(,)A F0(autoindent)2.965 E F1(,)A F0(beautify)2.964 E F1(,)A F0(sho) -2.964 E(wmatch)-.1 E F1(,)A F0(ttywerase)2.964 E F1(and)2.964 E F0 -(wrapmar)2.964 E(-)-.37 E(gin)142 504 Q F1(options.)2.5 E F0 -([count] t <character>)72 528 Q F1 .055(Search forw)97 540 R(ard,)-.1 E -F2(count)2.555 E F1 .055 -(times, through the current line for the character immediately)2.555 F -/F3 10/Times-Italic@0 SF(befor)2.556 E(e)-.37 E F2(<char-)2.556 E -(acter>)97 552 Q F1(.)A(The)97 576 Q F0(t)2.739 E F1 .239 -(command may be used as the motion component of other)2.739 F F0(vi) -2.739 E F1 .239(commands, in which case an)2.739 F 2.738(yt)-.15 G -.15 -(ex)-2.738 G(t).15 E(copied into a b)97 588 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Unchanged.)97 612 R 7.49 -(Column: Set)97 624 R(to the character)2.5 E F3(befor)2.5 E(e)-.37 E F1 -(the searched-for character)2.5 E(.)-.55 E 8.05(Options: None.)97 636 R -F0(u)72 660 Q F1 1.473(Undo the last change made to the \214le.)97 672 R -1.473(If repeated, the)6.473 F F0(u)3.973 E F1 1.473 -(command alternates between these tw)3.973 F(o)-.1 E .437 -(states, and is its o)97 684 R .437(wn in)-.25 F -.15(ve)-.4 G 2.937 -(rse. When).15 F .436(used after an insert that inserted te)2.936 F .436 -(xt on more than one line, the)-.15 F(lines are sa)97 696 Q -.15(ve)-.2 -G 2.5(di).15 G 2.5(nt)-2.5 G(he numeric b)-2.5 E(uf)-.2 E(fers.)-.25 E -(The)97 720 Q F0(.)3.531 E F1 1.032 -(command, when used immediately after the)6.031 F F0(u)3.532 E F1 1.032 -(command, causes the change log to be rolled)3.532 F EP -%%Page: 36 35 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-36 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E/F1 10/Times-Roman@0 SF -(forw)97 96 Q(ard or backw)-.1 E(ard, depending on the action of the)-.1 -E F0(u)2.5 E F1(command.)2.5 E 21.39(Line: Set)97 120 R .715 -(to the position of the \214rst line changed, if the re)3.216 F -.15(ve) --.25 G .715(rsal af).15 F .715(fects only one line or repre-)-.25 F(sents an addition or change; otherwise, the line preceding the deleted te) -142 132 Q(xt.)-.15 E 7.49(Column: Set)97 144 R -(to the cursor position before the change w)2.5 E(as made.)-.1 E 8.05 -(Options: None.)97 156 R F0([count] w)72 180 Q F1(Mo)97 192 Q .849 -.15 -(ve f)-.15 H(orw).15 E(ard)-.1 E/F2 10/Courier@0 SF(count)3.049 E F1 -.1 -(wo)3.049 G 3.049(rds. Mo).1 F .849 -.15(ve t)-.15 H .549 -(he cursor forw).15 F .549(ard to the be)-.1 F .55(ginning of a w)-.15 F -.55(ord by repeating the)-.1 F(follo)97 204 Q .56 -(wing algorithm: if the current position is at the be)-.25 F .559 -(ginning of a w)-.15 F .559(ord, mo)-.1 F .859 -.15(ve t)-.15 H 3.059 -(ot).15 G .559(he \214rst character)-3.059 F .502(of the ne)97 216 R -.502(xt w)-.15 F 3.002(ord. If)-.1 F .502(no subsequent w)3.002 F .502 -(ord e)-.1 F .502(xists on the current line, mo)-.15 F .802 -.15(ve t) --.15 H 3.002(ot).15 G .502(he \214rst character of the)-3.002 F -(\214rst w)97 228 Q(ord on the \214rst follo)-.1 E -(wing line that contains a w)-.25 E(ord.)-.1 E(The)97 252 Q F0(w)2.523 E -F1 .023(command may be used as the motion component of other)2.523 F F0 -(vi)2.523 E F1 .022(commands, in which case an)2.523 F 2.522(yt)-.15 G --.15(ex)-2.522 G(t).15 E(copied into a b)97 264 Q(uf)-.2 E -(fer is character oriented.)-.25 E 21.39(Line: Set)97 288 R -(to the line containing the w)2.5 E(ord selected.)-.1 E 7.49 -(Column: Set)97 300 R(to the \214rst character of the w)2.5 E -(ord selected.)-.1 E 8.05(Options: None.)97 312 R F0([b)72 336 Q -(uffer] [count] x)-.2 E F1(Delete)97 348 Q F2(count)2.808 E F1 2.808 -(characters. The)2.808 F .308 -(deletion is at the current character position.)2.808 F .308 -(If the number of charac-)5.308 F .335(ters to be deleted is greater than or equal to the number of characters to the end of the line, all of the) -97 360 R(characters from the current cursor position to the end of the line are deleted.) -97 372 Q 21.39(Line: Unchanged.)97 396 R 7.49(Column: Unchanged)97 408 R -.477(unless the last character in the line is deleted and the cursor is not already on) -2.976 F -(the \214rst character in the line, in which case it is set to the pre) -142 420 Q(vious character)-.25 E(.)-.55 E 8.05(Options: None.)97 432 R -F0([b)72 456 Q(uffer] [count] y motion)-.2 E F1(Cop)97 468 Q 2.5(y\()-.1 -G(or \231yank\232\) the te)-2.5 E(xt re)-.15 E(gion speci\214ed by the) --.15 E F2(count)2.5 E F1(and)2.5 E F2(motion)2.5 E F1 2.5(,i)C(nto a b) --2.5 E(uf)-.2 E(fer)-.25 E(.)-.55 E 21.39(Line: Unchanged,)97 492 R .393 -(unless the re)2.893 F .393(gion co)-.15 F -.15(ve)-.15 G .392 -(rs more than a single line, in which case it is set to the).15 F -(line where the re)142 504 Q(gion starts.)-.15 E 7.49 -(Column: Unchanged,)97 516 R .392(unless the re)2.892 F .392(gion co) --.15 F -.15(ve)-.15 G .392 -(rs more than a single line, in which case it is set to the).15 F -(character were the re)142 528 Q(gion starts.)-.15 E 8.05 -(Options: None.)97 540 R F0([count1] z [count2] type)72 564 Q F1(Redra) -97 576 Q 2.997(wt)-.15 G .497(he screen with a windo)-2.997 F(w)-.25 E -F2(count2)2.997 E F1 .497(lines long, with line)2.997 F F2(count1)2.997 -E F1 .497(placed as speci\214ed by the)2.997 F F2(type)97 588 Q F1 -(character)2.96 E 5.46(.I)-.55 G(f)-5.46 E F2(count1)2.96 E F1 .46 -(is not speci\214ed, it def)2.96 F .46(aults to the current line.)-.1 F -(If)5.46 E F2(count2)2.96 E F1 .46(is not speci-)2.96 F(\214ed, it def) -97 600 Q(aults to the current windo)-.1 E 2.5(ws)-.25 G(ize.)-2.5 E -(The follo)97 624 Q(wing)-.25 E F2(type)2.5 E F1 -(characters may be used:)2.5 E 39.36(+I)97 648 S(f)-39.36 E F2(count1) -3.226 E F1 .726(is speci\214ed, place the line)3.226 F F2(count1)3.226 E -F1 .726(at the top of the screen.)3.226 F .726(Otherwise, dis-)5.726 F -(play the screen after the current screen, similarly to the)142 660 Q F0 -(<contr)2.5 E(ol-F>)-.18 E F1(command.)2.5 E(<carriage-return>)97 672 Q -(Place the line)142 684 Q F2(count1)2.5 E F1(at the top of the screen.) -2.5 E 42.5(.P)97 696 S(lace the line)-42.5 E F2(count1)2.5 E F1 -(in the center of the screen.)2.5 E 39.36<ad50>97 708 S(lace the line) --39.36 E F2(count1)2.5 E F1(at the bottom of the screen.)2.5 E EP -%%Page: 37 36 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-37)-2.5 F/F1 10/Times-Roman@0 SF 41.67(^I)97 -96 S(f)-41.67 E/F2 10/Courier@0 SF(count1)3.042 E F1 .543 -(is speci\214ed, place the line that is at the top of the screen when) -3.042 F F2(count1)3.043 E F1 .543(is at)3.043 F 1.241(the bottom of the screen, at the bottom of the screen, i.e. display the screen before the) -142 108 R .226(screen before)142 120 R F2(count1)2.726 E F1 5.226(.O)C -.226(therwise, display the screen before the current screen, similarly) --5.226 F(to the)142 132 Q F0(<contr)2.5 E(ol-B>)-.18 E F1(command.)2.5 E -21.39(Line: Set)97 156 R(to)2.714 E F2(count1)2.714 E F1(unless)2.714 E -F2(count1)2.714 E F1 .214(is not speci\214ed and the)2.714 F F2(type) -2.714 E F1 .214(character w)2.714 F .214(as either \231)-.1 F F2(^)A F1 -2.714<9a6f>C(r)-2.714 E<99>142 168 Q F2(+)A F1 .051(\232, in which case it is set to the line before the \214rst line on the pre) -B .052(vious screen or the line)-.25 F(after the last line on the pre) -142 180 Q(vious screen, respecti)-.25 E -.15(ve)-.25 G(ly).15 E(.)-.65 E -7.49(Column: Set)97 192 R -(to the \214rst nonblank character in the line.)2.5 E 8.05 -(Options: None.)97 204 R F0([count] {)72 228 Q F1(Mo)97 240 Q .3 -.15 -(ve b)-.15 H(ackw).15 E(ard)-.1 E F2(count)2.5 E F1(paragraphs.)2.5 E -(The)97 264 Q F0({)2.714 E F1 .214(command is an absolute mo)2.714 F --.15(ve)-.15 G 2.714(ment. The).15 F F0({)2.714 E F1 .213 -(command may be used as the motion component of)2.714 F(other)97 276 Q -F0(vi)2.781 E F1 .281(commands, in which case an)2.781 F 2.781(yt)-.15 G --.15(ex)-2.781 G 2.781(tc).15 G .281(opied into a b)-2.781 F(uf)-.2 E -.281(fer is character oriented, unless the start-)-.25 F(ing character is the \214rst character on its line, in which case it is line oriented.) -97 288 Q 21.39(Line: Set)97 312 R(to the line containing the be)2.5 E -(ginning of the pre)-.15 E(vious paragraph.)-.25 E 7.49(Column: Set)97 -324 R(to the \214rst nonblank character in the line.)2.5 E 8.05 -(Options: Af)97 336 R(fected by the)-.25 E F0(paragraph)2.5 E F1 -(option.)2.5 E F0([count] |)72 360 Q F1(Mo)97 372 Q .3 -.15(ve t)-.15 H -2.5(oas).15 G(peci\214c)-2.5 E/F3 10/Times-Italic@0 SF(column)2.5 E F1 -(position on the current line.)2.5 E(The)97 396 Q F0(|)2.802 E F1 .302 -(command may be used as the motion component of other)2.802 F F0(vi) -2.802 E F1 .301(commands, in which case an)2.801 F 2.801(yt)-.15 G -.15 -(ex)-2.801 G(t).15 E .295(copied into a b)97 408 R(uf)-.2 E .295 -(fer is character oriented.)-.25 F .295(It is an error to use the)5.295 -F F0(|)2.795 E F1 .296(command as a motion component)2.796 F -(and for the cursor not to mo)97 420 Q -.15(ve)-.15 G(.).15 E 21.39 -(Line: Unchanged.)97 444 R 7.49(Column: Set)97 456 R 1.018 -(to the character occup)3.518 F 1.018 -(ying the column position identi\214ed by)-.1 F F2(count)3.517 E F1 -3.517(,i)C 3.517(ft)-3.517 G 1.017(he position)-3.517 F -.15(ex)142 468 -S .075(ists in the line.).15 F .075 -(If the column length of the current line is less than)5.075 F F2(count) -2.575 E F1 2.575(,t)C .075(he cursor is)-2.575 F(mo)142 480 Q -.15(ve) --.15 G 2.5(dt).15 G 2.5(ot)-2.5 G(he last character in the line.)-2.5 E -8.05(Options: None.)97 492 R F0([count] })72 516 Q F1(Mo)97 528 Q .3 --.15(ve f)-.15 H(orw).15 E(ard)-.1 E F2(count)2.5 E F1(paragraphs.)2.5 E -(The)97 552 Q F0(})2.714 E F1 .214(command is an absolute mo)2.714 F --.15(ve)-.15 G 2.714(ment. The).15 F F0(})2.714 E F1 .213 -(command may be used as the motion component of)2.714 F(other)97 564 Q -F0(vi)2.781 E F1 .281(commands, in which case an)2.781 F 2.781(yt)-.15 G --.15(ex)-2.781 G 2.781(tc).15 G .281(opied into a b)-2.781 F(uf)-.2 E -.281(fer is character oriented, unless the start-)-.25 F -(ing character is at or before an)97 576 Q 2.5(yn)-.15 G -(onblank characters in its line, in which case it is line oriented.)-2.5 -E 21.39(Line: Set)97 600 R(to the line containing the be)2.5 E -(ginning of the ne)-.15 E(xt paragraph.)-.15 E 7.49(Column: Set)97 612 R -(to the \214rst nonblank character in the line.)2.5 E 8.05(Options: Af) -97 624 R(fected by the)-.25 E F0(paragraph)2.5 E F1(option.)2.5 E F0 -([count] ~)72 648 Q F1(Re)97 660 Q -.15(ve)-.25 G .009 -(rse the case of the ne).15 F(xt)-.15 E F2(count)2.508 E F1 2.508 -(character\(s\). This)2.508 F .008(is the historic semantic for the) -2.508 F F0(~)2.508 E F1 .008(command and)2.508 F(it is only in ef)97 672 -Q(fect if the)-.25 E F0(tildeop)2.5 E F1(option is not set.)2.5 E(Lo)97 -696 Q .688(wercase alphabetic characters are changed to uppercase, and uppercase characters are changed to) --.25 F(lo)97 708 Q 2.5(wercase. No)-.25 F(other characters are af)2.5 E -(fected.)-.25 E EP -%%Page: 38 37 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-38 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E/F1 10/Times-Roman@0 SF -(Historically)97 96 Q 2.777(,t)-.65 G(he)-2.777 E F0(~)2.777 E F1 .277 -(command did not tak)2.777 F 2.776(ea)-.1 G 2.776(na)-2.776 G .276 -(ssociated count, nor did it mo)-2.776 F .576 -.15(ve p)-.15 H .276 -(ast the end of the cur).15 F(-)-.2 E .109(rent line.)97 108 R .109 -(As it had no associated motion it w)5.109 F .109(as dif)-.1 F .109 -(\214cult to change the case of lar)-.25 F .109(ge blocks of te)-.18 F -2.609(xt. In)-.15 F F0 -.4(nv)97 120 S(i).4 E F1 3.809(,i)C 3.809(ft) --3.809 G 1.309(he cursor is on the last character of a line, and there are more lines in the \214le, the cursor) --3.809 F(mo)97 132 Q -.15(ve)-.15 G 2.5(st).15 G 2.5(ot)-2.5 G(he ne) --2.5 E(xt line.)-.15 E .661(It is not an error to specify a count lar)97 -156 R .662(ger than the number of characters between the cursor and the) --.18 F(end of the \214le.)97 168 Q 21.39(Line: Set)97 192 R -(to the line of the character after)2.5 E/F2 10/Courier@0 SF(count)2.5 E -F1(characters, or)2.5 E 2.5(,e)-.4 G(nd of \214le.)-2.5 E 7.49 -(Column: Set)97 204 R(to the character after)2.5 E F2(count)2.5 E F1 -(characters, or)2.5 E 2.5(,e)-.4 G(nd-of-\214le.)-2.5 E 8.05 -(Options: Af)97 216 R(fected by the)-.25 E F0(tildeop)2.5 E F1(option.) -2.5 E F0([count] ~ motion)72 240 Q F1(Re)97 252 Q -.15(ve)-.25 G 1.101 -(rse the case of the characters in a te).15 F 1.101(xt re)-.15 F 1.101 -(gion speci\214ed by the)-.15 F F2(count)3.601 E F1(and)3.601 E F2 -(motion)3.601 E F1 6.101(.O)C 1.101(nly in)-6.101 F(ef)97 264 Q -(fect if the)-.25 E F0(tildeop)2.5 E F1(option is set.)2.5 E(Lo)97 288 Q -.594(wercase characters are changed to uppercase, and uppercase characters are changed to lo) --.25 F(wercase.)-.25 E(No other characters are af)97 300 Q(fected.)-.25 -E 21.39(Line: Set)97 324 R -(to the line of the character after the last character in the re)2.5 E -(gion.)-.15 E 7.49(Column: Set)97 336 R -(to the character after the last character in the re)2.5 E(gion.)-.15 E -8.05(Options: Af)97 348 R(fected by the)-.25 E F0(tildeop)2.5 E F1 -(option.)2.5 E F0(<interrupt>)72 372 Q F1 1.403 -(Interrupt the current operation.)97 384 R(Man)6.403 E 3.903(yo)-.15 G -3.903(ft)-3.903 G 1.403(he potentially long-running)-3.903 F F0(vi)3.903 -E F1 1.403(commands may be inter)3.903 F(-)-.2 E 1.678 -(rupted using the terminal interrupt character)97 396 R 6.678(.T)-.55 G -1.679(hese operations include searches, \214le reading and)-6.678 F -1.691(writing, \214lter operations and map character e)97 408 R 4.191 -(xpansion. Interrupts)-.15 F 1.691(are also enabled when running)4.191 F -(commands outside of)97 420 Q F0(vi)2.5 E F1(.)A .441(If the)97 444 R F2 -(<interrupt>)2.941 E F1 .441 -(character is used to interrupt while entering an)2.941 F F0(ex)2.942 E -F1 .442(command, the command is)2.942 F -(aborted, the cursor returns to its pre)97 456 Q(vious position, and) --.25 E F0(vi)2.5 E F1(remains in command mode.)2.5 E(Generally)97 480 Q -4.217(,i)-.65 G 4.217(ft)-4.217 G(he)-4.217 E F2(<interrupt>)4.216 E F1 -1.716(character is used to interrupt an)4.216 F 4.216(yo)-.15 G 1.716 -(peration, an)-4.216 F 4.216(yc)-.15 G 1.716(hanges made)-4.216 F -(before the interrupt are left in place.)97 492 Q 21.39(Line: Dependent) -97 516 R(on the operation being interrupted.)2.5 E 7.49 -(Column: Dependent)97 528 R(on the operation being interrupted.)2.5 E -8.05(Options: None.)97 540 R F0 2.5(14. V)97 564 R 2.5(iT)-.37 G -(ext Input Commands)-3.42 E F1 .155(The follo)122 580.2 R .155 -(wing section describes the commands a)-.25 F -.25(va)-.2 G .155 -(ilable in the te).25 F .156(xt input mode of the)-.15 F F0(vi)2.656 E -F1(editor)2.656 E(.)-.55 E(Historically)122 596.4 Q(,)-.65 E F0(vi)2.708 -E F1 .208(implementations only permitted the characters inserted on the current line to be) -2.708 F 5.244(erased. In)97 608.4 R 2.744(addition, only the)5.244 F F2 -(<control-D>)5.244 E F1 2.745(erase character and the \231)5.245 F F2 -(0<control-D>)A F1 5.245<9a61>C(nd)-5.245 E<99>97 620.4 Q F2 -(^<control-D>)A F1 3.345<9a65>C .845 -(rase strings could erase autoindent characters.)-3.345 F .844 -(\(Autoindent characters include)5.844 F 1.722 -(both the characters inserted automatically at the be)97 632.4 R 1.723 -(ginning of an input line as well as characters)-.15 F .22 -(inserted using the)97 644.4 R F2(<control-T>)2.72 E F1 2.72 -(command.\) This)2.72 F .22 -(implementation permits erasure to continue past)2.72 F .063(the be)97 -656.4 R .063(ginning of the current line, and back to where te)-.15 F -.064(xt input mode w)-.15 F .064(as entered.)-.1 F .064 -(In addition, autoin-)5.064 F .405 -(dent characters may be erased using the standard erase characters.)97 -668.4 R -.15(Fo)5.405 G 2.905(rt).15 G .405(he line and w)-2.905 F .405 -(ord erase char)-.1 F(-)-.2 E 1.07(acters, reaching the autoindent characters forms a \231soft\232 boundary) -97 680.4 R 3.57(,d)-.65 G 1.07(enoting the end of the current)-3.57 F --.1(wo)97 692.4 S(rd or line erase.).1 E(Repeating the w)5 E -(ord or line erase k)-.1 E .3 -.15(ey w)-.1 H -(ill erase the autoindent characters.).15 E(Historically)122 708.6 Q(,) --.65 E F0(vi)2.947 E F1(al)2.947 E -.1(wa)-.1 G .447(ys used).1 F F2 -(<control-H>)2.947 E F1(and)2.946 E F2(<control-W>)2.946 E F1 .446 -(as character and w)2.946 F .446(ord erase)-.1 F .757 -(characters, respecti)97 720.6 R -.15(ve)-.25 G(ly).15 E 3.257(,r)-.65 G --2.25 -.15(eg a)-3.257 H .757(rdless of the current terminal settings.) -.15 F .758(This implementation accepts, in)5.757 F EP -%%Page: 39 38 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(V)-.18 E 2.5(iC)-.37 -G 233.15(ommands\) USD:13-39)-2.5 F/F1 10/Times-Roman@0 SF -(addition to these tw)97 96 Q 2.5(oc)-.1 G -(haracters, the current terminal characters for those operations.)-2.5 E -F0(<nul>)97 120 Q F1(If the \214rst character of the input is a)122 132 -Q/F2 10/Courier@0 SF(<nul>)2.5 E F1 2.5(,t)C(he pre)-2.5 E -(vious input is replayed, as if just entered.)-.25 E F0(<contr)97 156 Q -(ol-D>)-.18 E F1 .582(If the pre)122 168 R .582 -(vious character on the line w)-.25 F .582(as an autoindent character) --.1 F 3.082(,e)-.4 G .582(rase characters to mo)-3.082 F .882 -.15(ve t) --.15 H(he).15 E .125 -(cursor back to the column immediately after the pre)122 180 R .125 -(vious \(1-based\) column which is a multiple)-.25 F .068(of the)122 192 -R F0(shiftwidth)2.568 E F1 .068(edit option.)2.568 F .068 -(This may result in an)5.068 F 2.568(yn)-.15 G .068(umber of)-2.568 F F2 -(<tab>)2.568 E F1(and)2.568 E F2(<space>)2.568 E F1(charac-)2.568 E -(ters preceding the cursor being changed.)122 204 Q .201 -(Otherwise, if the)122 228 R F0(autoindent)2.701 E F1 .202(option is set and the user is entering the \214rst character in the line,) -2.701 F F2(<control-D>)122 240 Q F1(is ignored.)2.5 E -(Otherwise, a literal)5 E F2(<control-D>)2.5 E F1(character is entered.) -2.5 E F0(^<contr)97 264 Q(ol-D>)-.18 E F1 1.228(If the pre)122 276 R -1.228(vious character on the line w)-.25 F 1.227 -(as an autoindent character)-.1 F 3.727(,e)-.4 G 1.227 -(rase all of the autoindent)-3.727 F(characters on the line.)122 288 Q -(In addition, the autoindent le)5 E -.15(ve)-.25 G 2.5(li).15 G 2.5(sr) --2.5 G(eset to 0.)-2.5 E F0(0<contr)97 312 Q(ol-D>)-.18 E F1 1.227 -(If the pre)122 324 R 1.227(vious character on the line w)-.25 F 1.227 -(as an autoindent character)-.1 F 3.728(,e)-.4 G 1.228 -(rase all of the autoindent)-3.728 F(characters on the line.)122 336 Q -(The autoindent le)5 E -.15(ve)-.25 G 2.5(li).15 G 2.5(sn)-2.5 G -(ot altered.)-2.5 E F0(<contr)97 360 Q(ol-T>)-.18 E F1 1.103(Insert suf) -122 372 R(\214cient)-.25 E F2(<tab>)3.603 E F1(and)3.603 E F2(<space>) -3.603 E F1 1.102(characters to mo)3.602 F 1.402 -.15(ve t)-.15 H 1.102 -(he cursor forw).15 F 1.102(ard to the column)-.1 F .413 -(immediately after the ne)122 384 R .414 -(xt \(1-based\) column which is a multiple of the)-.15 F F0(shiftwidth) -2.914 E F1 .414(edit option.)2.914 F .215(This may result in an)122 396 -R 2.714(yn)-.15 G .214(umber of)-2.714 F F2(<tab>)2.714 E F1(and)2.714 E -F2(<space>)2.714 E F1 .214(characters preceding the cursor being)2.714 F -(changed.)122 408 Q(Historically)122 432 Q(,)-.65 E F0(vi)3.043 E F1 -.543(did not permit the)3.043 F F2(<control-T>)3.043 E F1 .544 -(command to be used unless the cursor w)3.044 F(as)-.1 E .257 -(at the \214rst column of a ne)122 444 R 2.757(wl)-.25 G .256 -(ine or it w)-2.757 F .256(as preceded only by autoindent characters.) --.1 F F0(Nvi)5.256 E F1(permits)2.756 E(it to be used at an)122 456 Q -2.5(yt)-.15 G(ime during insert mode.)-2.5 E F0(<erase>)97 480 Q(<contr) -97 492 Q(ol-H>)-.18 E F1(Erase the last character)122 504 Q(.)-.55 E F0 -(<literal-next>)97 528 Q F1 .844(Quote the ne)122 540 R .844 -(xt character)-.15 F 5.844(.T)-.55 G .844(he ne)-5.844 F .845 -(xt character will not be mapped \(see the)-.15 F F0(map)3.345 E F1 .845 -(command for)3.345 F .609(more information\) or interpreted specially) -122 552 R 5.608(.A)-.65 G .608(carat \(\231)-2.5 F F2(^)A F1 .608 -(\232\) character will be displayed immedi-)B(ately as a placeholder)122 -564 Q 2.5(,b)-.4 G(ut will be replaced by the ne)-2.7 E(xt character) --.15 E(.)-.55 E F0(<escape>)97 588 Q F1 1.497 -(If on the colon command line, and the)122 600 R F0(\214lec)3.998 E F1 -1.498(edit option is set, beha)3.998 F 1.798 -.15(ve a)-.2 H 3.998(sd) -.15 G 1.498(escribed for that)-3.998 F 2.926(option. Otherwise,)122 612 -R .426(if on the colon command line, e)2.926 F -.15(xe)-.15 G .426 -(cute the command.).15 F .425(Otherwise, if not on)5.425 F -(the colon command line, resolv)122 624 Q 2.5(ea)-.15 G(ll te)-2.5 E -(xt input into the \214le, and return to command mode.)-.15 E F0 -(<line erase>)97 648 Q F1(Erase the current line.)122 660 Q F0(<contr)97 -684 Q(ol-W>)-.18 E(<w)97 696 Q(ord erase>)-.1 E F1 1.75 -(Erase the last w)122 708 R 4.25(ord. The)-.1 F 1.75(de\214nition of w) -4.25 F 1.75(ord is dependent on the)-.1 F F0(altwerase)4.25 E F1(and) -4.25 E F0(ttywerase)4.25 E F1(options.)122 720 Q EP -%%Page: 40 39 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 233.15(USD:13-40 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(V)-.18 E 2.5(iC)-.37 G(ommands\))-2.5 E(<contr)97 96 Q -(ol-X>[0-9A-F)-.18 E(a-f]+)-.25 E/F1 10/Times-Roman@0 SF .284 -(Insert a character with the speci\214ed he)122 108 R .284(xadecimal v) --.15 F .284(alue into the te)-.25 F 2.784(xt. The)-.15 F -.25(va)2.784 G -.284(lue is delimited by).25 F(an)122 120 Q 3.028(yn)-.15 G(on-he)-3.028 -E .529(xadecimal character or the input of the maximum number of characters that can be) --.15 F(translated into a single character v)122 132 Q(alue.)-.25 E F0 -(<interrupt>)97 156 Q F1 1.466(Interrupt te)122 168 R 1.466 -(xt input mode, returning to command mode.)-.15 F 1.466(If the)6.466 F -/F2 10/Courier@0 SF(<interrupt>)3.966 E F1 1.465(character is)3.965 F -.938(used to interrupt inserting te)122 180 R .938 -(xt into the \214le, it is as if the)-.15 F F2(<escape>)3.438 E F1 .939 -(character w)3.439 F .939(as used; all)-.1 F(te)122 192 Q -(xt input up to the interruption is resolv)-.15 E(ed into the \214le.) --.15 E F0 2.5(15. Ex)97 216 R(Addr)2.5 E(essing)-.18 E F1 .393 -(Addressing in)122 232.2 R F0(ex)2.893 E F1 .393(\(and when)2.893 F F0 -(ex)2.893 E F1 .393(commands are e)2.893 F -.15(xe)-.15 G .392 -(cuted from).15 F F0(vi)2.892 E F1 2.892(\)r)C .392 -(elates to the current line.)-2.892 F(In)5.392 E .115 -(general, the current line is the last line af)97 244.2 R .116 -(fected by a command.)-.25 F .116(The e)5.116 F .116(xact ef)-.15 F .116 -(fect on the current line is)-.25 F .147 -(discussed under the description of each command.)97 256.2 R .146 -(When the \214le contains no lines, the current line is)5.146 F(zero.)97 -268.2 Q(Addresses are constructed by one or more of the follo)122 284.4 -Q(wing methods:)-.25 E 12.5(\(1\) The)102 300.6 R(address \231)2.5 E F2 -(.)A F1 5<9a72>C(efers to the current line.)-5 E 12.5(\(2\) The)102 -316.8 R(address \231)2.5 E F2($)A F1 2.5<9a72>C -(efers to the last line of the \214le.)-2.5 E 12.5(\(3\) The)102 333 R -(address \231)2.5 E F2(N)A F1(\232, where)A F2(N)2.5 E F1(is a positi) -2.5 E .3 -.15(ve n)-.25 H(umber).15 E 2.5(,r)-.4 G -(efers to the N-th line of the \214le.)-2.5 E 12.5(\(4\) The)102 349.2 R -1.323(address \231)3.823 F F2('<character>)A F1 3.823<9a6f>C 3.823<7299> --3.823 G F2(`<character>)-3.823 E F1 3.824<9a72>C 1.324 -(efers to the line mark)-3.824 F 1.324(ed with the)-.1 F(name)128.66 -361.2 Q F2(<character>)3.744 E F1 6.244(.\()C 1.244(See the)-6.244 F F0 -(k)3.744 E F1(or)3.744 E F0(m)3.744 E F1 1.243 -(commands for more information on ho)3.744 F 3.743(wt)-.25 G 3.743(om) --3.743 G(ark)-3.743 E(lines.\))128.66 373.2 Q 12.5(\(5\) A)102 389.4 R -(re)3.506 E 1.006(gular e)-.15 F 1.007 -(xpression \(RE\) enclosed by slashes \(\231)-.15 F F2(/)A F1 1.007 -(\232\) is an address, and it refers to the \214rst)B .215 -(line found by searching forw)128.66 401.4 R .214(ard from the line)-.1 -F/F3 10/Times-Italic@0 SF(after)2.714 E F1 .214(the current line to) -2.714 F -.1(wa)-.25 G .214(rd the end of the \214le,).1 F .544 -(and stopping at the \214rst line containing a string matching the RE.) -128.66 413.4 R .544(\(The trailing slash can be)5.544 F -(omitted at the end of the command line.\))128.66 425.4 Q .26 -(If no RE is speci\214ed, i.e. the pattern is \231)128.66 449.4 R F2(//) -A F1 .259(\232, the last RE used in an)B 2.759(yc)-.15 G .259 -(ommand is used in the)-2.759 F(search.)128.66 461.4 Q .948(If the) -128.66 485.4 R F0(extended)3.449 E F1 .949 -(option is set, the RE is handled as an e)3.449 F .949 -(xtended RE, not a basic RE.)-.15 F .949(If the)5.949 F F0(wrapscan) -128.66 497.4 Q F1 .19(option is set, the search wraps around to the be) -2.69 F .189(ginning of the \214le and continues up)-.15 F(to and including the current line, so that the entire \214le is searched.) -128.66 509.4 Q(The form \231)128.66 533.4 Q F2(\\/)A F1 2.5<9a69>C 2.5 -(sa)-2.5 G(ccepted for historic reasons, and is identical to \231)-2.5 E -F2(//)A F1<9a2e>A 12.5(\(6\) An)102 549.6 R 1.088 -(RE enclosed in question marks \(\231)3.588 F F2(?)A F1 3.589 -(\232\) addresses)B 1.089(the \214rst line found by searching back-) -3.589 F -.1(wa)128.66 561.6 S .138(rd from the line).1 F F3(pr)2.638 E -(eceding)-.37 E F1 .138(the current line, to)2.638 F -.1(wa)-.25 G .137 -(rd the be).1 F .137(ginning of the \214le and stopping at)-.15 F .154 -(the \214rst line containing a string matching the RE.)128.66 573.6 R -.154(\(The trailing question mark can be omitted)5.154 F -(at the end of a command line.\))128.66 585.6 Q .26 -(If no RE is speci\214ed, i.e. the pattern is \231)128.66 609.6 R F2(??) -A F1 .259(\232, the last RE used in an)B 2.759(yc)-.15 G .259 -(ommand is used in the)-2.759 F(search.)128.66 621.6 Q .948(If the) -128.66 645.6 R F0(extended)3.449 E F1 .949 -(option is set, the RE is handled as an e)3.449 F .949 -(xtended RE, not a basic RE.)-.15 F .949(If the)5.949 F F0(wrapscan) -128.66 657.6 Q F1 .375(option is set, the search)2.875 F .375 -(wraps around from the be)5.375 F .374 -(ginning of the \214le to the end of)-.15 F(the \214le and continues up to and including the current line, so that the entire \214le is searched.) -128.66 669.6 Q(The form \231)128.66 693.6 Q F2(\\?)A F1 5<9a69>C 2.5(sa) --5 G(ccepted for historic reasons, and is identical to \231)-2.5 E F2 -(??)A F1<9a2e>A 12.5(\(7\) An)102 709.8 R .648(address follo)3.148 F -.649(wed by a plus sign \(\231)-.25 F F2(+)A F1 .649 -(\232\) or a minus sign \(\231)B F2(-)A F1 .649(\232\) follo)B .649 -(wed by a number is an)-.25 F(of)128.66 721.8 Q .563(fset address and refers to the address plus \(or minus\) the indicated number of lines.) --.25 F .562(If the)5.562 F EP -%%Page: 41 40 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 303.33(ence USD:13-41)-.18 -F/F1 10/Times-Roman@0 SF(address is omitted, the addition or subtraction is done with respect to the current line.) -128.66 96 Q 12.5(\(8\) An)102 112.2 R .235(address of \231)2.735 F/F2 10 -/Courier@0 SF(+)A F1 2.735<9a6f>C 2.735<7299>-2.735 G F2<ad>-2.735 E F1 -2.735<9a66>C(ollo)-2.735 E .235(wed by a number is an of)-.25 F .235 -(fset from the current line.)-.25 F -.15(Fo)5.235 G 2.735(re).15 G(xam-) --2.885 E(ple, \231)128.66 124.2 Q F2<ad35>A F1 2.5<9a69>C 2.5(st)-2.5 G -(he same as \231)-2.5 E F2(.\2555)A F1<9a2e>A 12.5(\(9\) An)102 140.4 R -1.1(address ending with \231)3.6 F F2(+)A F1 3.6<9a6f>C 3.6<7299>-3.6 G -F2(-)-3.6 E F1 3.6<9a68>C 1.1 -(as 1 added to or subtracted from the address, respec-)-3.6 F(ti)128.66 -152.4 Q -.15(ve)-.25 G(ly).15 E 5.827(.A)-.65 G 3.327(sac)-5.827 G .827 -(onsequence of this rule and of the pre)-3.327 F .827 -(vious rule, the address \231)-.25 F F2<ad>A F1 3.327<9a72>C .827 -(efers to the)-3.327 F .463(line preceding the current line.)128.66 -164.4 R(Moreo)5.462 E -.15(ve)-.15 G 1.262 -.4(r, t).15 H .462 -(railing \231).4 F F2(+)A F1 2.962<9a61>C .462(nd \231)-2.962 F F2<ad>A -F1 2.962<9a63>C .462(haracters ha)-2.962 F .762 -.15(ve a c)-.2 H -(umulati).15 E -.15(ve)-.25 G(ef)128.66 176.4 Q 2.5(fect. F)-.25 F(or e) --.15 E(xample, \231)-.15 E F2(++\255++)A F1 2.5<9a72>C -(efers to the current line plus 3.)-2.5 E 7.5(\(10\) A)102 192.6 R -(percent sign \(\231)2.5 E F2(%)A F1(\232\) is equi)A -.25(va)-.25 G -(lent to the address range \231).25 E F2(1,$)A F1<9a2e>A F0(Ex)122 208.8 -Q F1 1.354(commands require zero, one, or tw)3.854 F 3.854(oa)-.1 G -3.854(ddresses. It)-3.854 F 1.354 -(is an error to specify an address to a)3.854 F -(command which requires zero addresses.)97 220.8 Q .523(If the user pro) -122 237 R .523(vides more than the e)-.15 F .522 -(xpected number of addresses to an)-.15 F(y)-.15 E F0(ex)3.022 E F1 .522 -(command, the \214rst)3.022 F .91(addresses speci\214ed are discarded.) -97 249 R -.15(Fo)5.911 G 3.411(re).15 G .911(xample, \231)-3.561 F F2 -(1,2,3,5)A F1 .911(\232print prints lines 3 through 5, because)B(the)97 -261 Q F0(print)2.5 E F1(command only tak)2.5 E(es tw)-.1 E 2.5(oa)-.1 G -(ddresses.)-2.5 E 1.633(The addresses in a range are separated from each other by a comma \(\231) -122 277.2 R F2(,)A F1 1.632(\232\) or a semicolon)B<2899>97 289.2 Q F2 -(;)A F1 2.907(\232\). In)B .407 -(the latter case, the current line \(\231)2.907 F F2(.)A F1 2.907 -(\232\) is)B .407 -(set to the \214rst address, and only then is the second)2.907 F .358 -(address calculated.)97 301.2 R .358 -(This feature can be used to determine the starting line for forw)5.358 -F .358(ard and backw)-.1 F(ard)-.1 E .271 -(searches \(see rules \(5\) and \(6\) abo)97 313.2 R -.15(ve)-.15 G -2.771(\). The).15 F .272(second address of an)2.771 F 2.772(yt)-.15 G --.1(wo)-2.772 G .272(-address sequence corresponds).1 F .252 -(to a line that follo)97 325.2 R .252 -(ws, in the \214le, the line corresponding to the \214rst address.)-.25 -F .251(The \214rst address must be)5.251 F .737 -(less than or equal to the second address.)97 337.2 R .738 -(The \214rst address must be greater than or equal to the \214rst)5.737 -F(line of the \214le, and the last address must be less than or equal to the last line of the \214le.) -97 349.2 Q F0 2.5(16. Ex)97 373.2 R(Description)2.5 E F1(The follo)122 -389.4 Q(wing w)-.25 E(ords ha)-.1 E .3 -.15(ve s)-.2 H -(pecial meanings for).15 E F0(ex)2.5 E F1(commands.)2.5 E F0 -(<end-of-\214le>)97 413.4 Q F1 .026 -(The end-of-\214le character is used to scroll the screen in the)122 -425.4 R F0(ex)2.526 E F1(editor)2.526 E 5.026(.T)-.55 G .026 -(his character is normally)-5.026 F F2(<control-D>)122 437.4 Q F1 6.021 -(.H)C -.25(ow)-6.021 G -2.15 -.25(ev e).25 H 1.821 -.4(r, w).25 H(hate) -.4 E -.15(ve)-.25 G 3.521(rc).15 G 1.022 -(haracter is set for the current terminal is supported as)-3.521 F -(well as)122 449.4 Q F2(<control-D>)2.5 E F1(.)A F0(line)97 473.4 Q F1 -2.76(As)122 485.4 S .26(ingle-line address, gi)-2.76 F -.15(ve)-.25 G -2.76(ni).15 G 2.76(na)-2.76 G .559 -.15(ny o)-2.76 H 2.759(ft).15 G .259 -(he forms described in the section entitled \231)-2.759 F F0 .259 -(Ex Addr)B(ess-)-.18 E(ing)122 497.4 Q F1 2.5(\232. The)B(def)2.5 E -(ault for)-.1 E F2(line)2.5 E F1(is the current line.)2.5 E F0(range)97 -521.4 Q F1 3.063(Al)122 533.4 S .563 -(ine, or a pair of line addresses, separated by a comma or semicolon.) --3.063 F .564(\(See the section enti-)5.564 F .12(tled \231)122 545.4 R -F0 .12(Ex Addr)B(essing)-.18 E F1 2.62<9a66>C .12 -(or more information.\))-2.62 F .119(The def)5.119 F .119 -(ault for range is the current line)-.1 F/F3 10/Times-Italic@0 SF(only) -2.619 E F1 2.619(,i)C(.e.)-2.619 E<99>122 557.4 Q F2(.,.)A F1 3.524 -(\232. A)B 1.024(percent sign \(\231)3.524 F F2(%)A F1 1.024 -(\232\) stands for the range \231)B F2(1,$)A F1 3.524(\232. The)B 1.024 -(starting address must be less)3.524 F -(than, or equal to, the ending address.)122 569.4 Q F0(count)97 593.4 Q -F1 2.624(Ap)122 605.4 S(ositi)-2.624 E .424 -.15(ve i)-.25 H(nte).15 E -(ger)-.15 E 2.623(,s)-.4 G .123(pecifying the number of lines to be af) --2.623 F .123(fected by the command; the def)-.25 F .123(ault is)-.1 F -3.006(1. Generally)122 617.4 R -5.505 3.006(,a c)-.65 H .507 -(ount past the end-of-\214le may be speci\214ed, e.g. the command \231) --3.006 F F2 6.507(p3)C(000)-6.507 E F1 3.007<9a69>C 3.007(na)-3.007 G(10 line \214le is acceptable, and will print from the current line through the last line in the \214le.) -122 629.4 Q F0(\215ags)97 653.4 Q F1 1.243 -(One or more of the characters \231#\232, \231p\232, and \231l\232.)122 -665.4 R 1.243(When a command that accepts these \215ags)6.243 F .285(completes, the addressed line\(s\) are written out as if by the corresponding) -122 677.4 R F0(#)2.785 E F1(,)A F0(l)2.785 E F1(or)2.785 E F0(p)2.785 E -F1(commands.)2.785 E .789(In addition, an)122 689.4 R 3.288(yn)-.15 G -.788(umber of \231)-3.288 F F2(+)A F1 3.288<9a6f>C 3.288<7299>-3.288 G -F2<ad>-3.288 E F1 3.288<9a63>C .788 -(haracters can be speci\214ed before, after)-3.288 F 3.288(,o)-.4 G -3.288(rd)-3.288 G .788(uring the)-3.288 F 1.025 -(\215ags, in which case the line written is not necessarily the one af) -122 701.4 R 1.025(fected by the command, b)-.25 F(ut)-.2 E -(rather the line addressed by the of)122 713.4 Q -(fset address speci\214ed.)-.25 E(The def)5 E(ault for)-.1 E F2(flags) -2.5 E F1(is none.)2.5 E EP -%%Page: 42 41 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-42 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E(\214le)97 96 Q/F1 10/Times-Roman@0 SF 2.733 -(Ap)122 108 S .233(attern used to deri)-2.733 F .533 -.15(ve a p)-.25 H -.233(athname; the def).15 F .233(ault is the current \214le.)-.1 F .233 -(File names are subjected to)5.233 F(normal)122 120 Q/F2 10 -/Times-Italic@0 SF(sh)2.5 E F1(\(1\) w)A(ord e)-.1 E(xpansions.)-.15 E -(An)122 136.2 Q 1.015(ywhere a \214le name is speci\214ed, it is also possible to use the special string \231) --.15 F/F3 10/Courier@0 SF(/tmp)A F1 3.515(\232. This)B .044(will be replaced with a temporary \214le name which can be used for temporary w) -97 148.2 R .044(ork, e.g.)-.1 F<99>5.044 E F3 .044(:e /tmp)B F1<9a>A -(creates and edits a ne)97 160.2 Q 2.5<778c>-.25 G(le.)-2.5 E .431(If both a count and a range are speci\214ed for commands that use either) -122 176.4 R 2.931(,t)-.4 G .431(he starting line for the)-2.931 F .962 -(command is the)97 188.4 R F2(last)3.462 E F1 .961 -(line addressed by the range, and)3.462 F F3(count)3.461 E F1 3.461(-s)C -.961(ubsequent lines are af)-3.461 F .961(fected by the)-.25 F -(command, e.g. the command \231)97 200.4 Q F3(2,3p4)A F1 2.5<9a70>C -(rints out lines 3, 4, 5 and 6.)-2.5 E .12(When only a line or range is speci\214ed, with no command, the implied command is either a) -122 216.6 R F0(list)2.62 E F1(,)A F0(number)97 228.6 Q F1(or)3.275 E F0 -(print)3.275 E F1 3.275(command. The)3.275 F .775 -(command used is the most recent of the three commands to ha)3.275 F --.15(ve)-.2 G .221(been used \(including an)97 240.6 R 2.721(yu)-.15 G -.221(se as a \215ag\).)-2.721 F .221(If none of these commands ha)5.221 -F .521 -.15(ve b)-.2 H .221(een used before, the).15 F F0(print)2.722 E -F1 .595(command is the implied command.)97 252.6 R .594 -(When no range or count is speci\214ed and the command line is a)5.594 F -(blank line, the current line is incremented by 1 and then the current line is displayed.) -97 264.6 Q .268(Zero or more whitespace characters may precede or follo) -122 280.8 R 2.768(wt)-.25 G .268(he addresses, count, \215ags, or com-) --2.768 F .807(mand name.)97 292.8 R(An)5.807 E 3.307(yo)-.15 G .807 -(bject follo)-3.307 F .807(wing a command name \(such as b)-.25 F(uf)-.2 -E(fer)-.25 E 3.307<2c8c>-.4 G .807(le, etc.\), that be)-3.307 F .806 -(gins with an)-.15 F .12(alphabetic character)97 304.8 R 2.62(,s)-.4 G -.121(hould be separated from the command name by at least one whitespace charac-) --2.62 F(ter)97 316.8 Q(.)-.55 E(An)122 333 Q 2.929(yc)-.15 G(haracter) --2.929 E 2.929(,i)-.4 G(ncluding)-2.929 E F3(<carriage-return>)2.928 E -F1 2.928<2c99>C F3(%)-2.928 E F1 2.928<9a61>C .428(nd \231)-2.928 F F3 -(#)A F1 2.928<9a72>C .428(etain their literal v)-2.928 F .428(alue when) --.25 F(preceded by a backslash.)97 345 Q F0 2.5(17. Ex)97 369 R -(Commands)2.5 E F1 .4(The follo)122 385.2 R .4 -(wing section describes the commands a)-.25 F -.25(va)-.2 G .401 -(ilable in the).25 F F0(ex)2.901 E F1(editor)2.901 E 5.401(.I)-.55 G -2.901(ne)-5.401 G .401(ach entry belo)-2.901 F -.65(w,)-.25 G -(the tag line is a usage synopsis for the command.)97 397.2 Q .629 -(Each command can be entered as the abbre)122 413.4 R .628 -(viation \(those characters in the synopsis command)-.25 F -.1(wo)97 -425.4 S .977(rd preceding the \231[\232 character\), the full command \(all characters sho) -.1 F .977(wn for the command w)-.25 F(ord,)-.1 E .161 -(omitting the \231[\232 and \231]\232 characters\), or an)97 437.4 R -2.661(yl)-.15 G .161(eading subset of the full command do)-2.661 F .161 -(wn to the abbre)-.25 F(via-)-.25 E 2.73(tion. F)97 449.4 R .23(or e) --.15 F .23(xample, the ar)-.15 F .23(gs command \(sho)-.18 F .231 -(wn as \231)-.25 F F3(ar[gs])A F1 2.731<9a69>C 2.731(nt)-2.731 G .231 -(he synopsis\) can be entered as \231)-2.731 F F3(ar)A F1<9a2c>A<99>97 -461.4 Q F3(arg)A F1 2.5<9a6f>C 2.5<7299>-2.5 G F3(args)-2.5 E F1<9a2e>A -(Each)122 477.6 Q F0(ex)3.462 E F1 .962(command described belo)3.462 F -3.462(wn)-.25 G .962(otes the ne)-3.462 F 3.462(wc)-.25 G .962 -(urrent line after it is e)-3.462 F -.15(xe)-.15 G .961 -(cuted, as well as).15 F(an)97 489.6 Q 2.5(yo)-.15 G(ptions that af)-2.5 -E(fect the command.)-.25 E F0(")97 513.6 Q F1 4.176(Ac)122 525.6 S 4.176 -(omment. Command)-4.176 F 1.676(lines be)4.176 F 1.676 -(ginning with the double-quote character \(\231)-.15 F F3(")A F1 1.677 -(\232\) are ignored.)B -(This permits comments in editor scripts and startup \214les.)122 537.6 -Q F0(<contr)97 561.6 Q(ol-D>)-.18 E(<end-of-\214le>)97 585.6 Q F1 .41 -(Scroll the screen.)122 597.6 R .41(Write the ne)5.41 F .409 -(xt N lines, where N is the v)-.15 F .409(alue of the)-.25 F F0(scr) -2.909 E(oll)-.18 E F1 2.909(option. The)2.909 F(com-)2.909 E .428 -(mand is the end-of-\214le terminal character)122 609.6 R 2.928(,w)-.4 G -.429(hich may be dif)-2.928 F .429(ferent on dif)-.25 F .429 -(ferent terminals.)-.25 F -.35(Tr)5.429 G(a-).35 E(ditionally)122 621.6 -Q 2.5(,i)-.65 G 2.5(ti)-2.5 G 2.5(st)-2.5 G(he)-2.5 E F3(<control-D>)2.5 -E F1 -.1(ke)2.5 G -.65(y.)-.05 G(Historically)122 645.6 Q 3.138(,t)-.65 -G(he)-3.138 E F0(eof)3.138 E F1 .637(command ignored an)3.138 F 3.137 -(yp)-.15 G .637(receding count, and the)-3.137 F F3(<end-of-file>)3.137 -E F1(char)3.137 E(-)-.2 E .318(acter w)122 657.6 R .318 -(as ignored unless it w)-.1 F .319 -(as entered as the \214rst character of the command.)-.1 F .319 -(This implemen-)5.319 F .069(tation treats it as a command)122 669.6 R -F2(only)2.569 E F1 .069 -(if entered as the \214rst character of the command line, and oth-)2.569 -F(erwise treats it as an)122 681.6 Q 2.5(yo)-.15 G(ther character)-2.5 E -(.)-.55 E 21.39(Line: Set)122 705.6 R(to the last line written.)2.5 E EP -%%Page: 43 42 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Ex Commands\))-.18 E -(USD:13-43)233.61 E/F1 10/Times-Roman@0 SF 8.05(Options: Af)122 96 R -(fected by the)-.25 E F0(scr)2.5 E(oll)-.18 E F1(option.)2.5 E F0 2.5 -(!a)97 120 S -.1(rg)-2.5 G(ument\(s\)).1 E([range]! ar)97 132 Q -(gument\(s\))-.1 E F1(Ex)122 144 Q 1.126 -(ecute a shell command, or \214lter lines through a shell command.)-.15 -F 1.127(In the \214rst synopsis, the)6.127 F 1.613 -(remainder of the line after the \231)122 156 R/F2 10/Courier@0 SF(!)A -F1 6.613<9a63>C 1.613(haracter is passed to the program named by the) --6.613 F F0(shell)4.113 E F1(option, as a single ar)122 168 Q(gument.) --.18 E -.4(Wi)122 192 S .318(thin the rest of the line, \231).4 F F2(%)A -F1 2.818<9a61>C .318(nd \231)-2.818 F F2(#)A F1 2.818<9a61>C .318(re e) --2.818 F .318(xpanded into the current and alternate pathnames,)-.15 F -(respecti)122 204 Q -.15(ve)-.25 G(ly).15 E 6.065(.T)-.65 G 1.065 -(he character \231)-6.065 F F2(!)A F1 6.065<9a69>C 3.565(se)-6.065 G -1.065(xpanded with the command te)-3.715 F 1.065(xt of the pre)-.15 F -(vious)-.25 E F0(!)3.565 E F1(com-)6.065 E 3.227(mand. \(Therefore,)122 -216 R .727(the command)3.227 F F0(!!)3.227 E F1 .727(repeats the pre) -5.727 F(vious)-.25 E F0(!)3.228 E F1 3.228(command.\) The)5.728 F .728 -(special meanings)3.228 F .086(of \231)122 228 R F2(%)A F1 .086 -<9a2c2099>B F2(#)A F1 .086(\232, and \231)B F2(!)A F1 5.086<9a63>C .086 -(an be o)-5.086 F -.15(ve)-.15 G .086 -(rridden by escaping them with a backslash.).15 F .086(If no)5.086 F F0 -(!)2.585 E F1(or)5.085 E F0(:!)2.585 E F1(com-)5.085 E .148 -(mand has yet been e)122 240 R -.15(xe)-.15 G .148 -(cuted, it is an error to use an unescaped \231).15 F F2(!)A F1 5.149 -<9a63>C(haracter)-5.149 E 5.149(.T)-.55 G(he)-5.149 E F0(!)2.649 E F1 -(command)5.149 E(does)122 252 Q/F3 10/Times-Italic@0 SF(not)3.148 E F1 -.648(do shell e)3.148 F .648(xpansion on the strings pro)-.15 F .647 -(vided as ar)-.15 F 3.147(guments. If)-.18 F(an)3.147 E 3.147(yo)-.15 G -3.147(ft)-3.147 G .647(he abo)-3.147 F .947 -.15(ve ex)-.15 H(pan-).15 E -.693(sions change the command the user entered, the command is redisplayed at the bottom of the) -122 264 R(screen.)122 276 Q F0(Ex)122 300 Q F1 .482(then e)2.982 F -.15 -(xe)-.15 G .482(cutes the program named by the).15 F F0(shell)2.982 E F1 -.482(option, with a)2.982 F F0<ad63>2.982 E F1 .481(\215ag follo)2.982 F -.481(wed by the ar)-.25 F(gu-)-.18 E(ments \(which are b)122 312 Q -(undled into a single ar)-.2 E(gument\).)-.18 E(The)122 336 Q F0(!)2.5 E -F1(command is permitted in an empty \214le.)5 E -(If the \214le has been modi\214ed since it w)122 360 Q -(as last completely written, the command will w)-.1 E(arn you.)-.1 E 2.5 -(As)122 384 S(ingle \231)-2.5 E F2(!)A F1 5<9a63>C -(haracter is displayed when the command completes.)-5 E .466 -(In the second form of the)122 408 R F0(!)2.966 E F1 .466 -(command, the remainder of the line after the \231)5.466 F F2(!)A F1 -5.467<9a69>C 2.967(sp)-5.467 G .467(assed to the)-2.967 F .676 -(program named by the)122 420 R F0(shell)3.176 E F1 .676 -(option, as described abo)3.176 F -.15(ve)-.15 G 5.676(.T).15 G .676 -(he speci\214ed lines are passed to the)-5.676 F .764(program as standard input, and the standard and standard error output of the program replace) -122 432 R(the original lines.)122 444 Q 21.39(Line: Unchanged)122 468 R -(if no range w)2.5 E -(as speci\214ed, otherwise set to the \214rst line of the range.)-.1 E -8.05(Options: Af)122 480 R(fected by the)-.25 E F0(shell)2.5 E F1(and) -2.5 E F0(war)2.5 E(n)-.15 E F1(options.)2.5 E F0 -([range] # [count] [\215ags])97 504 Q -([range] nu[mber] [count] [\215ags])97 516 Q F1 -(Display the selected lines, each preceded with its line number)122 528 -Q(.)-.55 E(The line number format is \231%6d\232, follo)122 552 Q -(wed by tw)-.25 E 2.5(os)-.1 G(paces.)-2.5 E 21.39(Line: Set)122 576 R -(to the last line displayed.)2.5 E 8.05(Options: Af)122 588 R -(fected by the)-.25 E F0(list)2.5 E F1(option.)2.5 E F0 2.5(@b)97 612 S -(uffer)-2.7 E 2.5(*b)97 624 S(uffer)-2.7 E F1(Ex)122 636 Q .31 -(ecute a b)-.15 F(uf)-.2 E(fer)-.25 E 5.31(.E)-.55 G .31 -(ach line in the named b)-5.31 F(uf)-.2 E .309(fer is e)-.25 F -.15(xe) --.15 G .309(cuted as an).15 F F0(ex)2.809 E F1 2.809(command. If)2.809 F -.309(no b)2.809 F(uf)-.2 E .309(fer is)-.25 F -(speci\214ed, or if the speci\214ed b)122 648 Q(uf)-.2 E(fer is \231) --.25 E F2(@)A F1 2.5<9a6f>C 2.5<7299>-2.5 G F2(*)-2.5 E F1 -(\232, the last b)A(uf)-.2 E(fer e)-.25 E -.15(xe)-.15 G(cuted is used.) -.15 E F0([range] <[< ...] [count] [\215ags])97 672 Q F1 .414 -(Shift lines left or right.)122 684 R .414 -(The speci\214ed lines are shifted to the left \(for the)5.414 F F0(<) -2.915 E F1 .415(command\) or right)2.915 F 1.583(\(for the)122 696 R F0 -(>)4.083 E F1 1.583 -(command\), by the number of columns speci\214ed by the)4.083 F F0 -(shiftwidth)4.083 E F1 4.082(option. Only)4.082 F .784(leading whitespace characters are deleted when shifting left; once the \214rst column of the line) -122 708 R 2.531(contains a nonblank character)122 720 R 5.031(,t)-.4 G -(he)-5.031 E F0(shift)5.031 E F1 2.531(command will succeed, b)5.031 F -2.53(ut the line will not be)-.2 F EP -%%Page: 44 43 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-44 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E/F1 10/Times-Roman@0 SF(modi\214ed.)122 96 Q -.14(If the command character)122 120 R F0(<)2.64 E F1(or)2.64 E F0(>) -2.64 E F1 .14 -(is repeated more than once, the command is repeated once for)2.64 F -(each additional command character)122 132 Q(.)-.55 E 21.39(Line: If)122 -156 R .823(the current line is set to one of the lines that are af)3.323 -F .822(fected by the command, it is)-.25 F 3.446(unchanged. Otherwise,) -167 168 R .946(it is set to the \214rst nonblank character of the lo) -3.446 F .947(west num-)-.25 F(bered line shifted.)167 180 Q 8.05 -(Options: Af)122 192 R(fected by the)-.25 E F0(shiftwidth)2.5 E F1 -(option.)2.5 E F0([line] = [\215ags])97 216 Q F1 -(Display the line number of)122 228 Q/F2 10/Courier@0 SF(line)2.5 E F1 -(\(which def)2.5 E(aults to the last line in the \214le\).)-.1 E 21.39 -(Line: Unchanged.)122 252 R 8.05(Options: None.)122 264 R F0 -([range] >[> ...] [count] [\215ags])97 288 Q F1 .614(Shift right.)122 -300 R .613(The speci\214ed lines are shifted to the right by the number of columns speci\214ed by) -5.614 F(the)122 312 Q F0(shiftwidth)2.5 E F1 -(option, by inserting tab and space characters.)2.5 E -(Empty lines are not changed.)5 E .815(If the command character \231)122 -336 R F2(>)A F1 3.315<9a69>C 3.315(sr)-3.315 G .816 -(epeated more than once, the command is repeated once for)-3.315 F -(each additional command character)122 348 Q(.)-.55 E 21.39(Line: Set) -122 372 R(to the last line modi\214ed by the command.)2.5 E 8.05 -(Options: Af)122 384 R(fected by the)-.25 E F0(shiftwidth)2.5 E F1 -(option.)2.5 E F0(ab[br)97 408 Q -.15(ev)-.18 G 2.5(]l).15 G(hs rhs)-2.5 -E F1 1.366(Add an abbre)122 420 R 1.366(viation to the current abbre) --.25 F 1.365(viation list.)-.25 F 1.365(When inserting te)6.365 F 1.365 -(xt in)-.15 F F0(vi)3.865 E F1 3.865(,e)C 1.365(ach time a)-3.865 F -(non-w)122 432 Q 1.3(ord character is entered after a w)-.1 F 1.301 -(ord character)-.1 F 3.801(,as)-.4 G 1.301 -(et of characters ending at the w)-3.801 F(ord)-.1 E .424 -(character are check)122 444 R .424(ed for a match with)-.1 F F2(lhs) -2.924 E F1 5.424(.I)C 2.924(fa)-5.424 G .423(match is found, the)-.001 F -2.923(ya)-.15 G .423(re replaced with)-2.923 F F2(rhs)2.923 E F1(.)A -.528(The set of characters that are check)122 456 R .528 -(ed for a match are de\214ned as follo)-.1 F .528(ws, for ine)-.25 F -.529(xplicable his-)-.15 F .485(torical reasons.)122 468 R .485 -(If only one or tw)5.485 F 2.984(oc)-.1 G .484 -(haracters were entered before the non-w)-2.984 F .484 -(ord character that)-.1 F .351(triggered the check, and after the be)122 -480 R .352(ginning of the insertion, or the be)-.15 F .352 -(ginning of the line or the)-.15 F 1.02(\214le, or the last)122 492 R F2 -(<blank>)3.52 E F1 1.02(character that w)3.52 F 1.019 -(as entered, then the one or the both characters are)-.1 F(check)122 504 -Q .24(ed for a match.)-.1 F .24(Otherwise, the set includes both characters, as well as the characters that) -5.24 F .093(precede them that are the same w)122 516 R .092 -(ord class \(i.e. w)-.1 F .092(ord or non-w)-.1 F .092(ord\) as the)-.1 -F F0(second)2.592 E F1 .092(to last charac-)2.592 F 4.058 -(ter entered before the non-w)122 528 R 4.059 -(ord character that triggered the check, back to the \214rst)-.1 F F2 -(<blank>)122 540 Q F1(character)A 2.5(,t)-.4 G(he be)-2.5 E -(ginning of the insertion, or the be)-.15 E -(ginning of the line or the \214le.)-.15 E -.15(Fo)122 564 S 2.5(re).15 -G(xample, the abbre)-2.65 E(viations:)-.25 E F2 9(:abbreviate abc)122 -592.2 R(ABC)21 E 9(:abbreviate #i)122 604.2 R(#include)27 E 9 -(:abbreviate /*#i /*#include)122 616.2 R F1(will all w)122 632.4 Q -(ork, while the abbre)-.1 E(viations:)-.25 E F2 9 -(:abbreviate a#i A#include)122 660.6 R 9(:abbreviate /*)122 672.6 R -(/********************)21 E F1(will not w)122 688.8 Q -(ork, and are not permitted by)-.1 E F0 -.4(nv)2.5 G(i).4 E F1(.)A 2.485 --.8(To k)122 712.8 T .885(eep the abbre).7 F .885(viation e)-.25 F .884 -(xpansion from happening, the character immediately follo)-.15 F .884 -(wing the)-.25 F EP -%%Page: 45 44 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Ex Commands\))-.18 E -(USD:13-45)233.61 E/F1 10/Courier@0 SF(lhs)122 96 Q/F2 10/Times-Roman@0 -SF(characters should be quoted with a)2.5 E F1(<literal-next>)2.5 E F2 -(character)2.5 E(.)-.55 E .792(The replacement)122 120 R F1(rhs)3.292 E -F2 .792(is itself subject to both further abbre)3.292 F .793(viation e) --.25 F .793(xpansion and further map)-.15 F -.15(ex)122 132 S(pansion.) -.15 E 21.39(Line: Unchanged.)122 156 R 8.05(Options: None.)122 168 R F0 -([line] a[ppend][!])97 192 Q F2 .357(The input te)122 204 R .357 -(xt is appended to the speci\214ed line.)-.15 F .357 -(If line 0 is speci\214ed, the te)5.357 F .356(xt is inserted at the) --.15 F(be)122 216 Q .111(ginning of the \214le.)-.15 F .111 -(Set to the last line input.)5.111 F .111 -(If no lines are input, then set to)5.111 F F1(line)2.611 E F2 2.611(,o) -C 2.611(rt)-2.611 G 2.611(ot)-2.611 G(he)-2.611 E 1.005 -(\214rst line of the \214le if a)122 228 R F1(line)3.505 E F2 1.005 -(of 0 w)3.505 F 1.005(as speci\214ed.)-.1 F -.15(Fo)6.005 G(llo).15 E -1.005(wing the command name with a \231)-.25 F F1(!)A F2<9a>A -(character causes the)122 240 Q F0(autoindent)2.5 E F2 -(option to be toggled for the duration of the command.)2.5 E 21.39 -(Line: Unchanged.)122 264 R 8.05(Options: Af)122 276 R(fected by the) --.25 E F0(autoindent)2.5 E F2(and)2.5 E F0(number)2.5 E F2(options.)2.5 -E F0(ar[gs])97 300 Q F2 .21(Display the ar)122 312 R .21(gument list.) --.18 F .21(The current ar)5.21 F .21(gument is displayed inside of \231) --.18 F F1([)A F2 2.71<9a61>C .21(nd \231)-2.71 F F1(])A F2 2.71<9a63>C -(haracters.)-2.71 E .644(The ar)122 324 R .643(gument list is the list of operands speci\214ed on startup, which can be replaced using the) --.18 F F0(next)122 336 Q F2(command.)2.5 E 21.39(Line: Unchanged.)122 -360 R 8.05(Options: None.)122 372 R F0(bg)97 396 Q -.37(Vi)122 408 S F2 -(mode only)2.87 E 5(.B)-.65 G(ackground the current screen.)-5 E 21.39 -(Line: Set)122 432 R(to the current line when the screen w)2.5 E -(as last edited.)-.1 E 8.05(Options: None.)122 444 R F0 -([range] c[hange][!] [count])97 468 Q F2 .65 -(Replace the lines with input te)122 480 R 3.151(xt. F)-.15 F(ollo)-.15 -E .651(wing the command name with a \231)-.25 F F1(!)A F2 5.651<9a63>C -.651(haracter causes)-5.651 F(the)122 492 Q F0(autoindent)2.5 E F2 -(option to be toggled for the duration of the command.)2.5 E 21.39 -(Line: Set)122 516 R .716(to the last line input, or)3.217 F 3.216(,i) --.4 G 3.216(fn)-3.216 G 3.216(ol)-3.216 G .716 -(ines were input, set to the line before the tar)-3.216 F(get)-.18 E(line, or to the \214rst line of the \214le if there are no lines preceding the tar) -167 528 Q(get line.)-.18 E 8.05(Options: Af)122 540 R(fected by the)-.25 -E F0(autoindent)2.5 E F2(and)2.5 E F0(number)2.5 E F2(options.)2.5 E F0 -(chd[ir][!] [dir)97 564 Q(ectory])-.18 E(cd[!] [dir)97 576 Q(ectory]) --.18 E F2 .572(Change the current w)122 588 R .572(orking directory)-.1 -F 5.572(.T)-.65 G(he)-5.572 E F1(directory)3.072 E F2(ar)3.073 E .573 -(gument is subjected to)-.18 F/F3 10/Times-Italic@0 SF(sh)3.073 E F2 -.573(\(1\) w)B(ord)-.1 E -.15(ex)122 600 S 3.034(pansions. When).15 F -(in)3.034 E -.2(vo)-.4 G -.1(ke).2 G 3.034(dw).1 G .533 -(ith no directory ar)-3.034 F .533(gument and the)-.18 F F1(HOME)3.033 E -F2(en)3.033 E .533(vironment v)-.4 F .533(ariable is)-.25 F .207 -(set, the directory named by the)122 612 R F1(HOME)2.707 E F2(en)2.707 E -.207(vironment v)-.4 F .207(ariable becomes the ne)-.25 F 2.707(wc)-.25 -G .207(urrent directory)-2.707 F(.)-.65 E 1.015(Otherwise, the ne)122 -624 R 3.514(wc)-.25 G 1.014 -(urrent directory becomes the directory returned by the)-3.514 F F3 -.1 -(ge)3.514 G(tpwent).1 E F2 1.014(\(3\) rou-)B(tine.)122 636 Q(The)122 -660 Q F0(chdir)3.067 E F2 .567(command will f)3.067 F .567(ail if the \214le has been modi\214ed since the last complete write of the) --.1 F 2.5(\214le. Y)122 672 R(ou can o)-1.1 E -.15(ve)-.15 G -(rride this check by appending a \231).15 E F1(!)A F2 5<9a63>C -(haracter to the command.)-5 E 21.39(Line: Unchanged.)122 696 R 8.05 -(Options: Af)122 708 R(fected by the)-.25 E F0(cdpath)2.5 E F2(option.) -2.5 E EP -%%Page: 46 45 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-46 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E([range] co[py] line [\215ags])97 96 Q -([range] t line [\215ags])97 108 Q/F1 10/Times-Roman@0 SF(Cop)122 120 Q -2.67(yt)-.1 G .17 -(he speci\214ed lines \(range\) after the destination line.)-2.67 F .169 -(Line 0 may be speci\214ed to insert the)5.169 F(lines at the be)122 132 -Q(ginning of the \214le.)-.15 E 21.39(Line: Unchanged.)122 156 R 8.05 -(Options: None.)122 168 R F0([range] d[elete] [b)97 192 Q -(uffer] [count] [\215ags])-.2 E F1 .034 -(Delete the lines from the \214le.)122 204 R .035(The deleted te)5.035 F -.035(xt is sa)-.15 F -.15(ve)-.2 G 2.535(di).15 G 2.535(nt)-2.535 G .035 -(he speci\214ed b)-2.535 F(uf)-.2 E(fer)-.25 E 2.535(,o)-.4 G .835 -.4 -(r, i)-2.535 H 2.535(fn).4 G 2.535(ob)-2.535 G(uf)-2.735 E .035(fer is) --.25 F .954(speci\214ed, in the unnamed b)122 216 R(uf)-.2 E(fer)-.25 E -5.954(.I)-.55 G 3.454(ft)-5.954 G .954(he command name is follo)-3.454 F -.953(wed by a letter that could be)-.25 F .468 -(interpreted as either a b)122 228 R(uf)-.2 E .469 -(fer name or a \215ag v)-.25 F .469(alue \(because neither a)-.25 F/F2 -10/Courier@0 SF(count)2.969 E F1(or)2.969 E F2(flags)2.969 E F1 -.25(va) -2.969 G(lues).25 E .967(were gi)122 240 R -.15(ve)-.25 G(n\),).15 E F0 -(ex)3.467 E F1 .967(treats the letter as a)3.467 F F2(flags)3.467 E F1 --.25(va)3.467 G .967(lue if the letter immediately follo).25 F .966 -(ws the com-)-.25 F .13(mand name, without an)122 252 R 2.631(yw)-.15 G -.131(hitespace separation.)-2.631 F .131 -(If the letter is preceded by whitespace charac-)5.131 F -(ters, it treats it as a b)122 264 Q(uf)-.2 E(fer name.)-.25 E 21.39 -(Line: Set)122 288 R .167(to the line follo)2.668 F .167 -(wing the deleted lines, or to the last line if the deleted lines were) --.25 F(at the end.)167 300 Q 8.05(Options: None.)122 312 R F0 -(di[splay] b[uffers] | c[onnections] | s[cr)97 336 Q(eens] | t[ags])-.18 -E F1 .18(Display b)122 348 R(uf)-.2 E(fers,)-.25 E F0(cscope)2.68 E F1 -.18(connections, screens or tags.)2.68 F(The)5.18 E F0(display)2.68 E F1 -.18(command tak)2.68 F .18(es one of three)-.1 F(additional ar)122 360 Q -(guments, which are as follo)-.18 E(ws:)-.25 E(b[uf)122 384 Q 7.77 -(fers] Display)-.25 F(all b)2.5 E(uf)-.2 E -(fers \(including named, unnamed, and numeric\) that contain te)-.25 E -(xt.)-.15 E(c[onnections])122 396 Q -(Display the source directories for all attached)167 408 Q F0(cscope)2.5 -E F1(databases.)2.5 E 6.41(s[creens] Display)122 420 R -(the \214le names of all background screens.)2.5 E 19.73(t[ags] Display) -122 432 R(the tags stack.)2.5 E 21.39(Line: Unchanged.)122 456 R 8.05 -(Options: None.)122 468 R F0(e[dit][!] [+cmd] [\214le])97 492 Q -(ex[!] [+cmd] [\214le])97 504 Q F1 .712(Edit a dif)122 516 R .712 -(ferent \214le.)-.25 F .712(If the current b)5.712 F(uf)-.2 E .712 -(fer has been modi\214ed since the last complete write, the)-.25 F .005 -(command will f)122 528 R 2.505(ail. Y)-.1 F .005(ou can o)-1.1 F -.15 -(ve)-.15 G .005(rride this by appending a \231).15 F F2(!)A F1 5.006 -<9a63>C .006(haracter to the command name.)-5.006 F .744(If the \231)122 -552 R F2(+cmd)A F1 3.244<9a6f>C .744(ption is speci\214ed, that)-3.244 F -F0(ex)3.244 E F1 .743(command will be e)3.244 F -.15(xe)-.15 G .743 -(cuted in the ne).15 F 3.243<778c>-.25 G 3.243(le. An)-3.243 F(y)-.15 E -F0(ex)3.243 E F1 .185(command may be used, although the most common use of this feature is to specify a line num-) -122 564 R(ber or search pattern to set the initial location in the ne) -122 576 Q 2.5<778c>-.25 G(le.)-2.5 E .204 -(Capitalizing the \214rst letter of the command, i.e.)122 600 R F0(Edit) -5.204 E F1(or)2.704 E F0(Ex)2.704 E F1 2.704(,w)C .204(hile in)-2.704 F -F0(vi)2.704 E F1 .204(mode, will edit the \214le)2.704 F(in a ne)122 612 -Q 2.5(ws)-.25 G 2.5(creen. In)-2.5 F(this case, an)2.5 E 2.5(ym)-.15 G -(odi\214cations to the current \214le are ignored.)-2.5 E 21.39 -(Line: If)122 636 R .703(you ha)3.203 F 1.003 -.15(ve p)-.2 H(re).15 E -.703(viously edited the \214le, the current line will be set to your last posi-) --.25 F .26(tion in the \214le.)167 648 R .259 -(If that position does not e)5.26 F .259(xist, or you ha)-.15 F .559 --.15(ve n)-.2 H .259(ot pre).15 F .259(viously edited the)-.25 F .407(\214le, the current line will be set to the \214rst line of the \214le if you are in) -167 660 R F0(vi)2.907 E F1 .407(mode, and)2.907 F -(the last line of the \214le if you are in)167 672 Q F0(ex)2.5 E F1(.)A -8.05(Options: None.)122 684 R F0(exu[sage] [command])97 708 Q F1 2.326 -(Display usage for an)122 720 R F0(ex)4.826 E F1 4.826(command. If)4.826 -F F2(command)4.826 E F1 2.325 -(is speci\214ed, a usage statement for that)4.826 F EP -%%Page: 47 46 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Ex Commands\))-.18 E -(USD:13-47)233.61 E/F1 10/Times-Roman@0 SF(command is displayed.)122 96 -Q(Otherwise, usage statements for all)5 E F0(ex)2.5 E F1 -(commands are displayed.)2.5 E 21.39(Line: Unchanged.)122 120 R 8.05 -(Options: None.)122 132 R F0(f[ile] [\214le])97 156 Q F1 .582 -(Display and optionally change the \214le name.)122 168 R .582 -(If a \214le name is speci\214ed, the current pathname)5.582 F .639 -(is changed to the speci\214ed name.)122 180 R .638 -(The current pathname, the number of lines, and the current)5.639 F -(position in the \214le are displayed.)122 192 Q 21.39(Line: Unchanged.) -122 216 R 8.05(Options: None.)122 228 R F0(fg [name])97 252 Q -.37(Vi) -122 264 S F1 1.315(mode only)4.185 F 6.315(.F)-.65 G(ore)-6.465 E 1.315 -(ground the speci\214ed screen.)-.15 F(Sw)6.315 E 1.316 -(ap the current screen with the speci\214ed)-.1 F(backgrounded screen.) -122 276 Q -(If no screen is speci\214ed, the \214rst background screen is fore)5 E -(grounded.)-.15 E 21.39(Line: Set)122 300 R -(to the current line when the screen w)2.5 E(as last edited.)-.1 E 8.05 -(Options: None.)122 312 R F0([range] g[lobal] /patter)97 336 Q -(n/ [commands])-.15 E([range] v /patter)97 348 Q(n/ [commands])-.15 E F1 -1.324(Apply commands to lines matching \(or not matching\) a pattern.) -122 360 R 1.324(The lines within the gi)6.324 F -.15(ve)-.25 G(n).15 E -.567(range that match \(\231)122 372 R/F2 10/Courier@0 SF(g[lobal])A F1 -.567(\232\), or do not match \(\231)B F2(v)A F1 .567(\232\) the gi)B --.15(ve)-.25 G 3.067(np).15 G .567(attern are selected.)-3.067 F(Then,) -5.568 E .372(the speci\214ed)122 384 R F0(ex)2.872 E F1 .372 -(command\(s\) are e)2.872 F -.15(xe)-.15 G .371 -(cuted with the current line \(\231).15 F F2(.)A F1 2.871(\232\) set)B -.371(to each selected line.)2.871 F(If no range is speci\214ed, the entire \214le is searched for matching, or not matching, lines.) -122 396 Q 1.182 -(Multiple commands can be speci\214ed, one per line, by escaping each) -122 420 R F2(<newline>)3.683 E F1(character)3.683 E .258 -(with a backslash, or by separating commands with a \231)122 432 R F2(|) -A F1 2.758<9a63>C(haracter)-2.758 E 5.258(.I)-.55 G 2.758(fn)-5.258 G -2.758(oc)-2.758 G .258(ommands are speci-)-2.758 F -(\214ed, the command def)122 444 Q(aults to the)-.1 E F0(print)2.5 E F1 -(command.)2.5 E -.15(Fo)122 468 S 3.061(rt).15 G(he)-3.061 E F0(append) -3.061 E F1(,)A F0(change)3.061 E F1(and)3.061 E F0(insert)3.061 E F1 -.561(commands, the input te)3.061 F .562 -(xt must be part of the global com-)-.15 F(mand line.)122 480 Q(In this case, the terminating period can be omitted if it ends the commands.) -5 E(The)122 504 Q F0(visual)2.816 E F1 .315 -(command may also be speci\214ed as one of the)2.816 F F0(ex)2.815 E F1 -2.815(commands. In)2.815 F .315(this mode, input is)2.815 F(tak)122 516 -Q .421(en from the terminal.)-.1 F .421(Entering a)5.421 F F0(Q)2.921 E -F1 .421(command in)2.921 F F0(vi)2.921 E F1 .421(mode causes the ne) -2.921 F .422(xt line matching the)-.15 F(pattern to be selected and)122 -528 Q F0(vi)2.5 E F1(to be reentered, until the list is e)2.5 E -(xhausted.)-.15 E(The)122 552 Q F0(global)2.5 E F1(,)A F0(v)2.5 E F1 -(and)2.5 E F0(undo)2.5 E F1 -(commands cannot be used as part of these commands.)2.5 E 1.507 -(The editor options)122 576 R F0(autoindent)4.007 E F1(,)A F0(autoprint) -4.007 E F1(and)4.007 E F0 -.18(re)4.007 G(port).18 E F1 1.506 -(are turned of)4.006 F 4.006(ff)-.25 G 1.506(or the duration of the) --4.006 F F0(global)122 588 Q F1(and)2.5 E F0(v)2.5 E F1(commands.)2.5 E -21.39(Line: The)122 612 R(last line modi\214ed.)2.5 E 8.05(Options: Af) -122 624 R 1.45(fected by the)-.25 F F0(ignor)3.95 E(ecase)-.18 E F1(and) -3.95 E F0(magic)3.95 E F1 3.95(options. T)3.95 F 1.45(urns of)-.45 F -3.95(ft)-.25 G(he)-3.95 E F0(autoindent)3.95 E F1(,)A F0(auto-)3.95 E -(print)167 636 Q F1(and)2.5 E F0 -.18(re)2.5 G(port).18 E F1(options.) -2.5 E F0(he[lp])97 660 Q F1(Display a help message.)122 672 Q 21.39 -(Line: Unchanged.)122 696 R 8.05(Options: None.)122 708 R EP -%%Page: 48 47 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-48 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E([line] i[nsert][!])97 96 Q/F1 10 -/Times-Roman@0 SF .718(The input te)122 108 R .718 -(xt is inserted before the speci\214ed line.)-.15 F -.15(Fo)5.717 G(llo) -.15 E .717(wing the command name with a \231)-.25 F/F2 10/Courier@0 SF -(!)A F1<9a>A .324(character causes the)122 120 R F0(autoindent)2.824 E -F1 .324(option setting to be toggled for the duration of this command.) -2.824 F 21.39(Line: Set)122 144 R .308(to the last line input; if no lines were input, set to the line before the tar) -2.808 F .307(get line,)-.18 F .359(or to the \214rst line of the \214le if there are no lines preceding the tar) -167 156 R .36(get line.)-.18 F(Af)5.36 E(fected)-.25 E(by the)167 168 Q -F0(autoindent)2.5 E F1(and)2.5 E F0(number)2.5 E F1(options.)2.5 E F0 -([range] j[oin][!] [count] [\215ags])97 192 Q F1(Join lines of te)122 -204 Q(xt together)-.15 E(.)-.55 E(A)122 228 Q F2(count)2.8 E F1 .3 -(speci\214ed to the command speci\214es that the last line of the)2.8 F -F2(range)2.8 E F1(plus)2.8 E F2(count)2.8 E F1(sub-)2.8 E 2.08 -(sequent lines will be joined.)122 240 R 2.08(\(Note, this dif)7.08 F -2.08(fers by one from the general rule where only)-.25 F F2(count)122 -252 Q F1 2.5(-s)C(ubsequent lines are af)-2.5 E(fected.\))-.25 E 1.102 -(If the current line ends with a whitespace character)122 276 R 3.602 -(,a)-.4 G 1.102(ll whitespace is stripped from the ne)-3.602 F(xt)-.15 E -2.728(line. Otherwise,)122 288 R .228(if the ne)2.728 F .229 -(xt line starts with a open parenthesis \(\231)-.15 F F2(\()A F1 .229 -(\232\), do nothing.)B .229(Otherwise, if)5.229 F 1.513 -(the current line ends with a question mark \(\231)122 300 R F2(?)A F1 -1.513(\232\), period \(\231)B F2(.)A F1 4.013(\232\) or)B -.15(ex)4.013 -G 1.512(clamation point \(\231).15 F F2(!)A F1<9a292c>A(insert tw)122 -312 Q 2.5(os)-.1 G 2.5(paces. Otherwise,)-2.5 F(insert a single space.) -2.5 E .811(Appending a \231)122 336 R F2(!)A F1 5.811<9a63>C .812 -(haracter to the command name causes a simpler join with no white-space) --5.811 F(processing.)122 348 Q 21.39(Line: Unchanged.)122 372 R 8.05 -(Options: None.)122 384 R F0([range] l[ist] [count] [\215ags])97 408 Q -F1 2.137(Display the lines unambiguously)122 420 R 7.137(.T)-.65 G 2.137 -(abs are displayed as \231)-7.937 F F2(^I)A F1 2.136 -(\232, and the end of the line is)B(mark)122 432 Q(ed with a \231)-.1 E -F2($)A F1 2.5<9a63>C(haracter)-2.5 E(.)-.55 E 21.39(Line: Set)122 456 R -(to the last line displayed.)2.5 E 8.05(Options: Af)122 468 R -(fected by the)-.25 E F0(number)2.5 E F1(option.)2.5 E F0 -(map[!] [lhs rhs])97 492 Q F1(De\214ne or display maps \(for)122 504 Q -F0(vi)2.5 E F1(only\).)2.5 E .72(If \231)122 528 R F2(lhs)A F1 3.22 -<9a61>C .72(nd \231)-3.22 F F2(rhs)A F1 3.22<9a61>C .721(re not speci\214ed, the current set of command mode maps are displayed.) --3.22 F(If a \231)122 540 Q F2(!)A F1 5<9a63>C -(haracter is appended to to the command, the te)-5 E -(xt input mode maps are displayed.)-.15 E 1.021 -(Otherwise, when the \231)122 564 R F2(lhs)A F1 3.521<9a63>C 1.021 -(haracter sequence is entered in)-3.521 F F0(vi)3.521 E F1 3.521(,t)C -1.02(he action is as if the corre-)-3.521 F .484(sponding \231)122 576 R -F2(rhs)A F1 2.984<9a68>C .484(ad been entered.)-2.984 F .485(If a \231) -5.484 F F2(!)A F1 5.485<9a63>C .485 -(haracter is appended to the command name, the)-5.485 F .697 -(mapping is ef)122 588 R(fecti)-.25 E .996 -.15(ve d)-.25 H .696 -(uring te).15 F .696(xt input mode, otherwise, it is ef)-.15 F(fecti) --.25 E .996 -.15(ve d)-.25 H .696(uring command mode.).15 F .352 -(This allo)122 600 R .352(ws \231)-.25 F F2(lhs)A F1 2.852<9a74>C 2.852 -(oh)-2.852 G -2.25 -.2(av e)-2.852 H(tw)3.052 E 2.852(od)-.1 G(if)-2.852 -E .352(ferent macro de\214nitions at the same time: one for command)-.25 -F(mode and one for input mode.)122 612 Q .611 -(Whitespace characters require escaping with a)122 636 R F2 -(<literal-next>)3.111 E F1 .611(character to be entered in)3.111 F(the) -122 648 Q F2(lhs)2.5 E F1(string in visual mode.)2.5 E(Normally)122 672 -Q 3.549(,k)-.65 G -.15(ey)-3.649 G 3.549(si).15 G 3.549(nt)-3.549 G(he) --3.549 E F2(rhs)3.549 E F1 1.049(string are remapped \(see the)3.549 F -F0 -.18(re)3.549 G(map).18 E F1 1.05(option\), and it is possible to) -3.55 F 2.424(create in\214nite loops.)122 684 R(Ho)7.424 E(we)-.25 E --.15(ve)-.25 G 3.224 -.4(r, k).15 H -.15(ey).3 G 4.923(sw).15 G 2.423 -(hich map to themselv)-4.923 F 2.423(es are not further remapped,)-.15 F -(re)122 696 Q -.05(ga)-.15 G 1.088(rdless of the setting of the).05 F F0 --.18(re)3.588 G(map).18 E F1 3.588(option. F)3.588 F 1.088(or e)-.15 F -1.088(xample, the command \231)-.15 F F2 1.088(:map n nz.)B F1<9a>A -(maps the \231)122 708 Q F2(n)A F1 2.5<9a6b>C .3 -.15(ey t)-2.6 H 2.5 -(ot).15 G(he)-2.5 E F0(n)2.5 E F1(and)2.5 E F0(z)2.5 E F1(commands.)2.5 -E EP -%%Page: 49 48 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Ex Commands\))-.18 E -(USD:13-49)233.61 E/F1 10/Times-Roman@0 SF 1.6 -.8(To e)122 96 T -(xit an in\214nitely looping map, use the terminal).65 E/F2 10/Courier@0 -SF(<interrupt>)2.5 E F1(character)2.5 E(.)-.55 E 21.39(Line: Unchanged.) -122 120 R 8.05(Options: Af)122 132 R(fected by the)-.25 E F0 -.18(re)2.5 -G(map).18 E F1(option.)2.5 E F0([line] ma[rk] <character>)97 156 Q -([line] k <character>)97 168 Q F1 2.919(Mark the line with the mark)122 -180 R F2(<character>)5.419 E F1 7.919(.T)C 2.919(he e)-7.919 F 2.919 -(xpressions \231)-.15 F F2('<character>)A F1 5.419<9a61>C(nd)-5.419 E -<99>122 192 Q F2(`<character>)A F1 2.5<9a63>C -(an then be used as an address in an)-2.5 E 2.5(yc)-.15 G -(ommand that uses one.)-2.5 E 21.39(Line: Unchanged.)122 216 R 8.05 -(Options: None.)122 228 R F0([range] m[o)97 252 Q -.1(ve)-.1 G 2.5(]l).1 -G(ine)-2.5 E F1(Mo)122 264 Q .336 -.15(ve t)-.15 H .036 -(he speci\214ed lines after the tar).15 F .036(get line.)-.18 F 2.536 -(At)5.036 G(ar)-2.536 E .036(get line of 0 places the lines at the be) --.18 F(ginning)-.15 E(of the \214le.)122 276 Q 21.39(Line: Set)122 300 R -(to the \214rst of the mo)2.5 E -.15(ve)-.15 G 2.5(dl).15 G(ines.)-2.5 E -8.05(Options: None.)122 312 R F0(mk[exr)97 336 Q(c][!] \214le)-.18 E F1 -.263(Write the abbre)122 348 R .262 -(viations, editor options and maps to the speci\214ed \214le.)-.25 F -.262(Information is written in)5.262 F 2.831(af)122 360 S .332 -(orm which can later be read back in using the)-2.831 F F0 .332(ex sour) -2.832 F(ce)-.18 E F1 2.832(command. If)2.832 F F2(file)2.832 E F1 .332 -(already e)2.832 F(xists,)-.15 E(the)122 372 Q F0(mk)2.619 E(exr)-.1 E -(c)-.18 E F1 .119(command will f)2.619 F 2.619(ail. This)-.1 F .119 -(check can be o)2.619 F -.15(ve)-.15 G .118(rridden by appending a \231) -.15 F F2(!)A F1 5.118<9a63>C .118(haracter to)-5.118 F(the command.)122 -384 Q 21.39(Line: Unchanged.)122 408 R 8.05(Options: None.)122 420 R F0 -(n[ext][!] [\214le ...])97 444 Q F1 .136(Edit the ne)122 456 R .136 -(xt \214le from the ar)-.15 F .137(gument list.)-.18 F(The)5.137 E F0 -(next)2.637 E F1 .137(command will f)2.637 F .137 -(ail if the \214le has been modi-)-.1 F .168 -(\214ed since the last complete write.)122 468 R .167 -(This check can be o)5.167 F -.15(ve)-.15 G .167 -(rridden by appending the \231).15 F F2(!)A F1 5.167<9a63>C(harac-) --5.167 E .814(ter to the command name.)122 480 R .815(The ar)5.814 F -.815(gument list can optionally be replaced by specifying a ne)-.18 F(w) --.25 E .167(one as ar)122 492 R .167(guments to this command.)-.18 F -.167(In this case, editing starts with the \214rst \214le on the ne) -5.167 F 2.666(wl)-.25 G(ist.)-2.666 E .381 -(Capitalizing the \214rst letter of the command, i.e.)122 516 R F0(Next) -5.381 E F1 2.881(,w)C .381(hile in)-2.881 F F0(vi)2.881 E F1 .382 -(mode, will set the ar)2.881 F(gument)-.18 E 1.479 -(list and edit the \214le in a ne)122 528 R 3.979(ws)-.25 G 3.979 -(creen. In)-3.979 F 1.479(this case, an)3.979 F 3.979(ym)-.15 G 1.479 -(odi\214cations to the current \214le are)-3.979 F(ignored.)122 540 Q -21.39(Line: Set)122 564 R(as described for the)2.5 E F0(edit)2.5 E F1 -(command.)2.5 E 8.05(Options: Af)122 576 R(fected by the options)-.25 E -F0(auto)2.5 E(write)-.1 E F1(and)2.5 E F0(writeany)2.5 E F1(.)A F0 -([line] o[pen] /patter)97 600 Q(n/ [\215ags])-.15 E F1 .436 -(Enter open mode.)122 612 R .437(Open mode is the same as being in)5.436 -F F0(vi)2.937 E F1 2.937(,b)C .437(ut with a one-line windo)-3.137 F -4.237 -.65(w. A)-.25 H .437(ll the).65 F(standard)122 624 Q F0(vi)2.56 E -F1 .06(commands are a)2.56 F -.25(va)-.2 G 2.56(ilable. If).25 F 2.56 -(am)2.56 G .06(atch is found for the optional RE ar)-2.56 F .06 -(gument, the cur)-.18 F(-)-.2 E -(sor is set to the start of the matching pattern.)122 636 Q/F3 10 -/Times-Italic@0 SF(This command is not yet implemented.)122 660 Q F1 -21.39(Line: Unchanged,)122 684 R 1.079(unless the optional RE is speci\214ed, in which case it is set to the line) -3.579 F(where the matching pattern is found.)167 696 Q 8.05(Options: Af) -122 708 R(fected by the)-.25 E F0(open)2.5 E F1(option.)2.5 E EP -%%Page: 50 49 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-50 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E(pr)97 96 Q(e[ser)-.18 E -.1(ve)-.1 G(]).1 E -/F1 10/Times-Roman@0 SF(Sa)122 108 Q .568 -.15(ve t)-.2 H .268 -(he \214le in a form that can later be reco).15 F -.15(ve)-.15 G .268 -(red using the).15 F F0 .268(ex \255r)2.768 F F1 2.768(option. When) -2.768 F .268(the \214le is pre-)2.768 F(serv)122 120 Q -(ed, an email message is sent to the user)-.15 E(.)-.55 E 21.39 -(Line: Unchanged.)122 144 R 8.05(Options: None.)122 156 R F0(pr)97 180 Q --.15(ev)-.18 G([ious][!]).15 E F1 .943(Edit the pre)122 192 R .943 -(vious \214le from the ar)-.25 F .944(gument list.)-.18 F(The)5.944 E F0 -(pr)3.444 E -.15(ev)-.18 G(ious).15 E F1 .944(command will f)3.444 F -.944(ail if the \214le has)-.1 F .884 -(been modi\214ed since the last complete write.)122 204 R .883 -(This check can be o)5.884 F -.15(ve)-.15 G .883 -(rridden by appending the).15 F<99>122 216 Q/F2 10/Courier@0 SF(!)A F1 5 -<9a63>C(haracter to the command name.)-5 E .632 -(Capitalizing the \214rst letter of the command, i.e.)122 240 R F0(Pr) -5.632 E -.15(ev)-.18 G(ious).15 E F1 3.133(,w)C .633(hile in)-3.133 F F0 -(vi)3.133 E F1 .633(mode, will edit the \214le)3.133 F(in a ne)122 252 Q -2.5(ws)-.25 G 2.5(creen. In)-2.5 F(this case, an)2.5 E 2.5(ym)-.15 G -(odi\214cations to the current \214le are ignored.)-2.5 E 21.39 -(Line: Set)122 276 R(as described for the)2.5 E F0(edit)2.5 E F1 -(command.)2.5 E 8.05(Options: Af)122 288 R(fected by the options)-.25 E -F0(auto)2.5 E(write)-.1 E F1(and)2.5 E F0(writeany)2.5 E F1 5(.N)C(one.) --5 E F0([range] p[rint] [count] [\215ags])97 312 Q F1 -(Display the speci\214ed lines.)122 324 Q 21.39(Line: Set)122 348 R -(to the last line displayed.)2.5 E 8.05(Options: Af)122 360 R -(fected by the)-.25 E F0(list)2.5 E F1(and)2.5 E F0(number)2.5 E F1 -(option.)2.5 E F0([line] pu[t] [b)97 384 Q(uffer])-.2 E F1 .239 -(Append b)122 396 R(uf)-.2 E .239(fer contents to the current line.)-.25 -F .239(If a b)5.239 F(uf)-.2 E .238 -(fer is speci\214ed, its contents are appended to)-.25 F -(the line, otherwise, the contents of the unnamed b)122 408 Q(uf)-.2 E -(fer are used.)-.25 E 21.39(Line: Set)122 432 R -(to the line after the current line.)2.5 E 8.05(Options: None.)122 444 R -F0(q[uit][!])97 468 Q F1 1.046(End the editing session.)122 480 R 1.047 -(If the \214le has been modi\214ed since the last complete write, the) -6.047 F F0(quit)3.547 E F1 .655(command will f)122 492 R 3.155 -(ail. This)-.1 F .655(check may be o)3.155 F -.15(ve)-.15 G .655 -(rridden by appending a \231).15 F F2(!)A F1 5.654<9a63>C .654 -(haracter to the com-)-5.654 F(mand.)122 504 Q .739 -(If there are more \214les to edit, the)122 528 R F0(quit)3.239 E F1 -.739(command will f)3.239 F 3.239(ail. Appending)-.1 F 3.239<6199>3.239 -G F2(!)-3.239 E F1 5.739<9a63>C .739(haracter to the)-5.739 F .333 -(command name or entering tw)122 540 R(o)-.1 E F0(quit)2.833 E F1 .333 -(commands \(i.e.)2.833 F F0(wq)5.333 E F1(,)A F0(quit)2.833 E F1(,)A F0 -(xit)2.833 E F1(or)2.833 E F0(ZZ)2.833 E F1 2.833(\)i)C 2.833(nar)-2.833 -G -.25(ow)-2.833 G 2.833(\)w).25 G .332(ill o)-2.833 F -.15(ve)-.15 G --.2(r-).15 G(ride this check and the editor will e)122 552 Q(xit.)-.15 E -21.39(Line: Unchanged.)122 576 R 8.05(Options: None.)122 588 R F0 -([line] r[ead][!] [\214le])97 612 Q F1 1.287(Read a \214le.)122 624 R -3.787(Ac)6.287 G(op)-3.787 E 3.787(yo)-.1 G 3.787(ft)-3.787 G 1.287 -(he speci\214ed \214le is appended to the line.)-3.787 F(If)6.287 E F2 -(line)3.787 E F1 1.287(is 0, the cop)3.787 F 3.787(yi)-.1 G(s)-3.787 E -.291(inserted at the be)122 636 R .291(ginning of the \214le.)-.15 F .29 -(If no \214le is speci\214ed, the current \214le is read; if there is no) -5.291 F 1.284(current \214le, then)122 648 R F2(file)3.784 E F1 1.285 -(becomes the current \214le.)3.784 F 1.285 -(If there is no current \214le and no)6.285 F F2(file)3.785 E F1(is) -3.785 E(speci\214ed, then the)122 660 Q F0 -.18(re)2.5 G(ad).18 E F1 -(command will f)2.5 E(ail.)-.1 E(If)122 684 Q F2(file)3.389 E F1 .889 -(is preceded by a \231)3.389 F F2(!)A F1 5.889<9a63>C(haracter)-5.889 E -(,)-.4 E F2(file)3.389 E F1 .889 -(is treated as if it were a shell command, and)3.389 F .229 -(passed to the program named by the)122 696 R F0(shell)2.729 E F1 .229 -(edit option.)2.729 F .23(The standard and standard error outputs)5.229 -F .44 -(of that command are read into the \214le after the speci\214ed line.) -122 708 R .439(The special meaning of the \231)5.439 F F2(!)A F1<9a>A -(character can be o)122 720 Q -.15(ve)-.15 G -(rridden by escaping it with a backslash \(\231).15 E F2(\\)A F1 -(\232\) character)A(.)-.55 E EP -%%Page: 51 50 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Ex Commands\))-.18 E -(USD:13-51)233.61 E/F1 10/Times-Roman@0 SF 21.39(Line: When)122 96 R --.15(exe)2.864 G .364(cuted from).15 F F0(ex)2.864 E F1 2.864(,t)C .364 -(he current line is set to the last line read.)-2.864 F .364(When e) -5.364 F -.15(xe)-.15 G(cuted).15 E(from)167 108 Q F0(vi)2.5 E F1 2.5(,t) -C(he current line is set to the \214rst line read.)-2.5 E 8.05 -(Options: None.)122 120 R F0 -.18(re)97 144 S(c[o).18 E -.1(ve)-.1 G -(r] \214le).1 E F1(Reco)122 156 Q -.15(ve)-.15 G(r).15 E/F2 10/Courier@0 -SF(file)3.799 E F1 1.299(if it w)3.799 F 1.299(as pre)-.1 F 1.299 -(viously sa)-.25 F -.15(ve)-.2 G 3.799(d. If).15 F 1.299(no sa)3.799 F --.15(ve)-.2 G 3.799<648c>.15 G 1.299(le by that name e)-3.799 F 1.298 -(xists, the)-.15 F F0 -.18(re)3.798 G(co).18 E -.1(ve)-.1 G(r).1 E F1 -(command beha)122 168 Q -.15(ve)-.2 G 2.5(se).15 G(qui)-2.5 E -.25(va) --.25 G(lently to the).25 E F0(edit)2.5 E F1(command.)2.5 E 21.39 -(Line: Set)122 192 R(as described for the)2.5 E F0(edit)2.5 E F1 -(command.)2.5 E 8.05(Options: None.)122 204 R F0 -.18(re)97 228 S -(s[ize] [+|-]size).18 E -.37(Vi)122 240 S F1 .91(mode only)3.78 F 5.91 -(.G)-.65 G(ro)-5.91 E 3.41(wo)-.25 G 3.41(rs)-3.41 G .911 -(hrink the current screen.)-3.41 F(If)5.911 E F2(size)3.411 E F1 .911 -(is a positi)3.411 F -.15(ve)-.25 G 3.411(,s).15 G .911(igned number) --3.411 F 3.411(,t)-.4 G(he)-3.411 E .523(current screen is gro)122 252 R -.523(wn by that man)-.25 F 3.023(yl)-.15 G 3.023(ines. If)-3.023 F F2 -(size)3.022 E F1 .522(is a ne)3.022 F -.05(ga)-.15 G(ti).05 E -.15(ve) --.25 G 3.022(,s).15 G .522(igned number)-3.022 F 3.022(,t)-.4 G .522 -(he current)-3.022 F .022(screen is shrunk by that man)122 264 R 2.522 -(yl)-.15 G 2.522(ines. If)-2.522 F F2(size)2.523 E F1 .023 -(is not signed, the current screen is set to the spec-)2.523 F(i\214ed) -122 276 Q F2(size)2.5 E F1 5(.A)C(pplicable only to split screens.)-5 E -21.39(Line: Unchanged.)122 300 R 8.05(Options: None.)122 312 R F0 -.18 -(re)97 336 S(w[ind][!]).18 E F1(Re)122 348 Q .832(wind the ar)-.25 F -.832(gument list.)-.18 F .832(If the current \214le has been modi\214ed since the last complete write,) -5.832 F(the)122 360 Q F0 -.18(re)2.717 G(wind).18 E F1 .218 -(command will f)2.717 F 2.718(ail. This)-.1 F .218(check may be o)2.718 -F -.15(ve)-.15 G .218(rridden by appending the \231).15 F F2(!)A F1 -5.218<9a63>C(haracter)-5.218 E(to the command.)122 372 Q -(Otherwise, the current \214le is set to the \214rst \214le in the ar) -122 396 Q(gument list.)-.18 E 21.39(Line: Set)122 420 R -(as described for the)2.5 E F0(edit)2.5 E F1(command.)2.5 E 8.05 -(Options: Af)122 432 R(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1 -(and)2.5 E F0(writeany)2.5 E F1(options.)2.5 E F0(se[t] [option[=[v)97 -456 Q(alue]] ...] [nooption ...] [option? ...] [all])-.1 E F1 1.033 -(Display or set editor options.)122 468 R 1.033(When no ar)6.033 F 1.033 -(guments are speci\214ed, the editor option)-.18 F F0(term)3.532 E F1 -3.532(,a)C(nd)-3.532 E(an)122 480 Q 2.947(ye)-.15 G .447 -(ditor options whose v)-2.947 F .447(alues ha)-.25 F .747 -.15(ve b)-.2 -H .447(een changed from the def).15 F .447(ault settings are displayed.) --.1 F(If)5.448 E(the ar)122 492 Q(gument)-.18 E F2(all)2.5 E F1 -(is speci\214ed, the v)2.5 E -(alues of all of editor options are displayed.)-.25 E 1.721 -(Specifying an option name follo)122 516 R 1.721 -(wed by the character \231)-.25 F F2(?)A F1 6.721<9a63>C 1.72 -(auses the current v)-6.721 F 1.72(alue of that)-.25 F .11 -(option to be displayed.)122 528 R .11(The \231)5.11 F F2(?)A F1 5.11 -<9a63>C .11(an be separated from the option name by whitespace charac-) --5.11 F 3.753(ters. The)122 540 R<99>3.753 E F2(?)A F1 6.253<9a69>C -3.753(sn)-6.253 G 1.253(ecessary only for Boolean v)-3.753 F 1.253 -(alued options.)-.25 F 1.253(Boolean options can be gi)6.253 F -.15(ve) --.25 G(n).15 E -.25(va)122 552 S .485(lues by the form \231).25 F F2 -.485(set option)B F1 2.985<9a74>C 2.985(ot)-2.985 G .485 -(urn them on, or \231)-2.985 F F2 .485(set nooption)B F1 2.985<9a74>C -2.985(ot)-2.985 G .485(urn them of)-2.985 F(f.)-.25 E 2.252 -(String and numeric options can be assigned by the form \231)122 564 R -F2 2.251(set option=value)B F1 4.751(\232. An)B(y)-.15 E .759(whitespace characters in strings can be included literally by preceding each with a backslash.) -122 576 R 1.394(More than one option can be set or listed by a single set command, by specifying multiple) -122 588 R(ar)122 600 Q(guments, each separated from the ne)-.18 E -(xt by whitespace characters.)-.15 E 21.39(Line: Unchanged.)122 624 R -8.05(Options: None.)122 636 R F0(sh[ell])97 660 Q F1 .781 -(Run the shell program.)122 672 R .782(The program named by the)5.781 F -F0(shell)3.282 E F1 .782(option is run with a)3.282 F F0<ad69>3.282 E F1 -.782(\(for interac-)3.282 F(ti)122 684 Q -.15(ve)-.25 G 2.5<298d>.15 G -2.5(ag. Editing)-2.5 F(is resumed when that program e)2.5 E(xits.)-.15 E -21.39(Line: Unchanged.)122 708 R EP -%%Page: 52 51 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-52 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E/F1 10/Times-Roman@0 SF 8.05(Options: Af)122 -96 R(fected by the)-.25 E F0(shell)2.5 E F1(option.)2.5 E F0(so[ur)97 -120 Q(ce] \214le)-.18 E F1(Read and e)122 132 Q -.15(xe)-.15 G(cute).15 -E F0(ex)2.5 E F1(commands from a \214le.)2.5 E F0(Sour)5 E(ce)-.18 E F1 -(commands may be nested.)2.5 E 21.39(Line: Unchanged.)122 156 R 8.05 -(Options: None.)122 168 R F0([range] s[ubstitute] [/patter)97 192 Q(n/r) --.15 E(eplace/] [options] [count] [\215ags])-.18 E -([range] & [options] [count] [\215ags])97 204 Q -([range] ~ [options] [count] [\215ags])97 216 Q F1(Mak)122 228 Q 3.36 -(es)-.1 G 3.36(ubstitutions. Replace)-3.36 F .859 -(the \214rst instance of)3.36 F/F2 10/Courier@0 SF(pattern)3.359 E F1 -.859(with the string)3.359 F F2(replace)3.359 E F1 .859(on the)3.359 F -3.739(speci\214ed line\(s\).)122 240 R 3.739(If the \231)8.739 F F2 -(/pattern/repl/)A F1 6.239<9a61>C -.18(rg)-6.239 G 3.739 -(ument is not speci\214ed, the \231).18 F F2(/pat-)A(tern/repl/)122 252 -Q F1 3.307<9a66>C .807(rom the pre)-3.307 F(vious)-.25 E F0(substitute) -3.307 E F1 .807(command is used.)3.307 F(An)5.807 E 3.306(yc)-.15 G .806 -(haracter other than an)-3.306 F(alphabetic, numeric, <blank> or backslash character may be used as the delimiter) -122 264 Q(.)-.55 E(If)122 288 Q F2(options)3.496 E F1 .996 -(includes the letter \231)3.496 F F2(c)A F1 3.496<9a28>C .996 -(con\214rm\), you will be prompted for con\214rmation before)-3.496 F -1.46(each replacement is done.)122 300 R 1.46(An af)6.46 F(\214rmati) --.25 E 1.76 -.15(ve r)-.25 H 1.46(esponse \(in English, a \231).15 F F2 -(y)A F1 3.96<9a63>C 1.46(haracter\) causes the)-3.96 F .93 -(replacement to be made.)122 312 R 3.431(Aq)5.93 G .931 -(uit response \(in English, a \231)-3.431 F F2(q)A F1 3.431<9a63>C .931 -(haracter\) causes the)-3.431 F F0(substitute)3.431 E F1 1.013 -(command to be terminated.)122 324 R(An)6.012 E 3.512(yo)-.15 G 1.012 -(ther response causes the replacement not to be made, and)-3.512 F(the) -122 336 Q F0(substitute)2.995 E F1 .495(command continues.)2.995 F(If) -5.495 E F2(options)2.995 E F1 .495(includes the letter \231)2.995 F F2 -(g)A F1 2.995<9a28>C .495(global\), all nono)-2.995 F -.15(ve)-.15 G -.2 -(r-).15 G(lapping instances of)122 348 Q F2(pattern)2.5 E F1 -(in the line are replaced.)2.5 E(The)122 372 Q F0(&)2.745 E F1 -.15(ve) -2.745 G .245(rsion of the command is the same as not specifying a pattern or replacement string to) -.15 F(the)122 384 Q F0(substitute)3.351 E F1 .851(command, and the \231) -3.351 F F2(&)A F1 3.351<9a69>C 3.352(sr)-3.351 G .852 -(eplaced by the pattern and replacement information)-3.352 F -(from the pre)122 396 Q(vious substitute command.)-.25 E(The)122 420 Q -F0(~)2.661 E F1 -.15(ve)2.661 G .161 -(rsion of the command is the same as).15 F F0(&)2.661 E F1(and)2.66 E F0 -(s)2.66 E F1 2.66(,e)C .16(xcept that the search pattern used is the) --2.81 F(last RE used in)122 432 Q/F3 10/Times-Italic@0 SF(any)2.5 E F1 -(command, not necessarily the one used in the last)2.5 E F0(substitute) -2.5 E F1(command.)2.5 E -.15(Fo)122 456 S 2.5(re).15 G -(xample, in the sequence)-2.65 E F2(s/red/blue/)162 472.2 Q(/green)162 -484.2 Q(~)162 496.2 Q F1(the \231)122 512.4 Q F2(~)A F1 2.5<9a69>C 2.5 -(se)-2.5 G(qui)-2.5 E -.25(va)-.25 G(lent to \231).25 E F2 -(s/green/blue/)A F1<9a2e>A(The)122 536.4 Q F0(substitute)2.508 E F1 .008 -(command may be interrupted, using the terminal interrupt character) -2.508 F 5.009(.A)-.55 G .009(ll substi-)-5.009 F -(tutions completed before the interrupt are retained.)122 548.4 Q 21.39 -(Line: Set)122 572.4 R(to the last line upon which a substitution w)2.5 -E(as made.)-.1 E 8.05(Options: Af)122 584.4 R(fected by the)-.25 E F0 -(ignor)2.5 E(ecase)-.18 E F1(and)2.5 E F0(magic)2.5 E F1(option.)2.5 E -F0(su[spend][!])97 608.4 Q(st[op][!])97 620.4 Q(<contr)97 632.4 Q(ol-Z>) --.18 E F1 2.793(Suspend the edit session.)122 644.4 R 2.793 -(Appending a \231)7.793 F F2(!)A F1 7.793<9a63>C 2.793 -(haracter to these commands turns of)-7.793 F 5.293(ft)-.25 G(he)-5.293 -E F0(auto)122 656.4 Q(write)-.1 E F1(option for the command.)2.5 E 21.39 -(Line: Unchanged.)122 680.4 R 8.05(Options: Af)122 692.4 R -(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1(and)2.5 E F0 -(writeany)2.5 E F1(options.)2.5 E EP -%%Page: 53 52 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Ex Commands\))-.18 E -(USD:13-53)233.61 E(ta[g][!] tagstring)97 96 Q/F1 10/Times-Roman@0 SF -1.098(Edit the \214le containing the speci\214ed tag.)122 108 R 1.098 -(If the tag is in a dif)6.098 F 1.099(ferent \214le, then the ne)-.25 F -3.599<778c>-.25 G 1.099(le is)-3.599 F 3.564(edited. If)122 120 R 1.063 -(the current \214le has been modi\214ed since the last complete write, the) -3.564 F F0(tag)3.563 E F1(command)3.563 E .118(will f)122 132 R 2.618 -(ail. This)-.1 F .118(check can be o)2.618 F -.15(ve)-.15 G .118 -(rridden by appending the \231).15 F/F2 10/Courier@0 SF(!)A F1 5.118 -<9a63>C .118(haracter to the command name.)-5.118 F(The)122 156 Q F0 -(tag)3.473 E F1 .972(command searches for)3.473 F F2(tagstring)3.472 E -F1 .972(in the tags \214le\(s\) speci\214ed by the option.)3.472 F -(\(See)5.972 E/F3 10/Times-Italic@0 SF(cta)122 168 Q(gs)-.1 E F1 -(\(1\) for more information on tags \214les.\))A .78 -(Capitalizing the \214rst letter of the command, i.e.)122 192 R F0 -.92 -(Ta)5.78 G(g).92 E F1 3.28(,w)C .78(hile in)-3.28 F F0(vi)3.28 E F1 .78 -(mode, will edit the \214le in a)3.28 F(ne)122 204 Q 2.5(ws)-.25 G 2.5 -(creen. In)-2.5 F(this case, an)2.5 E 2.5(ym)-.15 G -(odi\214cations to the current \214le are ignored.)-2.5 E 21.39 -(Line: Set)122 228 R(to the line indicated by the tag.)2.5 E 8.05 -(Options: Af)122 240 R(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1 -(,)A F0(taglength)2.5 E F1(,)A F0(tags)2.5 E F1(and)2.5 E F0(writeany) -2.5 E F1(options.)2.5 E F0(tagn[ext][!])97 264 Q F1 .478 -(Edit the \214le containing the ne)122 276 R .477(xt conte)-.15 F .477 -(xt for the current tag.)-.15 F .477(If the conte)5.477 F .477 -(xt is in a dif)-.15 F .477(ferent \214le,)-.25 F .625(then the ne)122 -288 R 3.126<778c>-.25 G .626(le is edited.)-3.126 F .626(If the current \214le has been modi\214ed since the last complete write,) -5.626 F(the)122 300 Q F0(tagnext)2.825 E F1 .325(command will f)2.825 F -2.825(ail. This)-.1 F .325(check can be o)2.825 F -.15(ve)-.15 G .325 -(rridden by appending the \231).15 F F2(!)A F1 5.325<9a63>C(haracter) --5.325 E(to the command name.)122 312 Q .156 -(Capitalizing the \214rst letter of the command, i.e.)122 336 R F0 -.92 -(Ta)5.156 G(gnext).92 E F1 2.656(,w)C .156(hile in)-2.656 F F0(vi)2.656 -E F1 .156(mode, will edit the \214le in)2.656 F 2.5(an)122 348 S .5 -.25 -(ew s)-2.5 H 2.5(creen. In).25 F(this case, an)2.5 E 2.5(ym)-.15 G -(odi\214cations to the current \214le are ignored.)-2.5 E 21.39 -(Line: Set)122 372 R(to the line indicated by the tag.)2.5 E 8.05 -(Options: Af)122 384 R(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1 -(and)2.5 E F0(writeany)2.5 E F1(options.)2.5 E F0 -(tagp[op][!] [\214le | number])97 408 Q F1 .316 -(Pop to the speci\214ed tag in the tags stack.)122 420 R .315 -(If neither)5.315 F F2(file)2.815 E F1(or)2.815 E F2(number)2.815 E F1 -.315(is speci\214ed, the)2.815 F F0(tagpop)2.815 E F1 .054 -(command pops to the most recent entry on the tags stack.)122 432 R(If) -5.055 E F2(file)2.555 E F1(or)2.555 E F2(number)2.555 E F1 .055 -(is speci\214ed, the)2.555 F F0(tagpop)122 444 Q F1 1.429(command pops to the most recent entry in the tags stack for that \214le, or numbered) -3.93 F .536(entry in the tags stack, respecti)122 456 R -.15(ve)-.25 G -(ly).15 E 5.536(.\()-.65 G .536(See the)-5.536 F F0(display)3.036 E F1 -.536(command for information on displaying)3.036 F(the tags stack.\))122 -468 Q .22 -(If the \214le has been modi\214ed since the last complete write, the) -122 492 R F0(tagpop)2.72 E F1 .22(command will f)2.72 F 2.72(ail. This) --.1 F(check may be o)122 504 Q -.15(ve)-.15 G -(rridden by appending a \231).15 E F2(!)A F1 5<9a63>C -(haracter to the command name.)-5 E 21.39(Line: Set)122 528 R -(to the line indicated by the tag.)2.5 E 8.05(Options: Af)122 540 R -(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1(and)2.5 E F0 -(writeany)2.5 E F1(options.)2.5 E F0(tagp[r)97 564 Q -.15(ev)-.18 G -(][!]).15 E F1 .544(Edit the \214le containing the pre)122 576 R .544 -(vious conte)-.25 F .544(xt for the current tag.)-.15 F .544 -(If the conte)5.544 F .544(xt is in a dif)-.15 F(ferent)-.25 E 1.083 -(\214le, then the ne)122 588 R 3.583<778c>-.25 G 1.083(le is edited.) --3.583 F 1.083 -(If the current \214le has been modi\214ed since the last complete)6.083 -F 1.418(write, the)122 600 R F0(tagpr)3.918 E -.15(ev)-.18 G F1 1.418 -(command will f)4.068 F 3.918(ail. This)-.1 F 1.419(check can be o)3.919 -F -.15(ve)-.15 G 1.419(rridden by appending the \231).15 F F2(!)A F1<9a> -A(character to the command name.)122 612 Q .11 -(Capitalizing the \214rst letter of the command, i.e.)122 636 R F0 -.92 -(Ta)5.11 G(gpr).92 E -.15(ev)-.18 G F1 2.61(,w).15 G .11(hile in)-2.61 F -F0(vi)2.61 E F1 .11(mode, will edit the \214le in)2.61 F 2.5(an)122 648 -S .5 -.25(ew s)-2.5 H 2.5(creen. In).25 F(this case, an)2.5 E 2.5(ym) --.15 G(odi\214cations to the current \214le are ignored.)-2.5 E 21.39 -(Line: Set)122 672 R(to the line indicated by the tag.)2.5 E 8.05 -(Options: Af)122 684 R(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1 -(and)2.5 E F0(writeany)2.5 E F1(options.)2.5 E F0(tagt[op][!])97 708 Q -F1(Pop to the least recent tag on the tags stack, clearing the tags stack.) -122 720 Q EP -%%Page: 54 53 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-54 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E/F1 10/Times-Roman@0 SF .359 -(If the \214le has been modi\214ed since the last complete write, the) -122 96 R F0(tagtop)2.86 E F1 .36(command will f)2.86 F 2.86(ail. This) --.1 F(check may be o)122 108 Q -.15(ve)-.15 G -(rridden by appending a \231).15 E/F2 10/Courier@0 SF(!)A F1 5<9a63>C -(haracter to the command name.)-5 E 21.39(Line: Set)122 132 R -(to the line indicated by the tag.)2.5 E 8.05(Options: Af)122 144 R -(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1(and)2.5 E F0 -(writeany)2.5 E F1(options.)2.5 E F0(una[b)97 168 Q(br)-.1 E -.15(ev) --.18 G 2.5(]l).15 G(hs)-2.5 E F1(Delete an abbre)122 180 Q 2.5 -(viation. Delete)-.25 F F2(lhs)2.5 E F1(from the current list of abbre) -2.5 E(viations.)-.25 E 21.39(Line: Unchanged.)122 204 R 8.05 -(Options: None.)122 216 R F0(u[ndo])97 240 Q F1 .405 -(Undo the last change made to the \214le.)122 252 R .405 -(Changes made by)5.405 F F0(global)2.905 E F1(,)A F0(v)2.905 E F1(,)A F0 -(visual)2.905 E F1 .405(and map sequences)2.905 F 1.066 -(are considered a single command.)122 264 R 1.066(If repeated, the)6.066 -F F0(u)3.566 E F1 1.066(command alternates between these tw)3.566 F(o) --.1 E(states, and is its o)122 276 Q(wn in)-.25 E -.15(ve)-.4 G(rse.).15 -E 21.39(Line: Set)122 300 R(to the last line modi\214ed by the command.) -2.5 E 8.05(Options: None.)122 312 R F0(unm[ap][!] lhs)97 336 Q F1 .206 -(Unmap a mapped string.)122 348 R .205 -(Delete the command mode map de\214nition for)5.206 F F2(lhs)2.705 E F1 -5.205(.I)C 2.705(fa\231)-5.205 G F2(!)-2.705 E F1 5.205<9a63>C(harac-) --5.205 E(ter is appended to the command name, delete the te)122 360 Q -(xt input mode map de\214nition instead.)-.15 E 21.39(Line: Unchanged.) -122 384 R 8.05(Options: None.)122 396 R F0 -.1(ve)97 420 S([rsion]).1 E -F1(Display the v)122 432 Q(ersion of the)-.15 E F0(ex/vi)2.5 E F1 -(editor)2.5 E(.)-.55 E F0([line] vi[sual] [type] [count] [\215ags])97 -456 Q(Ex)122 468 Q F1 1.105(mode only)3.605 F 6.105(.E)-.65 G(nter) --6.105 E F0(vi)3.605 E F1 6.105(.T)C(he)-6.105 E F2(type)3.605 E F1 -1.105(is optional, and can be \231)3.605 F F2<ad>A F1 1.105<9a2c2099>B -F2(+)A F1 3.605<9a6f>C 3.605<7299>-3.605 G F2(^)-3.605 E F1 1.105 -(\232, as in the)B F0 1.105(ex z)3.605 F F1 .312(command, to specify the position of the speci\214ed line in the screen windo) -122 480 R 4.112 -.65(w. \()-.25 H .312(The def).65 F .311(ault is to)-.1 -F .974(place the line at the top of the screen windo)122 492 R -.65(w.) --.25 G 5.975(\)A).65 G F2(count)-2.5 E F1 .975 -(speci\214es the number of lines that)3.475 F -(will initially be displayed.)122 504 Q(\(The def)5 E(ault is the v)-.1 -E(alue of the)-.25 E F0(windo)2.5 E(w)-.1 E F1(editor option.\))2.5 E -21.39(Line: Unchanged)122 528 R(unless)2.5 E F2(line)2.5 E F1 -(is speci\214ed, in which case it is set to that line.)2.5 E 8.05 -(Options: None.)122 540 R F0(vi[sual][!] [+cmd] [\214le])97 564 Q -.37 -(Vi)122 576 S F1(mode only)2.87 E 5(.E)-.65 G(dit a ne)-5 E 2.5<778c> --.25 G 2.5(le. Identical)-2.5 F(to the \231)2.5 E F2 -(edit[!] [+cmd] [file])A F1 2.5<9a63>C(ommand.)-2.5 E .744 -(Capitalizing the \214rst letter of the command, i.e.)122 600 R F0 -.37 -(Vi)5.744 G(sual).37 E F1 3.244(,w)C .744(ill edit the \214le in a ne) --3.244 F 3.244(ws)-.25 G 3.244(creen. In)-3.244 F(this case, an)122 612 -Q 2.5(ym)-.15 G(odi\214cations to the current \214le are ignored.)-2.5 E -F0(viu[sage] [command])97 636 Q F1 1.078(Display usage for a)122 648 R -F0(vi)3.578 E F1 3.578(command. If)3.578 F F2(command)3.578 E F1 1.078 -(is speci\214ed, a usage statement for that com-)3.578 F -(mand is displayed.)122 660 Q(Otherwise, usage statements for all)5 E F0 -(vi)2.5 E F1(commands are displayed.)2.5 E 21.39(Line: Unchanged.)122 -684 R 8.05(Options: None.)122 696 R EP -%%Page: 55 54 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Ex Commands\))-.18 E -(USD:13-55)233.61 E([range] w[rite][!] [>>] [\214le])97 96 Q -([range] w[rite] [!] [\214le])97 108 Q([range] wn[!] [>>] [\214le])97 -120 Q([range] wq[!] [>>] [\214le])97 132 Q/F1 10/Times-Roman@0 SF .67 -(Write the \214le.)122 144 R .67 -(The speci\214ed lines \(the entire \214le, if no range is gi)5.67 F --.15(ve)-.25 G .67(n\) is written to).15 F/F2 10/Courier@0 SF(file)3.17 -E F1 5.67(.I)C(f)-5.67 E F2(file)122 156 Q F1 .802 -(is not speci\214ed, the current pathname is used.)3.301 F(If)5.802 E F2 -(file)3.302 E F1 .802(is speci\214ed, and it e)3.302 F .802 -(xists, or if)-.15 F .988(the current pathname w)122 168 R .988 -(as set using the)-.1 F F0(\214le)3.487 E F1 .987 -(command, and the \214le already e)3.487 F .987(xists, these com-)-.15 F -1.196(mands will f)122 180 R 3.696(ail. Appending)-.1 F 3.696<6199>3.696 -G F2(!)-3.696 E F1 6.196<9a63>C 1.197 -(haracter to the command name will o)-6.196 F -.15(ve)-.15 G 1.197 -(rride this check).15 F(and the write will be attempted, re)122 192 Q --.05(ga)-.15 G(rdless.).05 E 1.027(Specifying the optional \231)122 216 -R F2(>>)A F1 3.527<9a73>C 1.027 -(tring will cause the write to be appended to the \214le, in which) --3.527 F(case no tests are made for the \214le already e)122 228 Q -(xisting.)-.15 E 1.966(If the \214le is preceded by a \231)122 252 R F2 -(!)A F1 6.966<9a63>C(haracter)-6.966 E 4.466(,t)-.4 G 1.966 -(he program named by the shell edit option is)-4.466 F(in)122 264 Q -.2 -(vo)-.4 G -.1(ke).2 G 2.735(dw).1 G .235(ith \214le as its second ar) --2.735 F .235 -(gument, and the speci\214ed lines are passed as standard input to)-.18 -F .465(that command.)122 276 R .465(The \231)5.465 F F2(!)A F1 5.465 -<9a69>C 2.965(nt)-5.465 G .466 -(his usage must be separated from command name by at least one)-2.965 F -.056(whitespace character)122 288 R 5.056(.T)-.55 G .056 -(he special meaning of the \231)-5.056 F F2(!)A F1 5.056<9a6d>C .056 -(ay be o)-5.056 F -.15(ve)-.15 G .056(rridden by escaping it with a).15 -F(backslash \(\231)122 300 Q F2(\\)A F1(\232\) character)A(.)-.55 E(The) -122 324 Q F0(wq)3.047 E F1 -.15(ve)3.047 G .548 -(rsion of the write command will e).15 F .548 -(xit the editor after writing the \214le, if there are no)-.15 F .56 -(further \214les to edit.)122 336 R .56(Appending a \231)5.56 F F2(!)A -F1 5.56<9a63>C .56(haracter to the command name or entering tw)-5.56 F -3.06<6f99>-.1 G(quit\232)-3.06 E .244(commands \(i.e.)122 348 R F0(wq) -5.244 E F1(,)A F0(quit)2.744 E F1(,)A F0(xit)2.744 E F1(or)2.744 E F0 -(ZZ)2.744 E F1 2.744(\)i)C 2.744(nar)-2.744 G -.25(ow)-2.744 G 2.744 -(\)w).25 G .245(ill o)-2.744 F -.15(ve)-.15 G .245 -(rride this check and the editor will e).15 F(xit,)-.15 E(ignoring an) -122 360 Q 2.5<798c>-.15 G(les that ha)-2.5 E .3 -.15(ve n)-.2 H -(ot yet been edited.).15 E(The)122 384 Q F0(wn)3.342 E F1 -.15(ve)3.342 -G .841(rsion of the write command will mo).15 F 1.141 -.15(ve t)-.15 H -3.341(ot).15 G .841(he ne)-3.341 F .841 -(xt \214le after writing the \214le, unless)-.15 F(the write f)122 396 Q -(ails.)-.1 E 21.39(Line: Unchanged.)122 420 R 8.05(Options: Af)122 432 R -(fected by the)-.25 E F0 -.18(re)2.5 G(adonly).18 E F1(and)2.5 E F0 -(writeany)2.5 E F1(options.)2.5 E F0([range] x[it][!] [\214le])97 456 Q -F1 .863(Write the \214le if it has been modi\214ed.)122 468 R .863 -(The speci\214ed lines are written to)5.863 F F2(file)3.364 E F1 3.364 -(,i)C 3.364(ft)-3.364 G .864(he \214le has)-3.364 F .129 -(been modi\214ed since the last complete write to an)122 480 R 2.629 -<798c>-.15 G 2.629(le. If)-2.629 F(no)2.629 E F2(range)2.629 E F1 .128 -(is speci\214ed, the entire \214le)2.629 F(is written.)122 492 Q(The)122 -516 Q F0(xit)3.208 E F1 .709(command will e)3.208 F .709(xit the editor after writing the \214le, if there are no further \214les to edit.) --.15 F .422(Appending a \231)122 528 R F2(!)A F1 5.422<9a63>C .421 -(haracter to the command name or entering tw)-5.422 F 2.921<6f99>-.1 G -.421(quit\232 commands \(i.e.)-2.921 F F0(wq)5.421 E F1(,)A F0(quit)122 -540 Q F1(,)A F0(xit)3.4 E F1(or)3.4 E F0(ZZ)3.4 E F1 3.4(\)i)C 3.4(nar) --3.4 G -.25(ow)-3.4 G 3.4(\)w).25 G .9(ill o)-3.4 F -.15(ve)-.15 G .901 -(rride this check and the editor will e).15 F .901(xit, ignoring an)-.15 -F 3.401<798c>-.15 G(les)-3.401 E(that ha)122 552 Q .3 -.15(ve n)-.2 H -(ot yet been edited.).15 E 21.39(Line: Unchanged.)122 576 R 8.05 -(Options: Af)122 588 R(fected by the)-.25 E F0 -.18(re)2.5 G(adonly).18 -E F1(and)2.5 E F0(writeany)2.5 E F1(options.)2.5 E F0([range] ya[nk] [b) -97 612 Q(uffer] [count])-.2 E F1(Cop)122 624 Q 2.5(yt)-.1 G -(he speci\214ed lines to a b)-2.5 E(uf)-.2 E(fer)-.25 E 5(.I)-.55 G 2.5 -(fn)-5 G 2.5(ob)-2.5 G(uf)-2.7 E(fer is speci\214ed, the unnamed b)-.25 -E(uf)-.2 E(fer is used.)-.25 E 21.39(Line: Unchanged.)122 648 R 8.05 -(Options: None.)122 660 R F0([line] z [type] [count] [\215ags])97 684 Q -F1 .279(Adjust the windo)122 696 R 4.079 -.65(w. I)-.25 H 2.779(fn).65 G -(o)-2.779 E F2(type)2.779 E F1 .279(is speci\214ed, then)2.779 F F2 -(count)2.779 E F1 .278(lines follo)2.779 F .278 -(wing the speci\214ed line are)-.25 F 4.896(displayed. The)122 708 R -(def)4.897 E(ault)-.1 E F2(count)4.897 E F1 2.397(is the v)4.897 F 2.397 -(alue of the)-.25 F F0(windo)4.897 E(w)-.1 E F1 4.897(option. The)4.897 -F F2(type)4.897 E F1(ar)4.897 E(gument)-.18 E .017 -(changes the position at which)122 720 R F2(line)2.517 E F1 .017 -(is displayed on the screen by changing the number of lines)2.517 F EP -%%Page: 56 55 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 231.11(USD:13-56 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Ex Commands\))-.18 E/F1 10/Times-Roman@0 SF -(displayed before and after)122 96 Q/F2 10/Courier@0 SF(line)2.5 E F1 5 -(.T)C(he follo)-5 E(wing)-.25 E F2(type)2.5 E F1 -(characters may be used:)2.5 E 39.36<ad50>122 120 S -(lace the line at the bottom of the screen.)-39.36 E 39.36(+P)122 132 S -(lace the line at the top of the screen.)-39.36 E 42.5(.P)122 144 S -(lace the line in the middle of the screen.)-42.5 E 41.67(^W)122 156 S -.193(rite out count lines starting)-41.67 F F2 .193(count * 2)2.693 F F1 -.193(lines before)2.693 F F2(line)2.693 E F1 2.694(;t)C .194(he net ef) --2.694 F .194(fect of this)-.25 F(is that a \231)167 168 Q F2(z^)A F1 -2.5<9a63>C(ommand follo)-2.5 E(wing a)-.25 E F0(z)2.5 E F1 -(command writes the pre)2.5 E(vious page.)-.25 E 39.36(=C)122 180 S -(enter)-39.36 E F2(line)3.824 E F1 1.323(on the screen with a line of h) -3.824 F 1.323(yphens displayed immediately before)-.05 F 1.663 -(and after it.)167 192 R 1.664(The number of preceding and follo)6.664 F -1.664(wing lines of te)-.25 F 1.664(xt displayed are)-.15 F -(reduced to account for those lines.)167 204 Q 21.39(Line: Set)122 228 R -.084(to the last line displayed, with the e)2.584 F .083 -(xception of the)-.15 F F2(type)2.583 E F1 2.583(,w)C .083 -(here the current line)-2.583 F -(is set to the line speci\214ed by the command.)167 240 Q 8.05 -(Options: Af)122 252 R(fected by the)-.25 E F0(scr)2.5 E(oll)-.18 E F1 -(option.)2.5 E F0 2.5(18. Set)97 276 R(Options)2.5 E F1 .438 -(There are a lar)122 292.2 R .439(ge number of options that may be set \(or unset\) to change the editor') --.18 F 2.939(sb)-.55 G(eha)-2.939 E(vior)-.2 E(.)-.55 E -(This section describes the options, their abbre)97 304.2 Q -(viations and their def)-.25 E(ault v)-.1 E(alues.)-.25 E .251 -(In each entry belo)122 320.4 R 1.551 -.65(w, t)-.25 H .251 -(he \214rst part of the tag line is the full name of the option, follo) -.65 F .251(wed by an)-.25 F(y)-.15 E(equi)97 332.4 Q -.25(va)-.25 G .762 -(lent abbre).25 F 3.262(viations. \(Re)-.25 F -.05(ga)-.15 G .762 -(rdless of the abbre).05 F .762 -(viations, it is only necessary to use the minimum)-.25 F .84 -(number of characters necessary to distinguish an abbre)97 344.4 R .84 -(viation from all other commands for it to be)-.25 F .258(accepted, in) -97 356.4 R F0(nex)2.758 E F1(/)A F0 -.4(nv)C(i).4 E F1 5.258(.H)C -(istorically)-5.258 E 2.758(,o)-.65 G .259(nly the full name and the of) --2.758 F .259(\214cial abbre)-.25 F .259(viations were accepted by)-.25 -F F0(ex)97 368.4 Q F1(/)A F0(vi)A F1 5.953(.U)C .953 -(sing full names in your startup \214les and en)-5.953 F .953 -(vironmental v)-.4 F .953(ariables will probably mak)-.25 F 3.452(et)-.1 -G(hem)-3.452 E .016(more portable.\))97 380.4 R .016 -(The part in square brack)5.016 F .017(ets is the def)-.1 F .017(ault v) --.1 F .017(alue of the option.)-.25 F .017(Most of the options are)5.017 -F(boolean, i.e. the)97 392.4 Q 2.5(ya)-.15 G(re either on or of)-2.5 E -(f, and do not ha)-.25 E .3 -.15(ve a)-.2 H 2.5(na).15 G(ssociated v) --2.5 E(alue.)-.25 E(Options apply to both)122 408.6 Q F0(ex)2.5 E F1 -(and)2.5 E F0(vi)2.5 E F1(modes, unless otherwise speci\214ed.)2.5 E -.4 -(Wi)122 424.8 S .344(th a fe).4 F 2.844(we)-.25 G .344 -(xceptions, all options are settable per screen, i.e. the)-2.994 F F0 -(tags)2.843 E F1 .343(option can be set dif)2.843 F(fer)-.25 E(-)-.2 E -1.242(ently in each screen.)97 436.8 R 1.243(The e)6.243 F 1.243 -(xceptions are the)-.15 F F0(columns)3.743 E F1(,)A F0(lines)3.743 E F1 -(,)A F0(secur)3.743 E(e)-.18 E F1(and)3.743 E F0(term)3.743 E F1 3.743 -(options. Changing)3.743 F(these options modi\214es the respecti)97 -448.8 Q .3 -.15(ve i)-.25 H(nformation for all screens.).15 E -.15(Fo) -122 465 S 2.625(ri).15 G .125(nformation on modifying the options or to display the options and their current v) --2.625 F .124(alues, see)-.25 F -(the \231set\232 command in the section entitled \231)97 477 Q F0 -(Ex Commands)A F1<9a2e>A F0(altwerase [off])97 501 Q -.37(Vi)122 513 S -F1(only)2.967 E 5.097(.C)-.65 G .097(hange ho)-5.097 F(w)-.25 E F0(vi) -2.597 E F1 .097(does w)2.597 F .097(ord erase during te)-.1 F .097 -(xt input.)-.15 F .097(When this option is set, te)5.097 F .098 -(xt is bro-)-.15 F -.1(ke)122 525 S 2.979(nu).1 G 2.979(pi)-2.979 G .478 -(nto three classes: alphabetic, numeric and underscore characters, other nonblank char) --2.979 F(-)-.2 E .397(acters, and blank characters.)122 537 R .398 -(Changing from one class to another marks the end of a w)5.397 F 2.898 -(ord. In)-.1 F .059(addition, the class of the \214rst character erased is ignored \(which is e) -122 549 R .058(xactly what you w)-.15 F .058(ant when)-.1 F -(erasing pathname components\).)122 561 Q F0(autoindent, ai [off])97 585 -Q F1 .367(If this option is set, whene)122 597 R -.15(ve)-.25 G 2.867 -(ry).15 G .367(ou create a ne)-2.867 F 2.867(wl)-.25 G .367 -(ine \(using the)-2.867 F F0 .367(vi A)2.867 F F1(,)A F0(a)2.867 E F1(,) -A F0(C)2.867 E F1(,)A F0(c)2.867 E F1(,)A F0(I)2.867 E F1(,)A F0(i)2.867 -E F1(,)A F0(O)2.867 E F1(,)A F0(o)2.867 E F1(,)A F0(R)2.867 E F1(,)A F0 -(r)2.868 E F1(,)A F0(S)2.868 E F1(,)A(and)122 609 Q F0(s)3.134 E F1 .634 -(commands, or the)3.134 F F0 .633(ex append)3.134 F F1(,)A F0(change) -3.133 E F1 3.133(,a)C(nd)-3.133 E F0(insert)3.133 E F1 .633 -(commands\) the ne)3.133 F 3.133(wl)-.25 G .633(ine is automati-)-3.133 -F .58(cally indented to align the cursor with the \214rst nonblank character of the line from which you) -122 621 R .26(created it.)122 633 R .26 -(Lines are indented using tab characters to the e)5.26 F .259 -(xtent possible \(based on the v)-.15 F .259(alue of)-.25 F(the)122 645 -Q F0(tabstop)2.667 E F1 .168 -(option\) and then using space characters as necessary)2.667 F 5.168(.F) --.65 G .168(or commands inserting te)-5.318 F(xt)-.15 E .556 -(into the middle of a line, an)122 657 R 3.056(yb)-.15 G .556 -(lank characters to the right of the cursor are discarded, and the) --3.056 F(\214rst nonblank character to the right of the cursor is aligned as described abo) -122 669 Q -.15(ve)-.15 G(.).15 E .06(The indent characters are themselv) -122 693 R .06(es some)-.15 F .06(what special.)-.25 F .06 -(If you do not enter more characters on)5.06 F .795(the ne)122 705 R -3.295(wl)-.25 G .795(ine before mo)-3.295 F .795 -(ving to another line, or entering)-.15 F F2(<escape>)3.295 E F1 3.295 -(,t)C .795(he indent character will)-3.295 F 1.7 -(be deleted and the line will be empty)122 717 R 6.7(.F)-.65 G 1.7(or e) --6.85 F 1.7(xample, if you enter)-.15 F F2(<carriage-return>)4.2 E EP -%%Page: 57 56 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Options\))-.18 E -(USD:13-57)262.77 E/F1 10/Times-Roman@0 SF 1.366 -(twice in succession, the line created by the \214rst)122 96 R/F2 10 -/Courier@0 SF(<carriage-return>)3.866 E F1 1.366(will not ha)3.866 F -1.666 -.15(ve a)-.2 H -.15(ny).15 G(characters in it, re)122 108 Q -.05 -(ga)-.15 G(rdless of the indentation of the pre).05 E -(vious or subsequent line.)-.25 E 1.348(Indent characters also require that you enter additional erase characters to delete them.) -122 132 R -.15(Fo)6.349 G(r).15 E -.15(ex)122 144 S .271 -(ample, if you ha).15 F .571 -.15(ve a)-.2 H 2.771(ni).15 G .271 -(ndented line, containing only blanks, the \214rst)-2.771 F F2 -(<word-erase>)2.77 E F1(char)2.77 E(-)-.2 E .472(acter you enter will erase up to end of the indent characters, and the second will erase back to) -122 156 R .895(the be)122 168 R .895(ginning of the line.)-.15 F -(\(Historically)5.895 E 3.395(,o)-.65 G .895(nly the)-3.395 F F2 -(<control-D>)3.395 E F1 -.1(ke)3.394 G 3.394(yw)-.05 G .894 -(ould erase the indent)-3.494 F 2.6(characters. Both)122 180 R(the)2.6 E -F2(<control-D>)2.6 E F1 -.1(ke)2.6 G 2.6(ya)-.05 G .1 -(nd the usual erase k)-2.6 F -.15(ey)-.1 G 2.6(sw).15 G .1(ork in)-2.7 F -F0 -.4(nv)2.6 G(i).4 E F1 2.6(.\) In)B .1(addition, if)2.6 F .875 -(the cursor is positioned at the end of the indent characters, the k)122 -192 R -.15(ey)-.1 G 3.375<7399>.15 G F2(0<control-D>)-3.375 E F1 3.375 -<9a77>C(ill)-3.375 E .311(erase all of the indent characters for the current line, resetting the indentation le) -122 204 R -.15(ve)-.25 G 2.811(lt).15 G 2.811(o0)-2.811 G 5.311(.S) --2.811 G(imi-)-5.311 E(larly)122 216 Q 3.483(,t)-.65 G .983(he k)-3.483 -F -.15(ey)-.1 G 3.483<7399>.15 G F2(^<control-D>)-3.483 E F1 3.483<9a77> -C .983(ill erase all of the indent characters for the current line,) --3.483 F(lea)122 228 Q(ving the indentation le)-.2 E -.15(ve)-.25 G 2.5 -(lf).15 G(or future created lines unaf)-2.5 E(fected.)-.25 E(Finally)122 -252 Q 2.77(,i)-.65 G 2.77(ft)-2.77 G(he)-2.77 E F0(autoindent)2.77 E F1 -.27(option is set, the)2.77 F F0(S)2.771 E F1(and)2.771 E F0(cc)2.771 E -F1 .271(commands change from the \214rst nonblank)2.771 F .125 -(of the line to the end of the line, instead of from the be)122 264 R -.125(ginning of the line to the end of the line.)-.15 F F0 -(autoprint, ap [off])97 288 Q(Ex)122 300 Q F1(only)3.901 E 6.401(.C)-.65 -G 1.401(ause the current line to be automatically displayed after the) --6.401 F F0(ex)3.902 E F1(commands)3.902 E F0(<)3.902 E F1(,)A F0(>) -3.902 E F1(,)A F0(copy)122 312 Q F1(,)A F0(delete)2.519 E F1(,)A F0 -(join)2.519 E F1(,)A F0(mo)2.519 E -.1(ve)-.1 G F1(,).1 E F0(put)2.519 E -F1(,)A F0(t)2.519 E F1(,)A F0(Undo)2.519 E F1 2.519(,a)C(nd)-2.519 E F0 -(undo)2.519 E F1 5.018(.T)C .018 -(his automatic display is suppressed during)-5.018 F F0(global)122 324 Q -F1(and)2.915 E F0(v)2.915 E F1 .415(commands, and for an)2.915 F 2.915 -(yc)-.15 G .416(ommand where optional \215ags are used to e)-2.915 F -.416(xplicitly dis-)-.15 F(play the line.)122 336 Q F0(auto)97 360 Q -(write, aw [off])-.1 E F1 .473(If this option is set, the)122 372 R F0 -.472(vi !)2.972 F F1(,)A F0(^^)2.972 E F1(,)A F0(^])2.972 E F1(and)2.972 -E F0(<contr)2.972 E(ol-Z>)-.18 E F1 .472(commands, and the)2.972 F F0 -.472(ex edit)2.972 F F1(,)A F0(next)2.972 E F1(,)A F0 -.18(re)2.972 G -(wind).18 E F1(,)A F0(stop)122 384 Q F1(,)A F0(suspend)2.847 E F1(,)A F0 -(tag)2.847 E F1(,)A F0(tagpop)2.847 E F1 2.847(,a)C(nd)-2.847 E F0 -(tagtop)2.848 E F1 .348 -(commands automatically write the current \214le back to)2.848 F 1.252 -(the current \214le name if it has been modi\214ed since it w)122 396 R -1.252(as last written.)-.1 F 1.251(If the write f)6.251 F 1.251 -(ails, the)-.1 F(command f)122 408 Q(ails and goes no further)-.1 E(.) --.55 E .366(Appending the optional force \215ag character \231)122 432 R -F2(!)A F1 5.366<9a74>C 2.866(ot)-5.366 G(he)-2.866 E F0(ex)2.867 E F1 -(commands)2.867 E F0(next)2.867 E F1(,)A F0 -.18(re)2.867 G(wind).18 E -F1(,)A F0(stop)2.867 E F1(,)A F0(sus-)2.867 E(pend)122 444 Q F1(,)A F0 -(tag)2.5 E F1(,)A F0(tagpop)2.5 E F1 2.5(,a)C(nd)-2.5 E F0(tagtop)2.5 E -F1(stops the automatic write from being attempted.)2.5 E(\(Historically) -122 468 Q 2.666(,t)-.65 G(he)-2.666 E F0(next)2.666 E F1 .165 -(command ignored the optional force \215ag.\))2.666 F .165(Note, the) -5.165 F F0(ex)2.665 E F1(commands)2.665 E F0(edit)2.665 E F1(,)A F0 -(quit)122 480 Q F1(,)A F0(shell)2.5 E F1 2.5(,a)C(nd)-2.5 E F0(xit)2.5 E -F1(are)2.5 E/F3 10/Times-Italic@0 SF(not)2.5 E F1(af)2.5 E -(fected by the)-.25 E F0(auto)2.5 E(write)-.1 E F1(option.)2.5 E(The)122 -504 Q F0(auto)2.5 E(write)-.1 E F1 -(option is ignored if the \214le is considered read-only for an)2.5 E -2.5(yr)-.15 G(eason.)-2.5 E F0(backup [""])97 528 Q F1 .538(If this option is set, it speci\214es a pathname used as a backup \214le, and, whene) -122 540 R -.15(ve)-.25 G 3.039(ra\214).15 G .539(le is writ-)-3.039 F -(ten, the \214le')122 552 Q 2.5(sc)-.55 G -(urrent contents are copied to it.)-2.5 E(The pathname is \231)5 E F2(#) -A F1<9a2c2099>A F2(%)A F1 2.5<9a61>C(nd \231)-2.5 E F2(!)A F1 5<9a65>C -(xpanded.)-5.15 E 1.206 -(If the \214rst character of the pathname is \231)122 576 R F2(N)A F1 -1.206(\232, a v)B 1.205(ersion number is appended to the pathname)-.15 F -.614(\(and the \231)122 588 R F2(N)A F1 3.114<9a63>C .614 -(haracter is then discarded\).)-3.114 F -1.11(Ve)5.615 G .615 -(rsion numbers are al)1.11 F -.1(wa)-.1 G .615(ys incremented, and each) -.1 F .75(backup \214le will ha)122 600 R 1.05 -.15(ve a ve)-.2 H .75 -(rsion number one greater than the highest v).15 F .75 -(ersion number currently)-.15 F(found in the directory)122 612 Q(.)-.65 -E .128(Backup \214les must be re)122 636 R .128(gular \214les, o)-.15 F -.128(wned by the real user ID of the user running the editor)-.25 F -2.629(,a)-.4 G(nd)-2.629 E(not accessible by an)122 648 Q 2.5(yo)-.15 G -(ther user)-2.5 E(.)-.55 E F0(beautify)97 672 Q 2.5(,b)-.55 G 2.5(f[) --2.5 G(off])-2.5 E F1 1.536(If this option is set, all control characters that are not currently being specially interpreted,) -122 684 R .59(other than)122 696 R F2(<tab>)3.091 E F1(,)A F2(<newline>) -3.091 E F1 3.091(,a)C(nd)-3.091 E F2(<form-feed>)3.091 E F1 3.091(,a)C -.591(re discarded from commands read in)-3.091 F(by)122 708 Q F0(ex) -2.791 E F1 .291(from command \214les, and from input te)2.791 F .291 -(xt entered to)-.15 F F0(vi)2.79 E F1 .29 -(\(either into the \214le or to the colon)2.79 F(command line\).)122 720 -Q -1.25 -.7(Te x)5 H 2.5<748c>.7 G(les read by)-2.5 E F0(ex)2.5 E F1(/)A -F0(vi)A F1(are)2.5 E F3(not)2.5 E F1(af)2.5 E(fected by the)-.25 E F0 -(beautify)2.5 E F1(option.)2.5 E EP -%%Page: 58 57 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 260.27(USD:13-58 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Options\))-.18 E(cdpath [en)97 96 Q(vir)-.4 E(onment v)-.18 E -(ariable CDP)-.1 E -.95(AT)-.74 G(H, or curr).95 E(ent dir)-.18 E -(ectory])-.18 E/F1 10/Times-Roman@0 SF .628(This option is used to specify a colon separated list of directories which are used as path pre-) -122 108 R<8c78>122 120 Q 1.172(es for an)-.15 F 3.672(yr)-.15 G(elati) --3.672 E 1.472 -.15(ve p)-.25 H 1.172(ath names used as ar).15 F 1.172 -(guments for the)-.18 F F0(cd)3.672 E F1 3.672(command. The)3.672 F -.25 -(va)3.672 G 1.171(lue of this).25 F .422(option def)122 132 R .422 -(aults to the v)-.1 F .422(alue of the en)-.25 F .422(vironmental v)-.4 -F(ariable)-.25 E/F2 10/Courier@0 SF(CDPATH)2.923 E F1 .423 -(if it is set, otherwise to the)2.923 F 1.008(current directory)122 144 -R 6.008(.F)-.65 G 1.008 -(or compatibility with the POSIX 1003.2 shell, the)-6.158 F F0(cd)3.507 -E F1 1.007(command does)3.507 F/F3 10/Times-Italic@0 SF(not)3.507 E F1 -.372(check the current directory as a path pre\214x for relati)122 156 R -.673 -.15(ve p)-.25 H .373(ath names unless it is e).15 F .373 -(xplicitly speci-)-.15 F 3.19(\214ed. It)122 168 R .69 -(may be so speci\214ed by entering an empty string or a \231)3.19 F F2 -(.)A F1 5.69<9a63>C .69(haracter into the)-5.69 F F2(CDPATH)3.19 E F1 --.25(va)122 180 S(riable or the option v).25 E(alue.)-.25 E F0 -(cedit [no default])97 204 Q F1 1.38 -(This option adds the ability to edit the colon command-line history)122 -216 R 6.381(.T)-.65 G 1.381(his option is set to a)-6.381 F 3.368 -(string. Whene)122 228 R -.15(ve)-.25 G 3.368(rt).15 G .868(he \214rst character of that string is entered on the colon command line, you) --3.368 F .882(will enter a normal editing windo)122 240 R 3.382(wo)-.25 -G 3.382(nt)-3.382 G .882(he collected commands that you')-3.382 F 1.182 --.15(ve e)-.5 H .882(ntered on the).15 F F0(vi)3.382 E F1 1.272 -(colon command-line.)122 252 R -1.1(Yo)6.272 G 3.772(um)1.1 G 1.272 -(ay then modify and/or e)-3.772 F -.15(xe)-.15 G 1.272 -(cute the commands.).15 F 1.271(All normal te)6.271 F(xt)-.15 E .698 -(editing is a)122 264 R -.25(va)-.2 G .698(ilable, e).25 F .698 -(xcept that you cannot use)-.15 F F0(<contr)3.199 E(ol-W>)-.18 E F1 .699 -(to switch to an alternate screen.)3.199 F .06(Entering a)122 276 R F0 -(<carriage-r)2.56 E(etur)-.18 E(n>)-.15 E F1 .06(will e)2.56 F -.15(xe) --.15 G .06(cute the current line of the screen windo).15 F 2.56(wa)-.25 -G 2.56(sa)-2.56 G 2.56(ne)-2.56 G 2.56(xc)-2.71 G(om-)-2.56 E .297 -(mand in the conte)122 288 R .297(xt of the screen from which you created the colon command-line screen, and) --.15 F(you will then return to that screen.)122 300 Q .232(Because of) -122 324 R F0(vi)2.732 E F1 1.332 -.55('s p)D .231 -(arsing rules, it can be dif).55 F .231 -(\214cult to set the colon command-line edit character to)-.25 F(the)122 -336 Q F2(<escape>)6.616 E F1(character)6.616 E 9.116(.T)-.55 G 6.616(os) --9.916 G 4.116(et it to)-6.616 F F2(<escape>)6.616 E F1 6.616(,u)C 4.116 -(se \231)-6.616 F F2 4.116(set cedit=<literal-)B(next><escape>)122 348 Q -F1<9a2e>A .05(If the)122 372 R F0(cedit)2.55 E F1 .05 -(edit option is set to the same character as the)2.55 F F0(\214lec)2.549 -E F1 .049(edit option,)2.549 F F0(vi)2.549 E F1 .049(will perform colon) -2.549 F .528(command-line editing if the character is entered as the \214rst character of the line, otherwise,) -122 384 R F0(vi)3.028 E F1(will perform \214le name e)122 396 Q -(xpansion.)-.15 E F0(columns, co [80])97 420 Q F1 .063 -(The number of columns in the screen.)122 432 R .062 -(Setting this option causes)5.062 F F0(ex)2.562 E F1(/)A F0(vi)A F1 .062 -(to set \(or reset\) the en)2.562 F(vi-)-.4 E .245(ronmental v)122 444 R -(ariable)-.25 E F2(COLUMNS)2.745 E F1 5.245(.S)C .245 -(ee the section entitled \231)-5.245 F F0 .246(Sizing the Scr)B(een)-.18 -E F1 2.746<9a6d>C .246(ore information.)-2.746 F F0(comment [off])97 468 -Q -.37(Vi)122 480 S F1(only)3.044 E 5.174(.I)-.65 G 2.674(ft)-5.174 G -.174(he \214rst non-empty line of the \214le be)-2.674 F .174 -(gins with the string \231)-.15 F F2(/*)A F1 .174 -(\232, this option causes)B F0(vi)2.673 E F1 .503(to skip to the end of that C-language comment \(probably a terribly boring le) -122 492 R -.05(ga)-.15 G 3.003(ln).05 G .503(otice\) before)-3.003 F -(displaying the \214le.)122 504 Q F0(dir)97 528 Q(ectory)-.18 E 2.5(,d) --.55 G(ir [en)-2.5 E(vir)-.4 E(onment v)-.18 E(ariable TMPDIR, or /tmp]) --.1 E F1 .516(The directory where temporary \214les are created.)122 540 -R .516(The en)5.516 F .516(vironmental v)-.4 F(ariable)-.25 E F2(TMPDIR) -3.016 E F1 .515(is used)3.015 F(as the def)122 552 Q(ault v)-.1 E -(alue if it e)-.25 E(xists, otherwise)-.15 E F2(/tmp)2.5 E F1(is used.) -2.5 E F0(edcompatible, ed [off])97 576 Q F1 .81(Remember the v)122 588 R -.81(alues of the \231c\232 and \231g\232 suf)-.25 F<8c78>-.25 E .81 -(es to the)-.15 F F0(substitute)3.31 E F1 .81(commands, instead of ini-) -3.31 F .584(tializing them as unset for each ne)122 600 R 3.084(wc)-.25 -G 3.084(ommand. Specifying)-3.084 F .584 -(pattern and replacement strings to)3.084 F(the)122 612 Q F0(substitute) -2.5 E F1(command unsets the \231c\232 and \231g\232 suf)2.5 E<8c78>-.25 -E(es as well.)-.15 E F0(escapetime [1])97 636 Q F1 .568(The 10th')122 -648 R 3.068(so)-.55 G 3.068(fas)-3.068 G(econd)-3.068 E F0(ex)3.069 E F1 -(/)A F0(vi)A F1 -.1(wa)3.069 G .569(its for a subsequent k).1 F .869 --.15(ey t)-.1 H 3.069(oc).15 G .569(omplete an)-3.069 F F2(<escape>) -3.069 E F1 -.1(ke)3.069 G 3.069(ym)-.05 G(ap-)-3.069 E(ping.)122 660 Q -F0(err)97 684 Q(orbells, eb [off])-.18 E(Ex)122 696 Q F1(only)2.739 E(.) --.65 E F0(Ex)5.239 E F1 .238 -(error messages are normally presented in in)2.738 F -.15(ve)-.4 G .238 -(rse video.).15 F .238(If that is not possible for)5.238 F .285(the terminal, setting this option causes error messages to be announced by ringing the terminal) -122 708 R(bell.)122 720 Q EP -%%Page: 59 58 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Options\))-.18 E -(USD:13-59)262.77 E(exr)97 96 Q(c, ex [off])-.18 E/F1 10/Times-Roman@0 -SF 1.513(If this option is turned on in the EXINIT en)122 108 R 1.513 -(vironment v)-.4 F 1.512(ariables, or the system or $HOME)-.25 F .44 -(startup \214les, the local startup \214les are read, unless the)122 120 -R 2.941(ya)-.15 G .441(re the same as the system or $HOME)-2.941 F .868 -(startup \214les or f)122 132 R .867 -(ail to pass the standard permission checks.)-.1 F .867 -(See the section entitled \231)5.867 F F0(Startup)A(Inf)122 144 Q -(ormation)-.25 E F1 2.5<9a66>C(or more information.)-2.5 E F0 -(extended [off])97 168 Q F1 1.303(This option causes all re)122 180 R -1.304(gular e)-.15 F 1.304 -(xpressions to be treated as POSIX 1003.2 Extended Re)-.15 F(gular)-.15 -E(Expressions \(which are similar to historic)122 192 Q/F2 10 -/Times-Italic@0 SF -.4(eg)2.5 G -.37(re).4 G(p).37 E F1(\(1\) style e)A -(xpressions\).)-.15 E F0(\214lec [no default])97 216 Q F1 .608 -(This option adds the ability to do shell e)122 228 R .607 -(xpansion when entering input on the colon command)-.15 F 2.852 -(line. This)122 240 R .352(option is set to a string.)2.852 F(Whene) -5.352 E -.15(ve)-.25 G 2.852(rt).15 G .352 -(he \214rst character of that string is entered on the)-2.852 F .748(colon command line, the <blank> delimited string immediately before the cursor is e) -122 252 R(xpanded)-.15 E .588(as if it were follo)122 264 R .589 -(wed by a)-.25 F/F3 10/Courier@0 SF(*)3.089 E F1(character)3.089 E 3.089 -(,a)-.4 G .589(nd \214le name e)-3.089 F .589(xpansion for the)-.15 F F0 -(ex)3.089 E F1 .589(edit command w)3.089 F(as)-.1 E 3.709(done. If)122 -276 R 1.208(no match is found, the screen is \215ashed and te)3.709 F -1.208(xt input resumed.)-.15 F 1.208(If a single match)6.208 F .912 -(results, that match replaces the e)122 288 R .912(xpanded te)-.15 F -3.412(xt. In)-.15 F .912(addition, if the single match is for a direc-) -3.412 F(tory)122 300 Q 3.564(,a)-.65 G F3(/)A F1 1.063 -(character is appended and \214le completion is repeated.)3.563 F 1.063 -(If more than a single match)6.063 F 1.054(results, an)122 312 R 3.554 -(yu)-.15 G 1.054(nique pre\214x shared by the matches replaces the e) --3.554 F 1.055(xpanded te)-.15 F 1.055(xt, the matches are)-.15 F -(displayed, and te)122 324 Q(xt input resumed.)-.15 E 1.349(Because of) -122 348 R F0(vi)3.849 E F1 2.448 -.55('s p)D 1.348 -(arsing rules, it can be dif).55 F 1.348 -(\214cult to set the path completion character to tw)-.25 F(o)-.1 E -6.253(command v)122 360 R(alues,)-.25 E F3(<escape>)8.753 E F1(and)8.753 -E F3(<tab>)8.753 E F1 11.254(.T)C 8.754(os)-12.054 G 6.254(et it to) --8.754 F F3(<escape>)8.754 E F1 8.754(,u)C 6.254(se \231)-8.754 F F3 -(set)A(filec=<literal-next><escape>)122 372 Q F1 14.505(\232. T)B 14.505 -(os)-.8 G 12.004(et it to)-14.505 F F3(<tab>)14.504 E F1 14.504(,u)C -12.004(se \231)-14.504 F F3(set)A(filec=\\<tab>)122 384 Q F1<9a2e>A .049 -(If the)122 408 R F0(cedit)2.549 E F1 .049 -(edit option is set to the same character as the)2.549 F F0(\214lec)2.55 -E F1 .05(edit option,)2.55 F F0(vi)2.55 E F1 .05(will perform colon)2.55 -F .528(command-line editing if the character is entered as the \214rst character of the line, otherwise,) -122 420 R F0(vi)3.028 E F1(will perform \214le name e)122 432 Q -(xpansion.)-.15 E F0(\215ash [on])97 456 Q F1 .309 -(This option causes the screen to \215ash instead of beeping the k)122 -468 R -.15(ey)-.1 G .309(board, on error).15 F 2.809(,i)-.4 G 2.809(ft) --2.809 G .309(he terminal)-2.809 F(has the capability)122 480 Q(.)-.65 E -F0(hardtabs, ht [8])97 504 Q F1 .562 -(This option de\214nes the spacing between hardw)122 516 R .561 -(are tab settings, i.e.)-.1 F .561(the tab e)5.561 F .561 -(xpansion done by)-.15 F .71 -(the operating system and/or the terminal itself.)122 528 R(As)5.711 E -F0(nex)3.211 E F1(/)A F0 -.4(nv)C(i).4 E F1(ne)3.211 E -.15(ve)-.25 G -3.211(rw).15 G(rites)-3.211 E F3(<tab>)3.211 E F1 .711(characters to) -3.211 F(the terminal, unlik)122 540 Q 2.5(eh)-.1 G(istoric v)-2.5 E -(ersions of)-.15 E F0(ex)2.5 E F1(/)A F0(vi)A F1 2.5(,t)C -(his option does not currently ha)-2.5 E .3 -.15(ve a)-.2 H .3 -.15 -(ny a).15 H -.25(ff).15 G(ect.).25 E F0(iclo)97 564 Q(wer [off])-.1 E F1 -(The)122 576 Q F0(iclo)3.416 E(wer)-.1 E F1 .916(edit option mak)3.416 F -.916(es all Re)-.1 F .915(gular Expressions case-insensiti)-.15 F -.15 -(ve)-.25 G 3.415(,a).15 G 3.415(sl)-3.415 G .915(ong as an upper)-3.415 -F(-)-.2 E(case letter does not appear in the search string.)122 588 Q F0 -(ignor)97 612 Q(ecase, ic [off])-.18 E F1 .601(This option causes re)122 -624 R .601(gular e)-.15 F .601(xpressions, both in)-.15 F F0(ex)3.101 E -F1 .602(commands and in searches, to be e)3.101 F -.25(va)-.25 G(luated) -.25 E(in a case-insensiti)122 636 Q .3 -.15(ve m)-.25 H(anner).15 E(.) --.55 E F0 -.1(ke)97 660 S(ytime [6]).1 E F1(The 10th')122 672 Q 2.5(so) --.55 G 2.5(fas)-2.5 G(econd)-2.5 E F0(ex)2.5 E F1(/)A F0(vi)A F1 -.1(wa) -2.5 G(its for a subsequent k).1 E .3 -.15(ey t)-.1 H 2.5(oc).15 G -(omplete a k)-2.5 E .3 -.15(ey m)-.1 H(apping.).15 E F0(leftright [off]) -97 696 Q -.37(Vi)122 708 S F1(only)3.98 E 6.11(.T)-.65 G 1.11 -(his option causes the screen to be scrolled left-right to vie)-6.11 F -3.61(wl)-.25 G 1.11(ines longer than the)-3.61 F 1.325 -(screen, instead of the traditional)122 720 R F0(vi)3.826 E F1 1.326 -(screen interf)3.826 F 1.326 -(ace which folds long lines at the right-hand)-.1 F EP -%%Page: 60 59 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 260.27(USD:13-60 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Options\))-.18 E/F1 10/Times-Roman@0 SF(mar)122 96 Q -(gin of the terminal.)-.18 E F0(lines, li [24])97 120 Q -.37(Vi)122 132 -S F1(only)2.979 E 5.109(.T)-.65 G .109 -(he number of lines in the screen.)-5.109 F .108 -(Setting this option causes)5.108 F F0(ex)2.608 E F1(/)A F0(vi)A F1 .108 -(to set \(or reset\) the)2.608 F(en)122 144 Q .905(vironmental v)-.4 F -(ariable)-.25 E/F2 10/Courier@0 SF(LINES)3.405 E F1 5.906(.S)C .906 -(ee the section entitled \231)-5.906 F F0 .906(Sizing the Scr)B(een)-.18 -E F1 3.406<9a66>C .906(or more infor)-3.406 F(-)-.2 E(mation.)122 156 Q -F0(lisp [off])97 180 Q -.37(Vi)122 192 S F1(only)3.334 E 5.464(.T)-.65 G -.464(his option changes the beha)-5.464 F .464(vior of the)-.2 F F0 .464 -(vi \()2.964 F F1(,)A F0(\))2.964 E F1(,)A F0({)2.964 E F1(,)A F0(}) -2.964 E F1(,)A F0([[)2.964 E F1(and)2.964 E F0(]])2.964 E F1 .464 -(commands to match the)2.964 F(Lisp language.)122 204 Q(Also, the)5 E F0 -(autoindent)2.5 E F1(option')2.5 E 2.5(sb)-.55 G(eha)-2.5 E -(vior is changed to be appropriate for Lisp.)-.2 E/F3 10/Times-Italic@0 -SF(This option is not yet implemented.)122 228 Q F0(list [off])97 252 Q -F1 .377(This option causes lines to be displayed in an unambiguous f)122 -264 R 2.877(ashion. Speci\214cally)-.1 F 2.877(,t)-.65 G .378 -(abs are dis-)-2.877 F(played as control characters, i.e.)122 276 Q<99>5 -E F2(^I)A F1(\232, and the ends of lines are mark)A(ed with a \231)-.1 E -F2($)A F1 2.5<9a63>C(haracter)-2.5 E(.)-.55 E F0(lock [on])97 300 Q F1 -.554(This option causes the editor to attempt to get an e)122 312 R -(xclusi)-.15 E .853 -.15(ve l)-.25 H .553(ock on an).15 F 3.053<798c> --.15 G .553(le being edited, read)-3.053 F .171(or written.)122 324 R -.171(Reading or writing a \214le that cannot be lock)5.171 F .171 -(ed produces a w)-.1 F .172(arning message, b)-.1 F .172(ut no)-.2 F -1.014(other ef)122 336 R 3.514(fect. Editing)-.25 F 3.514<618c>3.514 G -1.014(le that cannot be lock)-3.514 F 1.013 -(ed results in a read only edit session, as if the)-.1 F F0 -.18(re)122 -348 S(adonly).18 E F1(edit option were set.)2.5 E F0(magic [on])97 372 Q -F1 .538(This option is on by def)122 384 R 3.039(ault. T)-.1 F .539 -(urning the)-.45 F F0(magic)3.039 E F1 .539(option of)3.039 F 3.039(fc) --.25 G .539(auses all re)-3.039 F .539(gular e)-.15 F .539 -(xpression char)-.15 F(-)-.2 E 1.369(acters e)122 396 R 1.369 -(xcept for \231)-.15 F F2(^)A F1 3.869<9a61>C 1.369(nd \231)-3.869 F F2 -($)A F1 1.369(\232, to be treated as ordinary characters.)B 2.968 -.8 -(To r)6.368 H 1.368(e-enable characters).8 F(indi)122 408 Q(vidually) --.25 E 3.135(,w)-.65 G .635(hen the)-3.135 F F0(magic)3.135 E F1 .635 -(option is of)3.135 F .635(f, precede them with a backslash \231)-.25 F -F2(\\)A F1 3.135<9a63>C(haracter)-3.135 E 5.635(.S)-.55 G(ee)-5.635 E -(the section entitled \231)122 420 Q F0(Regular Expr)A -(essions and Replacement Strings)-.18 E F1 2.5<9a66>C -(or more information.)-2.5 E F0(matchtime [7])97 444 Q -.37(Vi)122 456 S -F1(only)4.175 E 6.305(.T)-.65 G 1.305(he 10th')-6.305 F 3.805(so)-.55 G -3.805(fas)-3.805 G(econd)-3.805 E F0(vi)3.805 E F1 1.304 -(pauses on the matching character when the)3.805 F F0(sho)3.804 E -(wmatch)-.1 E F1(option is set.)122 468 Q F0(mesg [on])97 492 Q F1 .373 -(This option allo)122 504 R .373 -(ws other users to contact you using the)-.25 F F3(talk)2.873 E F1 .374 -(\(1\) and)B F3(write)2.874 E F1 .374(\(1\) utilities, while you)B .718 -(are editing.)122 516 R F0(Ex)5.718 E F1(/)A F0(vi)A F1 .718 -(does not turn message on, i.e. if messages were turned of)3.218 F 3.217 -(fw)-.25 G .717(hen the editor)-3.217 F -.1(wa)122 528 S 2.99(si).1 G --1.9 -.4(nv o)-2.99 H -.1(ke).4 G .49(d, the).1 F 2.99(yw)-.15 G .49 -(ill stay turned of)-2.99 F 2.991(f. This)-.25 F .491 -(option only permits you to disallo)2.991 F 2.991(wm)-.25 G .491 -(essages for)-2.991 F(the edit session.)122 540 Q(See the)5 E F3(mesg) -2.5 E F1(\(1\) utility for more information.)A F0(msgcat [./])97 564 Q -F1 .081(This option selects a message catalog to be used to display error and informational messages in) -122 576 R 3.268(as)122 588 S .768(peci\214ed language.)-3.268 F .768 -(If the v)5.768 F .769 -(alue of this option ends with a '/', it is treated as the name of a) --.25 F 2.026(directory that contains a message catalog \231)122 600 R F2 -(vi_XXXX)A F1 2.025(\232, where \231)B F2(XXXX)A F1 4.525<9a69>C 4.525 -(st)-4.525 G 2.025(he v)-4.525 F 2.025(alue of the)-.25 F F2(LANG)122 -612 Q F1(en)4.028 E 1.528(vironmental v)-.4 F 1.528(ariable, if it')-.25 -F 4.028(ss)-.55 G 1.528(et, or the v)-4.028 F 1.529(alue of the)-.25 F -F2(LC_MESSAGES)4.029 E F1(en)4.029 E(vironmental)-.4 E -.25(va)122 624 S -.596(riable if it').25 F 3.096(sn)-.55 G 3.096(ot. If)-3.096 F .596 -(neither of those en)3.096 F .596(vironmental v)-.4 F .595 -(ariables are set, or if the option doesn')-.25 F(t)-.18 E(end in a '/', the option is treated as the full path name of the message catalog to use.) -122 636 Q(If an)122 660 Q 2.5(ym)-.15 G -(essages are missing from the catalog, the backup te)-2.5 E -(xt \(English\) is used instead.)-.15 E 3.118(See the distrib)122 684 R -3.118(ution \214le)-.2 F F2(catalog/README)5.618 E F1 3.118 -(for additional information on b)5.618 F 3.118(uilding and)-.2 F -(installing message catalogs.)122 696 Q EP -%%Page: 61 60 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Options\))-.18 E -(USD:13-61)262.77 E(modelines, modeline [off])97 96 Q/F1 10 -/Times-Roman@0 SF .292(If the)122 108 R F0(modelines)2.792 E F1 .292 -(option is set,)2.792 F F0(ex)2.792 E F1(/)A F0(vi)A F1 .292 -(has historically scanned the \214rst and last \214v)2.792 F 2.791(el) --.15 G .291(ines of each)-2.791 F .358 -(\214le as it is read for editing, looking for an)122 120 R(y)-.15 E F0 -(ex)2.858 E F1 .358(commands that ha)2.858 F .658 -.15(ve b)-.2 H .358 -(een placed in those lines.).15 F .204(After the startup information has been processed, and before the user starts editing the \214le, an) -122 132 R(y)-.15 E(commands embedded in the \214le are e)122 144 Q -.15 -(xe)-.15 G(cuted.).15 E .624 -(Commands were recognized by the letters \231e\232 or \231v\232 follo) -122 168 R .625(wed by \231x\232 or \231i\232, at the be)-.25 F(ginning) --.15 E 1.263(of a line or follo)122 180 R 1.262 -(wing a tab or space character)-.25 F 3.762(,a)-.4 G 1.262(nd follo) --3.762 F 1.262(wed by a \231:\232, an)-.25 F F0(ex)3.762 E F1 1.262 -(command, and)3.762 F(another \231:\232.)122 192 Q .886(This option is a security problem of immense proportions, and should not be used under an) -122 216 R(y)-.15 E(circumstances.)122 228 Q/F2 10/Times-Italic@0 SF -(This option will ne)122 252 Q(ver be implemented.)-.15 E F0 -(noprint [""])97 276 Q F1 1.226(Characters that are ne)122 288 R -.15 -(ve)-.25 G 3.726(rh).15 G 1.225(andled as printable characters.)-3.726 F -1.225(By def)6.225 F 1.225(ault, the C library function)-.1 F F2 -(isprint)122 300 Q F1 .355 -(\(3\) is used to determine if a character is printable or not.)B .355 -(This edit option o)5.355 F -.15(ve)-.15 G .355(rrides that).15 F -(decision.)122 312 Q F0(number)97 336 Q 2.5(,n)-.92 G 2.5(u[)-2.5 G -(off])-2.5 E F1 -(Precede each line displayed with its current line number)122 348 Q(.) --.55 E F0(octal [off])97 372 Q F1 1.337(Display unkno)122 384 R 1.337 -(wn characters as octal numbers \(\231)-.25 F/F3 10/Courier@0 SF(\\###)A -F1 1.336(\232\), instead of the def)B 1.336(ault he)-.1 F(xadecimal)-.15 -E<2899>122 396 Q F3(\\x##)A F1<9a292e>A F0(open [on])97 420 Q(Ex)122 432 -Q F1(only)2.5 E 5(.I)-.65 G 2.5(ft)-5 G(his option is not set, the)-2.5 -E F0(open)2.5 E F1(and)2.5 E F0(visual)2.5 E F1(commands are disallo)2.5 -E(wed.)-.25 E F0(optimize, opt [on])97 456 Q -.37(Vi)122 468 S F1(only) -3.704 E 5.834(.T)-.65 G .834(hroughput of te)-5.834 F .834(xt is e)-.15 -F .835(xpedited by setting the terminal not to do automatic carriage) --.15 F .364(returns when printing more than one \(logical\) line of output, greatly speeding output on termi-) -122 480 R(nals without addressable cursors when te)122 492 Q -(xt with leading white space is printed.)-.15 E F2 -(This option is not yet implemented.)122 516 Q F0 -(paragraphs, para [IPLPPPQPP LIpplpipbp])97 540 Q -.37(Vi)122 552 S F1 -(only)3.4 E 5.53(.D)-.65 G .53 -(e\214ne additional paragraph boundaries for the)-5.53 F F0({)3.03 E F1 -(and)3.03 E F0(})3.03 E F1 3.03(commands. The)3.03 F -.25(va)3.03 G .53 -(lue of this).25 F(option must be a character string consisting of zero or more character pairs.) -122 564 Q 1.004(In the te)122 588 R 1.004 -(xt to be edited, the character string)-.15 F F3(<newline>.<char-pair>) -3.503 E F1 3.503(,\()C(where)-3.503 E F3(<char-)3.503 E(pair>)122 600 Q -F1 .745(is one of the character pairs in the option')3.245 F 3.245(sv) --.55 G .746(alue\) de\214nes a paragraph boundary)-3.495 F 5.746(.F)-.65 -G(or)-5.896 E -.15(ex)122 612 S .508(ample, if the option were set to) -.15 F F3(LaA<space>##)3.008 E F1 3.008(,t)C .508(hen all of the follo) --3.008 F .507(wing additional para-)-.25 F(graph boundaries w)122 624 Q -(ould be recognized:)-.1 E(<ne)162 652.2 Q(wline>.La)-.25 E(<ne)162 -664.2 Q(wline>.A<space>)-.25 E(<ne)162 676.2 Q(wline>.##)-.25 E F0 -(print [""])97 704.4 Q F1 .782(Characters that are al)122 716.4 R -.1 -(wa)-.1 G .782(ys handled as printable characters.).1 F .782(By def) -5.782 F .783(ault, the C library function)-.1 F EP -%%Page: 62 61 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 260.27(USD:13-62 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Options\))-.18 E/F1 10/Times-Italic@0 SF(isprint)122 96 Q/F2 10 -/Times-Roman@0 SF .355 -(\(3\) is used to determine if a character is printable or not.)B .355 -(This edit option o)5.355 F -.15(ve)-.15 G .355(rrides that).15 F -(decision.)122 108 Q F0(pr)97 132 Q(ompt [on])-.18 E(Ex)122 144 Q F2 -(only)2.975 E 5.475(.T)-.65 G .475(his option causes)-5.475 F F0(ex) -2.975 E F2 .475(to prompt for command input with a \231)2.975 F/F3 10 -/Courier@0 SF(:)A F2 2.976<9a63>C .476(haracter; when it is)-2.976 F -(not set, no prompt is displayed.)122 156 Q F0 -.18(re)97 180 S(adonly) -.18 E 2.5(,r)-.55 G 2.5(o[)-2.68 G(off])-2.5 E F2 .328(This option causes a force \215ag to be required to attempt to write the \214le.) -122 192 R .328(Setting this option is)5.328 F(equi)122 204 Q -.25(va) --.25 G .66(lent to using the).25 F F0<ad52>3.16 E F2 .661 -(command line option, or e)3.16 F -.15(xe)-.15 G .661(cuting the).15 F -F0(vi)3.161 E F2 .661(program using the name)3.161 F F0(view)122 216 Q -F2(.)A(The)122 240 Q F0 -.18(re)2.866 G(adonly).18 E F2 .366 -(edit option is not usually persistent, lik)2.866 F 2.865(eo)-.1 G .365 -(ther edit options.)-2.865 F .365(If the)5.365 F F0<ad52>2.865 E F2 -(command)2.865 E .717(line option is set,)122 252 R F0(vi)3.217 E F2 -.717(is e)3.217 F -.15(xe)-.15 G .717(cuted as).15 F F0(view)3.217 E F2 -3.217(,o)C 3.217(rt)-3.217 G(he)-3.217 E F0 -.18(re)3.217 G(adonly).18 E -F2 .717(edit option is e)3.217 F .718(xplicitly set, all \214les)-.15 F -.379(edited in the screen will be mark)122 264 R .379(ed readonly)-.1 F -2.879(,a)-.65 G .379 -(nd the force \215ag will be required to write them.)-2.879 F(Ho)122 276 -Q(we)-.25 E -.15(ve)-.25 G 1.694 -.4(r, i).15 H 3.394(fn).4 G .895 -(one of these conditions are true, or the)-3.394 F F0 -.18(re)3.395 G -(adonly).18 E F2 .895(edit option is e)3.395 F .895(xplicitly unset,) --.15 F .906(then the)122 288 R F0 -.18(re)3.406 G(adonly).18 E F2 .906(edit option will toggle based on the write permissions of the \214le currently) -3.406 F 1.405(being edited as of when it is loaded into the edit b)122 -300 R(uf)-.2 E(fer)-.25 E 6.405(.I)-.55 G 3.905(no)-6.405 G 1.405 -(ther w)-3.905 F 1.405(ords, the)-.1 F F0 -.18(re)3.905 G(adonly).18 E -F2(edit)3.905 E .546(option will be set if the current \214le lacks write permissions, and will not be set if the user has) -122 312 R(write permissions for the \214le.)122 324 Q F0 -.18(re)97 348 -S(cdir [/v).18 E(ar/tmp/vi.r)-.1 E(eco)-.18 E -.1(ve)-.1 G(r]).1 E F2 -(The directory where reco)122 360 Q -.15(ve)-.15 G -(ry \214les are stored.).15 E .06(If you change the v)122 384 R .06 -(alue of)-.25 F F0 -.18(re)2.56 G(cdir).18 E F2 2.56(,b)C 2.561(ec)-2.56 -G .061(areful to choose a directory whose contents are not re)-2.561 F -(gu-)-.15 E .341(larly deleted.)122 396 R .341 -(Bad choices include directories in memory based \214lesystems, or)5.341 -F F3(/tmp)2.84 E F2 2.84(,o)C 2.84(nm)-2.84 G(ost)-2.84 E -(systems, as their contents are remo)122 408 Q -.15(ve)-.15 G 2.5(dw).15 -G(hen the machine is rebooted.)-2.5 E .535(Public directories lik)122 -432 R(e)-.1 E F3(/usr/tmp)3.035 E F2(and)3.035 E F3(/var/tmp)3.035 E F2 -.535(are usually safe, although some sites peri-)3.035 F 1.106 -(odically prune old \214les from them.)122 444 R 1.106 -(There is no requirement that you use a public directory)6.106 F(,)-.65 -E(e.g. a sub-directory of your home directory will w)122 456 Q -(ork \214ne.)-.1 E(Finally)122 480 Q 3.409(,i)-.65 G 3.409(fy)-3.409 G -.909(ou change the v)-3.409 F .909(alue of)-.25 F F0 -.18(re)3.409 G -(cdir).18 E F2 3.409(,y)C .909(ou must modify the reco)-3.409 F -.15(ve) --.15 G .91(ry script to operate in).15 F(your chosen reco)122 492 Q -.15 -(ve)-.15 G(ry area.).15 E(See the section entitled \231)122 516 Q F0 -(Reco)A -.1(ve)-.1 G(ry).1 E F2 2.5<9a66>C(or further information.)-2.5 -E F0 -.18(re)97 540 S(draw).18 E 2.5(,r)-.55 G 2.5(e[)-2.68 G(off])-2.5 -E -.37(Vi)122 552 S F2(only)4.457 E 6.587(.T)-.65 G 1.586(he editor simulates \(using great amounts of output\), an intelligent terminal on a) --6.587 F .06(dumb terminal \(e.g. during insertions in)122 564 R F0(vi) -2.56 E F2 .061(the characters to the right of the cursor are refreshed) -2.561 F(as each input character is typed\).)122 576 Q F1 -(This option is not yet implemented.)122 600 Q F0 -.18(re)97 624 S -(map [on]).18 E F2 .692(If this option is set, it is possible to de\214ne macros in terms of other macros.) -122 636 R .691(Otherwise, each)5.691 F -.1(ke)122 648 S 4.36(yi)-.05 G -4.36(so)-4.36 G 1.86(nly remapped up to one time.)-4.36 F -.15(Fo)6.86 G -4.361(re).15 G 1.861(xample, if \231)-4.511 F F3(A)A F2 4.361<9a69>C -4.361(sm)-4.361 G 1.861(apped to \231)-4.361 F F3(B)A F2 1.861 -(\232, and \231)B F3(B)A F2 4.361<9a69>C(s)-4.361 E .029(mapped to \231) -122 660 R F3(C)A F2 .029(\232, The k)B -.15(ey)-.1 G(strok).15 E 2.529 -<6599>-.1 G F3(A)-2.529 E F2 2.529<9a77>C .029(ill be mapped to \231) --2.529 F F3(C)A F2 2.528<9a69>C 2.528(ft)-2.528 G(he)-2.528 E F0 -.18 -(re)2.528 G(map).18 E F2 .028(option is set, and to \231)2.528 F F3(B)A -F2<9a>A(if it is not set.)122 672 Q F0 -.18(re)97 696 S(port [5]).18 E -F2 .798(Set the threshold of the number of lines that need to be changed or yank) -122 708 R .799(ed before a message)-.1 F 1.017 -(will be displayed to the user)122 720 R 6.017(.F)-.55 G 1.017(or e) --6.167 F -.15(ve)-.25 G 1.017(rything b).15 F 1.017 -(ut the yank command, the v)-.2 F 1.016(alue is the lar)-.25 F(gest)-.18 -E EP -%%Page: 63 62 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Options\))-.18 E -(USD:13-63)262.77 E/F1 10/Times-Roman@0 SF -.25(va)122 96 S .411 -(lue about which the editor is silent, i.e. by def).25 F .411 -(ault, 6 lines must be deleted before the user is)-.1 F 2.97 -(noti\214ed. Ho)122 108 R(we)-.25 E -.15(ve)-.25 G 1.27 -.4(r, i).15 H -2.97(ft).4 G .47(he number of lines yank)-2.97 F .469 -(ed is greater than)-.1 F/F2 10/Times-Italic@0 SF .469(or equal to)2.969 -F F1 .469(the set v)2.969 F .469(alue, it is)-.25 F -(reported to the user)122 120 Q(.)-.55 E F0(ruler [off])97 144 Q -.37 -(Vi)122 156 S F1(only)2.87 E 5(.D)-.65 G(isplay a ro)-5 E -(w/column ruler on the colon command line.)-.25 E F0(scr)97 180 Q -(oll, scr [\(en)-.18 E(vir)-.4 E(onment v)-.18 E -(ariable LINES - 1\) / 2])-.1 E F1 -(Set the number of lines scrolled by the)122 192 Q F0(ex <contr)2.5 E -(ol-D>)-.18 E F1(and)2.5 E F0(<end-of-\214le>)2.5 E F1(commands.)2.5 E -(Historically)122 216 Q 2.796(,t)-.65 G(he)-2.796 E F0 .296(ex z)2.796 F -F1 .296(command, when speci\214ed without a count, used tw)2.796 F 2.796 -(ot)-.1 G .297(imes the size of the)-2.796 F(scroll v)122 228 Q -(alue; the POSIX 1003.2 standard speci\214ed the windo)-.25 E 2.5(ws) --.25 G(ize, which is a better choice.)-2.5 E F0(sear)97 252 Q -(chincr [off])-.18 E F1(The)122 264 Q F0(sear)2.898 E(chincr)-.18 E F1 -.398(edit option mak)2.898 F .397(es the search commands)-.1 F F0(/) -2.897 E F1(and)2.897 E F0(?)2.897 E F1 .397 -(incremental, i.e. the screen is)5.397 F 1.685 -(updated and the cursor mo)122 276 R -.15(ve)-.15 G 4.185(st).15 G 4.185 -(ot)-4.185 G 1.686(he matching te)-4.185 F 1.686 -(xt as the search pattern is entered.)-.15 F 1.686(If the)6.686 F .176(search pattern is not found, the screen is beeped and the cursor remains on the colon-command) -122 288 R 3.182(line. Erasing)122 300 R .683 -(characters from the search pattern backs the cursor up to the pre)3.182 -F .683(vious matching)-.25 F(te)122 312 Q(xt.)-.15 E F0 -(sections, sect [NHSHH HUnhsh])97 336 Q -.37(Vi)122 348 S F1(only)3.01 E -5.14(.D)-.65 G .14(e\214ne additional section boundaries for the)-5.14 F -F0([[)2.64 E F1(and)2.64 E F0(]])2.64 E F1 2.64(commands. The)2.64 F F0 -(sections)2.64 E F1(option)2.64 E .525(should be set to a character string consisting of zero or more character pairs.) -122 360 R .526(In the te)5.526 F .526(xt to be)-.15 F 1.025 -(edited, the character string)122 372 R/F3 10/Courier@0 SF -(<newline>.<char-pair>)3.525 E F1 3.524(,\()C(where)-3.524 E F3 -(<char-pair>)3.524 E F1 1.024(is one of)3.524 F .821 -(the character pairs in the option')122 384 R 3.321(sv)-.55 G .822 -(alue\), de\214nes a section boundary in the same manner that)-3.571 F -F0(paragraph)122 396 Q F1(option boundaries are de\214ned.)2.5 E F0 -(secur)97 420 Q 2.5(e[)-.18 G(off])-2.5 E F1(The)122 432 Q F0(secur) -3.038 E(e)-.18 E F1 .538(edit option turns of)3.038 F 3.038(fa)-.25 G -.538(ll access to e)-3.038 F .538(xternal programs.)-.15 F .538 -(This means that the v)5.538 F(ersions)-.15 E .116(of the)122 444 R F0 --.18(re)2.616 G(ad).18 E F1(and)2.617 E F0(write)2.617 E F1 .117 -(commands that \214lter te)2.617 F .117(xt through other programs, the) --.15 F F0 .117(vi !)2.617 F F1(and)5.117 E F0(<contr)2.617 E(ol-)-.18 E -(Z>)122 456 Q F1 .938(commands, the)3.438 F F0 .938(ex !)3.438 F F1(,)A -F0(script)3.438 E F1(,)A F0(shell)3.438 E F1(,)A F0(stop)3.438 E F1(and) -3.438 E F0(suspend)3.438 E F1 .938(commands and \214le name e)3.438 F -(xpansion)-.15 E(will not be permitted.)122 468 Q(Once set, the)5 E F0 -(secur)2.5 E(e)-.18 E F1(edit option may not be unset.)2.5 E F0 -(shell, sh [en)97 492 Q(vir)-.4 E(onment v)-.18 E -(ariable SHELL, or /bin/sh])-.1 E F1 .504 -(Select the shell used by the editor)122 504 R 5.504(.T)-.55 G .504 -(he speci\214ed path is the pathname of the shell in)-5.504 F -.2(vo)-.4 -G -.1(ke).2 G 3.005(db).1 G(y)-3.005 E(the)122 516 Q F0 1.068(vi !)3.568 -F F1 1.068(shell escape command and by the)6.068 F F0 1.068(ex shell) -3.568 F F1 3.567(command. This)3.568 F 1.067(program is also used to) -3.567 F(resolv)122 528 Q 2.5(ea)-.15 G .3 -.15(ny s)-2.5 H -(hell meta-characters in).15 E F0(ex)2.5 E F1(commands.)2.5 E F0 -(shellmeta [~{[*?$`'"\\])97 552 Q F1 .647(The set of characters that)122 -564 R F0(ex)3.147 E F1 .648(checks for when doing \214le name e)3.147 F -3.148(xpansion. If)-.15 F(an)3.148 E 3.148(yo)-.15 G 3.148(ft)-3.148 G -.648(he speci-)-3.148 F 1.089 -(\214ed characters are found in the \214le name ar)122 576 R 1.089 -(guments to the)-.18 F F0(ex)3.588 E F1 1.088(commands, the ar)3.588 F -1.088(guments are)-.18 F -.15(ex)122 588 S 1.506 -(panded using the program de\214ned by the).15 F F0(shell)4.006 E F1 -4.006(option. The)4.006 F(def)4.006 E 1.506(ault set of characters is a) --.1 F(union of meta characters from the V)122 600 Q -(ersion 7 and the Berk)-1.11 E(ele)-.1 E 2.5(yCs)-.15 G(hell.)-2.5 E F0 -(shiftwidth, sw [8])97 624 Q F1 .103 -(Set the autoindent and shift command indentation width.)122 636 R .103 -(This width is used by the)5.103 F F0(autoindent)2.602 E F1 -(option and by the)122 648 Q F0(<)2.5 E F1(,)A F0(>)2.5 E F1 2.5(,a)C -(nd)-2.5 E F0(shift)2.5 E F1(commands.)2.5 E F0(sho)97 672 Q -(wmatch, sm [off])-.1 E -.37(Vi)122 684 S F1(only)3.841 E 5.971(.T)-.65 -G .971(his option causes)-5.971 F F0(vi)3.471 E F1 3.471(,w)C .972 -(hen a \231)-3.471 F F3(})A F1 3.472<9a6f>C 3.472<7299>-3.472 G F3(\)) --3.472 E F1 3.472<9a69>C 3.472(se)-3.472 G .972(ntered, to brie\215y mo) --3.472 F 1.272 -.15(ve t)-.15 H .972(he cursor the).15 F(matching \231) -122 696 Q F3({)A F1 2.5<9a6f>C 2.5<7299>-2.5 G F3(\()-2.5 E F1 2.5 -(\232. See)B(the)2.5 E F0(matchtime)2.5 E F1 -(option for more information.)2.5 E EP -%%Page: 64 63 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 260.27(USD:13-64 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Options\))-.18 E(sho)97 96 Q(wmode [off])-.1 E -.37(Vi)122 108 S -/F1 10/Times-Roman@0 SF(only)3.929 E 6.059(.T)-.65 G 1.058 -(his option causes)-6.059 F F0(vi)3.558 E F1 1.058 -(to display a string identifying the current editor mode on the)3.558 F -.43(colon command line.)122 120 R .43 -(The string is preceded by an asterisk \(`)5.43 F(`*')-.74 E .43 -('\) if the \214le has been modi\214ed)-.74 F(since it w)122 132 Q -(as last completely written,)-.1 E F0(sidescr)97 156 Q(oll [16])-.18 E --.37(Vi)122 168 S F1(only)3.294 E 5.424(.S)-.65 G .424 -(ets the number of columns that are shifted to the left or right, when) --5.424 F F0(vi)2.923 E F1 .423(is doing left-)2.923 F .568 -(right scrolling and the left or right mar)122 180 R .569 -(gin is crossed.)-.18 F .569(See the)5.569 F F0(leftright)3.069 E F1 -.569(option for more infor)3.069 F(-)-.2 E(mation.)122 192 Q F0(slo)97 -216 Q -.1(wo)-.1 G(pen, slo).1 E 2.5(w[)-.1 G(off])-2.5 E F1 .438 -(This option af)122 228 R .437(fects the display algorithm used by)-.25 -F F0(vi)2.937 E F1 2.937(,h)C .437(olding of)-2.937 F 2.937(fd)-.25 G -.437(isplay updating during input)-2.937 F(of ne)122 240 Q 2.5(wt)-.25 G --.15(ex)-2.5 G 2.5(tt).15 G 2.5(oi)-2.5 G(mpro)-2.5 E .3 -.15(ve t)-.15 -H(hroughput when the terminal in use is slo).15 E 2.5(wa)-.25 G -(nd unintelligent.)-2.5 E/F2 10/Times-Italic@0 SF -(This option is not yet implemented.)122 264 Q F0(sour)97 288 Q -(ceany [off])-.18 E F1 .612(If this option is turned on,)122 300 R F0 -(vi)3.112 E F1 .612(historically read startup \214les that were o)3.112 -F .612(wned by someone other)-.25 F 1.465(than the editor user)122 312 R -6.464(.S)-.55 G 1.464(ee the section entitled \231)-6.464 F F0 1.464 -(Startup Inf)B(ormation)-.25 E F1 3.964<9a66>C 1.464 -(or more information.)-3.964 F .886(This option is a security problem of immense proportions, and should not be used under an) -122 324 R(y)-.15 E(circumstances.)122 336 Q F2(This option will ne)122 -360 Q(ver be implemented.)-.15 E F0(tabstop, ts [8])97 384 Q F1 -(This option sets tab widths for the editor display)122 396 Q(.)-.65 E -F0(taglength, tl [0])97 420 Q F1 1.416(This option sets the maximum number of characters that are considered signi\214cant in a tag) -122 432 R 2.5(name. Setting)122 444 R(the v)2.5 E(alue to 0 mak)-.25 E -(es all of the characters in the tag name signi\214cant.)-.1 E F0 -(tags, tag [tags /v)97 468 Q(ar/db/libc.tags /sys/k)-.1 E(er)-.1 E -(n/tags])-.15 E F1(Sets the list of tags \214les, in search order)122 -480 Q 2.5(,w)-.4 G(hich are used when the editor searches for a tag.) --2.5 E F0(term, ttytype, tty [en)97 504 Q(vir)-.4 E(onment v)-.18 E -(ariable TERM])-.1 E F1 .568(Set the terminal type.)122 516 R .568 -(Setting this option causes)5.568 F F0(ex)3.068 E F1(/)A F0(vi)A F1 .568 -(to set \(or reset\) the en)3.068 F .568(vironmental v)-.4 F(ari-)-.25 E -(able)122 528 Q/F3 10/Courier@0 SF(TERM)2.5 E F1(.)A F0(terse [off])97 -552 Q F1 .589(This option has historically made editor messages less v) -122 564 R 3.089(erbose. It)-.15 F .588(has no ef)3.089 F .588 -(fect in this imple-)-.25 F 2.5(mentation. See)122 576 R(the)2.5 E F0 --.1(ve)2.5 G(rbose).1 E F1(option for more information.)2.5 E F0 -(tildeop)97 600 Q F1(Modify the)122 612 Q F0(~)2.5 E F1(command to tak) -2.5 E 2.5(ea)-.1 G 2.5(na)-2.5 G(ssociated motion.)-2.5 E F0 -(timeout, to [on])97 636 Q F1 1.057(If this option is set,)122 648 R F0 -(ex)3.558 E F1(/)A F0(vi)A F1 -.1(wa)3.558 G 1.058 -(its for a speci\214c period for a subsequent k).1 F 1.358 -.15(ey t)-.1 -H 3.558(oc).15 G 1.058(omplete a k)-3.558 F -.15(ey)-.1 G .694 -(mapping \(see the)122 660 R F0 -.1(ke)3.193 G(ytime).1 E F1 3.193 -(option\). If)3.193 F .693(the option is not set, the editor w)3.193 F -.693(aits until enough k)-.1 F -.15(ey)-.1 G(s).15 E -(are entered to resolv)122 672 Q 2.5(et)-.15 G(he ambiguity)-2.5 E 2.5 -(,r)-.65 G -2.25 -.15(eg a)-2.5 H(rdless of ho).15 E 2.5(wl)-.25 G -(ong it tak)-2.5 E(es.)-.1 E F0(ttywerase [off])97 696 Q -.37(Vi)122 708 -S F1(only)3.731 E 5.861(.T)-.65 G .861(his option changes ho)-5.861 F(w) --.25 E F0(vi)3.362 E F1 .862(does w)3.362 F .862(ord erase during te)-.1 -F .862(xt input.)-.15 F .862(If this option is set,)5.862 F(te)122 720 Q -.87(xt is brok)-.15 F .87(en up into tw)-.1 F 3.37(oc)-.1 G .87 -(lasses, blank characters and nonblank characters.)-3.37 F .87 -(Changing from)5.87 F EP -%%Page: 65 64 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q(ence \(Options\))-.18 E -(USD:13-65)262.77 E/F1 10/Times-Roman@0 SF -(one class to another marks the end of a w)122 96 Q(ord.)-.1 E F0 -.1 -(ve)97 120 S(rbose [off]).1 E -.37(Vi)122 132 S F1(only)3.328 E(.)-.65 E -F0 -.37(Vi)5.458 G F1 .459(historically bells the terminal for man)3.328 -F 2.959(yo)-.15 G -.15(bv)-2.959 G .459(ious mistak).15 F .459 -(es, e.g. trying to mo)-.1 F .759 -.15(ve p)-.15 H(ast).15 E .776 -(the left-hand mar)122 144 R .775(gin, or past the end of the \214le.) --.18 F .775(If this option is set, an error message is dis-)5.775 F -(played for all errors.)122 156 Q F0(w300 [no default])97 180 Q -.37(Vi) -122 192 S F1(only)3.49 E 5.62(.S)-.65 G .62(et the windo)-5.62 F 3.12 -(ws)-.25 G .621(ize if the baud rate is less than 1200 baud.)-3.12 F -.621(See the)5.621 F F0(windo)3.121 E(w)-.1 E F1(option)3.121 E -(for more information.)122 204 Q F0(w1200 [no default])97 228 Q -.37(Vi) -122 240 S F1(only)3.645 E 5.775(.S)-.65 G .775(et the windo)-5.775 F -3.275(ws)-.25 G .775(ize if the baud rate is equal to 1200 baud.)-3.275 -F .775(See the)5.775 F F0(windo)3.275 E(w)-.1 E F1(option)3.275 E -(for more information.)122 252 Q F0(w9600 [no default])97 276 Q -.37(Vi) -122 288 S F1(only)4.427 E 6.557(.S)-.65 G 1.557(et the windo)-6.557 F -4.057(ws)-.25 G 1.557(ize if the baud rate is greater than 1200 baud.) --4.057 F 1.557(See the)6.557 F F0(windo)4.058 E(w)-.1 E F1 -(option for more information.)122 300 Q F0(war)97 324 Q 2.5(n[)-.15 G -(on])-2.5 E(Ex)122 336 Q F1(only)3.317 E 5.817(.T)-.65 G .817 -(his option causes a w)-5.817 F .816 -(arning message to the terminal if the \214le has been modi\214ed,)-.1 F -(since it w)122 348 Q(as last written, before a)-.1 E F0(!)2.5 E F1 -(command.)5 E F0(windo)97 372 Q 1.1 -.55(w, w, w)-.1 H 2.5(i[).55 G(en) --2.5 E(vir)-.4 E(onment v)-.18 E(ariable LINES - 1])-.1 E F1 .742 -(This option determines the def)122 384 R .743 -(ault number of lines in a screenful, as displayed by the)-.1 F F0(z) -3.243 E F1(com-)3.243 E 3.393(mand. It)122 396 R .892 -(also determines the number of lines scrolled by the)3.393 F F0(vi)3.392 -E F1(commands)3.392 E F0(<contr)3.392 E(ol-B>)-.18 E F1(and)3.392 E F0 -(<contr)122 408 Q(ol-F>)-.18 E F1 3.418(,a)C .918(nd the def)-3.418 F -.918(ault number of lines scrolled by the)-.1 F F0(vi)3.419 E F1 -(commands)3.419 E F0(<contr)3.419 E(ol-D>)-.18 E F1(and)3.419 E F0 -(<contr)122 420 Q(ol-U>)-.18 E F1 5.61(.T)C .61(he v)-5.61 F .61 -(alue of windo)-.25 F 3.11(wc)-.25 G .609 -(an be unrelated to the real screen size, although it starts)-3.11 F -.083(out as the number of lines on the screen.)122 432 R .083 -(See the section entitled \231)5.083 F F0 .083(Sizing the Scr)B(een)-.18 -E F1 2.583<9a66>C .083(or more)-2.583 F 3.63(information. Setting)122 -444 R 1.13(the v)3.63 F 1.13(alue of the)-.25 F F0(windo)3.629 E(w)-.1 E -F1 1.129(option is the same as using the)3.629 F F0<ad77>3.629 E F1 -(command)3.629 E(line option.)122 456 Q .717(If the v)122 480 R .717 -(alue of the)-.25 F F0(windo)3.217 E(w)-.1 E F1 .717 -(option \(as set by the)3.217 F F0(windo)3.217 E(w)-.1 E F1(,)A F0(w300) -3.217 E F1(,)A F0(w1200)3.217 E F1(or)3.217 E F0(w9600)3.217 E F1 .718 -(options\) is)3.217 F .096 -(smaller than the actual size of the screen, lar)122 492 R .095 -(ge screen mo)-.18 F -.15(ve)-.15 G .095 -(ments will result in displaying only).15 F .182 -(that smaller number of lines on the screen.)122 504 R .182 -(\(Further mo)5.182 F -.15(ve)-.15 G .182 -(ments in that same area will result in).15 F .439 -(the screen being \214lled.\))122 516 R .438(This can pro)5.439 F .438 -(vide a performance impro)-.15 F -.15(ve)-.15 G .438(ment when vie).15 F -.438(wing dif)-.25 F(ferent)-.25 E(places in one or more \214les o)122 -528 Q -.15(ve)-.15 G 2.5(ras).15 G(lo)-2.5 E 2.5(wl)-.25 G(ink.)-2.5 E -.403(Resetting the windo)122 552 R 2.903(ws)-.25 G .403 -(ize does not reset the def)-2.903 F .404 -(ault number of lines scrolled by the)-.1 F F0(<contr)2.904 E(ol-)-.18 E -(D>)122 564 Q F1(and)2.5 E F0(<contr)2.5 E(ol-U>)-.18 E F1(commands.)2.5 -E F0(wraplen, wl [0])97 588 Q F1 .114(This option is identical to the) -122 600 R F0(wrapmar)2.613 E(gin)-.1 E F1 .113(option, with the e)2.613 -F .113(xception that it speci\214es the num-)-.15 F -(ber of columns from the)122 612 Q/F2 10/Times-Italic@0 SF(left)2.5 E F1 -(mar)2.5 E(gin before the line splits, not the right mar)-.18 E(gin.) --.18 E(If both)122 636 Q F0(wraplen)2.5 E F1(and)2.5 E F0(wrapmar)2.5 E -(gin)-.1 E F1(are set, the)2.5 E F0(wrapmar)2.5 E(gin)-.1 E F1 -.25(va) -2.5 G(lue is used.).25 E F0(wrapmar)97 660 Q(gin, wm [0])-.1 E -.37(Vi) -122 672 S F1(only)3.205 E 5.335(.I)-.65 G 2.835(ft)-5.335 G .335(he v) --2.835 F .335(alue of the)-.25 F F0(wrapmar)2.835 E(gin)-.1 E F1 .336 -(option is non-zero,)2.835 F F0(vi)2.836 E F1 .336 -(will split lines so that the)2.836 F 2.836(ye)-.15 G(nd)-2.836 E .175 -(at least that number of columns before the right-hand mar)122 684 R -.174(gin of the screen.)-.18 F .174(\(Note, the v)5.174 F .174(alue of) --.25 F F0(wrapmar)122 696 Q(gin)-.1 E F1(is)3.382 E F2(not)3.382 E F1 -3.382(at)3.382 G -.15(ex)-3.382 G 3.382(tl).15 G 3.382(ength. In)-3.382 -F 3.382(as)3.382 G .883(creen that is 80 columns wide, the command \231) --3.382 F/F3 10/Courier@0 SF(:set)A(wrapmargin=8)122 708 Q F1 2.5<9a61>C -(ttempts to k)-2.5 E -(eep the lines less than or equal to 72 columns wide.\))-.1 E EP -%%Page: 66 65 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 260.27(USD:13-66 Nvi/Nex)72 60 R(Refer)2.5 E -(ence \(Options\))-.18 E/F1 10/Times-Roman@0 SF .216 -(Lines are split at the pre)122 96 R .216 -(vious whitespace character closest to the number)-.25 F 5.215(.A)-.55 G -.515 -.15(ny t)-5.215 H .215(railing whites-).15 F 1.568 -(pace characters before that character are deleted.)122 108 R 1.568 -(If the line is split because of an inserted)6.568 F/F2 10/Courier@0 SF -(<space>)122 120 Q F1(or)2.5 E F2(<tab>)2.5 E F1(character)2.5 E 2.5(,a) --.4 G(nd you then enter another)-2.5 E F2(<space>)2.5 E F1(character)2.5 -E 2.5(,i)-.4 G 2.5(ti)-2.5 G 2.5(sd)-2.5 G(iscarded.)-2.5 E .389 -(If wrapmar)122 144 R .39(gin is set to 0, or if there is no blank character upon which to split the line, the line) --.18 F(is not brok)122 156 Q(en.)-.1 E(If both)122 180 Q F0(wraplen)2.5 -E F1(and)2.5 E F0(wrapmar)2.5 E(gin)-.1 E F1(are set, the)2.5 E F0 -(wrapmar)2.5 E(gin)-.1 E F1 -.25(va)2.5 G(lue is used.).25 E F0 -(wrapscan, ws [on])97 204 Q F1 .108 -(This option causes searches to wrap around the end or the be)122 216 R -.107(ginning of the \214le, and back to the)-.15 F(starting point.)122 -228 Q(Otherwise, the end or be)5 E -(ginning of the \214le terminates the search.)-.15 E F0(writeany)97 252 -Q 2.5(,w)-.55 G 2.5(a[)-2.5 G(off])-2.5 E F1 .904 -(If this option is set, \214le-o)122 264 R -.15(ve)-.15 G .905 -(rwriting checks that w).15 F .905(ould usually be made before the)-.1 F -F0(write)3.405 E F1(and)3.405 E F0(xit)122 276 Q F1 1.187 -(commands, or before an automatic write \(see the)3.688 F F0(auto)3.687 -E(write)-.1 E F1 1.187(option\), are not made.)3.687 F(This)6.187 E -(allo)122 288 Q(ws a write to an)-.25 E 2.5<798c>-.15 G(le, pro)-2.5 E -(vided the \214le permissions allo)-.15 E 2.5(wi)-.25 G(t.)-2.5 E EP -%%Page: 67 66 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF(Nvi/Nex Refer)72 60 Q 303.33(ence USD:13-67)-.18 -F 2.5(19. Index)97 96 R/F1 10/Times-Roman@0 SF 78.336(!2)97 112.2 S -(2, 43)-78.336 E 86.006("" 42)97 124.2 R 76.666(#2)97 136.2 S(2, 43) --76.666 E 91.666($2)97 148.2 S(3)-91.666 E 88.336(%2)97 160.2 S(3) --88.336 E 73.886(&2)97 172.2 S(3, 52)-73.886 E 93.336(\(2)97 184.2 S(4) --93.336 E 93.336(\)2)97 196.2 S(4)-93.336 E 91.666(*4)97 208.2 S(3) --91.666 E 91.026(+2)97 220.2 S(0)-91.026 E 94.166(,2)97 232.2 S(4) --94.166 E 75.826(/RE/ 25)97 244.2 R 91.666(02)97 256.2 S(6)-91.666 E -39.006(0<control-D> 39)97 268.2 R 93.886(:2)97 280.2 S(6)-93.886 E -93.886(;2)97 292.2 S(7)-93.886 E 76.026(<2)97 304.2 S(7, 43)-76.026 E -23.476(<carriage-return> 14)97 316.2 R 44.006(<control-A> 18)97 328.2 R -44.556(<control-B> 18)97 340.2 R 14.006(<control-D> 18,)97 352.2 R -(39, 42)2.5 E 45.116(<control-E> 18)97 364.2 R 45.666(<control-F> 18)97 -376.2 R 44.006(<control-G> 19)97 388.2 R 29.006(<control-H> 19,)97 400.2 -R(39)2.5 E 47.336(<control-J> 19)97 412.2 R 45.116(<control-L> 19)97 -424.2 R 42.336(<control-M> 19)97 436.2 R 44.006(<control-N> 19)97 448.2 -R 45.666(<control-P> 20)97 460.2 R 44.556(<control-R> 19)97 472.2 R -30.116(<control-T> 20,)97 484.2 R(39)2.5 E 44.006(<control-U> 20)97 -496.2 R 26.786(<control-W> 20,)97 508.2 R(39)2.5 E 44.006 -(<control-X> 39)97 520.2 R 44.006(<control-Y> 20)97 532.2 R 30.116 -(<control-Z> 21,)97 544.2 R(52)2.5 E 47.896(<control-]> 21)97 556.2 R -47.896(<control-^> 21)97 568.2 R 25.676(<end-of-\214le> 41,)97 580.2 R -(42)2.5 E 62.346(<erase> 39)97 592.2 R 41.236(<escape> 21,)97 604.2 R -(39)2.5 E 18.446(<interrupt> 13,)97 616.2 R(38, 40)2.5 E(<line erase>)97 -628.2 Q(39)47.346 E(<literal-ne)97 640.2 Q 24.156(xt> 13,)-.15 F(39)2.5 -E(<ne)97 652.2 Q 51.476(wline> 15)-.25 F 70.106(<nul> 39)97 664.2 R -60.676(<space> 21)97 676.2 R(<w)97 688.2 Q(ord erase>)-.1 E(39)41.896 E -91.026(=4)97 700.2 S(4)-91.026 E 76.026(>2)97 712.2 S(7, 44)-76.026 E -72.506(?RE? 25)97 724.2 R 72.456(@2)259.666 112.2 S(7, 43)-72.456 E -89.446(A2)259.666 124.2 S(7)-89.446 E 89.996(B2)259.666 136.2 S(7) --89.996 E 89.996(C2)259.666 148.2 S(8)-89.996 E 89.446(D2)259.666 160.2 -S(8)-89.446 E 90.556(E2)259.666 172.2 S(8)-90.556 E 91.106(F2)259.666 -184.2 S(8)-91.106 E 89.446(G2)259.666 196.2 S(9)-89.446 E 89.446(H2) -259.666 208.2 S(9)-89.446 E 93.336(I2)259.666 220.2 S(9)-93.336 E 92.776 -(J2)259.666 232.2 S(9)-92.776 E 90.556(L2)259.666 244.2 S(9)-90.556 E -87.776(M3)259.666 256.2 S(0)-87.776 E 89.446(N2)259.666 268.2 S(5) --89.446 E 89.446(O3)259.666 280.2 S(0)-89.446 E 91.106(P3)259.666 292.2 -S(0)-91.106 E 89.446(Q3)259.666 304.2 S(0)-89.446 E 89.996(R3)259.666 -316.2 S(0)-89.996 E 91.106(S3)259.666 328.2 S(1)-91.106 E 90.556(T3) -259.666 340.2 S(1)-90.556 E 89.446(U3)259.666 352.2 S(1)-89.446 E 87.226 -(W3)259.666 364.2 S(1)-87.226 E 89.446(X3)259.666 376.2 S(1)-89.446 E -89.446(Y3)259.666 388.2 S(2)-89.446 E 81.946(ZZ 32)259.666 400.2 R -87.506([[ 32)259.666 412.2 R 91.026<ad32>259.666 424.2 S(5)-91.026 E -87.506(]] 32)259.666 436.2 R 93.336(^3)259.666 448.2 S(2)-93.336 E -40.676(^<control-D> 39)259.666 460.2 R 91.666(_3)259.666 472.2 S(3) --91.666 E 42.916(`<character> 24)259.666 484.2 R 92.226(a3)259.666 496.2 -S(3)-92.226 E(abbre)259.666 508.2 Q 69.706(v4)-.25 G(4)-69.706 E -(alternate pathname)259.666 520.2 Q(13)20.856 E 56.406(altwerase 56) -259.666 532.2 R 65.286(append 45)259.666 544.2 R(ar)259.666 556.2 Q -77.686(gs 45)-.18 F 51.946(autoindent 56)259.666 568.2 R 58.056 -(autoprint 57)259.666 580.2 R(auto)259.666 592.2 Q 56.646(write 57)-.25 -F 91.666(b3)259.666 604.2 S(3)-91.666 E 65.286(backup 57)259.666 616.2 R -61.396(beautify 57)259.666 628.2 R 84.166(bg 45)259.666 640.2 R(bigw) -259.666 652.2 Q 60.936(ord 17)-.1 F -.2(bu)259.666 664.2 S -.25(ff).2 G -70.186(er 13).25 F 92.226(c3)259.666 676.2 S(3)-92.226 E 84.726(cd 45) -259.666 688.2 R 67.506(cdpath 57)259.666 700.2 R 74.726(cedit 58)259.666 -712.2 R 65.846(change 45)259.666 724.2 R 73.616(chdir 45)422.332 112.2 R -60.276(columns 58)422.332 124.2 R 56.946(comment 58)422.332 136.2 R(cop) -422.332 148.2 Q 77.326(y4)-.1 G(5)-77.326 E 56.946(count 16,)422.332 -160.2 R(41)2.5 E(current pathname)422.332 172.2 Q(13)26.966 E 91.666(d3) -422.332 184.2 S(3)-91.666 E 70.286(delete 46)422.332 196.2 R 58.066 -(directory 58)422.332 208.2 R 65.276(display 46)422.332 220.2 R 92.226 -(e3)422.332 232.2 S(4)-92.226 E 40.286(edcompatible 58)422.332 244.2 R -79.166(edit 46)422.332 256.2 R 55.846(errorbells 58)422.332 268.2 R -49.736(escapetime 58)422.332 280.2 R -.15(ex)422.332 292.2 S 77.106 -(rc 58).15 F -.15(ex)422.332 304.2 S 58.216(tended 59).15 F -.15(ex) -422.332 316.2 S 62.106(usage 46).15 F 93.336(f3)422.332 328.2 S(4) --93.336 E 85.836(fg 47)422.332 340.2 R 66.386(\214le 41,)422.332 352.2 R -(47)2.5 E 76.946(\214lec 59)422.332 364.2 R 75.276(\215ags 41)422.332 -376.2 R 75.276(\215ash 59)422.332 388.2 R 69.166(global 47)422.332 400.2 -R 60.286(hardtabs 59)422.332 412.2 R 76.946(help 47)422.332 424.2 R -93.886(i3)422.332 436.2 S(4)-93.886 E(iclo)422.332 448.2 Q 64.426 -(wer 59)-.25 F 51.406(ignorecase 59)422.332 460.2 R 71.946(insert 47) -422.332 472.2 R 93.886(j1)422.332 484.2 S(9)-93.886 E 78.606(join 48) -422.332 496.2 R 76.666(k2)422.332 508.2 S(0, 49)-76.666 E -.1(ke)422.332 -520.2 S 62.196(ytime 59)-.05 F 93.886(l2)422.332 532.2 S(1)-93.886 E -61.946(leftright 59)422.332 544.2 R 79.166(line 41)422.332 556.2 R -75.276(lines 60)422.332 568.2 R 79.716(lisp 60)422.332 580.2 R 66.936 -(list 48,)422.332 592.2 R(60)2.5 E 76.946(lock 60)422.332 604.2 R 88.886 -(m3)422.332 616.2 S(4)-88.886 E 69.726(magic 60)422.332 628.2 R 76.946 -(map 48)422.332 640.2 R 73.616(mark 49)422.332 652.2 R 51.946 -(matchtime 60)422.332 664.2 R 73.056(mesg 60)422.332 676.2 R(mk)422.332 -688.2 Q -.15(ex)-.1 G 64.426(rc 49).15 F 53.056(modelines 60)422.332 -700.2 R 65.826(motion 16)422.332 712.2 R(mo)422.332 724.2 Q 72.546 -.15 -(ve 4)-.15 H(9).15 E EP -%%Page: 68 67 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 303.33(USD:13-68 Nvi/Nex)72 60 R(Refer)2.5 E -(ence)-.18 E/F1 10/Times-Roman@0 SF 65.836(msgcat 60)97 96 R 91.666(n2) -97 108 S(5)-91.666 E(ne)97 120 Q 77.096(xt 49)-.15 F 65.276(noprint 61) -97 132 R 48.616(number 43,)97 144 R(61)2.5 E 91.666(o3)97 156 S(4) --91.666 E 74.726(octal 61)97 168 R 59.726(open 49,)97 180 R(61)2.5 E -59.166(optimize 61)97 192 R 91.666(p3)97 204 S(5)-91.666 E 54.186 -(paragraph 17)97 216 R 50.296(paragraphs 61)97 228 R(preserv)97 240 Q -62.946(e4)-.15 G(9)-62.946 E(pre)97 252 Q 59.976(vious 50)-.25 F(pre)97 -264 Q(vious conte)-.25 E 28.186(xt 16)-.15 F 60.276(print 50,)97 276 R -(61)2.5 E 65.276(prompt 62)97 288 R 81.386(put 50)97 300 R 78.606 -(quit 50)97 312 R 93.336(r3)97 324 S(5)-93.336 E 71.956(range 41)97 336 -R 76.956(read 50)97 348 R 59.176(readonly 62)97 360 R 70.846(recdir 62) -97 372 R(reco)97 384 Q -.15(ve)-.15 G 66.986(r5).15 G(1)-66.986 E(redra) -97 396 Q 69.056(w6)-.15 G(2)-69.056 E 69.176(remap 62)97 408 R 70.286 -(report 62)97 420 R 70.846(resize 51)97 432 R(re)97 444 Q 66.646 -(wind 51)-.25 F 75.286(ruler 63)97 456 R 92.776(s3)97 468 S(5)-92.776 E -71.946(scroll 63)97 480 R 53.076(searchincr 63)97 492 R 65.836 -(section 17)97 504 R 61.946(sections 63)97 516 R 68.626(secure 63)97 528 -R 59.736(sentence 17)97 540 R 83.056(set 51)97 552 R 60.276(shell 51,)97 -564 R(63)2.5 E 55.836(shellmeta 63)97 576 R 53.606(shiftwidth 63)97 588 -R(sho)97 600 Q 48.866(wmatch 63)-.25 F(sho)97 612 Q 51.086(wmode 63)-.25 -F 55.836(sidescroll 64)97 624 R(slo)97 636 Q -.1(wo)-.25 G 56.186 -(pen 64).1 F 68.066(source 52)97 648 R(sourcean)97 660 Q 56.276(y6)-.15 -G(4)-56.276 E 77.496(stop 52)97 672 R 55.826(substitute 52)97 684 R -61.946(suspend 52)97 696 R 78.886(t3)97 708 S(5, 45)-78.886 E 65.276 -(tabstop 64)97 720 R 81.946(tag 52)259.666 96 R 56.946(taglength 64) -259.666 108 R(tagne)259.666 120 Q 64.876(xt 53)-.15 F 66.946(tagpop 53) -259.666 132 R(tagpre)259.666 144 Q 66.926(v5)-.25 G(3)-66.926 E 78.056 -(tags 64)259.666 156 R 69.166(tagtop 53)259.666 168 R 75.836(term 64) -259.666 180 R 75.286(terse 64)259.666 192 R 66.386(tildeop 64)259.666 -204 R 63.606(timeout 64)259.666 216 R 55.846(ttywerase 64)259.666 228 R -91.666(u3)259.666 240 S(5)-91.666 E(unabbre)259.666 252 Q 59.706(v5)-.25 -G(4)-59.706 E 74.166(undo 54)259.666 264 R 66.946(unmap 54)259.666 276 R -(unnamed b)259.666 288 Q(uf)-.2 E 31.026(fer 14)-.25 F 91.666(v4)259.666 -300 S(7)-91.666 E -.15(ve)259.666 312 S 63.216(rbose 65).15 F -.15(ve) -259.666 324 S 64.876(rsion 54).15 F 70.276(visual 54)259.666 336 R -63.616(viusage 54)259.666 348 R 89.446(w3)259.666 360 S(6)-89.446 E -66.946(w1200 65)259.666 372 R 71.946(w300 65)259.666 384 R 66.946 -(w9600 65)259.666 396 R -.1(wa)259.666 408 S 74.276(rn 65).1 F 49.736 -(whitespace 14)259.666 420 R(windo)259.666 432 Q 64.696(w6)-.25 G(5) --64.696 E 81.946(wn 55)259.666 444 R -.1(wo)259.666 456 S 73.716(rd 17) -.1 F 81.946(wq 55)259.666 468 R 61.956(wraplen 65)259.666 480 R(wrapmar) -259.666 492 Q 46.026(gin 65)-.18 F 56.406(wrapscan 66)259.666 504 R -73.616(write 54)259.666 516 R(writean)259.666 528 Q 61.826(y6)-.15 G(6) --61.826 E 91.666(x3)259.666 540 S(6)-91.666 E 83.606(xit 55)259.666 552 -R 91.666(y3)259.666 564 S(6)-91.666 E 74.726(yank 55)259.666 576 R -77.226(z3)259.666 588 S(6, 55)-77.226 E 91.866({3)259.666 600 S(7) --91.866 E 94.666(|3)259.666 612 S(7)-94.666 E 91.866(}3)259.666 624 S(7) --91.866 E 63.336(~3)259.666 636 S(7, 38, 52)-63.336 E EP -%%Page: 2 68 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Bold@0 SF 308.33(USD:13-2 Nvi/Nex)72 60 R(Refer)2.5 E(ence) --.18 E/F1 12/Times-Bold@0 SF -1.104(Ta)255.386 96 S(ble of Contents) -1.104 E/F2 10/Times-Roman@0 SF 1.84(Description ................................................................................................................................) -97 122.4 R(3)31 E(Additional Features in Ne)97 136.8 Q 2.27(x/Nvi ................................................................................................) --.15 F(3)31 E(Startup Information)97 151.2 Q 28.5(................................................................................................................... 4) -4.34 F(Reco)97 165.6 Q -.15(ve)-.15 G .48(ry ....................................................................................................................................) -.15 F(5)31 E(Sizing the Screen)97 180 Q 28.5(....................................................................................................................... 7) -3.51 F(Character Display)97 194.4 Q 28.5(...................................................................................................................... 8) -3.52 F(Multiple Screens)97 208.8 Q 28.5(........................................................................................................................ 8) -2.95 F -.8(Ta)97 223.2 S(gs, T).8 E(ag Stacks, and Cscope)-.8 E 28.5(.................................................................................................... 9) -2.62 F(Re)97 237.6 Q(gular Expressions and Replacement Strings)-.15 E -23.5(......................................................................... 10) -3.67 F(Scripting Languages)97 252 Q 23.5(.................................................................................................................. 11) -3.51 F(General Editor Description)97 266.4 Q 23.5(........................................................................................................ 12) -2.69 F 1.2 -.6(Vi D)97 280.8 T 2.44(escription ...........................................................................................................................) -.6 F(15)26 E 1.2 -.6(Vi C)97 295.2 T 1.04(ommands ............................................................................................................................) -.6 F(17)26 E 1.2 -.6(Vi T)97 309.6 T -.15(ex)-.1 G 2.5(tI).15 G -(nput Commands)-2.5 E 23.5(.......................................................................................................... 38) -4.95 F(Ex Addressing)97 324 Q 23.5(........................................................................................................................... 40) -4.34 F(Ex Description)97 338.4 Q 23.5(........................................................................................................................... 41) -3.23 F(Ex Commands)97 352.8 Q 23.5(........................................................................................................................... 42) -4.33 F(Set Options)97 367.2 Q 23.5(................................................................................................................................ 56) -4.05 F(Inde)97 381.6 Q 3.38(x.)-.15 G 23.5(......................................................................................................................................... 67) --3.38 F EP -%%Trailer -end -%%EOF |