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

📄 term.1

📁 操作系统设计与实现源码
💻 1
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:04:37 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/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(TERM)S1008(\()S1050(1)S1108(\))S2696(Eighth)S(Edition)296 2989 A4839(TERM)S5127(\()S5169(1)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(term)S10 R-11290(-)S10 R1372(turn)S1559(PC)S1707(into)S1888(a)S1958(dumb)S2211(terminal)S2572([IBM])S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(term)S10 R1326([)S10 I(baudrate)362 1360 A10 R1722(])S1794([)S10 I1828(parity)S10 R2068(])S2140([)S10 I2174(bits_per_character)S10 R2944(])S3016([)S10 B-13050(-)S10 I3107(dial_string)S10 R3547(])S3619([)S10 I3653(device)S10 R3911(])S1536 V9 R720(E)S722(EX)S780(XA)S848(AM)S916(MP)S998(PL)S1050(LE)S1108(ES)S1166(S)S1656 V10 B1080(term)S(2400)200 1313 A10 R2080(#)S2155(Talk)S2365(to)S2468(modem)S2794(at)S(2400)200 2892 A3117(baud)S1824 V10 B1080(term)S(1200)200 1313 A1538(7)S1613(even)S10 R2080(#)S(1200)200 2155 A2380(baud,)S2625(7)S2700(bits/char,)S3097(even)S3312(parity)S1992 V10 B1080(term)S1313(8)S(9600)200 1388 A(/dev/tty01)425 1613 A10 R2080(#)S(9600)200 2155 A2380(baud,)S2625(8)S2700(bits/char,)S3097(no)S3222(parity,)S3507(use)S(tty01)206 3666 A2160 V10 B1080(term)S(-atdt12345)458 1313 A(/dev/tty01)425 1796 A2280 V10 R2080(#)S2155(Start)S2371(with)S2575(a)S2645(command)S3066(to)S3169(dial)S3345(out)S2448 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)S2568 V10 I1080(Term)S10 R1323(allows)S8 R1611(MINIX)S10 R1882(to)S1990(talk)S2171(to)S2279(a)S2354(terminal)S2720(or)S2834(modem)S3165(over)S(RS232)273 3374 A3677(port)S3869(1.)S3999(The)S4186(program)S4558(\256rst)S4746(sets)S4928(the)S5082(bau-)S2688 V1080(drate,)S1335(parity)S1598(and)S1771(character)S2170(length,)S2474(and)S2647(then)S2848(forks.)S3133(The)S3318(parent)S3598(sits)S3760(in)S3865(a)S(loop)178 3937 A(copying)323 4142 A4492(from)S10 I4715(stdin)S10 R4937(\(usually)S2808 V1080(the)S1235(console's)S(keyboard\),)433 1647 A2112(to)S2222(the)S2377(terminal)S2745(or)S2861(modem)S3195(\()S10 I(/dev/tty00)397 3229 A10 R3626(\).)S3718(The)S3908(child)S4142(sits)S4309(in)S4420(a)S(loop)178 4498 A(copying)323 4709 A5065(from)S2928 V1080(the)S1245(terminal)S1623(or)S1749(modem)S2092(\()S10 I(/dev/tty00)397 2126 A10 R2523(\))S2599(to)S2719(standard)S3102(output.)S3425(Thus)S3668(when)S(RS232)273 3928 A4243(port)S4447(1)S4539(is)S(connected)408 4648 A5097(to)S5216(a)S3048 V1080(modem,)S1431(every)S1680(keystroke)S2096(typed)S2344(on)S2469(the)S(keyboard)374 2617 A3016(is)S3109(sent)S3297(to)S3401(the)S3550(modem,)S3902(and)S4073(every)S4323(character)S4720(arriving)S5065(from)S3168 V1080(the)S1248(modem)S1594(is)S1706(displayed.)S2186(Standard)S(input)206 2589 A2839(and)S3028(output)S3328(may)S3545(be)S3684(redirected,)S4157(to)S4279(provide)S4630(a)S(primitive)369 4719 A5132(\256le)S3288 V1080(transfer)S1428(program,)S1833(with)S2051(no)S2191(checking.)S2644(Any)S2857(argument)S3277(that)S3468(starts)S3721(with)S3940(a)S4025(minus)S4310(\(')S10 R-14378(-)S10 R4435('\))S4543(is)S4650(sent)S4852(out)S5020(to)S5138(the)S3408 V1080(modem,)S1432(usually)S1748(to)S1852(dial)S2029(out.)S10 I2233(Term)S10 R(accepts)297 2471 A2793(several)S3104(commands)S3564(that)S3740(are)S3889(formed)S4205(by)S4330(typing)S4611(the)S4759(escape)S5053(char-)S3528 V1080(acter,)S1332(CTRL-],)S1713(and)S1888(a)S1963(letter.)S2251(Type)S2488(CTRL-]?)S2889(to)S2997(see)S3156(a)S3231(list)S3384(of)S3498(commands.)S4013(The)S4200(subshell)S4559(command)S4985(is)S5082(very)S3648 V1080(important,)S1525(it)S1609(allows)S(you)150 1900 A2078(to)S2184(type)S2385(in)S2491(a)S2564(ZMODEM)S3040(command)S3464(to)S3570(transfer)S3907(data.)S4153(Do)S4304(not)S4460(quit)S10 I4644(term)S10 R4857(to)S4963(do)S5091(this,)S3768 V1080(or)S(your)184 1193 A1406(modem)S1736(line)S(will)157 1916 A2102(be)S2226(reset!)S10 I2505(Term)S10 R2747(keeps)S3005(the)S3157(modem)S3487(line)S3668(open)S3893(on)S4023(\256le)S4182(descriptor)S4615(9)S4695(while)S(running)312 4949 A3888 V1080(the)S1228(subshell,)S1607(so)S(you)150 1721 A1896(can)S2061(type)S4056 V1440(<&9)S1650(>&9)S4224 V1080(at)S1178(the)S1326(end)S1496(of)S(your)184 1605 A1814(ZMODEM)S2287(command)S2708(to)S(connect)313 2811 A3149(it)S3230(to)S3333(the)S3481(modem.)S4392 V1080(Important)S1505(note:)S1734(to)S1840(use)S10 I2002(term)S10 R2187(,)S2241(it)S2326(is)S2422(essential)S2798(that)S10 I(/etc/ttytab)403 2978 A10 R3410(is)S3506(con\256gured)S3965(so)S4083(that)S4263(there)S4494(is)S4590(no)S4719(shell)S4938(hanging)S4512 V1080(on)S10 I(/dev/tty01)397 1205 A10 R1602(.)S1652(If)S1745(there)S1972(is,)S2089(both)S2292(the)S2440(shell)S2655(and)S2825(term)S(will)157 3035 A3217(try)S3354(to)S3457(read)S3656(from)S10 I(/dev/tty01)397 3877 A10 R4274(,)S4324(and)S4494(nothing)S(will)157 4825 A5007(work.)S4680 V9 R720(S)S722(SE)S774(EE)S832(E)S913(A)S915(AL)S983(LS)S1041(SO)S1093(O)S4800 V10 B1080(rz)S10 R1170(\(1\),)S10 B1338(sz)S10 R1422(\(1\).)S7903 V720(Page)S941(1)S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Trailer%%DocumentFonts: Times-Roman Times-Bold Times-Italic%%Pages: 1

⌨️ 快捷键说明

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