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

📄 allman4.ps

📁 Unix操作系统minix 2.0源码
💻 PS
📖 第 1 页 / 共 5 页
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Tue Sep 17 22:37:11 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/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def/C{/Courier FF}def/C{/Courier FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(CONSOLE)S1194(\()S1236(4)S1294(\))S2696(Eighth)S(Edition)296 2989 A4653(CONSOLE)S5127(\()S5169(4)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(console,)S(keyboard,)399 1437 A1861(log)S10 R-12014(-)S10 R2096(system)S2400(console)S1248 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)S1368 V10 R1080(The)S1267(TTY)S1494(device)S1787(driver)S2058(manages)S2440(two)S2621(devices)S2953(related)S3259(to)S3368(the)S3522(main)S3754(user)S(interface,)379 3953 A4363(the)S4517(system)S4827(screen)S5116(and)S1488 V1080(the)S(keyboard.)399 1228 A1677(These)S1943(two)S2119(together)S2474(are)S2623(named)S2916("the)S3105(Console".)S1656 V870(T)S872(Th)S936(he)S988(e)S1060(S)S1062(Sc)S1120(cr)S1167(re)S1203(ee)S1250(en)S1297(n)S1776 V1080(The)S1277(screen)S1575(of)S1699(a)S1784(PC)S1947(can)S2127(be)S2262(managed)S2666(by)S2807(a)S(Monochrome)541 2893 A3475(Display)S3829(Adapter,)S4220(a)S4306(Hercules)S4706(card,)S4946(a)S5032(Color)S1896 V1080(Graphics)S1477(Adapter,)S1860(an)S1988(Enhanced)S2418(Graphics)S2815(Adapter,)S3197(or)S3313(a)S3390(Video)S3668(Graphics)S4064(Array.)S4382(To)S4526(the)S4681(console)S5020(driver)S2016 V1080(these)S1312(devices)S1639(are)S1788(seen)S1992(as)S2101(a)S2171(block)S2419(of)S2528(video)S2776(memory)S3137(into)S3319(which)S3591(characters)S4027(can)S4193(be)S(written)286 4314 A4626(to)S4730(be)S4851(displayed,)S2136 V1080(an)S1205(I/O)S1370(register)S1703(that)S1884(sets)S2065(the)S2218(video)S2470(memory)S2834(origin)S3103(to)S3210(the)S3362(character)S3762(that)S3942(is)S4038(to)S4145(be)S4269(displayed)S4683(on)S4812(the)S4964(top-left)S2256 V(position)323 1080 A1431(of)S1543(the)S1694(screen,)S2005(and)S2178(an)S2301(I/O)S2464(register)S2795(that)S2974(sets)S3154(the)S(position)323 3306 A3658(of)S3771(the)S3923(hardware)S4328(cursor.)S4659(Each)S4890(character)S2376 V1080(within)S1368(video)S1622(memory)S1988(is)S2085(a)S2160(two-byte)S2548(word.)S2835(The)S3022(low)S3203(byte)S3406(is)S3503(the)S3656(character)S4057(code,)S4302(and)S4477(the)S4630(high)S4838(byte)S5041(is)S5138(the)S2496 V1080("attribute)S1485(byte",)S1752(a)S1825(set)S1965(of)S2077(bits)S2250(that)S2429(controls)S2781(the)S2932(way)S3128(the)S3279(character)S3678(is)S3774(displayed,)S4213(character)S4613(and)S(background)474 4787 A2616 V1080(colours)S1401(for)S1544(a)S1614(colour)S1896(card,)S2120(or)S(intensity/underline/reverse)1074 2229 A3328(video)S3576(for)S(monochrome.)555 3719 A2784 V1080(These)S1346(are)S1495(the)S1643(characteristics)S2246(of)S2355(the)S2503(adapters)S2864(in)S2967(text)S3143(mode:)S2952 V1440(Adapter)S2190(Usable)S2495(memory)S(Mono/Colour)546 2940 A3072 V1490(MDA)S2240(4K)S2990(M)S3192 V1490(Hercules)S2240(4K)S2990(M)S3312 V1490(CGA)S2240(16K)S2990(C)S3432 V1490(EGA)S2240(32K)S2990(M)S3104(or)S3213(C)S3552 V(VGA)219 1490 A2240(32K)S2990(M)S3104(or)S3213(C)S3720 V1080(MDA)S1342(and)S1514(Hercules)S1900(are)S2051(the)S2201(same)S2435(to)S2540(the)S2690(console)S3024(driver,)S(because)319 3317 A3663(the)S3813(graphics)S4181(mode)S4432(of)S4544(the)S4695(Hercules)S5082(is)S5177(of)S3840 V1080(no)S1213(use)S1380(to)S1491(Minix.)S1819(EGA)S2060(and)S(VGA)219 2238 A2490(are)S2647(also)S2842(mostly)S3148(seen)S3360(as)S3477(the)S3633(same)S3872(in)S3982(text)S4165(mode.)S4470(An)S4625(EGA)S4865(adapter)S5194(is)S3960 V1080(either)S1344(a)S(monochrome)530 1423 A1987(or)S2105(a)S2184(colour)S2475(device)S2772(depending)S3224(on)S3358(the)S3515(screen)S3807(attached)S4177(to)S4289(it.)S4429(A)S(VGA)219 4536 A4789(adapter)S5121(can)S4080 V1080(run)S1245(in)S1354(either)S(monochrome)530 1615 A2176(or)S2291(colour)S2578(\(grayscale\))S3057(mode)S3310(depending)S3758(on)S3888(how)S4091(the)S4244(Boot)S4469(Monitor)S4828(has)S(initial-)269 4992 A4200 V1080(ized)S1273(it.)S4368 V1080(The)S1279(driver)S1562(uses)S1777(the)S1942(video)S2207(origin)S2489(to)S2610(avoid)S(copying)323 2876 A3242(the)S3408(screen)S3709(contents)S4087(when)S(scrolling)352 4348 A4743(up)S4886(or)S5013(down.)S4488 V1080(Instead,)S1426(the)S1579(origin)S1849(is)S1946(simply)S2249(moved)S2551(one)S2725(line.)S2955(This)S3163(is)S3259(named)S3556("hardware)S(scrolling",)418 4002 A4449(as)S(opposed)334 4562 A4925(to)S(copy-)229 5032 A4608 V1080(ing)S1233(memory:)S1621("software)S(scrolling".)418 2035 A4776 V1080(The)S1275(video)S1536(origin)S1814(is)S1919(also)S2119(used)S2341(to)S2457(implement)S2926(several)S3251(virtual)S3553(consoles)S3938(inside)S4217(the)S4379(video)S4641(memory)S5015(of)S5138(the)S4896 V1080(adapter.)S1460(Each)S1694(virtual)S1989(console)S2328(gets)S2522(a)S2599(segment)S2966(of)S3082(video)S3337(memory.)S3754(The)S3943(driver)S(chooses)318 4216 A4566(which)S4844(console)S5183(to)S5016 V1080(display)S1398(by)S1526(moving)S1860(the)S2011(video)S2263(origin.)S2582(Note)S2807(that)S2987(an)S3111(MDA)S3375(or)S3488(Hercules)S3876(adapter)S4202(can)S4371(only)S(support)301 4578 A4908(one)S5082(con-)S5136 V1080(sole.)S1328(CGA)S1577(can)S(support)301 1753 A2090(up)S2226(to)S2340(four)S(80x25)250 2544 A2830(consoles,)S3237(and)S3418(EGA)S3662(and)S(VGA)219 3843 A4098(can)S4274(have)S4500(eight.)S4787(It)S4884(is)S4986(best)S5183(to)S5256 V1080(con\256gure)S1487(one)S1659(less)S1837(console)S2171(to)S2276(leave)S2516(some)S2755(video)S3006(memory)S3369(free)S3555(so)S3672(that)S3851(hardware)S(scrolling)352 4255 A4635(has)S4797(some)S(space)224 5037 A5376 V1080(to)S1183(work)S1415(in.)S5544 V1080(Character)S1502(codes)S1760(are)S1913(used)S2126(as)S2239(indices)S2553(into)S2738(a)S2812(display)S3131(font)S3322(that)S3502(is)S3598(stored)S3873(in)S3980(the)S4132(adapter.)S4508(The)S4694(default)S5003(font)S5194(is)S5664 V1080(the)S1252(IBM)S1491(character)S1911(set,)S2097(which)S2391(is)S2506(an)S2649(ASCII)S2961(character)S3380(set)S3540(in)S3666(the)S3837(low)S(128)150 4036 A4234(codes,)S4536(and)S4729(a)S4822(number)S5177(of)S5784 V1080(mathematical,)S1677(greek,)S(silly)173 1956 A2159(graphics,)S2555(and)S(accented)353 2730 A3113(characters)S3553(in)S3661(the)S(upper)229 3814 A(128)150 4073 A4253(codes.)S4562(This)S4771(font)S4963(is)S5060(\256xed)S5904 V1080(in)S1187(the)S1339(MDA,)S1628(Hercules)S2016(and)S2190(CGA)S2432(adapters,)S2822(but)S2979(can)S3148(be)S(replaced)342 3272 A3643(by)S3771(a)S3844(user)S4040(selected)S4393(font)S4583(for)S4729(the)S4880(EGA)S5116(and)S6024 V(VGA)219 1080 A1324(adapters.)S6192 V1080(A)S1192(number)S1538(of)S1661(control)S1985(characters)S2434(and)S2618(escape)S2926(sequences)S3373(are)S3536(implemented)S4100(by)S4239(the)S4402(driver.)S4733(The)S4930(result)S5194(is)S6312 V1080(upward)S1413(compatible)S1890(with)S2099(the)S2252(ANSI)S2518(standard)S2889(terminal.)S3305(The)S10 B3492(termcap)S10 R3851(\(5\))S3999(type)S4202(is)S10 B4299(minix)S10 R4545(.)S4625(Normal)S4963(charac-)S6432 V1080(ters)S(written)286 1252 A1564(to)S1668(the)S1817(console)S2150(are)S2300(displayed)S2711(at)S2810(the)S2959(cursor)S(position)323 3237 A3586(and)S3757(the)S3906(cursor)S4184(is)S4277(advanced)S4683(one)S4855(column)S5183(to)S6552 V1080(the)S1236(right.)S1509(If)S1610(an)S1738(entire)S2001(line)S2185(is)S2285(\256lled)S2525(then)S2730(the)S2885(cursor)S3169(wraps)S3442(to)S3552(the)S3707(\256rst)S3896(column)S4229(of)S4345(the)S4500(next)S4705(line)S4888(when)S5138(the)S6672 V1080(next)S1279(character)S1676(must)S1897(be)S2018(displayed.)S2479(The)S2662(screen)S2946(is)S3039(scrolled)S3384(up)S3510(if)S3598(needed)S3909(to)S4013(start)S4213(a)S4284(new)S4479(line.)S4707(Some)S4963(charac-)S6792 V1080(ters)S1259(have)S1482(special)S1795(effects)S2098(when)S2349(sent)S2544(to)S2655(the)S2811(console.)S3200(Some)S3461(even)S3683(have)S3905(arguments)S4356(in)S4466(the)S4621(form)S4849(of)S4965(comma)S6912 V1080(separated)S1497(decimal)S1852(numbers.)S2284(These)S2561(numbers)S2943(default)S3259(to)S3374(the)S3534(lowest)S3834(possible)S4200(value)S4455(when)S(omitted.)332 4710 A5104(The)S7032 V1080(top-left)S1422(character)S1838(is)S1949(at)S(position)323 2066 A2433(\(1,)S2586(1\).)S2764(The)S2965(following)S3400(control)S3729(characters)S4183(and)S4372(escape)S4685(sequences)S5137(are)S7152 V1080(implemented)S1630(by)S1755(the)S1903(console:)S7320 V1080(Sequence)S1580(Name)S2580(Function)S7440 V1130(\303@)S1630(Null)S(Ignored)313 2630 A2968(\(padding)S3350(character\))S7903 V720(Page)S941(1)S4455(September)S4911(17,)S(1996)200 5061 A8143 VEP%%Page: 2 2BP/slant 0 def/height 0 def480 V10 R720(CONSOLE)S1194(\()S1236(4)S1294(\))S2696(Eighth)S(Edition)296 2989 A4653(CONSOLE)S5127(\()S5169(4)S5227(\))S960 V1130(\303G)S1630(Bell)S(Produce)330 2630 A2985(a)S3055(short)S3281(tone)S3479(from)S3700(the)S3848(speaker)S1080 V1130(\303H)S(Backspace)431 1630 A2630(Move)S2897(the)S3053(cursor)S3338(back)S3562(one)S3741(column,)S4101(wrapping)S4515(from)S4745(the)S4902(left)S5071(edge)S1200 V2630(up)S2755(one)S2925(line)S3101(to)S3204(the)S3352(right)S3567(edge)S1320 V1130(\303I)S1630(Horizontal)S2087(Tab)S2631(Move)S2891(to)S2995(the)S3144(next)S3343(tab)S3492(stop,)S3710(with)S(each)185 3915 A4126(tab)S4275(stop)S4468(at)S4567(columns)S4933(1,)S

⌨️ 快捷键说明

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