📄 yap.1
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:04:52 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/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont dup maxlength dict /newdict exch def % get dictionary for new font{ exch dup /FID ne { exch newdict 3 1 roll put } { pop pop } % Ignore FID ifelse} forallnewdict begin/Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % Enc-dict} def/Times-Roman 1 AEnc-def pop/R-1{/Times-Roman-1 FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def/Times-Italic 1 AEnc-def pop/I-1{/Times-Italic-1 FF}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(YAP)S930(\()S972(1)S1030(\))S2696(Eighth)S(Edition)296 2989 A4917(YAP)S5127(\()S5169(1)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(yap,)S1275(more)S10 R-11507(-)S10 R1589(yet)S1737(another)S2064(pager)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(yap)S10 R1274([)S10 B-11346(-)S10 B(cnuq)213 1403 A10 R1654(])S1726([)S10 B-11798(-)S10 I1855(n)S10 R1943(])S2015([)S10 B2087(+)S10 I(command)391 2144 A10 R2573(])S2645([)S2717(name)S(...)75 2973 A3124(])S1536 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S1656 V10 I1080(Yap)S10 R1272(is)S1375(a)S1456(program)S1833(allowing)S2221(the)S2380(user)S2584(to)S2698(examine)S3075(a)S(continuous)440 3157 A3634(text)S3822(one)S4004(screenful)S4411(at)S4521(a)S4603(time)S4819(on)S4956(a)S5038(video)S1776 V1080(display)S1404(terminal.)S1824(It)S1920(does)S2137(so)S2259(by)S2392(pausing)S2737(after)S(each)185 2956 A3174(screenful,)S(waiting)302 3602 A3937(for)S4088(the)S4244(user)S4445(to)S4556(type)S4762(a)S4840(command.)S1896 V1080(The)S1268(commands)S1735(are)S1891(enumerated)S2393(later.)S10 I2655(Yap)S10 R2819('s)S2924(main)S3157(feature)S3470(is,)S3594(that)S3777(it)S3865(can)S4037(page)S4259(both)S4469(forwards)S4860(and)S5037(back-)S2016 V1080(wards,)S1371(even)S1586(when)S1829(reading)S2156(from)S2377(standard)S(input.)231 2743 A2184 V1080(The)S1262(command)S1683(line)S1859(options)S2179(are:)S2352 V10 I-11080(-)S10 I1148(n)S10 R1440(An)S1588(integer)S1893(which)S2164(is)S2256(the)S2404(size)S2586(\(in)S2723(lines\))S2972(of)S3081(a)S3151(page)S3366(\(the)S(initial)235 3548 A10 I(page-size)380 3808 A10 R4196(.)S2520 V10 B-11080(-)S10 B1137(c)S10 R1440(Normally,)S10 I1884(yap)S10 R(will)157 2062 A2252(display)S(each)185 2575 A2793(page)S3016(by)S3149(beginning)S3583(at)S3689(the)S3845(top)S4006(of)S4123(the)S4280(screen)S4572(and)S4751(erasing)S(each)185 5076 A2640 V1440(line)S1621(just)S1796(before)S2084(it)S2170(displays)S2529(on)S2659(it.)S2770(If)S(your)184 2868 A3082(terminal)S(cannot)268 3448 A3746(erase)S3984(a)S4059(line,)S10 I4265(yap)S10 R(will)157 4439 A4625(clear)S4851(the)S5003(screen)S2760 V1440(before)S1723(it)S1804(displays)S2158(a)S2228(page.)S2880 V1440(This)S1650(avoids)S(scrolling)352 1943 A2326(the)S2480(screen,)S2795(making)S3128(it)S3216(easier)S3484(to)S3594(read)S3800(while)S10 I4056(yap)S10 R4233(is)S(writing.)316 4332 A4705(The)S10 B4894(-c)S10 R5005(option)S3000 V1440(causes)S10 I1732(yap)S10 R1906(to)S2013(scroll)S2266(the)S2418(screen)S2705(instead)S3019(of)S3132(beginning)S3562(at)S3664(the)S3816(top)S3973(of)S4086(the)S4238(screen.)S4574(This)S4781(is)S4876(also)S(done)195 5066 A3120 V1440(if)S(your)184 1527 A1736(terminal)S(cannot)268 2097 A2390(either)S2645(erase)S2878(a)S2948(line)S3124(or)S3233(clear)S3455(the)S3603(screen.)S3288 V10 B-11080(-)S10 B1137(u)S10 R1440(Normally,)S10 I1884(yap)S10 R2062(handles)S(underlining)463 2402 A2898(such)S3115(as)S(produced)374 3232 A3639(by)S3772(nroff)S4007(in)S4118(a)S4197(manner)S4533(appropriate)S5026(to)S5138(the)S3408 V1440(particular)S1855(terminal:)S2247(if)S2337(the)S2488(terminal)S2852(can)S3020(perform)S(underlining)463 3373 A3864(well)S4066(\(t.i.,)S4259(the)S4410(escape)S4707(sequences)S5143(for)S3528 V(underlining)463 1440 A1934(do)S2065(not)S(occupy)290 2224 A(space)224 2545 A2800(on)S2932(the)S3087(screen\),)S10 I3436(yap)S10 R(will)157 3613 A(underline)380 3802 A(underlined)430 4214 A4676(information)S5183(in)S3648 V1440(the)S(input.)231 1588 A1844(The)S10 B2026(-u)S10 R2141(option)S2422(supresses)S2827(this)S(underlining.)488 2997 A3816 V10 B-11080(-)S10 B1137(n)S10 R1440(Normally,)S10 I1887(yap)S10 R2068(also)S(recognises)425 2266 A2727(escape)S3032(sequences)S3476(for)S3631(stand-out)S4042(mode)S4302(or)S(underlining)463 4423 A4923(mode)S5183(in)S3936 V1440(the)S(input,)231 1598 A1864(and)S(knows)262 2044 A2341(how)S2548(much)S(space)224 2805 A3063(these)S3304(escape)S3607(sequences)S(will)157 4049 A(occupy)290 4240 A4564(on)S4698(the)S4855(screen,)S5172(so)S4056 V1440(that)S10 I1616(yap)S10 R(will)157 1786 A1968(not)S2121(fold)S2308(lines)S2523(erroneously.)S3073(The)S10 B3255(-n)S10 R3370(option)S3651(supresses)S4056(this)S4226(pattern)S4531(matching.)S4224 V10 B-11080(-)S10 B1137(q)S10 R1440(This)S1644(option)S(will)157 1925 A2107(cause)S10 I2356(yap)S10 R2526(to)S2629(exit)S2805(only)S3008(on)S3133(the)S3281("quit")S3544(command.)S4392 V10 B1080(+)S10 I(command)391 1137 A4512 V(command)391 1440 A10 R1856(is)S1948(taken)S2191(to)S2294(be)S2414(an)S(initial)235 2534 A2794(command)S3215(to)S10 I3318(yap)S10 R3471(.)S4680 V10 I1080(Yap)S10 R1270(uses)S1477(the)S10 I1634(termcap)S10 R1972(\(5\))S2124(database)S2505(to)S2617(determine)S3054(the)S3211(terminal)S(capabilities)459 3581 A4074(and)S4253(the)S4411(default)S10 I(page-size)380 4726 A10 R5114(.)S5199(It)S4800 V1080(examines)S1504(the)S1671($TERM)S2045(environment)S2597(variable)S2966(to)S3088(identify)S3445(the)S3612(terminal)S3992(type.)S4259(If)S4371($TERM)S4744(is)S4854(not)S5025(set,)S5205(it)S4920 V1080(defaults)S1429(to)S10 I1537(dumb)S10 R1768(.)S10 I1848(Yap)S10 R2034(Also)S2254(examines)S2664(the)S2818($TERMCAP)S3375(environment)S3914(variable)S4270(to)S4379(locate)S4651(the)S10 I4805(termcap)S10 R5143(\(5\))S5040 V1080(database.)S1502(If)S1595($TERMCAP)S2146(is)S2238(not)S2391(set,)S2553(it)S2634(defaults)S2978(to)S10 I3081(/etc/termcap)S10 R3593(.)S5208 V10 I1080(Yap)S10 R(looks)217 1262 A1505(in)S1609(the)S1758($YAP)S2036(environment)S2570(variable)S2921(to)S3025(pre-set)S3326(\257ags.)S3592(For)S3758(instance,)S4139(if)S(you)150 4227 A4403(prefer)S4671(the)S10 B4821(-c)S10 R4927(mode)S5177(of)S5328 V1080(operation,)S1510(just)S1680(set)S1817(the)S1965($YAP)S2242(environment)S2775(variable)S3125(to)S10 B3228(-c)S10 R3307(.)S5496 V1080(The)S1276(commands)S1750(of)S10 I1873(yap)S10 R2057(can)S2236(be)S(bound)250 2370 A2659(to)S2776(sequences)S3223(of)S3346(keystrokes.)S3865(The)S4062(environment)S4610(variable)S4975($YAP-)S5616 V1080(KEYS)S1377(may)S1583(contain)S1912(the)S2068(bindings)S2446(in)S2557(the)S2713(form)S2942(of)S3059(a)S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -