⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 elvis.9

📁 Unix操作系统minix 2.0源码
💻 9
📖 第 1 页 / 共 5 页
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 20 00:07:45 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def    [psize 0 cheight slant sin slant cos div mul cheight 0 0]    makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig {	/SavedState save def	userdict maxlength dict begin	currentpoint transform	DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap		setlinewidth setmatrix	itransform moveto	/ury exch def	/urx exch def	/lly exch def	/llx exch def	/y exch 72 mul resolution div def	/x exch 72 mul resolution div def		currentpoint /cy exch def /cx exch def	/sx x urx llx sub div def	/sy y ury lly sub div def	sx sy scale	cx sx div llx sub	cy sy div ury sub translate		/DefFigCTM matrix currentmatrix def	/initmatrix {		DefFigCTM setmatrix	} def	/defaultmatrix {		DefFigCTM exch copy	} def	/initgraphics {		DocumentInitState setmiterlimit setgray setdash 			setlinejoin setlinecap setlinewidth setmatrix		DefFigCTM setmatrix	} def	/showpage {		initgraphics	} def}bind  def/clipFig {	currentpoint 6 2 roll	newpath 4 copy	4 2 roll moveto	6 -1 roll exch lineto	exch lineto	exch lineto	closepath clip	newpath	moveto}bind  def/doclip { llx lly urx ury clipFig } def/endFig {	end SavedState restore}bind  def/globalstart {	fontnum psize slant height resolution currentpoint 	pagesave restore gsave }bind  def/globalend {	grestore moveto	/resolution exch def /height exch def	/slant exch def /psize exch def /fontnum exch def	F	/pagesave save def}bind  def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def%% Troff special characters not on Symbol font%% Copyright (C) 1986 by Pipeline Associates, Inc.%% Version 1.0%% $Header: Troff.pro,v 1.7 90/08/14 16:07:55 keie Exp $/altRTD 20 dict defaltRTD begin/s{setcachedevice}bind def/m{moveto}bind def/c{curveto}bind def/S{stroke}bind def/l{lineto}bind defend/F_Troff 17 dict def F_Troff beginsystemdict /currentpacking known{/SavePacking currentpacking def true setpacking}if/PaintType 0 def/FontType 3 def/StrokeWidth 25 def/UniqueID 8277030 def/FontMatrix [.001000 0 0 .001000 0 0] def/FontBBox [-85 -150 1000 1000 ] def/Encoding 256 array def/CD 256 1 add dict def/FontInfo 3 dict def FontInfo begin/UnderlinePosition -133 def /UnderlineThickness 20 def end/FontName (Troff) def0 1 256 1 sub{Encoding exch /.notdef put}forCD /.notdef{500 0 setcharwidth{}}putEncoding (1) 0 get /br put%% bold vertical rule used by tblCD /br{0 0 -500 -500 1000 1000 snpclw0 -100 m0 900 l{S}}putEncoding (2) 0 get /ul put%% underline used by tblCD /ul{500 0 0 -200 500 0 snpclw0 -100 m500 -100 l{S}}putEncoding (3) 0 get /ru put%% baseline ruleCD /ru{500 0 -500 -500 1000 1000 snpclwm0500 0 l{S}}putEncoding (4) 0 get /vr put%% vertical ruleCD /vr{0 0 -500 -500 1000 1000 snpclwm00 1000 l{S}}putEncoding (5) 0 get /sq put%% squareCD /sq{500 0 0 0 500 1000 snpm00 500 rl500 0 rl0 -500 rl-500 0 rlclosepath61 61 m378 0 rl0 378 rl-378 0 rlclosepath{fill}}putEncoding (6) 0 get /bx put%% solid boxCD /bx{500 0 0 0 500 1000 snpm00 500 rl500 0 rl0 -500 rlclosepath{fill}}putEncoding (7) 0 get /rn put%% radical extenderCD /rn{500 0 -500 -500 1000 1000 snp30 setlinewidth-30 900 m500 0 rl{S}}putEncoding 120 /rc put%% top of right bracket above braceexCD /rc {494 0 -85 -80 255 926 s201 -80 m 201 872 l -85 872 l -85 926 l 255 926 l 255 -80 lclosepath {fill}} putEncoding 121 /lc put%% top of left bracket above braceexCD /lc {491 0 201 -80 541 926 s201 -80 m 201 926 l 541 926 l 541 872 l 255 872 l 255 -80 lclosepath {fill}} putEncoding 122 /rf put%% bottom of right bracket below braceexCD /rf {494 0 -85 -80 255 926 s-85 -80 m -85 -26 l 201 -26 l 201 926 l 255 926 l 255 -80 lclosepath {fill}} putEncoding 123 /lf put%% bottom of left bracket below braceexCD /lf {494 0 201 -80 541 926 s201 -80 m 201 926 l 255 926 l 255 -26 l 872 -26 l 872 -80 lclosepath {fill}} putEncoding 97 /a putCD /a{5 setlinewidth 1000 0 0 66 942 421 s 430 415m 578 406 678 349 662 319 c 655 306 614 287 583296 c 570 300 466 340 438 332 c 365 309 335 213270 209 c 0 310 m 108 310 l 108 114 l 0114 l 0 310 l 42 161 m 42 134 l 66 134 l 66161 l 42 161 l 47 155 m 47 140 l 62 140 l 62155 l 47 155 l 110 133 m 226 113 300 66 41080 c 497 91 550 69 634 76 c 645 76 663 92 669107 c 677 125 673 141 668 160 c 725 334 m 758332 734 253 701 250 c 501 325 m 475 316 476 309473 302 c 465 282 482 263 499 257 c 552 236 615253 689 253 c 701 253 713 236 713 218 c 712 194702 168 678 161 c 671 159 663 160 655 160 c 591158 516 156 479 168 c 461 173 453 191 453 210 c 453224 456 235 466 244 c 476 253 490 252 503 255 c 45984 m 447 96 435 106 435 123 c 435 136 440 145 447155 c 453 163 462 168 469 173 c 110 293 m 173318 300 421 435 415 c 609 407 852 416 885 411 c 898409 924 411 930 380 c 942 316 828 339 742 334 c 731334 730 335 725 335 c 701 336 685 336 660 336 c{S}}putEncoding 98 /b putCD /b{5 setlinewidth 1000 0 -12 66 930 421 s 500415 m 352 406 252 349 268 319 c 275 306 316 287347 296 c 360 300 464 340 492 332 c 565 309 595213 660 209 c 930 310 m 822 310 l 822 114 l 930114 l 930 310 l 888 161 m 888 134 l 864 134l 864 161 l 888 161 l 883 155 m 883 140 l 868140 l 868 155 l 883 155 l 820 133 m 704 113630 66 520 80 c 433 91 380 69 296 76 c 285 76267 92 261 107 c 253 125 257 141 262 160 c 205334 m 172 332 196 253 229 250 c 429 325 m 455316 454 309 457 302 c 465 282 448 263 431 257 c 378236 315 253 241 253 c 229 253 217 236 217 218 c 218194 228 168 252 161 c 259 159 267 160 275 160 c 339158 414 156 451 168 c 469 173 477 191 477 210 c 477224 474 235 464 244 c 454 253 440 252 427 255 c 47184 m 483 96 495 106 495 123 c 495 136 490 145 483155 c 477 163 468 168 461 173 c 820 293 m 757318 630 421 495 415 c 321 407 78 416 45 411 c 32409 6 411 0 380 c -12 316 102 339 188 334 c 199334 200 335 205 335 c 229 336 245 336 270 336 c{S}}putEncoding 99 /c putCD /c{710 0 0 0 700 700 s33 setlinewidth335 23 m 335 325 302 -90 270 arc{S}}putEncoding 100 /d putCD /d{590 0 134 158 477 500 s 300160 m 208 162 134 238 135 330 c 136 423 212 500305 500 c 397 500 473 427 475 335 c 477 239 396158 300 160 c{fill}}putEncoding 101 /e putCD /e { % produces the VU symbol760 0 0 0 750 750 s267 267 scale0 setlinejoin.045 setlinewidth0 setlinecap3 setmiterlimitnewpath0 0 moveto0 2.8 rlineto0.38 0 rlineto0 -2.3 rlineto0.02 0 rlineto0.67 2.3 rlineto0.38 0 rlineto-0.83 -2.8 rlinetoclosepath1.61 2.8 moveto0.38 0 rlineto-0.687 -2.32 rlineto-.03 -.1 -0.03 -0.1 0 -0.1 rcurveto1.027 0 rlineto0 2.42 rlineto0.38 0 rlinetocurrentpoint pop 0 % x 02.0 00.28 arcto4 {pop} repeat0.78 0 1.61 2.8 0.15 arcto4 {pop} repeatclosepath{S}} put/BuildChar{altRTD /BuildChar get exec}def endaltRTD begin /BuildChar{altRTD begin/char exch def /fontdict exch def save/charname fontdict /Encoding get char get def/clw { 37 0 mm pop setlinewidth}bind deffontdict /StrokeWidth get setlinewidth0 setlinecap0 setlinejoinfontdict /CD get dup charname known{charname}{/.notdef}ifelse get newpath execfontdict /PaintType get 0 eq{exec}{pop S}ifelserestore end}def endsystemdict /currentpacking known{F_Troff /SavePacking get setpacking}if/Troff F_Troff definefont pop/Y1{/Troff FF}def/Y{/Symbol FF}def/L{/Helvetica FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def858 V12 B936(Command:)S1584(elvis)S1843(\261)S1933(clone)S2232(of)S2363(the)S2555(Berkeley)S3042(vi)S3166(editor)S996 V936(Syntax:)S1584(elvis)S12 R1843([)S12 B1884(\261Rerv)S12 R2200(])S2271([)S12 B2312(\261t)S12 I2443(tag)S12 R2597(])S2668([)S12 I2709(\256le)S12 R2857(])S(...)90 2928 A1134 V12 B936(Flags:)S1584(\261R)S12 R1764(Set)S1949(the)S2127(read-only)S2621(option)S1272 V12 B1584(\261e)S12 R1764(Start)S2024(up)S2174(emulating)S12 I2688(ex)S1410 V12 B1584(\261r)S12 R1764(Tell)S1990(the)S2168(user)S2400(to)S2524(use)S12 I2715(elvrec)S12 R3042(instead)S1548 V12 B1584(\261t)S12 R1764(Start)S(editing)336 2024 A2390(at)S2508(the)S2686(given)S2984(tag)S1686 V12 B1584(\261v)S12 R1764(Start)S2024(up)S2174(emulating)S12 I2688(vi)S1824 V12 B936(Examples:)S12 R1584(elvis)S2916(#)S3006(Call)S3238(the)S3416(editor)S1962 V1584(elvis)S1843(prog.c)S2916(#)S3006(edit)S12 I3218(prog.c)S2136 V1116(Elvis)S12 R1389(is)S1500(a)S1584(full-screen)S2134(editor)S2447(closely)S2820(modeled)S3266(on)S3416(the)S3595(famous)S3982(Berkeley)S12 I4450(vi)S12 R4569(editor.)S4943(It)S2274 V936(provides)S1390(essentially)S1939(the)S2124(same)S(interface)426 2410 A2873(to)S3004(the)S3189(user)S3428(as)S12 I3566(vi)S12 R3654(,)S3721(but)S3912(the)S4097(code)S4362(is)S4480(completely)S2412 V936(new,)S(written)345 1205 A1587(from)S1860(scratch.)S2301(This)S2553(document)S3066(provides)S3519(a)S3610(brief)S(introduction)591 3877 A4506(to)S12 I4638(vi)S12 R4726(.)S4824(It)S4937(is)S2550 V936(not)S1120(intended)S1566(as)S1697(a)S1781(tutorial)S2162(for)S2334(beginners.)S2894(Most)S(books)287 3172 A3489(on)S10 R3634(UNIX)S12 R3917(cover)S12 I4216(vi)S12 R4304(.)S2724 V1116(Like)S12 I1382(vi)S12 R1470(,)S12 I1544(elvis)S12 R1811(can)S2024(operate)S2426(as)S2572(a)S2671(screen)S3026(editor)S3354(\()S12 I3395(vi)S12 R3528(mode\))S3882(or)S4028(as)S4174(a)S4273(line)S4500(editor)S4828(\()S12 I4869(ex)S12 R4977(\))S2862 V936(mode.)S1281(It)S1403(can)S1618(be)S1779(called)S2116(either)S2440(as)S12 I2588(elvis)S2858(vi)S12 R2946(,or)S3124(as)S12 I3271(ex)S12 R3379(,)S3455(depending)S4003(on)S4169(which)S4511(is)S4638(desired.)S3000 V936(They)S1214(are)S1393(all)S1545(links)S1810(to)S1934(the)S2112(same)S2391(\256le.)S3276 V12 B936(Vi)S1088(Commands)S3588 V12 R1116(Below)S1468(is)S1585(a)S1675(list)S1860(of)S1997(the)S12 I2181(vi)S12 R2306(commands)S(supported.)506 2866 A3439(The)S3664(following)S4172(symbols)S4611(are)S4797(used)S3726 V936(in)S1060(the)S1238(table:)S3933 V(count)268 1116 A1836(Integer)S2210(parameter)S(telling)310 2726 A3066(how)S3304(many)S3602(or)S3733(how)S3971(much)S4071 V1116(key)S1836(One)S2068(character)S2544(parameter)S3060(to)S3184(the)S3362(command)S4209 V1116(inp)S1836(Interactive)S(input)248 2386 A2664(expected)S4347 V1116(mv)S1836(Indicates)S2304(how)S2542(much)S2840(for)S3012(commands)S3565(like)S12 I3777(delete)S12 R4097(and)S12 I(change)348 4301 A12 R4649(:)S4485 V2196(\()S2412(Previous)S2865(sentence)S4623 V2196(\))S2412(Next)S2678(sentence)S4761 V2196({)S2412(Previous)S2865(paragraph)S4899 V2196(})S2412(Next)S2702(paragraph)S3240(\(delimited)S3793(by)S3967(blank)S4289(line,)S12 I4555(.PP,)S4817(.LP,)S5037 V2412(.IP)S12 R2587(etc.\))S5175 V2196([)S2412(Previous)S2865(section)S3238(\(delimited)S3767(by)S12 I3917(.SH)S12 R4125(or)S12 I4256(.NH)S12 R4454(\))S5313 V2412(A)S2553(repeated)S3017(command)S3546(character)S4045(means)S4407(the)S4608(scope)S4937(is)S5451 V2412(this)S2617(line)S5589 V1116(MOVE)S1836(Indicates)S2304(commands)S2857(that)S3069(may)S3307(also)S3532(be)S3676(used)S3927(where)S12 I4254(mv)S12 R4426(is)S4537(speci\256ed)S5727 V1116(EDIT)S1836(These)S2166(commands)S2730(affect)S3049(text)S3272(and)S3487(may)S3736(be)S3892(repeated)S4345(by)S4507(the)S12 I4697(.)S12 R4769(com-)S5865 V1836(mand)S6072 V936(In)S(addition)396 1071 A1501(to)S1629(the)S(above)288 1811 A2133(notation,)S2593(the)S2776(caret)S(\(\303\))123 3048 A3206(is)S3322(used)S3578(as)S3714(an)S3863(abbreviation)S4503(for)S4680(CTRL.)S6210 V936(For)S1134(example,)S1604(\303A)S1763(means)S2102(CTRL-A.)S6417 V12 B936(Count)S1656(Command)S2376(Description)S4752(Type)S6555 V12 R1656(\303A)S2376(\(Not)S2629(de\256ned\))S6693 V1656(\303B)S2376(Move)S2687(toward)S3054(the)S3232(top)S3416(of)S3547(the)S3725(\256le)S3910(by)S4060(1)S4150(screenful)S6831 V1656(\303C)S2376(\(Not)S2629(de\256ned\))S6969 V(count)268 936 A1656(\303D)S2376(Scroll)S2696(down)S12 I(count)268 2994 A12 R3292(lines)S3551(\(default)S3959(1/2)S4143(screen\))S7107 V(count)268 936 A1656(\303E)S2376(Scroll)S2696(up)S12 I(count)268 2846 A12 R3144(lines)S8427 VEP%%Page: 2 2BP/slant 0 def/height 0 def1380 V12 R1656(\303F)S2376(Move)S2687(toward)S3054(the)S3232(bottom)S3604(of)S3735(the)S3913(\256le)S4098(by)S4248(1)S4338(screenful)S1518 V1656(\303G)S2376(Show)S2681(\256le)S2866(status,)S3202(and)S3406(the)S3584(current)S3958(line)S1656 V(count)268 936 A1656(\303H)S2376(Move)S2687(left,)S2910(like)S12 I3122(h)S12 R4752(MOVE)S1794 V1656(\303I)S2376(\(Not)S2629(de\256ned\))S1932 V(count)268 936 A1656(\303J)S2376(Move)S2687(down)S4752(MOVE)S2070 V1656(\303K)S2376(\(Not)S2629(de\256ned\))S2208 V1656(\303l)S2376(Redraw)S2783(the)S2961(screen)S2346 V(count)268 936 A1656(\303M)S2376(Move)S2687(to)S2811(the)S2989(front)S3255(of)S3386(the)S3564(next)S3802(line)S4752(MOVE)S2484 V(count)268 936 A1656(\303N)S2376(Move)S2687(down)S4752(MOVE)S2622 V1656(\303O)S2376(\(Not)S2629(de\256ned\))S2760 V(count)268 936 A1656(\303P)S2376(Move)S2687(up)S4752(MOVE)S2898 V1656(\303Q)S2376(\(Not)S2629(de\256ned\))S3036 V1656(\303R)S2376(Redraw)S2783(the)S2961(screen)S3174 V1656(\303S)S2376(\(Not)S2629(de\256ned\))S3312 V1656(\303T)S2376(\(Not)S2629(de\256ned\))S3450 V(count)268 936 A1656(\303U)S2376(Scroll)S2696(up)S12 I(count)268 2846 A12 R3144(lines)S3403(\(default)S3811(1/2)S3995(screen\))S3588 V1656(\303V)S2376(\(Not)S2629(de\256ned\))S3726 V1656(\303W)S2376(\(Not)S2629(de\256ned\))S3864 V1656(\303X)S2376(\(Not)S2629(de\256ned\))S4002 V(count)268 936 A1656(\303Y)S2376(Scroll)S2696(down)S12 I(count)268 2994 A12 R3292(lines)S4140 V1656(\303Z)S2376(\(Not)S2629(de\256ned\))S4278 V1656(ESC)S2376(\(Not)S2629(de\256ned\))S4416 V1656(\303\\)S2376(\(Not)S2629(de\256ned\))S4554 V1656(\303])S2376(If)S2488(the)S2666(cursor)S2999(is)S3110(on)S3260(a)S3344(tag)S3522(name,)S3844(go)S3994(to)S4118(that)S4330(tag)S4692 V1656(\303\303)S2376(Save)S2641(this)S2846(\256le)S3031(and)S3235(edit)S3447(the)S3625(previous)S4071(\256le)S4830 V1656(\303)S12 Y11697(3)S12 R2376(\(Not)S2629(de\256ned\))S4968 V

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -