%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:09:53 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 def systemdict /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 add currentpoint pop X m}bind def /H{//res div 0 transform X round X itransform pop currentpoint X pop moveto}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 fill gr}bind def 1 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} if end /BP{ save mark devps begin m0 /DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap currentlinejoin currentdash currentgray currentmiterlimit ] cvx def }bind def /EP{ end cleartomark restore showpage}def /Encoding-1 256 array def 0 1 255 {Encoding-1 exch /.notdef put} for Encoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-B Encoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-b Encoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accents Encoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessi Encoding-1 dup 8#41 /copyright put dup 8#42 /registered put dup 8#43 /trademark put dup 8#44 /logicalnot put dup 8#45 /Eth put dup 8#46 /eth put dup 8#47 /Thorn put dup 8#50 /thorn put dup 8#51 /brokenbar put dup 8#52 /degree put dup 8#53 /divide put dup 8#54 /multiply put dup 8#55 /minus put dup 8#56 /onehalf put dup 8#57 /onequarter put dup 8#60 /threequarters put dup 8#101 /Aacute put dup 8#102 /Acircumflex put dup 8#103 /Adieresis put dup 8#104 /Agrave put dup 8#105 /Aring put dup 8#106 /Atilde put dup 8#107 /Ccedilla put dup 8#110 /Eacute put dup 8#111 /Ecircumflex put dup 8#112 /Edieresis put dup 8#113 /Egrave put dup 8#114 /Iacute put dup 8#115 /Icircumflex put dup 8#116 /Idieresis put dup 8#117 /Igrave put dup 8#120 /Ntilde put dup 8#121 /Oacute put dup 8#122 /Ocircumflex put dup 8#123 /Odieresis put dup 8#124 /Ograve put dup 8#125 /Otilde put dup 8#126 /Scaron put dup 8#127 /Uacute put dup 8#130 /Ucircumflex put dup 8#131 /Udieresis put dup 8#132 /Ugrave put dup 8#133 /Ydieresis put dup 8#134 /Zcaron put dup 8#135 /aacute put dup 8#136 /acircumflex put dup 8#137 /adieresis put dup 8#140 /agrave put dup 8#141 /aring put dup 8#142 /atilde put dup 8#143 /ccedilla put dup 8#144 /eacute put dup 8#145 /ecircumflex put dup 8#146 /edieresis put dup 8#147 /egrave put dup 8#150 /iacute put dup 8#151 /icircumflex put dup 8#152 /idieresis put dup 8#153 /igrave put dup 8#154 /ntilde put dup 8#155 /oacute put dup 8#156 /ocircumflex put dup 8#157 /odieresis put dup 8#160 /ograve put dup 8#161 /otilde put dup 8#162 /scaron put dup 8#163 /uacute put dup 8#164 /ucircumflex put dup 8#165 /udieresis put dup 8#166 /ugrave put dup 8#167 /ydieresis put dup 8#170 /zcaron put pop /Enc-dict 30 dict def Enc-dict /tmpstr1 50 string put Enc-dict /tmpstr2 50 string put Enc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put /AEnc-def { % arguments: the original font's name, encoding nr Enc-dict begin tmpstr2 cvs /Enc-no exch def % Remember the number in a string dup /OrigName exch def % remember the name findfont 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 } forall newdict begin /Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encoding currentdict /UniqueID known { /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueID end % newdict /FNlength OrigName tmpstr1 cvs length def % convert name, remember length FNlength 1 add Enc-no length add string dup 0 OrigName tmpstr1 cvs putinterval dup FNlength (-) putinterval dup FNlength 1 add Enc-no putinterval dup 0 tmpstr1 0 FNlength getinterval putinterval % Add old name cvn dup newdict /FontName 3 2 roll put newdict definefont end % 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 /Y{/Symbol FF}def %%EndProlog %%Page: 1 1 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 9 R 720(N)S 722(NA)S 790(AM)S 858(ME)S 940(E)S 1080 V 10 R 1080(termcap)S 10 R-1 1430(-)S 10 R 1512(terminal)S (capability)397 1873 A 2295(data)S 2488(base)S 1248 V 9 R 720(S)S 722(SY)S 774(YN)S 842(NO)S 910(OP)S 978(PS)S 1030(SI)S 1082(IS)S 1115(S)S 1368 V 10 B 1080(/etc/termcap)S 1536 V 9 R 720(D)S 722(DE)S 790(ES)S 848(SC)S 900(CR)S 962(RI)S 1024(IP)S 1057(PT)S 1109(TI)S 1167(IO)S 1200(ON)S 1268(N)S 1656 V 10 B 1080(Termcap)S 10 R 1529(is)S 1645(a)S 1739(data)S 1956(base)S 2184(describing)S 2652(terminals,)S 3101(used,)S 10 I 3359(e.g.)S 10 R 3512(,)S 3586(by)S 10 B 3735(vi)S 10 R 3821(\(1\))S 3988(and)S 10 B 4183(curses)S 10 R 4460(\(3\).)S 4678(Terminals)S 5137(are)S 1776 V 1080(described)S 1499(in)S 10 B 1610(termcap)S 10 R 2010(by)S 2143(giving)S 2432(a)S 2510(set)S 2655(of)S (capabilities)459 2772 A 3264(that)S 3448(they)S 3654(have)S 3877(and)S 4054(by)S 4186(describing)S 4637(how)S 4842(operations)S 1896 V 1080(are)S 1229(performed.)S 1724(Padding)S 2078(requirements)S 2629(and)S (initialization)509 2799 A 3333(sequences)S 3766(are)S 3915(included)S 4286(in)S 10 B 4389(termcap)S 10 R 4756(.)S 2064 V 1080(Entries)S 1397(in)S 10 B 1506(termcap)S 10 R 1904(consist)S 2214(of)S 2329(a)S 2405(number)S 2743(of)S 2858(`:'-separated)S 3400(\256elds.)S 3699(The)S 3887(\256rst)S 4075(entry)S 4314(for)S (each)185 4464 A 4681(terminal)S 5049(gives)S 2184 V 1080(the)S 1238(names)S 1530(that)S 1716(are)S (known)273 1875 A 2183(for)S 2336(the)S 2494(terminal,)S 2890(separated)S 3306(by)S 3441(`|')S 3564(characters.)S 4059(The)S 4251(\256rst)S 4443(name)S 4695(is)S 4796(always)S 5110(two)S 2304 V 1080(characters)S (long)178 1534 A 1756(and)S 1945(is)S 2056(used)S 2284(by)S 2429(older)S 2681(systems)S 3044(which)S 3335(store)S 3576(the)S 3744(terminal)S 4125(type)S 4343(in)S 4466(a)S 4556(16-bit)S 4841(word)S 5093(in)S 5216(a)S 2424 V 1080(system-wide)S 1618(data)S 1815(base.)S 2073(The)S (second)279 2259 A 2567(name)S 2814(given)S 3066(is)S 3162(the)S 3314(most)S 3538(common)S 3918(abbreviation)S 4450(for)S 4597(the)S 4749(terminal,)S 5138(the)S 2544 V 1080(last)S 1251(name)S 1500(given)S (should)267 1754 A 2052(be)S 2178(a)S (long)178 2254 A 2463(name)S 2712(fully)S 2934(identifying)S 3407(the)S 3562(terminal,)S 3955(and)S 4132(all)S 4265(others)S 4543(are)S (understood)446 4699 A 5177(as)S 2664 V (synonyms)406 1080 A 1518(for)S 1668(the)S 1823(terminal)S 2191(name.)S 2491(All)S 2652(names)S 2941(but)S 3101(the)S 3255(\256rst)S 3443(and)S 3619(last)S (should)267 3790 A 4088(be)S 4214(in)S 4323(lower)S 4584(case)S 4789(and)S 4965(contain)S 2784 V 1080(no)S 1205(blanks;)S 1520(the)S 1668(last)S 1833(name)S 2076(may)S 2274(well)S 2473(contain)S (upper)229 2794 A 3048(case)S 3247(and)S 3417(blanks)S 3704(for)S (readability.)456 3847 A 2952 V 1080(Terminal)S 1479(names)S 1765(\(except)S 2091(for)S 2238(the)S 2390(last,)S 2585(verbose)S 2928(entry\))S (should)267 3199 A 3496(be)S 3621(chosen)S 3930(using)S 4177(the)S 4330(following)S (conventions.)510 4751 A 3072 V 1080(The)S 1264(particular)S (piece)213 1678 A 1918(of)S 2029(hardware)S 2432(making)S 2760(up)S 2887(the)S 3037(terminal)S (should)267 3400 A 3694(have)S 3910(a)S 3981(root)S 4169(name)S 4413(chosen,)S 4743(thus)S (hp2621.)325 4936 A 3192 V 1080(This)S 1289(name)S (should)267 1537 A 1834(not)S 1992(contain)S (hyphens.)359 2318 A 2732(Modes)S 3035(that)S 3216(the)S 3370(hardware)S 3777(can)S 3948(be)S 4074(in)S 4183(or)S 4298(user)S 4497(preferences)S (should)267 4994 A 3312 V 1080(be)S 1208(indicated)S 1610(by)S 1743(appending)S 2194(a)S (hyphen)295 2272 A 2600(and)S 2778(an)S 2906(indicator)S 3297(of)S 3413(the)S 3568(mode.)S 3873(Therefore,)S 4329(a)S (vt100)228 4406 A 4666(in)S (132-column)485 4776 A 3432 V 1080(mode)S 1328(would)S 1604(be)S (vt100-w.)360 1724 A 2134(The)S 2316(following)S 2732(suf\256xes)S (should)267 3070 A 3362(be)S 3482(used)S 3691(where)S 3963(possible:)S 3672 V 10 B 1956(Suf\256x)S 2283(Meaning)S 3993(Example)S 3792 V 10 R 1956(-w)S 2283(Wide)S 2526(mode)S 2774(\(more)S 3040(than)S 3238(80)S 3363(columns\))S (vt100-w)335 3993 A 3912 V 1956(-am)S 2283(With)S 2509(automatic)S 2931(margins)S 3280(\(usually)S 3629(default\))S (vt100-am)385 3993 A 4032 V 1956(-nam)S (Without)329 2283 A 2637(automatic)S 3059(margins)S (vt100-nam)435 3993 A 4152 V 1956(-)S 10 I 1990(n)S 10 R 2283(Number)S 2638(of)S 2747(lines)S 2962(on)S 3087(the)S 3235(screen)S (aaa-60)269 3993 A 4272 V 1956(-na)S 2283(No)S 2431(arrow)S 2692(keys)S 2901(\(leave)S 3173(them)S 3399(in)S 3502(local\))S (concept100-na)592 3993 A 4392 V 1956(-)S 10 I 1990(n)S 10 R 2048(p)S 2283(Number)S 2638(of)S 2747(pages)S 3001(of)S 3110(memory)S (concept100-4p)597 3993 A 4512 V 1956(-rv)S 2283(Reverse)S 2633(video)S (concept100-rv)581 3993 A 4680 V 9 R 720(C)S 722(CA)S 784(AP)S 852(PA)S 904(AB)S 972(BI)S 1034(IL)S 1067(LI)S 1125(IT)S 1158(TI)S 1216(IE)S 1249(ES)S 1307(S)S 4800 V 10 R 1080(The)S 1263(characters)S 1699(in)S 1803(the)S 10 B 1952(Notes)S 10 R 2219(\256eld)S 2424(in)S 2528(the)S 2677(table)S 2899(have)S 3115(the)S 3264(following)S 3681(meanings)S 4093(\(more)S 4361(than)S 4561(one)S 4733(may)S 4933(apply)S 5183(to)S 4920 V 1080(a)S (capability\):)459 1150 A 5088 V 1080(N)S 1228(indicates)S 1611(numeric)S 1966(parameter\(s\))S 5208 V 1080(P)S 1228(indicates)S 1611(that)S 1787(padding)S 2135(may)S 2333(be)S 2453(speci\256ed)S 5328 V 10 Y 1080(*)S 10 R 1228(indicates)S 1611(that)S 1787(padding)S 2135(may)S 2333(be)S 2453(based)S 2707(on)S 2832(the)S 2980(number)S 3312(of)S 3421(lines)S 3636(affected)S 5448 V 1080(o)S 1228(indicates)S (capability)397 1611 A 2033(is)S 2125(obsolete)S 5616 V 1080(Obsolete)S (capabilities)459 1476 A 1973(have)S 2201(no)S 10 B 2339(terminfo)S 10 R 2762(equivalents,)S 3284(since)S 3530(they)S 3742(were)S 3978(considered)S 4453(useless,)S 4802(or)S 4925(are)S 5088(sub-)S 5736 V 1080(sumed)S 1367(by)S 1492(other)S (capabilities.)484 1724 A 2258(New)S 2474(software)S (should)267 2847 A 3139(not)S 3292(rely)S 3474(on)S 3599(them)S 3825(at)S 3923(all.)S 5904 V 10 B 1080(Name)S 1382(Type)S 1650(Notes)S 1941(Description)S 6024 V 10 R 1080(ae)S 1382(str)S 1650(\(P\))S 1941(End)S 2128(alternate)S 2501(character)S 2897(set)S 6144 V 1080(AL)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Add)S 10 I 2139(n)S 10 R 2222(new)S 2415(blank)S 2663(lines)S 6264 V 1080(al)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S 1941(Add)S 2139(new)S 2332(blank)S 2580(line)S 6384 V 1080(am)S (bool)178 1382 A 1941(Terminal)S 2336(has)S 2495(automatic)S 2917(margins)S 6504 V 1080(as)S 1382(str)S 1650(\(P\))S 1941(Start)S 2157(alternate)S 2530(character)S 2926(set)S 6624 V 1080(bc)S 1382(str)S 1650(\(o\))S (Backspace)431 1941 A 2397(if)S 2484(not)S 10 B 2637(\303H)S 6744 V 10 R 1080(bl)S 1382(str)S 1650(\(P\))S 1941(Audible)S 2290(signal)S 2555(\(bell\))S 6864 V 1080(bs)S (bool)178 1382 A 1650(\(o\))S 1941(Terminal)S 2336(can)S (backspace)414 2501 A 2940(with)S 10 B 3144(\303H)S 6984 V 10 R 1080(bt)S 1382(str)S 1650(\(P\))S 1941(Back)S 2173(tab)S 7104 V 1080(bw)S (bool)178 1382 A 10 B 1941(le)S 10 R (\(backspace\))482 2039 A 2546(wraps)S 2812(from)S 3033(column)S 3359(0)S 3434(to)S 3537(last)S 3702(column)S 7224 V 1080(CC)S 1382(str)S 1941(Terminal)S 2336(settable)S 2669(command)S 3090(character)S 3486(in)S 3589(prototype)S 7344 V 1080(cd)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S 1941(Clear)S 2185(to)S 2288(end)S 2458(of)S 2567(display)S 7464 V 1080(ce)S 1382(str)S 1650(\(P\))S 1941(Clear)S 2185(to)S 2288(end)S 2458(of)S 2567(line)S 7903 V 720(Page)S 941(1)S 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 2 2 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1080(ch)S 1382(str)S 1650(\(NP\))S 1941(Set)S 2095(cursor)S 2372(column)S 2698(\(horizontal)S (position\))357 3165 A 1080 V 1080(cl)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S 1941(Clear)S 2185(screen)S 2468(and)S 2638(home)S 2886(cursor)S 1200 V 1080(CM)S 1382(str)S 1650(\(NP\))S 1941(Memory-relative)S 2649(cursor)S 2926(addressing)S 1320 V 1080(cm)S 1382(str)S 1650(\(NP\))S 1941(Screen-relative)S 2578(cursor)S 2855(motion)S 1440 V 1080(co)S 1382(num)S 1941(Number)S 2296(of)S 2405(columns)S 2770(in)S 2873(a)S 2943(line)S 3119(\(See)S 3324(BUGS)S 3618(section)S 3928(below\))S 1560 V 1080(cr)S 1382(str)S 1650(\(P\))S 1941(Carriage)S 2314(return)S 1680 V 1080(cs)S 1382(str)S 1650(\(NP\))S 1941(Change)S (scrolling)352 2273 A 2650(region)S (\(VT100\))353 2932 A 1800 V 1080(ct)S 1382(str)S 1650(\(P\))S 1941(Clear)S 2185(all)S 2311(tab)S 2459(stops)S 1920 V 1080(cv)S 1382(str)S 1650(\(NP\))S 1941(Set)S 2095(cursor)S 2372(row)S 2554(\(vertical)S (position\))357 2916 A 2040 V 1080(da)S (bool)178 1382 A 1941(Display)S 2279(may)S 2477(be)S 2597(retained)S (above)240 2947 A 3212(the)S 3360(screen)S 2160 V 1080(dB)S 1382(num)S 1650(\(o\))S (Milliseconds)519 1941 A 2485(of)S 10 B 2594(bs)S 10 R 2714(delay)S 2957(needed)S 3267(\(default)S 3606(0\))S 2280 V 1080(db)S (bool)178 1382 A 1941(Display)S 2279(may)S 2477(be)S 2597(retained)S 2947(below)S 3218(the)S 3366(screen)S 2400 V 1080(DC)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Delete)S 10 I 2230(n)S 10 R 2313(characters)S 2520 V 1080(dC)S 1382(num)S 1650(\(o\))S (Milliseconds)519 1941 A 2485(of)S 10 B 2594(cr)S 10 R 2709(delay)S 2952(needed)S 3262(\(default)S 3601(0\))S 2640 V 1080(dc)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S 1941(Delete)S 2230(character)S 2760 V 1080(dF)S 1382(num)S 1650(\(o\))S (Milliseconds)519 1941 A 2485(of)S 10 B 2594(ff)S 10 R 2687(delay)S 2930(needed)S 3240(\(default)S 3579(0\))S 2880 V 1080(DL)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Delete)S 10 I 2230(n)S 10 R 2313(lines)S 3000 V 1080(dl)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S 1941(Delete)S 2230(line)S 3120 V 1080(dm)S 1382(str)S 1941(Enter)S 2185(delete)S 2451(mode)S 3240 V 1080(dN)S 1382(num)S 1650(\(o\))S (Milliseconds)519 1941 A 2485(of)S 10 B 2594(nl)S 10 R 2703(delay)S 2946(needed)S 3256(\(default)S 3595(0\))S 3360 V 1080(DO)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Move)S 2200(cursor)S 2477(down)S 10 I 2725(n)S 10 R 2808(lines)S 3480 V 1080(do)S 1382(str)S 1941(Down)S 2212(one)S 2382(line)S 3600 V 1080(ds)S 1382(str)S 1941(Disable)S 2274(status)S 2528(line)S 3720 V 1080(dT)S 1382(num)S 1650(\(o\))S (Milliseconds)519 1941 A 2485(of)S 2594(horizontal)S 3027(tab)S 3175(delay)S 3418(needed)S 3728(\(default)S 4067(0\))S 3840 V 1080(dV)S 1382(num)S 1650(\(o\))S (Milliseconds)519 1941 A 2485(of)S 2594(vertical)S 2922(tab)S 3070(delay)S 3313(needed)S 3623(\(default)S 3962(0\))S 3960 V 1080(ec)S 1382(str)S 1650(\(NP\))S 1941(Erase)S 10 I 2191(n)S 10 R 2274(characters)S 4080 V 1080(ed)S 1382(str)S 1941(End)S 2128(delete)S 2394(mode)S 4200 V 1080(ei)S 1382(str)S 1941(End)S 2128(insert)S 2377(mode)S 4320 V 1080(eo)S (bool)178 1382 A 1941(Can)S 2128(erase)S 2361(overstrikes)S 2828(with)S 3032(a)S 3102(blank)S 4440 V 1080(EP)S (bool)178 1382 A 1650(\(o\))S 1941(Even)S 2173(parity)S 4560 V 1080(es)S (bool)178 1382 A 1941(Escape)S 2252(can)S 2417(be)S 2537(used)S 2746(on)S 2871(the)S 3019(status)S 3273(line)S 4680 V 1080(ff)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S (Hardcopy)397 1941 A 2363(terminal)S 2724(page)S 2939(eject)S 4800 V 1080(fs)S 1382(str)S 1941(Return)S 2240(from)S 2461(status)S 2715(line)S 4920 V 1080(gn)S (bool)178 1382 A 1941(Generic)S 2286(line)S 2462(type)S 2660(\()S 10 I 2694(e.g.)S 10 R 2864(dialup,)S 3165(switch\))S 5040 V 1080(hc)S (bool)178 1382 A (Hardcopy)397 1941 A 2363(terminal)S 5160 V 1080(HD)S (bool)178 1382 A 1650(\(o\))S (Half-duplex)487 1941 A 5280 V 1080(hd)S 1382(str)S 1941(Half-line)S 2331(down)S 2579(\(forward)S 2958(1/2)S 3111(linefeed\))S 5400 V 1080(ho)S 1382(str)S 1650(\(P\))S 1941(Home)S 2212(cursor)S 5520 V 1080(hs)S (bool)178 1382 A 1941(Has)S 2123(extra)S 2350(status)S 2604(line)S 5640 V 1080(hu)S 1382(str)S 1941(Half-line)S 2331(up)S 2456(\(reverse)S 2807(1/2)S 2960(linefeed\))S 5760 V 1080(hz)S (bool)178 1382 A (Cannot)290 1941 A 2256(print)S 2471(\304s)S (\(Hazeltine\))455 2569 A 5880 V 1080(i1-i3)S 1382(str)S 1941(Terminal)S (initialization)509 2336 A 2870(strings)S 3163(\()S 10 B 3197(terminfo)S 10 R 3606(only\))S 6000 V 1080(IC)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Insert)S 10 I 2196(n)S 10 R 2279(blank)S 2527(characters)S 6120 V 1080(ic)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S 1941(Insert)S 2196(character)S 6240 V 1080(if)S 1382(str)S 1941(Name)S 2207(of)S 2316(\256le)S 2470(containing)S (initialization)509 2919 A 3453(string)S 6360 V 1080(im)S 1382(str)S 1941(Enter)S 2185(insert)S 2434(mode)S 6480 V 1080(in)S (bool)178 1382 A 1941(Insert)S 2196(mode)S (distinguishes)524 2444 A 2993(nulls)S 6600 V 1080(iP)S 1382(str)S 1941(Pathname)S 2363(of)S 2472(program)S 2838(for)S (initialization)509 2981 A 3515(\()S 10 B 3549(terminfo)S 10 R 3958(only\))S 6720 V 1080(ip)S 1382(str)S 1650(\(P)S 10 Y 1740(*)S 10 R 1790(\))S 1941(Insert)S 2196(pad)S 2366(after)S 2577(character)S 2973(inserted)S 6840 V 1080(is)S 1382(str)S 1941(Terminal)S (initialization)509 2336 A 2870(string)S 3124(\()S 10 B 3158(termcap)S 10 R 3550(only\))S 6960 V 1080(it)S 1382(num)S 1941(Tabs)S (initially)313 2162 A 2500(every)S 10 I 2749(n)S 10 R (positions)362 2832 A 7080 V 1080(K1)S 1382(str)S 1941(Sent)S 2145(by)S 2270(keypad)S (upper)229 2585 A 2839(left)S 7200 V 1080(K2)S 1382(str)S 1941(Sent)S 2145(by)S 2270(keypad)S (upper)229 2585 A 2839(right)S 7320 V 1080(K3)S 1382(str)S 1941(Sent)S 2145(by)S 2270(keypad)S 2585(center)S 7440 V 1080(K4)S 1382(str)S 1941(Sent)S 2145(by)S 2270(keypad)S 2585(lower)S 2840(left)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4990(Page)S 5211(2)S 8143 V EP %%Page: 3 3 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1080(K5)S 1382(str)S 1941(Sent)S 2145(by)S 2270(keypad)S 2585(lower)S 2840(right)S 1080 V 1080(k0-k9)S 1382(str)S 1941(Sent)S 2145(by)S 2270(function)S 2630(keys)S 2839(0-9)S 1200 V 1080(kA)S 1382(str)S 1941(Sent)S 2145(by)S 2270(insert-line)S 2704(key)S 1320 V 1080(ka)S 1382(str)S 1941(Sent)S 2145(by)S 2270(clear-all-tabs)S 2823(key)S 1440 V 1080(kb)S 1382(str)S 1941(Sent)S 2145(by)S (backspace)414 2270 A 2709(key)S 1560 V 1080(kC)S 1382(str)S 1941(Sent)S 2145(by)S 2270(clear-screen)S 2784(or)S 2893(erase)S 3126(key)S 1680 V 1080(kD)S 1382(str)S 1941(Sent)S 2145(by)S 2270(delete-character)S 2941(key)S 1800 V 1080(kd)S 1382(str)S 1941(Sent)S 2145(by)S 2270(down-arrow)S 2788(key)S 1920 V 1080(kE)S 1382(str)S 1941(Sent)S 2145(by)S 2270(clear-to-end-of-line)S 3086(key)S 2040 V 1080(ke)S 1382(str)S 1941(Out)S 2117(of)S 2226(keypad)S 2541(transmit)S 2896(mode)S 2160 V 1080(kF)S 1382(str)S 1941(Sent)S 2145(by)S 2270(scroll-forward/down)S 3124(key)S 2280 V 1080(kH)S 1382(str)S 1941(Sent)S 2145(by)S 2270(home-down)S 2775(key)S 2400 V 1080(kh)S 1382(str)S 1941(Sent)S 2145(by)S 2270(home)S 2518(key)S 2520 V 1080(kI)S 1382(str)S 1941(Sent)S 2145(by)S 2270(insert-character)S 2924(or)S 3033(enter-insert-mode)S 3775(key)S 2640 V 1080(kL)S 1382(str)S 1941(Sent)S 2145(by)S 2270(delete-line)S 2721(key)S 2760 V 1080(kl)S 1382(str)S 1941(Sent)S 2145(by)S 2270(left-arrow)S 2700(key)S 2880 V 1080(kM)S 1382(str)S 1941(Sent)S 2145(by)S 2270(insert)S 2519(key)S 2689(while)S 2938(in)S 3041(insert)S 3290(mode)S 3000 V 1080(km)S (bool)178 1382 A 1941(Has)S 2123(a)S 2193(meta)S 2414(key)S 2584(\(shift,)S 2847(sets)S 3023(parity)S 3283(bit\))S 3120 V 1080(kN)S 1382(str)S 1941(Sent)S 2145(by)S 2270(next-page)S 2692(key)S 3240 V 1080(kn)S 1382(num)S 1650(\(o\))S 1941(Number)S 2296(of)S 2405(function)S 2765(\()S 10 B 2799(k0)S 10 R-1 2905(-)S 10 B 2962(k9)S 10 R 3068(\))S 3127(keys)S 3336(\(default)S 3675(0\))S 3360 V 1080(ko)S 1382(str)S 1650(\(o\))S 1941(Termcap)S 2325(entries)S 2619(for)S 2762(other)S (non-function)519 2994 A 3538(keys)S 3480 V 1080(kP)S 1382(str)S 1941(Sent)S 2145(by)S 2270(previous-page)S 2865(key)S 3600 V 1080(kR)S 1382(str)S 1941(Sent)S 2145(by)S 2270(scroll-backward/up)S 3073(key)S 3720 V 1080(kr)S 1382(str)S 1941(Sent)S 2145(by)S 2270(right-arrow)S 2755(key)S 3840 V 1080(kS)S 1382(str)S 1941(Sent)S 2145(by)S 2270(clear-to-end-of-screen)S 3193(key)S 3960 V 1080(ks)S 1382(str)S 1941(Put)S 2100(terminal)S 2461(in)S 2564(keypad)S 2879(transmit)S 3234(mode)S 4080 V 1080(kT)S 1382(str)S 1941(Sent)S 2145(by)S 2270(set-tab)S 2564(key)S 4200 V 1080(kt)S 1382(str)S 1941(Sent)S 2145(by)S 2270(clear-tab)S 2649(key)S 4320 V 1080(ku)S 1382(str)S 1941(Sent)S 2145(by)S 2270(up-arrow)S 2665(key)S 4440 V 1080(l0-l9)S 1382(str)S 1941(Labels)S 2235(on)S 2360(function)S 2720(keys)S 2929(if)S 3016(not)S 3169(f)S 10 I 3203(n)S 4560 V 10 R 1080(LC)S (bool)178 1382 A 1650(\(o\))S 1941(Lower-case)S 2438(only)S 4680 V 1080(LE)S 1382(str)S 1650(\(NP\))S 1941(Move)S 2200(cursor)S 2477(left)S 10 I 2637(n)S 10 R (positions)362 2720 A 4800 V 1080(le)S 1382(str)S 1650(\(P\))S 1941(Move)S 2200(cursor)S 2477(left)S 2637(one)S (position)323 2807 A 4920 V 1080(li)S 1382(num)S 1941(Number)S 2296(of)S 2405(lines)S 2620(on)S 2745(screen)S 3028(or)S 3137(page)S 3352(\(See)S 3557(BUGS)S 3851(section)S 4161(below\))S 5040 V 1080(ll)S 1382(str)S 1941(Last)S 2140(line,)S 2341(\256rst)S 2523(column)S 5160 V 1080(lm)S 1382(num)S 1941(Lines)S 2190(of)S 2299(memory)S 2659(if)S 2746(>)S 10 B 2828(li)S 10 R 2909(\(0)S 3018(means)S 3300(varies\))S 5280 V 1080(ma)S 1382(str)S 1650(\(o\))S 1941(Arrow)S 2230(key)S 2400(map)S 2598(\(used)S 2841(by)S 10 B 2966(vi)S 10 R 3077(version)S 3398(2)S 3473(only\))S 5400 V 1080(mb)S 1382(str)S 1941(Turn)S 2162(on)S 2287(blinking)S 2646(attribute)S 5520 V 1080(md)S 1382(str)S 1941(Turn)S 2162(on)S 2287(bold)S 2490(\(extra)S 2751(bright\))S 3050(attribute)S 5640 V 1080(me)S 1382(str)S 1941(Turn)S 2162(off)S 2305(all)S 2431(attributes)S 5760 V 1080(mh)S 1382(str)S 1941(Turn)S 2162(on)S 2287(half-bright)S 2743(attribute)S 5880 V 1080(mi)S (bool)178 1382 A 1941(Safe)S 2146(to)S 2249(move)S 2497(while)S 2746(in)S 2849(insert)S 3098(mode)S 6000 V 1080(mk)S 1382(str)S 1941(Turn)S 2162(on)S 2287(blank)S 2535(attribute)S 2896(\(characters)S 3365(invisible\))S 6120 V 1080(ml)S 1382(str)S 1650(\(o\))S 1941(Memory)S 2312(lock)S 2510(on)S (above)240 2635 A 2900(cursor)S 6240 V 1080(mm)S 1382(str)S 1941(Turn)S 2162(on)S 2287(meta)S 2508(mode)S 2756(\(8th)S 2943(bit\))S 6360 V 1080(mo)S 1382(str)S 1941(Turn)S 2162(off)S 2305(meta)S 2526(mode)S 6480 V 1080(mp)S 1382(str)S 1941(Turn)S 2162(on)S 2287(protected)S 2687(attribute)S 6600 V 1080(mr)S 1382(str)S 1941(Turn)S 2162(on)S 2287(reverse-video)S (attibute)302 2861 A 6720 V 1080(ms)S (bool)178 1382 A 1941(Safe)S 2146(to)S 2249(move)S 2497(in)S (standout)340 2600 A 2965(modes)S 6840 V 1080(mu)S 1382(str)S 1650(\(o\))S 1941(Memory)S 2312(unlock)S 2610(\(turn)S 2831(off)S 2974(memory)S 3334(lock\))S 6960 V 1080(nc)S (bool)178 1382 A 1650(\(o\))S 1941(No)S 2089(correctly-working)S 10 B 2842(cr)S 10 R 2957(\(Datamedia)S (2500,)225 3453 A (Hazeltine)387 3703 A (2000\))234 4115 A 7080 V 1080(nd)S 1382(str)S 1941(Non-destructive)S (space)224 2615 A 2864(\(cursor)S 3175(right\))S 7200 V 1080(NL)S (bool)178 1382 A 1650(\(o\))S 10 B 1941(\\n)S 10 R 2050(is)S 2142(newline,)S 2511(not)S 2664(line)S 2840(feed)S 7320 V 1080(nl)S 1382(str)S 1650(\(o\))S 1941(Newline)S 2308(character)S 2704(if)S 2791(not)S 10 B 2944(\\n)S 7440 V 10 R 1080(ns)S (bool)178 1382 A 1650(\(o\))S 1941(Terminal)S 2336(is)S 2428(a)S 9 R 2496(CRT)S 10 R 2697(but)S 2850(doesn't)S 3171(scroll)S 7903 V 720(Page)S 941(3)S 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 4 4 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1080(nw)S 1382(str)S 1650(\(P\))S 1941(Newline)S 2308(\(behaves)S 2691(like)S 10 B 2867(cr)S 10 R 2982(followed)S 3365(by)S 10 B 3490(do)S 10 R 3596(\))S 1080 V 1080(OP)S (bool)178 1382 A 1650(\(o\))S 1941(Odd)S 2139(parity)S 1200 V 1080(os)S (bool)178 1382 A 1941(Terminal)S 2336(overstrikes)S 1320 V 1080(pb)S 1382(num)S 1941(Lowest)S 2263(baud)S 2483(where)S 2755(delays)S 3037(are)S 3186(required)S 1440 V 1080(pc)S 1382(str)S 1941(Pad)S 2117(character)S 2513(\(default)S 8 R 2847(NUL)S 10 R 3013(\))S 1560 V 1080(pf)S 1382(str)S 1941(Turn)S 2162(off)S 2305(the)S 2453(printer)S 1680 V 1080(pk)S 1382(str)S 1941(Program)S 2313(function)S 2673(key)S 10 I 2843(n)S 10 R 2926(to)S 3029(type)S 3227(string)S 10 I 3481(s)S 10 R 3545(\()S 10 B 3579(terminfo)S 10 R 3988(only\))S 1800 V 1080(pl)S 1382(str)S 1941(Program)S 2313(function)S 2673(key)S 10 I 2843(n)S 10 R 2926(to)S 3029(execute)S 3362(string)S 10 I 3616(s)S 10 R 3680(\()S 10 B 3714(terminfo)S 10 R 4123(only\))S 1920 V 1080(pO)S 1382(str)S 1650(\(N\))S 1941(Turn)S 2162(on)S 2287(the)S 2435(printer)S 2729(for)S 10 I 2872(n)S 10 R 2955(bytes)S 2040 V 1080(po)S 1382(str)S 1941(Turn)S 2162(on)S 2287(the)S 2435(printer)S 2160 V 1080(ps)S 1382(str)S 1941(Print)S 2162(contents)S 2522(of)S 2631(the)S 2779(screen)S 2280 V 1080(pt)S (bool)178 1382 A 1650(\(o\))S 1941(Has)S 2123(hardware)S 2524(tabs)S 2711(\(may)S 2943(need)S 3158(to)S 3261(be)S 3381(set)S 3518(with)S 10 B 3722(is)S 10 R 3789(\))S 2400 V 1080(px)S 1382(str)S 1941(Program)S 2313(function)S 2673(key)S 10 I 2843(n)S 10 R 2926(to)S 3029(transmit)S 3384(string)S 10 I 3638(s)S 10 R 3702(\()S 10 B 3736(terminfo)S 10 R 4145(only\))S 2520 V 1080(r1-r3)S 1382(str)S 1941(Reset)S 2190(terminal)S 2551(completely)S 3023(to)S 3126(sane)S 3330(modes)S 3617(\()S 10 B 3651(terminfo)S 10 R 4060(only\))S 2640 V 1080(rc)S 1382(str)S 1650(\(P\))S 1941(Restore)S 2274(cursor)S 2551(to)S (position)323 2654 A 3002(of)S 3111(last)S 10 B 3276(sc)S 2760 V 10 R 1080(rf)S 1382(str)S 1941(Name)S 2207(of)S 2316(\256le)S 2470(containing)S 2919(reset)S 3135(codes)S 2880 V 1080(RI)S 1382(str)S 1650(\(NP\))S 1941(Move)S 2200(cursor)S 2477(right)S 10 I 2692(n)S 10 R (positions)362 2775 A 3000 V 1080(rp)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Repeat)S 2246(character)S 10 I 2642(c)S 2712(n)S 10 R 2795(times)S 3120 V 1080(rs)S 1382(str)S 1941(Reset)S 2190(terminal)S 2551(completely)S 3023(to)S 3126(sane)S 3330(modes)S 3617(\()S 10 B 3651(termcap)S 10 R 4043(only\))S 3240 V 1080(sa)S 1382(str)S 1650(\(NP\))S 1941(De\256ne)S 2235(the)S 2383(video)S 2631(attributes)S 3360 V 1080(sc)S 1382(str)S 1650(\(P\))S 1941(Save)S 2162(cursor)S (position)323 2439 A 3480 V 1080(se)S 1382(str)S 1941(End)S (standout)340 2128 A 2493(mode)S 3600 V 1080(SF)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Scroll)S 2207(forward)S 10 I 2552(n)S 10 R 2635(lines)S 3720 V 1080(sf)S 1382(str)S 1650(\(P\))S 1941(Scroll)S 2207(text)S 2383(up)S 3840 V 1080(sg)S 1382(num)S 1941(Number)S 2296(of)S 2405(garbage)S 2749(chars)S 2987(left)S 3147(by)S 10 B 3272(so)S 10 R 3386(or)S 10 B 3495(se)S 10 R 3604(\(default)S 3943(0\))S 3960 V 1080(so)S 1382(str)S 1941(Begin)S (standout)340 2206 A 2571(mode)S 4080 V 1080(SR)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Scroll)S 2207(backward)S 10 I 2624(n)S 10 R 2707(lines)S 4200 V 1080(sr)S 1382(str)S 1650(\(P\))S 1941(Scroll)S 2207(text)S 2383(down)S 4320 V 1080(st)S 1382(str)S 1941(Set)S 2095(a)S 2165(tab)S 2313(in)S 2416(all)S 2542(rows,)S 2788(current)S 3099(column)S 4440 V 1080(ta)S 1382(str)S 1650(\(P\))S 1941(Tab)S 2123(to)S 2226(next)S (8-position)407 2424 A 2856(hardware)S 3257(tab)S 3405(stop)S 4560 V 1080(tc)S 1382(str)S 1941(Entry)S 2190(of)S 2299(similar)S 2604(terminal)S 10 R-1 2965(-)S 10 R 3047(must)S 3267(be)S 3387(last)S 4680 V 1080(te)S 1382(str)S 1941(String)S 2212(to)S 2315(end)S 2485(programs)S 2890(that)S 3066(use)S 10 B 3225(termcap)S 4800 V 10 R 1080(ti)S 1382(str)S 1941(String)S 2212(to)S 2315(begin)S 2563(programs)S 2968(that)S 3144(use)S 10 B 3303(termcap)S 4920 V 10 R 1080(ts)S 1382(str)S 1650(\(N\))S 1941(Go)S 2089(to)S 2192(status)S 2446(line,)S 2647(column)S 10 I 2973(n)S 5040 V 10 R 1080(UC)S (bool)178 1382 A 1650(\(o\))S 1941(Upper-case)S 2426(only)S 5160 V 1080(uc)S 1382(str)S 1941(Underscore)S 2431(one)S 2601(character)S 2997(and)S 3167(move)S 3415(past)S 3602(it)S 5280 V 1080(ue)S 1382(str)S 1941(End)S (underscore)442 2128 A 2595(mode)S 5400 V 1080(ug)S 1382(num)S 1941(Number)S 2296(of)S 2405(garbage)S 2749(chars)S 2987(left)S 3147(by)S 10 B 3272(us)S 10 R 3392(or)S 10 B 3501(ue)S 10 R 3627(\(default)S 3966(0\))S 5520 V 1080(ul)S (bool)178 1382 A 1941(Underline)S 2369(character)S 2765(overstrikes)S 5640 V 1080(UP)S 1382(str)S 1650(\(NP)S 10 Y 1813(*)S 10 R 1863(\))S 1941(Move)S 2200(cursor)S 2477(up)S 10 I 2602(n)S 10 R 2685(lines)S 5760 V 1080(up)S 1382(str)S 1941(Upline)S 2240(\(cursor)S 2551(up\))S 5880 V 1080(us)S 1382(str)S 1941(Start)S (underscore)442 2157 A 2624(mode)S 6000 V 1080(vb)S 1382(str)S 1941(Visible)S 2257(bell)S 2433(\(must)S 2687(not)S 2840(move)S 3088(cursor\))S 6120 V 1080(ve)S 1382(str)S 1941(Make)S 2195(cursor)S 2472(appear)S 2766(normal)S (\(undo)234 3076 A 10 B 3335(vs)S 10 R 3424(/)S 10 B 3452(vi)S 10 R 3530(\))S 6240 V 1080(vi)S 1382(str)S 1941(Make)S 2195(cursor)S 2472(invisible)S 6360 V 1080(vs)S 1382(str)S 1941(Make)S 2195(cursor)S 2472(very)S 2676(visible)S 6480 V 1080(vt)S 1382(num)S 1941(Virtual)S 2252(terminal)S 2613(number)S 2945(\(not)S (supported)396 3132 A 3553(on)S 3678(all)S 3804(systems\))S 6600 V 1080(wi)S 1382(str)S 1650(\(N\))S 1941(Set)S 2095(current)S (window)324 2406 A 6720 V 1080(ws)S 1382(num)S 1941(Number)S 2296(of)S 2405(columns)S 2770(in)S 2873(status)S 3127(line)S 6840 V 1080(xb)S (bool)178 1382 A 1941(Beehive)S 2296(\(f1=)S 8 R 2471(ESC)S 10 R 2620(,)S 2670(f2=\303C\))S 6960 V 1080(xn)S (bool)178 1382 A 1941(Newline)S (ignored)307 2308 A 2640(after)S 2851(80)S 2976(cols)S 3163(\(Concept\))S 7080 V 1080(xo)S (bool)178 1382 A 1941(Terminal)S 2336(uses)S (xoff/xon)346 2534 A 2905(\()S 8 R 2939(DC3)S 10 R 3091(/)S 8 R 3119(DC1)S 10 R 3271(\))S 3330(handshaking)S 7200 V 1080(xr)S (bool)178 1382 A 1650(\(o\))S 1941(Return)S 2240(acts)S 2422(like)S 10 B 2598(ce)S 2713(cr)S 2828(nl)S 10 R 2937(\(Delta)S 3215(Data\))S 7320 V 1080(xs)S (bool)178 1382 A (Standout)357 1941 A 2323(not)S 2476(erased)S 2759(by)S (overwriting)470 2884 A 3379(\(Hewlett-Packard\))S 7440 V 1080(xt)S (bool)178 1382 A 1941(Tabs)S 2162(ruin,)S 2374(magic)S 10 B 2645(so)S 10 R 2759(char)S 2958(\(Teleray)S (1061\))234 3326 A 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4990(Page)S 5211(4)S 8143 V EP %%Page: 5 5 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1080(xx)S (bool)178 1382 A 1650(\(o\))S 1941(Tektronix)S (4025)200 2363 A 2588(insert-line)S 1128 V 10 B 1080(A)S 1178(Sample)S 1522(Entry)S 1296 V 10 R 1080(The)S 1280(following)S 1714(entry,)S 1989(which)S 2278(describes)S 2696(the)S 2862(Concept)S 10 R-1 3197(-)S 10 R (100,)175 3254 A 3472(is)S (among)273 3582 A 3898(the)S 4064(more)S 4314(complex)S 4703(entries)S 5016(in)S 5138(the)S 1416 V 10 B 1080(termcap)S 10 R 1472(\256le)S 1626(as)S 1735(of)S 1844(this)S (writing.)316 2014 A 1584 V 1080(ca)S 1186(|)S (concept100)463 1222 A 1701(|)S (c100)195 1737 A 1948(|)S 1984(concept)S 2313(|)S (c104)195 2349 A 2560(|)S (concept100-4p)597 2596 A 3209(|)S 3245(HDS)S 3472(Concept)S 10 R-1 3807(-)S 10 R (100:\\)206 3864 A 1704 V 1480(:al=3)S 10 Y 1688(*)S 10 R 1738(\\E\303R:am:bl=\303G:cd=16)S 10 Y 2630(*)S 10 R 2680(\\E\303C:ce=16\\E\303U:cl=2)S 10 Y 3551(*)S 10 R 3601(\303L:cm=\\Ea%+)S 4206(%+)S 4372(:\\)S 1824 V (:co#80:.cr=9\303M:db:dc=16\\E\303A:dl=3)1453 1480 A 10 Y 2933(*)S 10 R (\\E\303B:do=\303J:ei=\\E\\200:eo:im=\\E\303P:in:\\)1531 2983 A 1944 V 1480(:ip=16)S 10 Y 1743(*)S 10 R (:is=\\EU\\Ef\\E7\\E5\\E8\\El\\ENH\\EK\\E\\200\\Eo&\\200\\Eo\\47\\E:k1=\\E5:\\)2779 1793 A 2064 V 1480(:k2=\\E6:k3=\\E7:kb=\303h:kd=\\E<:ke=\\Ex:kh=\\E?:kl=\\E>:kr=\\E=:ks=\\EX:\\)S 2184 V (:ku=\\E;:le=\303H:li#24:mb=\\EC:me=\\EN\\200:mh=\\EE:mi:mk=\\EH:mp=\\EI:\\)2989 1480 A 2304 V (:mr=\\ED:nd=\\E=:pb#9600:rp=0.2)1364 1480 A 10 Y 2844(*)S 10 R 2894(\\Er%.%+)S 3293(:se=\\Ed\\Ee:sf=\303J:so=\\EE\\ED:\\)S 2424 V (:.ta=8\\t:te=\\Ev)587 1480 A (\\200\\200\\200\\200\\200\\200\\Ep\\r\\n:\\)1404 2167 A 2544 V (:ti=\\EU\\Ev)444 1480 A 1974(8p\\Ep\\r:ue=\\Eg:ul:up=\\E;:us=\\EG:\\)S 2664 V (:vb=\\Ek\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\200\\EK:\\)3036 1480 A 2784 V 1480(:ve=\\Ew:vs=\\EW:vt#8:xn:\\)S 2904 V 1480(:bs:cr=\303M:dC#9:dT#8:nl=\303J:ta=\303I:pt:)S 3072 V 1080(Entries)S 1397(may)S 1602(continue)S 1980(onto)S (multiple)335 2190 A 2557(lines)S 2779(by)S 2911(giving)S 3199(a)S 3276(\\)S 3336(as)S 3452(the)S 3607(last)S 3779(character)S 4182(of)S 4298(a)S 4375(line,)S 4583(and)S 4760(empty)S 5043(\256elds)S 3192 V 1080(may)S 1289(be)S 1420(included)S 1802(for)S (readability)431 1956 A 2423(\(here)S 2667(between)S 3039(the)S 3198(last)S 3374(\256eld)S 3589(on)S 3725(a)S 3806(line)S 3992(and)S 4172(the)S 4330(\256rst)S 4522(\256eld)S 4736(on)S 4871(the)S 5029(next\).)S 3312 V 1080(Comments)S 1540(may)S 1738(be)S 1858(included)S 2229(on)S 2354(lines)S 2569(beginning)S 2995(with)S 3199(#.)S 3480 V 10 B 1080(Types)S 1362(of)S (Capabilities)515 1471 A 3648 V 10 R (Capabilities)481 1080 A 1588(in)S 10 B 1694(termcap)S 10 R 2089(are)S 2241(of)S 2353(three)S 2583(types:)S 2851(Boolean)S (capabilities,)484 3214 A 3726(which)S 4000(indicate)S 4347(particular)S 4762(features)S 5110(that)S 3768 V 1080(the)S 1233(terminal)S 1599(has;)S 1791(numeric)S (capabilities,)484 2151 A 2665(giving)S 2951(the)S 3104(size)S 3291(of)S 3405(the)S 3558(display)S 3878(or)S 3992(the)S 4145(size)S 4332(of)S 4446(other)S 4683(attributes;)S 5116(and)S 3888 V 1080(string)S (capabilities,)484 1353 A 1881(which)S 2171(give)S 2388(character)S 2803(sequences)S 3255(that)S 3450(can)S 3634(be)S 3773(used)S 4001(to)S 4123(perform)S 4493(particular)S 4925(terminal)S 4008 V 1080(operations.)S 1607(All)S (capabilities)459 1794 A 2311(have)S 2559(two-letter)S 3010(codes.)S 3347(For)S 3545(instance,)S 3958(the)S 4138(fact)S 4347(that)S 4555(the)S 4735(Concept)S 5127(has)S 4128 V 10 I 1080(automatic)S 1507(margins)S 10 R 1861(\()S 10 I 1895(i.e.)S 10 R 2026(,)S 2077(an)S 2198(automatic)S 2621(return)S 2888(and)S 3059(linefeed)S 3410(when)S 3654(the)S 3803(end)S 3974(of)S 4084(a)S 4155(line)S 4332(is)S (reached\))348 4425 A 4799(is)S 4892(indicated)S 4248 V 1080(by)S 1205(the)S 1353(Boolean)S (capability)397 1713 A 10 B 2135(am)S 10 R 2269(.)S 2344(Hence)S 2627(the)S 2775(description)S 3247(of)S 3356(the)S 3504(Concept)S 3864(includes)S 10 B 4224(am)S 10 R 4358(.)S 4416 V 1080(Numeric)S (capabilities)459 1461 A 1948(are)S 2100(followed)S 2486(by)S 2614(the)S 2765(character)S 3164(`#')S 3311(then)S 3513(the)S 3665(value.)S 3962(In)S 4075(the)S 4227(example)S (above)240 4597 A 10 B 4866(co)S 10 R 4961(,)S 5015(which)S 4536 V 1080(indicates)S 1463(the)S 1611(number)S 1943(of)S 2052(columns)S 2417(the)S 2565(display)S 2880(has,)S 3064(gives)S 3301(the)S 3449(value)S 3692(`80')S 3885(for)S 4028(the)S 4176(Concept.)S 4704 V 1080(Finally,)S 1415(string-valued)S (capabilities,)484 1971 A 2480(such)S 2689(as)S 10 B 2798(ce)S 10 R 2914(\(clear-to-end-of-line)S 3765(sequence\))S 4194(are)S 4344(given)S 4593(by)S 4719(the)S 4868(two-letter)S 4824 V 1080(code,)S 1328(an)S 1456(`=',)S 1639(then)S 1845(a)S 1923(string)S 2185(ending)S 2491(at)S 2597(the)S 2753(next)S 2959(following)S 3383(`:'.)S 3562(A)S 3668(delay)S 3919(in)S (milliseconds)508 4029 A 4569(may)S 4774(appear)S 5075(after)S 4944 V 1080(the)S 1253(`=')S 1428(in)S 1556(such)S 1791(a)S (capability,)422 1887 A 2360(which)S 2657(causes)S 2971(padding)S 3345(characters)S 3806(to)S 3935(be)S (supplied)340 4081 A 4472(by)S 10 B 4623(tputs)S 10 R 4901(after)S 5138(the)S 5064 V 1080(remainder)S 1521(of)S 1637(the)S 1792(string)S 2053(is)S 2152(sent)S 2345(to)S 2454(provide)S 2792(this)S 2968(delay.)S 3267(The)S 3455(delay)S 3704(can)S 3875(be)S 4001(either)S 4262(a)S 4338(number,)S 10 I 4701(e.g.)S 10 R 4877(`20',)S 5101(or)S 5216(a)S 5184 V 1080(number)S 1416(followed)S 1803(by)S 1932(an)S 2057(`)S 10 Y 2091(*)S 10 R 2141(',)S 10 I 2230(i.e.)S 10 R 2361(,)S 2416(`3)S 10 Y 2500(*)S 10 R 2550('.)S 2664(An)S 2817(`)S 10 Y 2851(*)S 10 R 2901(')S 2965(indicates)S 3353(that)S 3534(the)S 3687(padding)S 4040(required)S 4406(is)S (proportional)497 4503 A 5030(to)S 5138(the)S 5304 V 1080(number)S 1435(of)S 1567(lines)S 1805(affected)S 2179(by)S 2327(the)S 2498(operation,)S 2951(and)S 3144(the)S (amount)301 3315 A 3663(given)S 3933(is)S 4047(the)S 4217(per-affected-line)S 4938(padding)S 5424 V 1080(required.)S 1491(\(In)S 1634(the)S 1782(case)S 1981(of)S 2090(insert-character,)S 2769(the)S 2917(factor)S 3178(is)S (still)151 3270 A 3446(the)S 3594(number)S 3927(of)S 10 I 4037(lines)S 10 R 4261(affected;)S 4641(this)S 4812(is)S 4905(always)S 5211(1)S 5544 V 1080(unless)S 1360(the)S 1512(terminal)S 1877(has)S 10 B 2040(in)S 10 R 2153(and)S 2327(the)S 2479(software)S 2856(uses)S 3058(it.\))S 3227(When)S 3496(an)S 3620(`)S 10 Y 3654(*)S 10 R 3704(')S 3766(is)S 3861(speci\256ed,)S 4272(it)S 4356(is)S 4451(sometimes)S 4909(useful)S 5183(to)S 5664 V 1080(give)S 1283(a)S 1358(delay)S 1606(of)S 1720(the)S 1873(form)S 2099(`3.5')S 2322(to)S 2430(specify)S 2751(a)S 2826(delay)S 3074(per)S 3234(line)S 3416(to)S 3525(tenths)S 3796(of)S (milliseconds.)533 3911 A 4500(\(Only)S 4766(one)S 4942(decimal)S 5784 V (place)213 1080 A 1318(is)S 1410(allowed.\))S 5952 V 1080(A)S 1182(number)S 1518(of)S 1631(escape)S 1929(sequences)S 2366(are)S 2519(provided)S 2905(in)S 3012(the)S 3164(string-valued)S (capabilities)459 3724 A 4213(for)S 4361(easy)S 4570(encoding)S 4968(of)S 5082(con-)S 6072 V 1080(trol)S 1252(characters)S 1694(there.)S 10 B 1977(\\E)S 10 R 2103(maps)S 2346(to)S 2455(an)S 8 R 2576(ESC)S 10 R 2756(character,)S 10 B 3183(\303X)S 10 R 3321(maps)S 3564(to)S 3673(a)S 3749(control-X)S 4172(for)S 4321(any)S 4497(appropriate)S 4987(X,)S 5116(and)S 6192 V 1080(the)S 1230(sequences)S 10 B 1665(\\n)S 1776(\\r)S 1876(\\t)S 1966(\\b)S 2078(\\f)S 10 R 2168(map)S 2369(to)S 2475(linefeed,)S 2853(return,)S 3147(tab,)S (backspace,)439 3323 A 3790(and)S 3963(formfeed,)S 4386(respectively.)S 4951(Finally,)S 6312 V 1080(characters)S 1519(may)S 1721(be)S 1845(given)S 2097(as)S 2210(three)S 2441(octal)S 2666(digits)S 2918(after)S 3132(a)S 10 B 3205(\\)S 10 R 3233(,)S 3286(and)S 3459(the)S 3610(characters)S 10 B 4048(\303)S 10 R 4110(and)S 10 B 4283(\\)S 10 R 4339(may)S 4540(be)S 4663(given)S 4914(as)S 10 B 5026(\\\303)S 10 R 5116(and)S 6432 V 10 B 1080(\\\\)S 10 R 1136(.)S 1214(If)S 1310(it)S 1394(is)S (necessary)392 1489 A 1909(to)S (place)213 2015 A 2257(a)S 10 B 2331(:)S 10 R 2394(in)S 2501(a)S (capability)397 2575 A 3001(it)S 3086(must)S 3310(be)S 3434(escaped)S 3782(in)S 3889(octal)S 4114(as)S 10 B (\\072)178 4227 A 10 R 4405(.)S 4484(If)S 4581(it)S 4666(is)S (necessary)392 4762 A 5183(to)S 6552 V (place)213 1080 A 1329(a)S 8 R 1405(NUL)S 10 R 1607(character)S 2014(in)S 2128(a)S 2209(string)S (capability)397 2473 A 2905(it)S 2996(must)S 3226(be)S 3356(encoded)S 3726(as)S 10 B (\\200)178 3845 A 10 R 4023(.)S 4108(\(The)S 4334(routines)S 4693(that)S 4879(deal)S 5082(with)S 6672 V 10 B 1080(termcap)S 10 R 1474(use)S 1635(C)S 1729(strings)S 2024(and)S 2196(strip)S 2402(the)S 2552(high)S 2757(bits)S 2929(of)S 3041(the)S 3192(output)S 3476(very)S 3683(late,)S 3882(so)S 3999(that)S 4178(a)S 10 B (\\200)178 4251 A 10 R 4457(comes)S 4742(out)S 4898(as)S 5010(a)S 10 B (\\000)178 5083 A 6792 V 10 R 1080(would.\))S 6960 V 1080(Sometimes)S 1554(individual)S (capabilities)459 1988 A 2474(must)S 2696(be)S 2818(commented)S 3314(out.)S 3519(To)S 3659(do)S 3787(this,)S 3985(put)S 4141(a)S 4214(period)S 4499(before)S 4785(the)S 4936(capabil-)S 7080 V 1080(ity)S 1211(name.)S 1504(For)S 1669(example,)S 2060(see)S 2214(the)S 2362(\256rst)S 10 B 2544(cr)S 10 R 2659(and)S 10 B 2829(ta)S 10 R 2938(in)S 3041(the)S 3189(example)S (above.)265 3555 A 7903 V 720(Page)S 941(5)S 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 6 6 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 10 B 1080(Preparing)S 1542(Descriptions)S 1128 V 10 R 1080(We)S 1245(now)S (outline)279 1443 A 1747(how)S 1945(to)S 2048(prepare)S 2376(descriptions)S 2887(of)S 2996(terminals.)S 3446(The)S 3628(most)S 3848(effective)S 4227(way)S 4421(to)S 4525(prepare)S 4854(a)S 4925(terminal)S 1248 V 1080(description)S 1560(is)S 1659(by)S 1791(imitating)S 2186(the)S 2341(description)S 2820(of)S 2936(a)S 3013(similar)S 3325(terminal)S 3693(in)S 10 B 3803(termcap)S 10 R 4202(and)S 4379(to)S 4489(build)S 4727(up)S 4859(a)S 4936(descrip-)S 1368 V 1080(tion)S 1269(gradually,)S 1707(using)S 1957(partial)S 2248(descriptions)S 2767(with)S 10 B 2980(vi)S 10 R 3100(to)S 3212(check)S 3481(that)S 3666(they)S 3873(are)S 4031(correct.)S 4396(Be)S 4542(aware)S 4818(that)S 5003(a)S 5082(very)S 1488 V (unusual)312 1080 A 1421(terminal)S 1786(may)S (expose)279 1988 A 2296(de\256ciencies)S 2801(in)S 2908(the)S (ability)257 3060 A 3346(of)S 3458(the)S 10 B 3609(termcap)S 10 R 4004(\256le)S 4161(to)S 4267(describe)S 4631(it)S 4715(or)S (bugs)189 4827 A 5044(in)S 10 B 5150(vi)S 10 R 5236(.)S 1608 V 1080(To)S 1220(easily)S 1484(test)S 1653(a)S 1727(new)S 1924(terminal)S 2289(description)S (you)150 2765 A 2944(can)S 3113(set)S 3254(the)S 3406(environment)S 3943(variable)S 9 B 4295(TERMCAP)S 10 R 4784(to)S 4891(the)S 5043(abso-)S 1728 V 1080(lute)S 1270(pathname)S 1700(of)S 1823(a)S 1907(\256le)S 2075(containing)S 2538(the)S 2700(description)S (you)150 3186 A 3374(are)S 3536(working)S 3909(on)S 4047(and)S 4230(programs)S (will)157 4648 A (look)178 4843 A 5059(there)S 1848 V 1080(rather)S 1341(than)S 1539(in)S 10 B 1642(/etc/termcap)S 10 R 2189(.)S 9 B 2260(TERMCAP)S 10 R 2745(can)S 2910(also)S 3097(be)S 3217(set)S 3354(to)S 3457(the)S 10 B 3605(termcap)S 10 R 3997(entry)S 4229(itself)S 4457(to)S 4561(avoid)S 4810(reading)S 5138(the)S 1968 V 1080(\256le)S 1234(when)S 1477(starting)S 1804(up)S 1929(a)S 1999(program.)S 2136 V 1080(To)S 1220(get)S 1371(the)S 1522(padding)S 1873(for)S 2019(insert-line)S 2456(right)S 2674(\(if)S 2798(the)S 2949(terminal)S 3313(manufacturer)S 3879(did)S 4035(not)S 4191(document)S 4616(it\),)S 4760(a)S 4834(severe)S 5121(test)S 2256 V 1080(is)S 1182(to)S 1295(use)S 10 B 1464(vi)S 10 R 1585(to)S 1698(edit)S 10 B 1884(/etc/passwd)S 10 R 2420(at)S (9600)200 2528 A 2763(baud,)S 3018(delete)S (roughly)312 3294 A 3641(16)S 3776(lines)S 4001(from)S 4232(the)S 4390(middle)S 4703(of)S 4821(the)S 4978(screen,)S 2376 V 1080(then)S 1279(hit)S 1411(the)S 1560(`u')S 1704(key)S 1875(several)S 2187(times)S 2431(quickly.)S 2808(If)S 2902(the)S 3051(display)S 3367(messes)S 3679(up,)S 3831(more)S 4065(padding)S 4415(is)S 4509(usually)S 4826(needed.)S 5188(A)S 2496 V 1080(similar)S 1385(test)S 1550(can)S 1715(be)S 1835(used)S 2044(for)S 2187(insert-character.)S 2664 V 10 B 1080(Basic)S (Capabilities)515 1334 A 2832 V 10 R 1080(The)S 1263(number)S 1596(of)S 1706(columns)S 2072(on)S (each)185 2198 A 2409(line)S 2586(of)S 2696(the)S 2845(display)S 3161(is)S 3254(given)S 3503(by)S 3629(the)S 10 B 3778(co)S 10 R 3899(numeric)S (capability.)422 4255 A 4728(If)S 4822(the)S 4971(display)S 2952 V 1080(is)S 1186(a)S 9 R 1268(CRT)S 10 R 1444(,)S 1508(then)S 1720(the)S 1882(number)S 2228(of)S 2351(lines)S 2580(on)S 2719(the)S 2881(screen)S 3178(is)S 3284(given)S 3546(by)S 3685(the)S 10 B 3846(li)S 10 R (capability.)422 3940 A 4425(If)S 4531(the)S 4692(display)S 5020(wraps)S 3072 V (around)279 1080 A 1390(to)S 1499(the)S 1653(beginning)S 2085(of)S 2200(the)S 2354(next)S 2558(line)S 2740(when)S 2989(the)S 3143(cursor)S (reaches)303 3426 A 3760(the)S 3915(right)S 4137(margin,)S 4479(then)S 4684(it)S (should)267 4772 A 5071(have)S 3192 V 1080(the)S 10 B 1230(am)S 10 R (capability.)422 1391 A 1865(If)S 1960(the)S 2110(terminal)S 2473(can)S 2640(clear)S 2864(its)S 2986(screen,)S 3296(the)S 3446(code)S 3663(to)S 3768(do)S 3895(this)S 4067(is)S 4161(given)S 4411(by)S 4538(the)S 10 B 4688(cl)S 10 R 4787(string)S 5042(capa-)S 3312 V (bility.)237 1080 A 1372(If)S 1470(the)S 1623(terminal)S 1989(overstrikes)S 2461(\(rather)S 2761(than)S 2964(clearing)S 3319(the)S (position)323 3472 A 3825(when)S 4074(a)S 4150(character)S 4552(is)S (overwritten\),)524 4650 A 5205(it)S 3432 V (should)267 1080 A 1376(have)S 1595(the)S 10 B 1746(os)S 10 R (capability.)422 1863 A 2338(If)S 2434(the)S 2585(terminal)S 2949(is)S 3044(a)S 3117(printing)S 3463(terminal,)S 3852(with)S 4059(no)S 4187(soft)S (copy)195 4366 A 4589(unit,)S 4798(give)S 4999(it)S 5083(both)S 3552 V 10 B 1080(hc)S 10 R 1209(and)S 10 B 1382(os)S 10 R 1471(.)S 1549(\()S 10 B 1583(os)S 10 R 1701(applies)S 2015(to)S 2122(storage)S 2442(scope)S 2700(terminals,)S 3129(such)S 3342(as)S 3455(the)S 3607(Tektronix)S (4010)200 4033 A 4262(series,)S 4546(as)S 4659(well)S 4862(as)S 4975(to)S 5082(hard)S 3672 V (copy)195 1080 A 1304(and)S 9 R 1476(APL)S 10 R 1676(terminals.\))S 2163(If)S 2259(there)S 2489(is)S 2584(a)S 2657(code)S 2875(to)S 2981(move)S 3232(the)S 3383(cursor)S 3663(to)S 3769(the)S 3920(left)S 4083(edge)S 4301(of)S 4413(the)S 4564(current)S 4878(row,)S 5088(give)S 3792 V 1080(this)S 1255(as)S 10 B 1369(cr)S 10 R 1459(.)S 1539(\(Normally)S 1989(this)S (will)157 2164 A 2351(be)S 2476(carriage-return,)S 10 B 3133(\303M)S 10 R 3262(.\))S 3377(If)S 3476(there)S 3709(is)S 3807(a)S 3883(code)S 4104(to)S (produce)324 4213 A 4568(an)S 4694(audible)S 5021(signal)S 3912 V 1080(\(bell,)S 1315(beep,)S 10 I 1555(etc.)S 10 R 1714(\),)S 1798(give)S 1996(this)S 2166(as)S 10 B 2275(bl)S 10 R 2359(.)S 4080 V 1080(If)S 1176(there)S 1406(is)S 1501(a)S 1574(code)S 1792(\(such)S 2038(as)S (backspace\))448 2150 A 2626(to)S 2732(move)S 2983(the)S 3134(cursor)S 3414(one)S (position)323 3588 A 3940(to)S 4047(the)S 4199(left,)S 4388(that)S (capability)397 4568 A (should)267 4994 A 4200 V 1080(be)S 1204(given)S 1456(as)S 10 B 1569(le)S 10 R 1642(.)S 1721(Similarly,)S 2150(codes)S 2408(to)S 2515(move)S 2767(to)S 2874(the)S 3026(right,)S 3269(up,)S 3422(and)S 3595(down)S (should)267 3846 A 4141(be)S 4264(given)S 4515(as)S 10 B 4627(nd)S 10 R 4739(,)S 10 B 4792(up)S 10 R 4904(,)S 4957(and)S 10 B 5130(do)S 10 R 5236(,)S 4320 V 1080(respectively.)S 1655(These)S 10 I 1934(local)S 2173(cursor)S 2473(motions)S 10 R (should)267 2837 A 3142(not)S 3308(alter)S 3527(the)S 3689(text)S 3879(they)S 4091(pass)S 4303(over;)S 4549(for)S 4706(example,)S (you)150 5111 A 4440 V 1080(would)S 1364(not)S 1525(normally)S 1921(use)S 2088(nd=)S 2303(unless)S 2587(the)S 2743(terminal)S 3112(has)S 3278(the)S 10 B 3433(os)S 10 R (capability,)422 3554 A (because)319 4008 A 4359(the)S (space)224 4514 A 4770(would)S 5053(erase)S 4560 V 1080(the)S 1228(character)S 1624(moved)S 1922(over.)S 4728 V 1080(A)S 1198(very)S 1422(important)S 1858(point)S 2109(here)S 2328(is)S 2440(that)S 2636(the)S 2804(local)S 3045(cursor)S 3342(motions)S 3711(encoded)S 4092(in)S 10 B 4216(termcap)S 10 R 4629(have)S (unde\256ned)396 4865 A 4848 V 1080(behavior)S 1475(at)S 1591(the)S 1757(left)S 1935(and)S 2123(top)S 2294(edges)S 2566(of)S 2693(a)S 9 R 2779(CRT)S 10 R 2998(display.)S 3380(Programs)S (should)267 3808 A 4117(never)S 4383(attempt)S 4727(to)S (backspace)414 4847 A 4968 V (around)279 1080 A 1398(the)S 1560(left)S 1734(edge,)S 1988(unless)S 10 B 2278(bw)S 10 R 2446(is)S 2552(given,)S 2839(and)S 3023(never)S 3287(attempt)S 3629(to)S 3747(go)S 3887(up)S 4027(off)S 4185(the)S 4348(top)S 4516(using)S 4773(local)S 5009(cursor)S 5088 V 1080(motions.)S 5256 V 1080(In)S 1189(order)S 1427(to)S 1530(scroll)S 1779(text)S 1955(up,)S 2105(a)S 2175(program)S 2541(goes)S 2751(to)S 2855(the)S 3004(bottom)S 3314(left)S 3475(corner)S 3759(of)S 3869(the)S 4018(screen)S 4302(and)S 4473(sends)S 4722(the)S 10 B 4871(sf)S 10 R 4970(\(index\))S 5376 V 1080(string.)S 1385(To)S 1523(scroll)S 1773(text)S 1950(down,)S 2224(a)S 2295(program)S 2662(goes)S 2872(to)S 2976(the)S 3124(top)S 3277(left)S 3437(corner)S 3720(of)S 3829(the)S 3977(screen)S 4260(and)S 4430(sends)S 4678(the)S 10 B 4826(sr)S 10 R 4935(\(reverse)S 5496 V 1080(index\))S 1362(string.)S 1666(The)S 1848(strings)S 10 B 2141(sf)S 10 R 2239(and)S 10 B 2409(sr)S 10 R 2519(have)S (unde\256ned)396 2735 A 3157(behavior)S 3535(when)S 3779(not)S 3933(on)S 4059(their)S 4270(respective)S 4705(corners)S 5028(of)S 5138(the)S 5616 V 1080(screen.)S 1415(Parameterized)S 2020(versions)S 2382(of)S 2493(the)S (scrolling)352 2643 A 3021(sequences)S 3455(are)S 10 B 3605(SF)S 10 R 3749(and)S 10 B 3920(SR)S 10 R 4049(,)S 4100(which)S 4372(have)S 4588(the)S 4737(same)S 4970(seman-)S 5736 V 1080(tics)S 1264(as)S 10 B 1393(sf)S 10 R 1511(and)S 10 B 1701(sr)S 10 R 1830(except)S 2138(that)S 2334(they)S 2552(take)S 2765(one)S 2955(parameter)S 3404(and)S 3594(scroll)S 3863(that)S 4059(many)S 4327(lines.)S 4612(They)S 4864(also)S 5071(have)S 5856 V (unde\256ned)396 1080 A 1501(behavior)S 1878(except)S 2166(at)S 2264(the)S 2412(appropriate)S 2896(corner)S 3179(of)S 3288(the)S 3436(screen.)S 6024 V 1080(The)S 10 B 1273(am)S 10 R (capability)397 1443 A 1876(tells)S 2081(whether)S 2443(the)S 2603(cursor)S 2892(sticks)S 3158(at)S 3268(the)S 3428(right)S 3655(edge)S 3882(of)S 4003(the)S 4163(screen)S 4458(when)S 4713(text)S 4901(is)S 5005(output)S 6144 V 1080(there,)S 1336(but)S 1493(this)S 1667(does)S 1880(not)S (necessarily)448 2037 A 2514(apply)S 2766(to)S 10 B 2873(nd)S 10 R 3013(from)S 3237(the)S 3388(last)S 3556(column.)S 3935(Leftward)S 4334(local)S 4558(motion)S 4870(is)S 4965(de\256ned)S 6264 V 1080(from)S 1306(the)S 1459(left)S 1624(edge)S 1844(only)S 2052(when)S 10 B 2300(bw)S 10 R 2459(is)S 2556(given;)S 2837(then)S 3040(an)S 10 B 3165(le)S 10 R 3268(from)S 3494(the)S 3647(left)S 3812(edge)S (will)157 4032 A 4219(move)S 4472(to)S 4581(the)S 4735(right)S 4956(edge)S 5177(of)S 6384 V 1080(the)S 1234(previous)S 1611(row.)S 1849(This)S 2059(is)S 2157(useful)S 2434(for)S 2583(drawing)S 2944(a)S (box)150 3020 A (around)279 3201 A 3511(the)S 3665(edge)S 3886(of)S 4001(the)S 4155(screen,)S 4469(for)S 4618(example.)S 5040(If)S 5138(the)S 6504 V 1080(terminal)S 1453(has)S 1624(switch-selectable)S 2356(automatic)S 2790(margins,)S 3176(the)S 10 B 3336(termcap)S 10 R 3741(description)S 4226(usually)S 4554(assumes)S 4927(that)S 5116(this)S 6624 V 1080(feature)S 1393(is)S 1492(on,)S 10 I 1649(i.e.)S 10 R 1780(,)S 10 B 1837(am)S 10 R 1971(.)S 2053(If)S 2153(the)S 2308(terminal)S 2676(has)S 2842(a)S 2919(command)S 3347(that)S 3530(moves)S 3824(to)S 3934(the)S 4089(\256rst)S 4278(column)S 4611(of)S 4727(the)S 4881(next)S 5085(line,)S 6744 V 1080(that)S 1267(command)S 1699(can)S 1875(be)S 2006(given)S 2265(as)S 10 B 2385(nw)S 10 R 2550(\(newline\).)S 3023(It)S 3121(is)S 3224(permissible)S 3725(for)S 3880(this)S 4062(to)S 4177(clear)S 4411(the)S 4571(remainder)S 5017(of)S 5138(the)S 6864 V 1080(current)S 1403(line,)S 1616(so)S 1742(if)S 1841(the)S 2001(terminal)S 2374(has)S 2545(no)S 2682(correctly-working)S 8 R 3442(CR)S 10 R 3587(and)S 8 R 3764(LF)S 10 R 3896(it)S 3988(may)S (still)151 4197 A 4384(be)S 4515(possible)S 4880(to)S 4994(craft)S 5216(a)S 6984 V 1080(working)S 10 B 1440(nw)S 10 R 1594(out)S 1747(of)S 1856(one)S 2026(or)S 2135(both)S 2338(of)S 2447(them.)S 7152 V 1080(These)S (capabilities)459 1350 A 1838(suf\256ce)S 2137(to)S 2245(describe)S (hardcopy)374 2611 A 3015(and)S 3190(glass-tty)S 3561(terminals.)S 4016(Thus)S 4247(the)S 4400(Teletype)S 4783(model)S 5064(33)S 5194(is)S 7272 V 1080(described)S 1491(as)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4990(Page)S 5211(6)S 8143 V EP %%Page: 7 7 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1480(T3)S 1608(|)S (tty33)206 1644 A 1866(|)S 1902(33)S 2018(|)S 2054(tty)S 2176(|)S 2212(Teletype)S 2590(model)S 2866(33:\\)S 1080 V (:bl=\303G:co#72:cr=\303M:do=\303J:hc:os:)1356 1880 A 1248 V 1080(and)S 1250(the)S 1398(Lear)S 1609(Siegler)S 9 R 1918(ADM)S 10 R-1 2130(-)S 10 R 2187(3)S 2262(is)S 2354(described)S 2765(as)S 1416 V 1480(l3)S 1574(|)S 1610(adm3)S 1849(|)S 1885(3)S 1951(|)S 1987(LSI)S 9 R 2164(ADM)S 10 R 2376(-3:\\)S 1536 V (:am:bl=\303G:cl=\303Z:co#80:cr=\303M:do=\303J:le=\303H:li#24:sf=\303J:)2251 1880 A 1704 V 10 B 1080(Parameterized)S 1739(Strings)S 1872 V 10 R 1080(Cursor)S 1382(addressing)S 1840(and)S 2013(other)S 2248(strings)S 2544(requiring)S 2941(parameters)S 3412(are)S 3565(described)S 3980(by)S 4109(a)S 4183(parameterized)S 4784(string)S 5042(capa-)S 1992 V (bility,)237 1080 A 1347(with)S 10 B 1556(printf)S 10 R 1817(\(3\)-like)S 2150(escapes)S 10 B 2488(%x)S 10 R 2668(in)S 2776(it,)S 2887(while)S 3141(other)S 3377(characters)S 3816(are)S 3969(passed)S (through)312 4266 A 4607(unchanged.)S 5121(For)S 2112 V 1080(example,)S 1472(to)S 1576(address)S 1904(the)S 2053(cursor)S 2331(the)S 10 B 2480(cm)S 10 R (capability)397 2636 A 3060(is)S 3154(given,)S 3429(using)S 3673(two)S 3851(parameters:)S 4349(the)S 4499(row)S 4683(and)S 4855(column)S 5183(to)S 2232 V 1080(move)S 1338(to.)S 1501(\(Rows)S 1799(and)S 1979(columns)S 2354(are)S 2513(numbered)S 2950(from)S 3181(zero)S 3389(and)S 3568(refer)S 3794(to)S 3906(the)S (physical)335 4063 A 4432(screen)S 4724(visible)S 5026(to)S 5138(the)S 2352 V 1080(user,)S 1309(not)S 1473(to)S 1587(any)S 1768(unseen)S 2083(memory.)S 2504(If)S 2608(the)S 2767(terminal)S 3140(has)S 3311(memory-relative)S 4020(cursor)S 4309(addressing,)S 4801(that)S 4989(can)S 5166(be)S 2472 V 1080(indicated)S 1474(by)S 1599(an)S (analogous)407 1719 A 10 B 2151(CM)S 10 R (capability.\))456 2344 A 2640 V 1080(The)S 10 B 1262(%)S 10 R 1387(encodings)S 1819(have)S 2034(the)S 2182(following)S 2598(meanings:)S 2808 V 1480(%%)S 1880(output)S 2161(`%')S 2928 V 1480(%d)S 1880(output)S 2161(value)S 2404(as)S 2513(in)S 10 B 2616(printf)S 10 R 2902(%d)S 3048 V 1480(%2)S 1880(output)S 2161(value)S 2404(as)S 2513(in)S 10 B 2616(printf)S 10 R 2902(%2d)S 3168 V 1480(%3)S 1880(output)S 2161(value)S 2404(as)S 2513(in)S 10 B 2616(printf)S 10 R 2902(%3d)S 3288 V 1480(%.)S 1880(output)S 2161(value)S 2404(as)S 2513(in)S 10 B 2616(printf)S 10 R 2902(%c)S 3408 V 1480(%+)S 10 I 1621(x)S 10 R 1880(add)S 10 I 2050(x)S 10 R 2128(to)S 2231(value,)S 2499(then)S 2697(do)S 2822(%.)S 3528 V 1480(%>)S 10 I 1621(xy)S 10 R 1880(if)S 1967(value)S 2210(>)S 10 I 2292(x)S 10 R 2370(then)S 2568(add)S 10 I 2738(y)S 10 R 2791(,)S 2841(no)S 2966(output)S 3648 V 1480(%r)S 1880(reverse)S 2197(order)S 2435(of)S 2544(two)S 2720(parameters,)S 3213(no)S 3338(output)S 3768 V 1480(%i)S 1880(increment)S 2308(by)S 2433(one,)S 2628(no)S 2753(output)S 3888 V 1480(%n)S 1880(exclusive-or)S 2403(all)S 2529(parameters)S 2997(with)S (0140)200 3201 A 3426(\(Datamedia)S (2500\))234 3922 A 4008 V 1480(%B)S 1880(BCD)S 2112(\(16)S 10 Y 2246(*)S 10 R 2296(\(value/10\)\))S 2769(+)S 2851(\(value%10\),)S 3371(no)S 3496(output)S 4128 V 1480(%D)S 1880(Reverse)S 2230(coding)S 2528(\(value)S 10 R-1 2805(-)S 10 R 2887(2)S 10 Y 2937(*)S 10 R 2987(\(value%16\)\),)S 3541(no)S 3666(output)S 3947(\(Delta)S 4225(Data\))S 4296 V 1080(Consider)S 1499(the)S 1678(Hewlett-Packard)S (2645,)225 2413 A 2694(which,)S 3021(to)S 3155(get)S 3334(to)S 3468(row)S 3681(3)S 3787(and)S 3988(column)S 4345(12,)S 4526(needs)S 4812(to)S 4947(be)S 5099(sent)S 4416 V 1080(\\E&a12c03Y)S 1652(padded)S 1983(for)S 2142(6)S (milliseconds.)533 2233 A 2832(Note)S 3069(that)S 3261(the)S 3425(order)S 3679(of)S 3804(the)S 3967(row)S 4164(and)S 4349(column)S 4690(coordinates)S 5194(is)S 4536 V 1080(reversed)S 1460(here)S 1672(and)S 1855(that)S 2044(the)S 2205(row)S 2400(and)S 2583(column)S 2922(are)S 3084(sent)S 3284(as)S 3406(two-digit)S 3813(integers.)S 4220(Thus)S 4459(its)S 10 B 4592(cm)S 10 R (capability)397 4759 A 5194(is)S 4656 V 1080(cm=6\\E&%r%2c%2Y.)S 4824 V 1080(The)S 1263(Microterm)S 9 R 1718(ACT-IV)S 10 R 2055(needs)S 2311(the)S 2461(current)S 2774(row)S 2958(and)S 3130(column)S 3458(sent)S 3647(simply)S 3947(encoded)S 4309(in)S 4414(binary)S (preceded)364 4698 A 5089(by)S 5216(a)S 4944 V 10 B 1080(\303T)S 10 R 1181(,)S 1240(cm=\303T%.%..)S 1818(Terminals)S 2261(that)S 2446(use)S 2614(%.)S 2757(need)S 2980(to)S 3091(be)S 3219(able)S 3420(to)S (backspace)414 3531 A 3978(the)S 4134(cursor)S 4419(\()S 10 B 4453(le)S 10 R 4526(\))S 4593(and)S 4771(to)S 4882(move)S 5138(the)S 5064 V 1080(cursor)S 1358(up)S 1484(one)S 1655(line)S 1832(on)S 1958(the)S 2107(screen)S 2391(\()S 10 B 2425(up)S 10 R 2537(\).)S 2647(This)S 2852(is)S (necessary)392 2945 A (because)319 3363 A 3708(it)S 3790(is)S 3883(not)S 4037(always)S 4343(safe)S 4532(to)S 4636(transmit)S 10 B 4993(\\n)S 10 R 5077(,)S 10 B 5129(\303D)S 10 R 5236(,)S 5184 V 1080(and)S 10 B 1254(\\r)S 10 R 1327(,)S 1381(as)S 1494(the)S 1646(system)S 1954(may)S 2156(change)S 2470(or)S 2583(discard)S 2903(them.)S 3183(\(Programs)S 3632(using)S 10 B 3877(termcap)S 10 R 4272(must)S 4495(set)S 4635(terminal)S 4999(modes)S 5304 V 1080(so)S 1204(that)S 1390(tabs)S 1587(are)S 1746(not)S 1909(expanded,)S 2354(so)S 10 B 2478(\\t)S 10 R 2575(is)S 2677(safe)S 2875(to)S 2988(send.)S 3257(This)S 3471(turns)S 3707(out)S 3870(to)S 3984(be)S 4115(essential)S 4498(for)S 4652(the)S 4811(Ann)S 5020(Arbor)S 5424 V (4080.\))259 1080 A 5592 V 1080(A)S 1181(\256nal)S 1388(example)S 1757(is)S 1853(the)S 2005(Lear)S 2220(Siegler)S 9 R 2533(ADM)S 10 R-1 2745(-)S 10 R 2802(3a,)S 2951(which)S 3226(offsets)S 3524(row)S 3710(and)S 3884(column)S 4214(by)S 4343(a)S 4417(blank)S 4669(character,)S 5094(thus)S 5712 V 1080(cm=\\E=%+)S 1573(%+)S 1739(.)S 5880 V 1080(Row)S 1298(or)S 1410(column)S 1739(absolute)S 2102(cursor)S 2382(addressing)S 2841(can)S 3010(be)S 3134(given)S 3386(as)S 3499(single)S 3768(parameter)S (capabilities)459 4201 A 10 B 4689(ch)S 10 R 4819(\(horizontal)S 6000 V (position)323 1080 A 1434(absolute\))S 1834(and)S 10 B 2010(cv)S 10 R 2136(\(vertical)S (position)323 2504 A 2858(absolute\).)S 3308(Sometimes)S 3786(these)S 4024(are)S 4179(shorter)S 4489(than)S 4692(the)S 4845(more)S 5082(gen-)S 6120 V 1080(eral)S 1261(two-parameter)S 1879(sequence)S 2277(\(as)S 2424(with)S 2632(the)S 2784(Hewlett-Packard)S (2645\))234 3492 A 3755(and)S 3929(can)S 4098(be)S 4222(used)S 4435(in)S 4542(preference)S 4999(to)S 10 B 5107(cm)S 10 R 5236(.)S 6240 V 1080(If)S 1176(there)S 1406(are)S 1558(parameterized)S 2158(local)S 2382(motions)S 2732(\()S 10 I 2766(e.g.)S 10 R 2919(,)S 2971(move)S 10 I 3221(n)S 10 R (positions)362 3306 A 3695(to)S 3800(the)S 3950(right\))S 4201(these)S 4435(can)S 4602(be)S 4724(given)S 4974(as)S 10 B 5085(DO)S 10 R 5236(,)S 6360 V 10 B 1080(LE)S 10 R 1214(,)S 10 B 1269(RI)S 10 R 1381(,)S 1436(and)S 10 B 1611(UP)S 10 R 1776(with)S 1985(a)S 2060(single)S 2330(parameter)S 2764(indicating)S 3196(how)S 3399(many)S (positions)362 3653 A 4046(to)S 4155(move.)S 4459(These)S 4731(are)S 4886(primarily)S 6480 V 1080(useful)S 1351(if)S 1438(the)S 1586(terminal)S 1947(does)S 2156(not)S 2309(have)S 10 B 2524(cm)S 10 R 2653(,)S 2703(such)S 2912(as)S 3021(the)S 3169(Tektronix)S (4025.)225 3591 A 6648 V 10 B 1080(Cursor)S 1413(Motions)S 6816 V 10 R 1080(If)S 1178(the)S 1331(terminal)S 1697(has)S 1861(a)S 1936(fast)S 2112(way)S 2310(to)S 2418(home)S 2671(the)S 2824(cursor)S 3106(\(to)S 3249(the)S 3403(very)S (upper)229 3613 A 3873(left)S 4039(corner)S 4328(of)S 4443(the)S 4597(screen\),)S 4945(this)S 5121(can)S 6936 V 1080(be)S 1209(given)S 1466(as)S 10 B 1584(ho)S 10 R 1690(.)S 1774(Similarly,)S 2208(a)S 2287(fast)S 2467(way)S 2669(of)S (getting)279 2787 A 3100(to)S 3212(the)S 3369(lower)S 3633(left-hand)S 4031(corner)S 4323(can)S 4497(be)S 4626(given)S 4882(as)S 10 B 4999(ll)S 10 R 5055(;)S 5116(this)S 7056 V 1080(may)S (involve)301 1278 A 1604(going)S 1857(up)S 1982(with)S 10 B 2186(up)S 10 R 2323(from)S 2544(the)S 2693(home)S (position,)348 2942 A 3316(but)S 3470(a)S 3541(program)S (should)267 3908 A 4201(never)S 4451(do)S 4577(this)S 4748(itself)S 4976(\(unless)S 7176 V 10 B 1080(ll)S 10 R 1174(does\),)S (because)319 1455 A 1812(it)S 1906(can)S 2084(make)S 2340(no)S 2477(assumption)S (about)223 2971 A 3231(the)S 3391(effect)S 3659(of)S 3780(moving)S 4123(up)S 4260(from)S 4493(the)S 4653(home)S (position.)348 4913 A 7296 V 1080(Note)S 1304(that)S 1483(the)S 1634(home)S (position)323 1885 A 2236(is)S 2331(the)S 2482(same)S 2717(as)S 2829(cursor)S 3109(address)S 3439(\(0,0\):)S 3689(to)S 3796(the)S 3948(top)S 4105(left)S 4269(corner)S 4556(of)S 4669(the)S 4821(screen,)S 5133(not)S 7416 V 1080(of)S 1189(memory.)S 1599(\(Therefore,)S 2082(the)S 2230(\\EH)S 2418(sequence)S 2812(on)S 2937(Hewlett-Packard)S 3641(terminals)S (cannot)268 4041 A 4334(be)S 4454(used)S 4663(for)S 10 B 4806(ho)S 10 R 4912(.\))S 7903 V 720(Page)S 941(7)S 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 8 8 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 10 B 1080(Area)S 1318(Clears)S 1128 V 10 R 1080(If)S 1177(the)S 1329(terminal)S 1694(can)S 1863(clear)S 2089(from)S 2314(the)S 2467(current)S (position)323 2783 A 3136(to)S 3244(the)S 3397(end)S 3572(of)S 3686(the)S 3839(line,)S 4045(leaving)S 4371(the)S 4524(cursor)S 4806(where)S 5083(it)S 5169(is,)S 1248 V 1080(this)S (should)267 1254 A 1550(be)S 1674(given)S 1926(as)S 10 B 2039(ce)S 10 R 2129(.)S 2208(If)S 2305(the)S 2456(terminal)S 2820(can)S 2988(clear)S 3213(from)S 3437(the)S 3588(current)S (position)323 3902 A 4253(to)S 4359(the)S 4510(end)S 4683(of)S 4795(the)S 4946(display,)S 1368 V 1080(this)S (should)267 1253 A 1548(be)S 1671(given)S 1922(as)S 10 B 2034(cd)S 10 R 2135(.)S 10 B 2213(cd)S 10 R 2342(must)S 2565(only)S 2771(be)S (invoked)323 2894 A 3245(from)S 3469(the)S 3620(\256rst)S 3805(column)S 4134(of)S 4246(a)S 4319(line.)S 4549(\(Therefore,)S 5036(it)S 5121(can)S 1488 V 1080(be)S 1200(simulated)S 1616(by)S 1741(a)S 1811(request)S 2127(to)S 2230(delete)S 2496(a)S 2566(large)S 2793(number)S 3125(of)S 3234(lines,)S 3474(if)S 3561(a)S 3631(true)S 10 B 3813(cd)S 10 R 3939(is)S 4031(not)S 4184(available.\))S 1656 V 10 B 1080(Insert/Delete)S 1661(Line)S 1824 V 10 R 1080(If)S 1177(the)S 1329(terminal)S 1694(can)S 1863(open)S 2087(a)S 2161(new)S 2358(blank)S 2610(line)S 2791(before)S 3079(the)S 3232(line)S 3413(containing)S 3867(the)S 4020(cursor,)S 4327(this)S (should)267 4502 A 4799(be)S 4924(given)S 5177(as)S 1944 V 10 B 1080(al)S 10 R 1158(;)S 1213(this)S 1385(must)S 1607(be)S (invoked)323 1728 A 2077(only)S 2281(from)S 2503(the)S 2652(\256rst)S (position)323 2835 A 3184(of)S 3294(a)S 3365(line.)S 3592(The)S 3775(cursor)S 4053(must)S 4274(then)S 4473(appear)S 4768(at)S 4867(the)S 5016(left)S 5177(of)S 2064 V 1080(the)S 1229(newly)S 1501(blank)S 1750(line.)S 1977(If)S 2071(the)S 2221(terminal)S 2584(can)S 2751(delete)S 3019(the)S 3169(line)S 3347(that)S 3525(the)S 3675(cursor)S 3954(is)S 4048(on,)S 4200(this)S (should)267 4372 A 4666(be)S 4788(given)S 5038(as)S 10 B 5149(dl)S 10 R 5233(;)S 2184 V 1080(this)S 1251(must)S 1472(only)S 1676(be)S 1797(used)S 2007(from)S 2229(the)S 2378(\256rst)S (position)323 2561 A 2910(on)S 3035(the)S 3183(line)S 3359(to)S 3462(be)S 3582(deleted.)S 3948(Versions)S 4331(of)S 10 B 4440(al)S 10 R 4543(and)S 10 B 4713(dl)S 10 R 4822(which)S 5093(take)S 2304 V 1080(a)S 1152(single)S 1419(parameter)S 1850(and)S 2022(insert)S 2274(or)S 2386(delete)S 2655(that)S 2834(many)S 3085(lines)S 3303(can)S 3471(be)S 3594(given)S 3845(as)S 10 B 3957(AL)S 10 R 4125(and)S 10 B 4298(DL)S 10 R 4438(.)S 4516(If)S 4612(the)S 4763(terminal)S 5127(has)S 2424 V 1080(a)S 1153(settable)S (scrolling)352 1488 A 1867(region)S 2151(\(like)S 2363(the)S (VT100\),)344 2513 A 2884(the)S 3034(command)S 3457(to)S 3562(set)S 3701(this)S 3873(can)S 4040(be)S 4162(described)S 4575(with)S 4781(the)S 10 B 4931(cs)S 10 R 5042(capa-)S 2544 V (bility,)237 1080 A 1342(which)S 1613(takes)S 1845(two)S 2021(parameters:)S 2517(the)S 2665(top)S 2818(and)S 2988(bottom)S 3297(lines)S 3512(of)S 3621(the)S (scrolling)352 3769 A 4146(region.)S 4478(The)S 4660(cursor)S (position)323 4938 A 2664 V 1080(is,)S 1199(alas,)S (unde\256ned)396 1408 A 1831(after)S 2044(using)S 2288(this)S 2460(command.)S 2933(It)S 3022(is)S 3116(possible)S 3471(to)S 3575(get)S 3724(the)S 3873(effect)S 4130(of)S 4240(insert)S 4490(or)S 4600(delete)S 4867(line)S 5044(using)S 2784 V 1080(this)S 1256(command)S 1683(\320)S 1814(the)S 10 B 1969(sc)S 10 R 2085(and)S 10 B 2262(rc)S 10 R 2384(\(save)S 2629(and)S 2806(restore)S 3113(cursor\))S 3431(commands)S 3898(are)S 4054(also)S 4248(useful.)S 4576(Inserting)S 4966(lines)S 5188(at)S 2904 V 1080(the)S 1245(top)S 1415(or)S 1541(bottom)S 1867(of)S 1993(the)S 2158(screen)S 2458(can)S 2640(also)S 2844(be)S (done)195 2981 A 3218(using)S 10 B 3477(sr)S 10 R 3603(or)S 10 B 3729(sf)S 10 R 3844(on)S 3986(many)S 4251(terminals)S (without)307 4668 A 5017(a)S 5104(true)S 3024 V 1080(insert/delete)S 1598(line,)S 1799(and)S 1969(is)S 2061(often)S 2293(faster)S 2543(even)S 2758(on)S 2883(terminals)S 3283(with)S 3487(those)S 3724(features.)S 3192 V 1080(If)S 1186(the)S 1347(terminal)S 1721(has)S 1893(the)S (ability)257 2054 A 2349(to)S 2465(de\256ne)S 2749(a)S (window)324 2832 A 3195(as)S 3318(part)S 3514(of)S 3637(memory)S 4011(which)S 4296(all)S 4436(commands)S 4910(affect,)S 5205(it)S 3312 V (should)267 1080 A 1373(be)S 1494(given)S 1743(as)S 1853(the)S 2002(parameterized)S 2600(string)S 10 B 2855(wi)S 10 R 2956(.)S 3032(The)S 3215(four)S 3408(parameters)S 3876(are)S 4025(the)S 4173(starting)S 4500(and)S 4670(ending)S 4968(lines)S 5183(in)S 3432 V 1080(memory)S 1450(and)S 1630(the)S 1788(starting)S 2125(and)S 2305(ending)S 2613(columns)S 2988(in)S 3101(memory,)S 3496(in)S 3609(that)S 3795(order.)S 4093(\(This)S 10 B 4341(terminfo)S 10 R (capability)397 4761 A 5194(is)S 3552 V 1080(described)S 1491(for)S 1634(completeness.)S 2251(It)S 2338(is)S 2430(unlikely)S 2784(that)S 2960(any)S 10 B 3130(termcap)S 10 R 3497(-using)S 3773(program)S (will)157 4139 A (support)301 4321 A 4647(it.\))S 3720 V 1080(If)S 1179(the)S 1333(terminal)S 1700(can)S 1871(retain)S 2132(display)S 2454(memory)S (above)240 2821 A 3093(the)S 3248(screen,)S 3563(then)S 3768(the)S 10 B 3923(da)S 10 R (capability)397 4061 A (should)267 4490 A 4789(be)S 4916(given;)S 5199(if)S 3840 V 1080(display)S 1399(memory)S 1763(can)S 1932(be)S 2056(retained)S 2410(below,)S 2710(then)S 10 B 2912(db)S 10 R (should)267 3053 A 3349(be)S 3473(given.)S 3775(These)S 4045(indicate)S 4393(that)S 4573(deleting)S 4925(a)S 4998(line)S 5177(or)S 3960 V (scrolling)352 1080 A 1459(may)S 1659(bring)S (non-blank)407 1898 A 2333(lines)S 2551(up)S 2679(from)S 2903(below)S 3177(or)S 3289(that)S (scrolling)352 3468 A 3848(back)S 4066(with)S 10 B 4273(sr)S 10 R 4385(may)S 4586(bring)S 4826(down)S (non-)184 5077 A 4080 V 1080(blank)S 1328(lines.)S 4248 V 10 B 1080(Insert/Delete)S 1661(Character)S 4416 V 10 R 1080(There)S 1355(are)S 1518(two)S 1708(basic)S 1954(kinds)S 2210(of)S (intelligent)408 2333 A 2780(terminals)S 3194(with)S 3412(respect)S 3737(to)S 3854(insert/delete)S 4386(character)S 4796(that)S 4986(can)S 5166(be)S 4536 V 1080(described)S 1495(using)S 10 B 1741(termcap)S 10 R 2108(.)S 2187(The)S 2373(most)S 2597(common)S 2977(insert/delete)S 3499(character)S 3899(operations)S 4347(affect)S 4606(only)S 4812(the)S 4963(charac-)S 4656 V 1080(ters)S 1255(on)S 1384(the)S 1536(current)S 1851(line)S 2031(and)S 2205(shift)S 2413(characters)S 2852(off)S 2999(the)S 3151(end)S 3325(of)S 3438(the)S 3591(line)S 3772(rigidly.)S 4120(Other)S 4380(terminals,)S 4810(such)S 5024(as)S 5138(the)S 4776 V 1080(Concept)S 10 R-1 1415(-)S 10 R (100)150 1472 A 1653(and)S 1829(the)S 1983(Perkin)S 2277(Elmer)S 2555(Owl,)S 2785(make)S 3034(a)S 3110(distinction)S 3565(between)S 3932(typed)S 4186(and)S 4362(untyped)S 4716(blanks)S 5008(on)S 5138(the)S 4896 V 1080(screen,)S 1397(shifting)S (upon)200 1738 A 1972(an)S 2101(insert)S 2359(or)S 2477(delete)S 2752(only)S 2964(to)S 3076(an)S 3205(untyped)S 3562(blank)S 3819(on)S 3953(the)S 4110(screen)S 4402(which)S 4682(is)S 4783(either)S 5048(elim-)S 5016 V 1080(inated)S 1356(or)S 1469(expanded)S 1883(to)S 1990(two)S 2170(untyped)S 2522(blanks.)S 2863(You)S 3065(can)S 3234(determine)S 3666(the)S 3818(kind)S 4025(of)S 4138(terminal)S (you)150 4503 A 4682(have)S 4901(by)S 5030(clear-)S 5136 V 1080(ing)S 1236(the)S 1387(screen)S 1673(then)S 1874(typing)S 2158(text)S 2337(separated)S 2746(by)S 2874(cursor)S 3154(motions.)S 3555(Type)S 3790(abc)S 4030(def)S 4187(using)S 4432(local)S 4657(cursor)S 4938(motions)S 5256 V 1080(\(not)S (spaces\))297 1271 A 1597(between)S 1962(the)S 2114(abc)S 2283(and)S 2457(the)S 2609(def.)S 2817(Then)S (position)323 3053 A 3405(the)S 3557(cursor)S 3838(before)S 4125(the)S 4277(abc)S 4445(and)S 4618(put)S 4774(the)S 4925(terminal)S 5376 V 1080(in)S 1188(insert)S 1442(mode.)S 1745(If)S 1843(typing)S 2129(characters)S 2569(causes)S 2862(the)S 3015(rest)S 3191(of)S 3305(the)S 3458(line)S 3639(to)S 3747(shift)S 3956(rigidly)S 4254(and)S 4429(characters)S 4869(to)S 4977(fall)S 5143(off)S 5496 V 1080(the)S 1229(end,)S 1425(then)S (your)184 1624 A 1834(terminal)S 2196(does)S 2406(not)S (distinguish)440 2560 A 3026(between)S 3388(blanks)S 3676(and)S 3847(untyped)S (positions.)387 4196 A 4634(If)S 4728(the)S 4877(abc)S 5043(shifts)S 5616 V 1080(over)S 1291(to)S 1401(the)S 1556(def)S 1717(which)S 1996(then)S 2202(move)S 2458(together)S (around)279 2821 A 3133(the)S 3289(end)S 3467(of)S 3584(the)S 3740(current)S 4059(line)S 4243(and)S 4421(onto)S 4632(the)S 4788(next)S 4994(as)S (you)150 5111 A 5736 V 1080(insert,)S 1364(then)S (you)150 1572 A 1757(have)S 1982(the)S (second)279 2140 A 2454(type)S 2662(of)S 2781(terminal)S 3152(and)S (should)267 3332 A 3634(give)S 3842(the)S (capability)397 4000 A 10 B 4432(in)S 10 R 4516(,)S 4576(which)S 4857(stands)S 5143(for)S 5856 V 1080(insert)S 1338(null.)S 1578(While)S 1858(these)S 2099(are)S 2257(two)S 2442(logically)S 2828(separate)S 3193(attributes)S 3602(\(one)S 3815(line)S 10 I 4000(vs.)S 10 R (multi-line)397 4143 A 4574(insert)S 4833(mode,)S 5116(and)S 5976 V 1080(special)S 1386(treatment)S 1792(of)S 1901(untyped)S (spaces\),)322 2249 A 2596(we)S 2739(have)S 2954(seen)S 3158(no)S 3283(terminals)S 3683(whose)S 3965(insert)S 4214(mode)S (cannot)268 4462 A 4755(be)S 4875(described)S 6096 V 1080(with)S 1284(the)S 1432(single)S 1697(attribute.)S 6264 V 10 B 1080(Termcap)S 10 R 1526(can)S 1712(describe)S 2094(both)S 2318(terminals)S 2740(that)S 2938(have)S 3175(an)S 3317(insert)S 3588(mode)S 3858(and)S 4050(terminals)S 4472(that)S 4670(send)S 4901(a)S 4993(simple)S 6384 V 1080(sequence)S 1477(to)S 1583(open)S 1806(a)S 1879(blank)S (position)323 2130 A 2481(on)S 2609(the)S 2760(current)S 3074(line.)S 3303(Give)S 3527(as)S 10 B 3639(im)S 10 R 3778(the)S 3928(sequence)S 4324(to)S 4429(get)S 4579(into)S 4762(insert)S 5013(mode.)S 6504 V 1080(Give)S 1308(as)S 10 B 1424(ei)S 10 R 1529(the)S 1684(sequence)S 2085(to)S 2195(leave)S 2440(insert)S 2696(mode.)S 3001(Now)S 3229(give)S 3434(as)S 10 B 3550(ic)S 10 R 3656(any)S 3834(sequence)S 4236(that)S 4420(needs)S 4682(to)S 4793(be)S 4921(sent)S 5116(just)S 6624 V 1080(before)S (each)185 1367 A 1581(character)S 1981(to)S 2088(be)S 2212(inserted.)S 2610(Most)S 2844(terminals)S 3247(with)S 3454(a)S 3527(true)S 3712(insert)S 3964(mode)S (will)157 4215 A 4400(not)S 4556(give)S 10 B 4757(ic)S 10 R 4830(;)S 4886(terminals)S 6744 V 1080(that)S 1268(use)S 1439(a)S 1521(sequence)S 1927(to)S 2043(open)S 2276(a)S 2359(screen)S (position)323 2655 A (should)267 3016 A 3321(give)S 3532(it)S 3626(here.)S (\(If)102 3888 A (your)184 4028 A 4250(terminal)S 4624(has)S 4796(both,)S 5037(insert)S 6864 V 1080(mode)S 1331(is)S 1426(usually)S 1744(preferable)S 2182(to)S 10 B 2288(ic)S 10 R 2361(.)S 2439(Do)S 2590(not)S 2746(give)S 2947(both)S 3153(unless)S 3432(the)S 3583(terminal)S 3947(actually)S 4293(requires)S 4645(both)S 4850(to)S 4955(be)S 5077(used)S 6984 V 1080(in)S 1187(combination.\))S 1802(If)S 1900(post-insert)S 2355(padding)S 2708(is)S 2805(needed,)S 3145(give)S 3348(this)S 3523(as)S 3637(a)S 3712(number)S 4049(of)S (milliseconds)508 4163 A 4701(in)S 10 B 4809(ip)S 10 R 4923(\(a)S 5032(string)S 7104 V 1080(option\).)S 1452(Any)S 1657(other)S 1896(sequence)S 2297(that)S 2480(may)S 2685(need)S 2907(to)S 3017(be)S 3144(sent)S 3338(after)S 3555(insertion)S 3938(of)S 4053(a)S 4129(single)S 4400(character)S 4802(can)S 4973(also)S 5166(be)S 7224 V 1080(given)S 1331(in)S 10 B 1437(ip)S 10 R 1521(.)S 1599(If)S (your)184 1695 A 1907(terminal)S 2271(needs)S 2528(to)S 2634(be)S (placed)263 2757 A 3048(into)S 3232(an)S 3355(`insert)S 3641(mode')S 3926(and)S 4099(needs)S 4356(a)S 4430(special)S 4739(code)S (preced-)303 4958 A 7344 V 1080(ing)S (each)185 1234 A 1445(inserted)S 1790(character,)S 2212(then)S 2411(both)S 10 B 2615(im)S 10 R 2727(/)S 10 B 2755(ei)S 10 R 2854(and)S 10 B 3025(ic)S 10 R 3124(can)S 3290(be)S 3410(given,)S 3683(and)S 3853(both)S (will)157 4056 A 4238(be)S 4358(used.)S 4617(The)S 10 B 4799(IC)S 10 R 4936(capabil-)S 7464 V 1080(ity,)S 1236(with)S 1440(one)S 1610(parameter)S 10 I 2039(n)S 10 R 2105(,)S (will)157 2155 A 2337(repeat)S 2609(the)S 2757(effects)S 3052(of)S 10 B 3161(ic)S 10 I 3259(n)S 10 R 3342(times.)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4990(Page)S 5211(8)S 8143 V EP %%Page: 9 9 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1080(It)S 1172(is)S (occasionally)503 1269 A (necessary)392 1802 A 2224(to)S 2332(move)S (around)279 2585 A 2894(while)S 3148(in)S 3256(insert)S 3511(mode)S 3765(to)S 3874(delete)S 4146(characters)S 4587(on)S 4718(the)S 4872(same)S 5110(line)S 1080 V 1080(\()S 10 I 1114(e.g.)S 10 R 1267(,)S 1320(if)S 1410(there)S 1640(is)S 1735(a)S 1808(tab)S 1959(after)S 2173(the)S 2323(insertion)S (position\).)382 2702 A 3136(If)S (your)184 3231 A 3442(terminal)S 3805(allows)S 4095(motion)S 4406(while)S 4657(in)S 4762(insert)S 5013(mode,)S 1200 V (you)150 1080 A 1262(can)S 1434(give)S 1639(the)S (capability)397 1794 A 10 B 2223(mi)S 10 R 2367(to)S 2477(speed)S 2738(up)S 2870(inserting)S 3255(in)S 3366(this)S 3544(case.)S (Omitting)363 3801 A 10 B 4197(mi)S 10 R (will)157 4342 A 4532(affect)S 4796(only)S 5007(speed.)S 1320 V 1080(Some)S 1334(terminals)S 1734(\(notably)S 2094(Datamedia's\))S 2663(must)S 2883(not)S 3036(have)S 10 B 3251(mi)S 10 R (because)319 3388 A 3732(of)S 3841(the)S 3989(way)S 4182(their)S 4392(insert)S 4641(mode)S 4889(works.)S 1488 V 1080(Finally,)S (you)150 1422 A 1604(can)S 1776(specify)S 10 B 2099(dc)S 10 R 2232(to)S 2342(delete)S 2615(a)S 2692(single)S 2964(character,)S 10 B 3392(DC)S 10 R 3570(with)S 3781(one)S 3959(parameter)S 10 I 4396(n)S 10 R 4487(to)S 4598(delete)S 10 I 4872(n)S 10 R 4963(charac-)S 1608 V 1080(ters,)S 1278(and)S 1450(delete)S 1718(mode)S 1968(by)S 2095(giving)S 10 B 2378(dm)S 10 R 2545(and)S 10 B 2717(ed)S 10 R 2845(to)S 2950(enter)S 3179(and)S 3351(exit)S 3529(delete)S 3797(mode)S 4046(\(which)S 4352(is)S 4445(any)S 4616(mode)S 4865(the)S 5014(termi-)S 1728 V 1080(nal)S 1228(needs)S 1482(to)S 1585(be)S (placed)263 1705 A 1993(in)S 2096(for)S 10 B 2239(dc)S 10 R 2365(to)S 2468(work\).)S 1896 V 10 B 1080(Highlighting,)S 1672(Underlining,)S 2243(and)S 2430(Visible)S 2752(Bells)S 2064 V 10 R 1080(If)S (your)184 1181 A 1399(terminal)S 1769(has)S 1937(one)S 2116(or)S 2234(more)S 2475(kinds)S 2726(of)S 2844(display)S 3168(attributes,)S 3602(these)S 3843(can)S 4017(be)S 4146(represented)S 4645(in)S 4757(a)S 4836(number)S 5177(of)S 2184 V 1080(different)S 1471(ways.)S 1771(You)S (should)267 1987 A (choose)279 2296 A 2617(one)S 2804(display)S 3136(form)S 3374(as)S 10 I (standout)345 3500 A 3887(mode)S 10 R 4113(,)S 4180(representing)S 4720(a)S (good)200 4807 A 5049(high-)S 2304 V 1080(contrast,)S 1459(easy-on-the-eyes)S 2177(format)S 2481(for)S 2634(highlighting)S 3159(error)S 3391(messages)S 3806(and)S 3987(other)S 4230(attention)S 4618(getters.)S (\(If)102 4973 A (you)150 5111 A 2424 V 1080(have)S 1302(a)S 1379(choice,)S 1699(reverse)S 2023(video)S 2278(plus)S 2477(half-bright)S 2940(is)S (good,)225 3039 A 3296(or)S 3412(reverse)S 3736(video)S 3990(alone.\))S 4323(The)S 4511(sequences)S 4950(to)S 5059(enter)S 2544 V 1080(and)S 1255(exit)S (standout)340 1437 A 1808(mode)S 2062(are)S 2217(given)S 2471(as)S 10 B 2586(so)S 10 R 2706(and)S 10 B 2882(se)S 10 R 2966(,)S 3022(respectively.)S 3590(If)S 3689(the)S 3843(code)S 4064(to)S 4173(change)S 4489(into)S 4676(or)S 4791(out)S 4950(of)S 5065(stan-)S 2664 V (dout)178 1080 A 1284(mode)S 1533(leaves)S 1811(one)S 1982(or)S 2092(even)S 2308(two)S 2485(blank)S (spaces)263 2733 A 3021(or)S 3130(garbage)S 3474(characters)S 3909(on)S 4034(the)S 4182(screen,)S 4490(as)S 4599(the)S 4747(TVI)S (912)150 4941 A 5116(and)S 2784 V 1080(Teleray)S (1061)200 1414 A 1639(do,)S 1789(then)S 10 B 1987(sg)S 10 R (should)267 2101 A 2393(be)S 2513(given)S 2761(to)S 2864(tell)S 3018(how)S 3216(many)S 3464(characters)S 3899(are)S 4048(left.)S 2952 V 1080(Codes)S 1368(to)S 1483(begin)S (underlining)463 1743 A 2243(and)S 2425(end)S (underlining)463 2608 A 3109(can)S 3287(be)S 3420(given)S 3681(as)S 10 B 3803(us)S 10 R 3936(and)S 10 B 4119(ue)S 10 R 4220(,)S 4283(respectively.)S 4858(Underline)S 3072 V 1080(mode)S 1344(change)S 1670(garbage)S 2030(is)S 2138(speci\256ed)S 2536(by)S 10 B 2676(ug)S 10 R 2782(,)S 2847(similar)S 3167(to)S 10 B 3285(sg)S 10 R 3374(.)S 3464(If)S 3572(the)S 3735(terminal)S 4111(has)S 4285(a)S 4370(code)S 4600(to)S (underline)380 4718 A 5138(the)S 3192 V 1080(current)S 1396(character)S 1797(and)S 1973(move)S 2227(the)S 2381(cursor)S 2664(one)S (position)323 2840 A 3194(to)S 3303(the)S 3457(right,)S 3703(such)S 3918(as)S 4033(the)S 4187(Microterm)S 4649(Mime,)S 4945(this)S 5121(can)S 3312 V 1080(be)S 1200(given)S 1448(as)S 10 B 1557(uc)S 10 R 1658(.)S 3480 V 1080(Other)S (capabilities)459 1336 A 1821(to)S 1925(enter)S 2153(various)S 2475(highlighting)S 2991(modes)S 3279(include)S 10 B 3601(mb)S 10 R 3767(\(blinking\),)S 10 B 4220(md)S 10 R 4386(\(bold)S 4624(or)S 4734(extra)S 4962(bright\),)S 3600 V 10 B 1080(mh)S 10 R 1250(\(dim)S 1470(or)S 1584(half-bright\),)S 10 B 2104(mk)S 10 R 2274(\(blanking)S 2689(or)S 2803(invisible)S 3178(text\),)S 10 B 3417(mp)S 10 R 3586(\(protected\),)S 10 B 4083(mr)S 10 R 4241(\(reverse)S 4596(video\),)S 10 B 4907(me)S 10 R 5065(\(turn)S 3720 V 1080(off)S 10 I 1238(all)S 10 R 1384(attribute)S 1760(modes\),)S 10 B 2121(as)S 10 R 2250(\(enter)S 2526(alternate)S 2914(character)S 3325(set)S 3477(mode\),)S 3800(and)S 10 B 3986(ae)S 10 R 4122(\(exit)S 4348(alternate)S 4737(character)S 5149(set)S 3840 V 1080(mode\).)S 1412(Turning)S 1761(on)S 1886(any)S 2056(of)S 2165(these)S 2397(modes)S 2684(singly)S 2954(may)S 3152(or)S 3261(may)S 3459(not)S 3612(turn)S 3799(off)S 3942(other)S 4174(modes.)S 4008 V 1080(If)S 1177(there)S 1408(is)S 1504(a)S 1578(sequence)S 1977(to)S 2085(set)S 2227(arbitrary)S 2605(combinations)S 3176(of)S 3290(mode,)S 3568(this)S (should)267 3743 A 4040(be)S 4165(given)S 4418(as)S 10 B 4532(sa)S 10 R 4651(\(set)S 4827(attributes\),)S 4128 V 1080(taking)S 1357(9)S 1433(parameters.)S 1952(Each)S 2180(parameter)S 2610(is)S 2703(either)S 2959(0)S 3035(or)S 3145(1,)S 3246(as)S 3356(the)S (corresponding)575 3505 A 4106(attributes)S 4507(is)S 4600(on)S 4726(or)S 4836(off.)S 5029(The)S 5211(9)S 4248 V 1080(parameters)S 1563(are,)S 1752(in)S 1870(order:)S (standout,)365 2151 A (underline,)405 2556 A 3001(reverse,)S 3358(blink,)S 3629(dim,)S 3850(bold,)S 4093(blank,)S 4381(protect,)S 4727(and)S 4913(alternate)S 4368 V 1080(character)S 1490(set.)S 1691(Not)S 1881(all)S 2021(modes)S 2321(need)S 2549(be)S (supported)396 2682 A 3116(by)S 10 B 3254(sa)S 10 R 3343(,)S 3406(only)S 3622(those)S 3872(for)S 4028(which)S (corresponding)575 4312 A 4925(attribute)S 4488 V 1080(commands)S 1552(exist.)S 1829(\(It)S 1962(is)S 2066(unlikely)S 2432(that)S 2620(a)S 10 B 2702(termcap)S 10 R 3069(-using)S 3357(program)S (will)157 3735 A (support)301 3929 A 4267(this)S (capability,)422 4450 A 4910(which)S 5194(is)S 4608 V 1080(de\256ned)S 1401(for)S (compatibility)536 1544 A 2105(with)S 10 B 2309(terminfo)S 10 R 2693(.\))S 4776 V 1080(Terminals)S 1523(with)S 1736(the)S 1893(magic)S (cookie)268 2173 A (glitches)313 2475 A 2823(\()S 10 B 2857(sg)S 10 R 2981(and)S 10 B 3161(ug)S 10 R 3267(\),)S 3361(rather)S 3632(than)S 3840(maintaining)S 4355(extra)S 4592(attribute)S 4963(bits)S 5143(for)S 4896 V (each)185 1080 A 1303(character)S 1712(cell,)S 1921(instead)S 2244(deposit)S 2572(special)S (cookies,)332 2890 A 3260(or)S 3382(garbage)S 3738(characters,)S 4210(when)S 4465(they)S (receive)292 4675 A 5004(mode-)S 5016 V (setting)268 1080 A 1373(sequences,)S 1831(which)S 2102(affect)S 2358(the)S 2506(display)S 2821(algorithm.)S 5184 V 1080(Some)S 1354(terminals,)S 1799(such)S 2028(as)S 2157(the)S 2325(Hewlett-Packard)S (2621,)225 3049 A 3319(automatically)S 3912(leave)S (standout)340 4170 A 4555(mode)S 4824(when)S 5088(they)S 5304 V 1080(move)S 1336(to)S 1446(a)S 1523(new)S 1723(line)S 1906(or)S 2022(when)S 2272(the)S 2427(cursor)S 2711(is)S 2810(addressed.)S 3289(Programs)S 3707(using)S (standout)340 3956 A 4328(mode)S (should)267 4583 A 4882(exit)S 5065(stan-)S 5424 V (dout)178 1080 A 1288(mode)S 1541(on)S 1671(such)S 1885(terminals)S 2290(before)S 2578(moving)S 2914(the)S 3067(cursor)S 3349(or)S 3463(sending)S 3805(a)S 3880(newline.)S 4279(On)S 4432(terminals)S 4838(where)S 5116(this)S 5544 V 1080(is)S 1172(not)S 1325(a)S 1395(problem,)S 1780(the)S 10 B 1928(ms)S 10 R (capability)397 2076 A (should)267 2498 A 2790(be)S 2910(present)S 3226(to)S 3329(say)S 3488(that)S 3664(this)S 3834(overhead)S 4228(is)S (unnecessary.)517 4320 A 5712 V 1080(If)S 1173(the)S 1321(terminal)S 1682(has)S 1841(a)S 1911(way)S 2105(of)S 2215(\257ashing)S 2559(the)S 2708(screen)S 2992(to)S 3096(indicate)S 3441(an)S 3562(error)S 3785(quietly)S 4090(\(a)S 4195(bell)S (replacement\),)552 4372 A 4950(this)S 5121(can)S 5832 V 1080(be)S 1200(given)S 1448(as)S 10 B 1557(vb)S 10 R 1663(;)S 1716(it)S 1797(must)S 2017(not)S 2170(move)S 2418(the)S 2566(cursor.)S 6000 V 1080(If)S 1179(the)S 1333(cursor)S 1616(needs)S 1876(to)S 1986(be)S 2113(made)S 2363(more)S 2602(visible)S 2902(than)S 3107(normal)S 3424(when)S 3674(it)S 3762(is)S 3861(not)S 4021(on)S 4153(the)S 4308(bottom)S 4624(line)S 4807(\(to)S 4951(change,)S 6120 V 1080(for)S 1242(example,)S 1652(a)S (non-blinking)518 1741 A (underline)380 2303 A 2727(into)S 2927(an)S 3066(easier-to-\256nd)S 3648(block)S 3914(or)S 4041(blinking)S (underline\),)439 4418 A 4900(give)S 5116(this)S 6240 V 1080(sequence)S 1477(as)S 10 B 1589(vs)S 10 R 1678(.)S 1756(If)S 1852(there)S 2082(is)S 2177(a)S 2250(way)S 2446(to)S 2552(make)S 2798(the)S 2949(cursor)S 3229(completely)S 3704(invisible,)S 4103(give)S 4304(that)S 4483(as)S 10 B 4595(vi)S 10 R 4673(.)S 4751(The)S 4936(capabil-)S 6360 V 1080(ity)S 10 B 1211(ve)S 10 R 1306(,)S 1356(which)S (undoes)284 1627 A 1936(the)S 2084(effects)S 2379(of)S 2488(both)S 2691(of)S 2800(these)S 3032(modes,)S (should)267 3344 A 3636(also)S 3823(be)S 3943(given.)S 6528 V 1080(If)S (your)184 1176 A 1388(terminal)S 1752(correctly)S 2139(displays)S (underlined)430 2496 A 2954(characters)S 3393(\(with)S 3635(no)S 3764(special)S 4073(codes)S 4331(needed\))S 4679(even)S (though)278 4898 A 5205(it)S 6648 V 1080(does)S 1290(not)S 1444(overstrike,)S 1898(then)S (you)150 2097 A (should)267 2273 A 2566(give)S 2765(the)S (capability)397 2914 A 10 B 3337(ul)S 10 R 3421(.)S 3497(If)S 3591(overstrikes)S 4059(are)S 4209(erasable)S 4566(with)S 4771(a)S 4842(blank,)S 5116(this)S 6768 V (should)267 1080 A 1372(be)S 1492(indicated)S 1886(by)S 2011(giving)S 10 B 2292(eo)S 10 R 2387(.)S 6936 V 10 B 1080(Keypad)S 7104 V 10 R 1080(If)S 1183(the)S 1341(terminal)S 1712(has)S 1881(a)S 1961(keypad)S 2286(that)S 2472(transmits)S 2877(codes)S 3142(when)S 3396(the)S 3555(keys)S 3775(are)S 3935(pressed,)S 4298(this)S 4479(information)S 4990(can)S 5166(be)S 7224 V 1080(given.)S 1381(Note)S 1605(that)S 1784(it)S 1868(is)S 1963(not)S 2119(possible)S 2476(to)S 2582(handle)S 2878(terminals)S 3281(where)S 3556(the)S 3707(keypad)S 4025(only)S 4231(works)S 4504(in)S 4609(local)S 4832(mode)S 5082(\(this)S 7344 V 1080(applies,)S 1416(for)S 1560(example,)S 1952(to)S 2057(the)S 2207(unshifted)S 2608(Hewlett-Packard)S (2621)200 3314 A 3541(keys\).)S 3836(If)S 3931(the)S 4081(keypad)S 4398(can)S 4565(be)S 4687(set)S 4826(to)S 4931(transmit)S 7464 V 1080(or)S 1198(not)S 1360(transmit,)S 1749(give)S 1956(these)S 2197(codes)S 2460(as)S 10 B 2578(ks)S 10 R 2707(and)S 10 B 2886(ke)S 10 R 2987(.)S 3071(Otherwise)S 3520(the)S 3677(keypad)S 4001(is)S 4102(assumed)S 4482(to)S 4593(always)S 4906(transmit.)S 7903 V 720(Page)S 941(9)S 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 10 10 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1080(The)S 1269(codes)S 1530(sent)S 1724(by)S 1856(the)S 2011(left-arrow,)S 2473(right-arrow,)S 2990(up-arrow,)S 3418(down-arrow,)S 3969(and)S 4147(home)S 4403(keys)S 4620(can)S 4793(be)S 4921(given)S 5177(as)S 1080 V 10 B 1080(kl)S 10 R 1164(,)S 10 B 1215(kr)S 10 R 1316(,)S 10 B 1367(ku)S 10 R 1479(,)S 10 B 1530(kd)S 10 R 1642(,)S 1693(and)S 10 B 1864(kh)S 10 R 1976(,)S 2027(respectively.)S 2590(If)S 2684(there)S 2912(are)S 3062(function)S 3423(keys)S 3632(such)S 3841(as)S 3950(f0,)S 4084(f1,)S (...,)100 4218 A 4343(f9,)S 4477(the)S 4625(codes)S 4879(they)S 5077(send)S 1200 V 1080(can)S 1246(be)S 1367(given)S 1616(as)S 10 B 1726(k0)S 10 R 1832(,)S 10 B 1883(k1)S 10 R 1989(,)S 10 B 2040(k9)S 10 R 2146(.)S 2222(If)S 2316(these)S 2549(keys)S 2759(have)S 2975(labels)S 3236(other)S 3469(than)S 3668(the)S 3817(default)S 4123(f0)S (through)312 4234 A 4573(f9,)S 4709(the)S 4859(labels)S 5121(can)S 1320 V 1080(be)S 1213(given)S 1474(as)S 10 B 1596(l0)S 10 R 1674(,)S 10 B 1737(l1)S 10 R 1815(,)S 10 B 1878(l9)S 10 R 1956(.)S 2044(The)S 2239(codes)S (transmitted)453 2506 A 2997(by)S 3135(certain)S 3448(other)S 3693(special)S 4011(keys)S 4233(can)S 4411(be)S 4544(given:)S 10 B 4833(kH)S 10 R 5004(\(home)S 1440 V 1080(down\),)S 10 B 1395(kb)S 10 R (\(backspace\),)507 1540 A 10 B 2080(ka)S 10 R 2219(\(clear)S 2483(all)S 2617(tabs\),)S 10 B 2871(kt)S 10 R 2994(\(clear)S 3258(the)S 3414(tab)S 3571(stop)S 3772(in)S 3884(this)S 4063(column\),)S 10 B 4457(kC)S 10 R 4620(\(clear)S 4885(screen)S 5177(or)S 1560 V 1080(erase\),)S 10 B 1386(kD)S 10 R 1553(\(delete)S 1866(character\),)S 10 B 2334(kL)S 10 R 2495(\(delete)S 2808(line\),)S 10 B 3056(kM)S 10 R 3245(\(exit)S 3468(insert)S 3730(mode\),)S 10 B 4050(kE)S 10 R 4211(\(clear)S 4480(to)S 4596(end)S 4779(of)S 4901(line\),)S 10 B 5149(kS)S 1680 V 10 R 1080(\(clear)S 1339(to)S 1445(end)S 1618(of)S 1730(screen\),)S 10 B 2075(kI)S 10 R 2198(\(insert)S 2484(character)S 2883(or)S 2995(enter)S 3225(insert)S 3477(mode\),)S 10 B 3787(kA)S 10 R 3945(\(insert)S 4232(line\),)S 10 B 4471(kN)S 10 R 4629(\(next)S 4865(page\),)S 10 B 5143(kP)S 1800 V 10 R 1080(\(previous)S 1501(page\),)S 10 B 1791(kF)S 10 R 1950(\(scroll)S 2249(forward/down\),)S 10 B 2920(kR)S 10 R 3090(\(scroll)S 3389(backward/up\),)S 4009(and)S 10 B 4194(kT)S 10 R 4357(\(set)S 4543(a)S 4628(tab)S 4791(stop)S 4998(in)S 5116(this)S 1920 V 1080(column\).)S 1495(In)S (addition,)354 1609 A 1993(if)S 2086(the)S 2240(keypad)S 2561(has)S 2726(a)S 2802(3)S 2883(by)S 3014(3)S 3095(array)S 3334(of)S 3449(keys)S 3664(including)S 4074(the)S 4228(four)S 4427(arrow)S 4694(keys,)S 4934(then)S 5138(the)S 2040 V 1080(other)S 1314(\256ve)S 1492(keys)S 1703(can)S 1870(be)S 1992(given)S 2241(as)S 10 B 2351(K1)S 10 R 2479(,)S 10 B 2530(K2)S 10 R 2658(,)S 10 B 2709(K3)S 10 R 2837(,)S 10 B 2888(K4)S 10 R 3016(,)S 3067(and)S 10 B 3238(K5)S 10 R 3366(.)S 3442(These)S 3709(keys)S 3919(are)S 4069(useful)S 4341(when)S 4585(the)S 4734(effects)S 5030(of)S 5140(a)S 5211(3)S 2160 V 1080(by)S 1213(3)S 1296(directional)S 1761(pad)S 1940(are)S 2098(needed.)S 2467(The)S 2658(obsolete)S 10 B 3027(ko)S 10 R (capability)397 3167 A 3598(formerly)S 3985(used)S 4203(to)S 4315(describe)S 4685(other)S 4926(function)S 2280 V 1080(keys)S 1289(has)S 1448(been)S 1663(completely)S (supplanted)435 2135 A 2595(by)S 2720(the)S (above)240 2868 A (capabilities.)484 3133 A 2448 V 1080(The)S 10 B 1264(ma)S 10 R 1425(entry)S 1659(is)S 1753(also)S 1942(used)S 2153(to)S 2258(indicate)S 2604(arrow)S 2867(keys)S 3078(on)S 3205(terminals)S 3607(that)S 3785(have)S 4002(single-character)S 4674(arrow)S 4937(keys.)S 5199(It)S 2568 V 1080(is)S 1175(obsolete)S 1538(but)S (still)151 1694 A 1873(in)S 1979(use)S 2141(in)S 2247(version)S 2571(2)S 2649(of)S 10 B 2761(vi)S 10 R 2875(which)S 3148(must)S 3370(be)S 3492(run)S 3653(on)S 3780(some)S 4019(minicomputers)S 4649(due)S 4821(to)S 4926(memory)S 2688 V 1080(limitations.)S 1586(This)S 1791(\256eld)S 1996(is)S (redundant)402 2089 A 2517(with)S 10 B 2722(kl)S 10 R 2806(,)S 10 B 2857(kr)S 10 R 2958(,)S 10 B 3009(ku)S 10 R 3121(,)S 10 B 3172(kd)S 10 R 3284(,)S 3335(and)S 10 B 3506(kh)S 10 R 3618(.)S 3694(It)S 3782(consists)S 4126(of)S (groups)273 4237 A 4537(of)S 4648(two)S 4826(characters.)S 2808 V 1080(In)S (each)185 1218 A (group,)259 1457 A 1770(the)S 1947(\256rst)S 2158(character)S 2583(is)S 2703(what)S 2952(an)S 3100(arrow)S 3389(key)S 3587(sends,)S 3888(and)S 4086(the)S (second)279 4262 A 4594(character)S 5018(is)S 5138(the)S 2928 V (corresponding)575 1080 A 10 B 1685(vi)S 10 R 1801(command.)S 2277(These)S 2548(commands)S 3013(are)S 10 B 3167(h)S 10 R 3253(for)S 10 B 3401(kl)S 10 R 3485(,)S 10 B 3540(j)S 10 R 3604(for)S 10 B 3753(kd)S 10 R 3865(,)S 10 B 3921(k)S 10 R 4008(for)S 10 B 4157(ku)S 10 R 4269(,)S 10 B 4325(l)S 10 R 4384(for)S 10 B 4533(kr)S 10 R 4634(,)S 4690(and)S 10 B 4866(H)S 10 R 4975(for)S 10 B 5124(kh)S 10 R 5236(.)S 3048 V 1080(For)S 1252(example,)S 1650(the)S 1805(Mime)S 2077(would)S 2359(have)S 2580(ma=\303Hh\303Kj\303Zk\303Xl)S 3364(indicating)S 3797(arrow)S 4064(keys)S 4279(left)S 4445(\(\303H\),)S 4676(down)S 4930(\(\303K\),)S 5161(up)S 3168 V 1080(\(\303Z\),)S 1294(and)S 1464(right)S 1679(\(\303X\).)S 1929(\(There)S 2224(is)S 2316(no)S 2441(home)S 2689(key)S 2859(on)S 2984(the)S 3132(Mime.\))S 3336 V 10 B 1080(Tabs)S 1317(and)S 1504(Initialization)S 3504 V 10 R 1080(If)S 1179(the)S 1333(terminal)S 1700(needs)S 1960(to)S 2070(be)S 2197(in)S 2307(a)S 2384(special)S 2696(mode)S 2951(when)S (running)312 3201 A 3545(a)S 3622(program)S 3995(that)S 4178(uses)S 4383(these)S (capabilities,)484 4622 A 5138(the)S 3624 V 1080(codes)S 1343(to)S 1455(enter)S 1691(and)S 1870(exit)S 2055(this)S 2234(mode)S 2491(can)S 2665(be)S 2794(given)S 3051(as)S 10 B 3169(ti)S 10 R 3265(and)S 10 B 3444(te)S 10 R 3523(.)S 3607(This)S 3819(arises,)S 4107(for)S 4258(example,)S 4657(from)S 4886(terminals)S 3744 V 1080(like)S 1258(the)S 1408(Concept)S 1771(with)S 1978(more)S 2213(than)S 2414(one)S 2587(page)S 2805(of)S 2917(memory.)S 3330(If)S 3426(the)S 3577(terminal)S 3941(has)S 4103(only)S 4309(memory-relative)S 5009(cursor)S 3864 V 1080(addressing)S 1552(and)S 1739(not)S 1909(screen-relative)S 2546(cursor)S 2840(addressing,)S 3336(a)S 3422(screen-sized)S (window)324 3962 A 4327(must)S 4563(be)S 4699(\256xed)S 4941(into)S 5138(the)S 3984 V 1080(display)S 1399(for)S 1546(cursor)S 1827(addressing)S 2286(to)S 2393(work)S 2629(properly.)S 3049(This)S 3257(is)S 3353(also)S 3544(used)S 3758(for)S 3906(the)S 4059(Tektronix)S (4025,)225 4486 A 4741(where)S 10 B 5018(ti)S 10 R 5110(sets)S 4104 V 1080(the)S 1228(command)S 1649(character)S 2045(to)S 2148(be)S 2268(the)S 2416(one)S 2586(used)S 2795(by)S 10 B 2920(termcap)S 10 R 3287(.)S 4272 V 1080(Other)S (capabilities)459 1339 A 1827(include)S 10 B 2153(is)S 10 R 2220(,)S 2275(an)S (initialization)509 2400 A 2939(string)S 3198(for)S 3346(the)S 3499(terminal,)S 3890(and)S 10 B 4065(if)S 10 R 4127(,)S 4182(the)S 4335(name)S 4583(of)S 4697(a)S 4772(\256le)S 4931(contain-)S 4392 V 1080(ing)S (long)178 1236 A (initialization)509 1442 A 1979(strings.)S 2325(These)S 2593(strings)S 2888(are)S 3039(expected)S 3424(to)S 3529(set)S 3668(the)S 3818(terminal)S 4181(into)S 4364(modes)S 4653(consistent)S 5082(with)S 4512 V 1080(the)S 1234(rest)S 1411(of)S 1526(the)S 10 B 1680(termcap)S 10 R 2078(description.)S 2607(They)S 2846(are)S 3002(normally)S 3397(sent)S 3591(to)S 3701(the)S 3856(terminal)S 4224(by)S 4356(the)S 10 B 4511(tset)S 10 R 4703(program)S (each)185 5076 A 4632 V 1080(time)S 1291(the)S 1446(user)S 1646(logs)S 1845(in.)S 2005(They)S (will)157 2244 A 2433(be)S 2559(printed)S 2875(in)S 2984(the)S 3138(following)S 3560(order:)S 10 B 3832(is)S 10 R 3899(;)S (setting)268 3958 A 4257(tabs)S 4450(using)S 10 B 4698(ct)S 10 R 4808(and)S 10 B 4984(st)S 10 R 5057(;)S 5116(and)S 4752 V 1080(\256nally)S 10 B 1362(if)S 10 R 1424(.)S 1500(\()S 10 I 1534(Terminfo)S 10 R 1937(uses)S 10 B 2136(i1-i2)S 10 R 2352(instead)S 2663(of)S 10 B 2773(is)S 10 R 2866(and)S 3037(runs)S 3236(the)S 3385(program)S 10 B 3752(iP)S 10 R 3868(and)S 4039(prints)S 10 B 4294(i3)S 10 R 4398(after)S 4610(the)S 4759(other)S (initial-)269 4992 A 4872 V 1080(izations.\))S 1504(A)S 1604(pair)S 1788(of)S 1899(sequences)S 2334(that)S 2512(does)S 2723(a)S 2795(harder)S 3080(reset)S 3298(from)S 3521(a)S 3593(totally)S (unknown)373 3877 A 4277(state)S 4489(can)S 4655(be)S (analogously)485 4776 A 4992 V 1080(given)S 1329(as)S 10 B 1439(rs)S 10 R 1549(and)S 10 B 1720(if)S 10 R 1782(.)S 1858(These)S 2125(strings)S 2419(are)S 2569(output)S 2851(by)S 2977(the)S 10 B 3127(reset)S 10 R 3370(program,)S 3763(which)S 4036(is)S 4130(used)S 4341(when)S 4586(the)S 4736(terminal)S 5099(gets)S 5112 V 1080(into)S 1266(a)S 1340(wedged)S 1682(state.)S 1946(\()S 10 I 1980(Terminfo)S 10 R 2386(uses)S 10 B 2588(r1-r3)S 10 R 2841(instead)S 3155(of)S 10 B 3268(rs)S 10 R 3352(.\))S 3465(Commands)S 3951(are)S 4104(normally)S (placed)263 4496 A 4788(in)S 10 B 4895(rs)S 10 R 5008(and)S 10 B 5182(rf)S 5232 V 10 R 1080(only)S 1286(if)S 1376(they)S (produce)324 1577 A (annoying)373 1929 A 2330(effects)S 2628(on)S 2757(the)S 2909(screen)S 3196(and)S 3370(are)S 3523(not)S (necessary)392 3680 A 4101(when)S (logging)306 4348 A 4683(in.)S 4840(For)S 5009(exam-)S 5352 V 1080(ple,)S 1256(the)S 1407(command)S 1831(to)S 1937(set)S 2077(the)S (VT100)285 2227 A 2539(into)S 2722(80-column)S 3184(mode)S 3434(would)S 3712(normally)S 4102(be)S 4224(part)S 4408(of)S 10 B 4519(is)S 10 R 4586(,)S 4638(but)S 4793(it)S 4876(causes)S 5166(an)S 5472 V (annoying)373 1080 A (glitch)229 1487 A 1751(of)S 1870(the)S 2028(screen)S 2321(and)S 2501(is)S 2603(not)S 2766(normally)S 3164(needed)S 3484(since)S 3726(the)S 3884(terminal)S 4255(is)S 4357(usually)S 4682(already)S 5014(in)S 5127(80-)S 5592 V 1080(column)S 1406(mode.)S 5760 V 1080(If)S 1174(the)S 1323(terminal)S 1685(has)S 1845(hardware)S 2247(tabs,)S 2460(the)S 2609(command)S 3032(to)S 3137(advance)S 3494(to)S 3599(the)S 3749(next)S 3949(tab)S 4099(stop)S 4293(can)S 4460(be)S 4582(given)S 4832(as)S 10 B 4943(ta)S 10 R 5054(\(usu-)S 5880 V 1080(ally)S 10 B 1265(\303I)S 10 R 1338(\).)S 1456(A)S 1563(backtab)S 1910(command)S 2340(which)S 2620(moves)S 2916(leftward)S 3287(to)S 3399(the)S 3556(previous)S 3936(tab)S 4093(stop)S 4294(can)S 4468(be)S 4597(given)S 4854(as)S 10 B 4971(bt)S 10 R 5061(.)S 5144(By)S 6000 V (convention,)471 1080 A 1587(if)S 1685(the)S 1844(terminal)S 2217(driver)S 2495(modes)S 2794(indicate)S 3150(that)S 3338(tab)S 3498(stops)S 3741(are)S 3902(being)S 4162(expanded)S 4584(by)S 4721(the)S 4881(computer)S 6120 V 1080(rather)S 1347(than)S 1551(being)S 1805(sent)S 1998(to)S 2107(the)S 2261(terminal,)S 2653(programs)S (should)267 3064 A 3362(not)S 3521(use)S 10 B 3686(ta)S 10 R 3801(or)S 10 B 3916(bt)S 10 R 4037(even)S 4258(if)S 4351(they)S 4554(are)S 4708(present,)S 5054(since)S 6240 V 1080(the)S 1231(user)S 1427(may)S 1628(not)S 1784(have)S 2002(the)S 2153(tab)S 2305(stops)S 2540(properly)S 2910(set.)S 3101(If)S 3198(the)S 3350(terminal)S 3715(has)S 3878(hardware)S 4283(tabs)S 4474(that)S 4654(are)S (initially)313 4807 A 5149(set)S 6360 V 1080(every)S 10 I 1331(n)S 10 R (positions)362 1416 A 1805(when)S 2050(the)S 2200(terminal)S 2563(is)S 2657(powered)S 3031(up,)S 3183(then)S 3382(the)S 3531(numeric)S 3887(parameter)S 10 B 4317(it)S 10 R 4405(is)S 4498(given,)S 4772(showing)S 5138(the)S 6480 V 1080(number)S 1431(of)S (positions)362 1559 A 1965(between)S 2345(tab)S 2512(stops.)S 2812(This)S 3035(is)S 3146(normally)S 3553(used)S 3781(by)S 3925(the)S 10 B 4092(tset)S 10 R 4296(command)S 4736(to)S 4858(determine)S 6600 V 1080(whether)S 1434(to)S 1541(set)S 1682(the)S 1834(driver)S 2103(mode)S 2354(for)S 2500(hardware)S 2904(tab)S 3055(expansion,)S 3515(and)S 3688(whether)S 4041(to)S 4147(set)S 4287(the)S 4438(tab)S 4589(stops.)S 4873(If)S 4969(the)S 5120(ter-)S 6720 V 1080(minal)S 1337(has)S 1499(tab)S 1650(stops)S 1884(that)S 2064(can)S 2233(be)S 2357(saved)S 2615(in)S (nonvolatile)452 2722 A 3203(memory,)S 3592(the)S 10 B 3744(termcap)S 10 R 4140(description)S 4616(can)S 4785(assume)S 5110(that)S 6840 V 1080(they)S 1278(are)S 1427(properly)S 1793(set.)S 7008 V 1080(If)S 1175(there)S 1404(are)S 1555(commands)S 2018(to)S 2124(set)S 2264(and)S 2437(clear)S 2662(tab)S 2813(stops,)S 3072(they)S 3273(can)S 3441(be)S 3564(given)S 3815(as)S 10 B 3927(ct)S 10 R 4034(\(clear)S 4293(all)S 4422(tab)S 4573(stops\))S 4841(and)S 10 B 5014(st)S 10 R 5115(\(set)S 7128 V 1080(a)S 1158(tab)S 1314(stop)S 1514(in)S 1625(the)S 1781(current)S 2100(column)S 2434(of)S 2550(every)S 2806(row\).)S 3079(If)S 3179(a)S 3256(more)S 3495(complex)S 3873(sequence)S 4274(is)S 4373(needed)S 4690(to)S 4800(set)S 4944(the)S 5099(tabs)S 7248 V 1080(than)S 1278(can)S 1443(be)S 1563(described)S 1974(by)S 2099(this,)S 2294(the)S 2442(sequence)S 2836(can)S 3001(be)S (placed)263 3121 A 3409(in)S 10 B 3512(is)S 10 R 3604(or)S 10 B 3713(if)S 10 R 3775(.)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4940(Page)S 5161(10)S 8143 V EP %%Page: 11 11 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 10 B 1080(Delays)S 1128 V 10 R 1080(Certain)S (capabilities)459 1414 A 1910(control)S 2232(padding)S 2592(in)S 2708(the)S 2869(terminal)S 3243(driver.)S 3572(These)S 3851(are)S 4013(primarily)S 4426(needed)S 4749(by)S (hardcopy)374 4887 A 1248 V 1080(terminals)S 1484(and)S 1658(are)S 1811(used)S 2024(by)S 2153(the)S 10 B 2305(tset)S 10 R 2494(program)S 2864(to)S 2971(set)S 3112(terminal)S 3477(driver)S 3746(modes)S 4036(appropriately.)S 4651(Delays)S 4959(embed-)S 1368 V 1080(ded)S 1253(in)S 1359(the)S (capabilities)459 1510 A 10 B 1997(cr)S 10 R 2087(,)S 10 B 2140(sf)S 10 R 2213(,)S 10 B 2266(le)S 10 R 2339(,)S 10 B 2392(ff)S 10 R 2460(,)S 2513(and)S 10 B 2686(ta)S 10 R (will)157 2798 A 2983(cause)S 3235(the)S 3386(appropriate)S 3873(delay)S 4120(bits)S 4294(to)S 4401(be)S 4525(set)S 4666(in)S 4773(the)S 4925(terminal)S 1488 V 1080(driver.)S 1399(If)S 10 B 1495(pb)S 10 R 1635(\(padding)S 2020(baud)S 2243(rate\))S 2457(is)S 2552(given,)S 2828(these)S 3062(values)S 3346(can)S 3513(be)S (ignored)307 3635 A 3969(at)S 4069(baud)S 4291(rates)S 4509(below)S 4782(the)S 4932(value)S 5177(of)S 1608 V 10 B 1080(pb)S 10 R 1192(.)S 1267(For)S 1432(4.2BSD)S 10 B 1778(tset)S 10 R 1938(,)S 1988(the)S 2136(delays)S 2418(are)S 2567(given)S 2815(as)S 2924(numeric)S (capabilities)459 3279 A 10 B 3763(dC)S 10 R 3892(,)S 10 B 3942(dN)S 10 R 4071(,)S 10 B 4121(dB)S 10 R 4244(,)S 10 B 4294(dF)S 10 R 4412(,)S 4462(and)S 10 B 4632(dT)S 10 R 4780(instead.)S 1776 V 10 B 1080(Miscellaneous)S 1944 V 10 R 1080(If)S 1181(the)S 1337(terminal)S 1706(requires)S 2064(other)S 2304(than)S 2510(a)S 8 R 2583(NUL)S 10 R 2782(\(zero\))S 3057(character)S 3461(as)S 3578(a)S 3657(pad,)S 3861(this)S 4040(can)S 4214(be)S 4343(given)S 4600(as)S 10 B 4718(pc)S 10 R 4819(.)S 4903(Only)S 5138(the)S 2064 V 1080(\256rst)S 1262(character)S 1658(of)S 1767(the)S 10 B 1915(pc)S 10 R 2041(string)S 2295(is)S 2387(used.)S 2232 V 1080(If)S 1173(the)S 1321(terminal)S 1682(has)S 1841(commands)S 2301(to)S 2404(save)S 2608(and)S 2778(restore)S 3078(the)S (position)323 3226 A 3574(of)S 3683(the)S 3831(cursor,)S 4133(give)S 4331(them)S 4557(as)S 10 B 4666(sc)S 10 R 4775(and)S 10 B 4945(rc)S 10 R 5035(.)S 2400 V 1080(If)S 1177(the)S 1329(terminal)S 1694(has)S 1857(an)S 1981(extra)S 2212(status)S 2470(line)S 2650(that)S 2830(is)S 2926(not)S 3083(normally)S 3475(used)S 3688(by)S 3817(software,)S 4219(this)S 4393(fact)S 4574(can)S 4743(be)S 4867(indicated.)S 2520 V 1080(If)S 1187(the)S 1349(status)S 1617(line)S 1807(is)S 1913(viewed)S 2243(as)S 2366(an)S 2500(extra)S 2741(line)S 2931(below)S 3216(the)S 3378(bottom)S 3701(line,)S 3916(then)S 4128(the)S (capability)397 4290 A 10 B 4726(hs)S 10 R (should)267 4860 A 5166(be)S 2640 V 1080(given.)S 1390(Special)S 1724(strings)S 2029(to)S 2144(go)S 2281(to)S 2396(a)S (position)323 2478 A 2838(in)S 2953(the)S 3113(status)S 3379(line)S 3567(and)S 3749(to)S 3864(return)S 4142(from)S 4375(the)S 4535(status)S 4801(line)S 4989(can)S 5166(be)S 2760 V 1080(given)S 1333(as)S 10 B 1447(ts)S 10 R 1550(and)S 10 B 1725(fs)S 10 R 1798(.)S 1878(\()S 10 B 1912(fs)S 10 R 2015(must)S 2240(leave)S 2483(the)S 2636(cursor)S (position)323 2918 A 3271(in)S 3379(the)S 3532(same)S (place)213 3769 A 4012(that)S 4193(it)S 4279(was)S 4466(before)S 10 B 4754(ts)S 10 R 4827(.)S 4906(If)S (neces-)258 5003 A 2880 V 1080(sary,)S 1305(the)S 10 B 1460(sc)S 10 R 1576(and)S 10 B 1753(rc)S 10 R 1875(strings)S 2176(can)S 2349(be)S 2477(included)S 2856(in)S 10 B 2967(ts)S 10 R 3073(and)S 10 B 3251(fs)S 10 R 3357(to)S 3468(get)S 3624(this)S 3802(effect.\))S 4150(The)S (capability)397 4340 A 10 B 4770(ts)S 10 R 4876(takes)S 5116(one)S 3000 V 1080(parameter,)S 1537(which)S 1811(is)S 1906(the)S 2057(column)S 2386(number)S 2721(of)S 2833(the)S 2984(status)S 3241(line)S 3419(to)S 3524(which)S 3797(the)S 3947(cursor)S 4226(is)S 4320(to)S 4425(be)S 4547(moved.)S 4897(If)S 4992(escape)S 3120 V 1080(sequences)S 1526(and)S 1709(other)S 1954(special)S 2272(commands)S 2745(such)S 2967(as)S 3089(tab)S 3250(work)S 3495(while)S 3757(in)S 3873(the)S 4034(status)S 4301(line,)S 4515(the)S 4676(\257ag)S 10 B 4865(es)S 10 R 4987(can)S 5166(be)S 3240 V 1080(given.)S 1388(A)S 1496(string)S 1760(that)S 1946(turns)S 2182(off)S 2335(the)S 2493(status)S 2757(line)S 2943(\(or)S 3096(otherwise)S 3523(erases)S 3804(its)S 3933(contents\))S (should)267 4336 A 4637(be)S 4766(given)S 5023(as)S 10 B 5141(ds)S 10 R 5236(.)S 3360 V 1080(The)S 1264(status)S 1520(line)S 1698(is)S 1792(normally)S 2182(assumed)S 2555(to)S 2660(be)S 2782(the)S 2932(same)S 3166(width)S 3422(as)S 3533(the)S 3683(rest)S 3856(of)S 3967(the)S 4117(screen,)S 10 I 4428(i.e.)S 10 R 4559(,)S 10 B 4612(co)S 10 R 4707(.)S 4785(If)S 4881(the)S 5032(status)S 3480 V 1080(line)S 1260(is)S 1356(a)S 1430(different)S 1807(width)S 2065(\(possibly)S (because)319 2462 A 2809(the)S 2960(terminal)S 3324(does)S 3536(not)S 3692(allow)S 3944(an)S 4067(entire)S 4325(line)S 4504(to)S 4610(be)S 4733(loaded\),)S 5088(then)S 3600 V 1080(its)S 1200(width)S 1454(in)S 1557(columns)S 1922(can)S 2087(be)S 2207(indicated)S 2601(with)S 2805(the)S 2953(numeric)S 3308(parameter)S 10 B 3737(ws)S 10 R 3849(.)S 3768 V 1080(If)S 1182(the)S 1340(terminal)S 1711(can)S 1886(move)S 2144(up)S 2279(or)S 2398(down)S 2656(half)S 2848(a)S 2928(line,)S 3139(this)S 3319(can)S 3494(be)S 3624(indicated)S 4028(with)S 10 B 4242(hu)S 10 R 4389(\(half-line)S 4800(up\))S 4969(and)S 10 B 5149(hd)S 3888 V 10 R 1080(\(half-line)S 1490(down\).)S 1831(This)S 2044(is)S 2145(primarily)S 2554(useful)S 2834(for)S 2986(superscripts)S 3501(and)S 3680(subscripts)S 4116(on)S (hardcopy)374 4250 A 4657(terminals.)S 5115(If)S 5216(a)S 4008 V (hardcopy)374 1080 A 1479(terminal)S 1840(can)S 2005(eject)S 2221(to)S 2324(the)S 2472(next)S 2670(page)S 2885(\(form)S 3140(feed\),)S 3398(give)S 3596(this)S 3766(as)S 10 B 3875(ff)S 10 R 3968(\(usually)S 10 B 4317(\303L)S 10 R 4418(\).)S 4176 V 1080(If)S 1177(there)S 1408(is)S 1504(a)S 1578(command)S 2003(to)S 2110(repeat)S 2386(a)S 2460(given)S 2712(character)S 3113(a)S 3188(given)S 3441(number)S 3778(of)S 3892(times)S 4140(\(to)S 4282(save)S 4491(time)S (transmitting)486 4700 A 5216(a)S 4296 V 1080(large)S 1313(number)S 1651(of)S 1766(identical)S 2144(characters\),)S 2644(this)S 2819(can)S 2989(be)S 3114(indicated)S 3513(with)S 3722(the)S 3875(parameterized)S 4477(string)S 10 B 4736(rp)S 10 R 4837(.)S 4917(The)S 5104(\256rst)S 4416 V 1080(parameter)S 1513(is)S 1610(the)S 1763(character)S 2164(to)S 2272(be)S 2397(repeated)S 2769(and)S 2944(the)S (second)279 3097 A 3406(is)S 3503(the)S 3656(number)S 3993(of)S 4107(times)S 4355(to)S 4463(repeat)S 4740(it.)S 4876(\(This)S 5119(is)S 5216(a)S 4536 V 10 B 1080(terminfo)S 10 R 1489(feature)S 1795(that)S 1971(is)S 2063(unlikely)S 2417(to)S 2520(be)S (supported)396 2640 A 3061(by)S 3186(a)S 3256(program)S 3622(that)S 3798(uses)S 10 B 3996(termcap)S 10 R 4363(.\))S 4704 V 1080(If)S 1173(the)S 1321(terminal)S 1682(has)S 1841(a)S 1911(settable)S 2244(command)S 2665(character,)S 3086(such)S 3296(as)S 3406(the)S 3555(Tektronix)S (4025,)225 3978 A 4229(this)S 4400(can)S 4566(be)S 4687(indicated)S 5082(with)S 4824 V 10 B 1080(CC)S 10 R 1226(.)S 1317(A)S 1431(prototype)S 1857(command)S 2294(character)S 2706(is)S 2814(chosen)S 3134(which)S 3421(is)S 3529(used)S 3754(in)S 3873(all)S (capabilities.)484 4015 A 4564(This)S 4783(character)S 5194(is)S 4944 V 1080(given)S 1336(in)S 1447(the)S 10 B 1603(CC)S 10 R (capability)397 1782 A 2212(to)S 2323(identify)S 2669(it.)S 2808(The)S 2998(following)S (convention)446 3422 A 3901(is)S (supported)396 4002 A 4432(on)S 4566(some)S 4812(UNIX)S 5099(sys-)S 5064 V 1080(tems:)S 1330(The)S 1519(environment)S 2058(is)S 2156(to)S 2265(be)S 2391(searched)S 2775(for)S 2924(a)S 9 B 2998(CC)S 10 R 3161(variable,)S 3542(and)S 3718(if)S (found,)259 3811 A 4101(all)S 4233(occurrences)S 4746(of)S 4861(the)S 5015(proto-)S 5184 V 1080(type)S 1284(character)S 1686(are)S (replaced)342 1841 A 2214(by)S 2345(the)S 2499(character)S 2901(in)S 3010(the)S 3164(environment)S 3703(variable.)S 4110(This)S 4321(use)S 4487(of)S 4603(the)S 9 B 4756(CC)S 10 R 4920(environ-)S 5304 V 1080(ment)S 1306(variable)S 1656(is)S 1748(a)S 1818(very)S 2022(bad)S 2192(idea,)S 2410(as)S 2519(it)S 2600(con\257icts)S 2966(with)S 10 B 3170(make)S 10 R 3413(\(1\).)S 5472 V 1080(Terminal)S 1479(descriptions)S 1994(that)S 2174(do)S 2303(not)S 2460(represent)S 2859(a)S 2934(speci\256c)S 3272(kind)S 3480(of)S (known)273 3594 A 3897(terminal,)S 4288(such)S 4502(as)S 10 B 4616(switch)S 10 R 4899(,)S 10 B 4954(dialup)S 10 R 5236(,)S 5592 V 10 B 1080(patch)S 10 R 1329(,)S 1392(and)S 10 B 1575(network)S 10 R 1942(,)S (should)267 2005 A 2310(include)S 2644(the)S 10 B 2805(gn)S 10 R 2949(\(generic\))S (capability)397 3352 A 3787(so)S 3914(that)S 4103(programs)S 4521(can)S 4699(complain)S 5110(that)S 5712 V 1080(they)S 1296(do)S 1439(not)S (know)223 1610 A 1876(how)S 2092(to)S 2213(talk)S 2407(to)S 2528(the)S 2694(terminal.)S 3123(\(This)S (capability)397 3379 A 3819(does)S 4046(not)S 4217(apply)S 4483(to)S 10 I 4605(virtual)S 10 R 4925(terminal)S 5832 V 1080(descriptions)S 1591(for)S 1734(which)S 2005(the)S 2153(escape)S 2447(sequences)S 2880(are)S (known.\))332 3029 A 6000 V 1080(If)S 1186(the)S 1347(terminal)S 1721(uses)S (xoff/xon)346 1932 A 2316(\()S 8 R 2350(DC3)S 10 R 2502(/)S 8 R 2530(DC1)S 10 R 2682(\))S 2754(handshaking)S 3299(for)S 3455(\257ow)S 3672(control,)S 4020(give)S 10 B 4231(xo)S 10 R 4331(.)S 4419(Padding)S 4786(information)S 6120 V (should)267 1080 A (still)151 1374 A 1552(be)S 1674(included)S 2047(so)S 2163(that)S 2341(routines)S 2692(can)S 2858(make)S 3102(better)S 3358(decisions)S (about)223 3758 A 4007(costs,)S 4259(but)S 4413(actual)S 4680(pad)S 4851(characters)S 6240 V (will)157 1080 A 1262(not)S 1415(be)S (transmitted.)478 1535 A 6408 V 1080(If)S 1175(the)S 1325(terminal)S 1688(has)S 1849(a)S 1921(meta)S 2144(key)S 2316(which)S 2589(acts)S 2773(as)S 2884(a)S 2957(shift)S 3164(key,)S (setting)268 3362 A 3658(the)S 3809(8th)S 3965(bit)S 4099(of)S 4211(any)S 4384(character)S (transmitted,)478 4783 A 6528 V 1080(then)S 1279(this)S 1450(fact)S 1628(can)S 1794(be)S 1915(indicated)S 2310(with)S 10 B 2515(km)S 10 R 2655(.)S 2731(Otherwise,)S 3197(software)S (will)157 3571 A 3754(assume)S 4075(that)S 4251(the)S 4399(8th)S 4552(bit)S 4683(is)S 4775(parity)S 5035(and)S 5205(it)S 6648 V (will)157 1080 A 1263(usually)S 1579(be)S 1700(cleared.)S 2068(If)S 2162(strings)S 2456(exist)S 2672(to)S 2776(turn)S 2964(this)S 3135(meta)S 3357(mode)S 3606(on)S 3732(and)S 3903(off,)S 4072(they)S 4271(can)S 4438(be)S 4560(given)S 4810(as)S 10 B 4921(mm)S 10 R 5116(and)S 6768 V 10 B 1080(mo)S 10 R 1214(.)S 6936 V 1080(If)S 1184(the)S 1343(terminal)S 1715(has)S 1885(more)S 2128(lines)S 2354(of)S 2474(memory)S 2846(than)S (will)157 3056 A 3250(\256t)S 3371(on)S 3508(the)S 3668(screen)S 3963(at)S 4073(once,)S 4325(the)S 4485(number)S 4829(of)S 4950(lines)S 5177(of)S 7056 V 1080(memory)S 1441(can)S 1607(be)S 1728(indicated)S 2123(with)S 10 B 2328(lm)S 10 R 2440(.)S 2516(An)S 2665(explicit)S 2993(value)S 3237(of)S 3347(0)S 3423(indicates)S 3807(that)S 3984(the)S 4133(number)S 4466(of)S 4575(lines)S 4790(is)S 4882(not)S 5035(\256xed,)S 7176 V 1080(but)S 1233(that)S 1409(there)S 1636(is)S (still)151 1728 A 1904(more)S 2136(memory)S 2496(than)S 2694(\256ts)S 2842(on)S 2967(the)S 3115(screen.)S 7344 V 1080(If)S 1184(the)S 1343(terminal)S 1715(is)S 1818(one)S 1999(of)S 2119(those)S (supported)396 2367 A 2799(by)S 2935(the)S 3094(UNIX)S 3383(system)S 3698(virtual)S 3997(terminal)S 4369(protocol,)S 4765(the)S 4925(terminal)S 7464 V 1080(number)S 1412(can)S 1577(be)S 1697(given)S 1945(as)S 10 B 2054(vt)S 10 R 2138(.)S 7903 V 720(Page)S 941(11)S 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 12 12 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 1080(Media)S (copy)195 1374 A 1606(strings)S 1911(which)S 2194(control)S 2516(an)S (auxiliary)358 2648 A 3043(printer)S (connected)408 3349 A 3794(to)S 3909(the)S 4070(terminal)S 4444(can)S 4622(be)S 4755(given)S 5016(as)S 10 B 5138(ps)S 10 R 5233(:)S 1080 V 1080(print)S 1297(the)S 1447(contents)S 1809(of)S 1920(the)S 2070(screen;)S 10 B 2383(pf)S 10 R 2473(:)S 2528(turn)S 2717(off)S 2862(the)S 3012(printer;)S 3336(and)S 10 B 3508(po)S 10 R 3614(:)S 3669(turn)S 3858(on)S 3985(the)S 4135(printer.)S 4481(When)S 4748(the)S 4898(printer)S 5194(is)S 1200 V 1080(on,)S 1245(all)S 1386(text)S 1578(sent)S 1781(to)S 1900(the)S 2064(terminal)S (will)157 2441 A 2639(be)S 2775(sent)S 2978(to)S 3097(the)S 3261(printer.)S 3621(It)S 3724(is)S (unde\256ned)396 3832 A 4269(whether)S 4635(the)S 4799(text)S 4991(is)S 5099(also)S 1320 V 1080(displayed)S 1491(on)S 1617(the)S 1766(terminal)S 2128(screen)S 2412(when)S 2656(the)S 2805(printer)S 3100(is)S 3193(on.)S 3368(A)S 3466(variation)S 10 B 3849(pO)S 10 R 4008(takes)S 4240(one)S 4410(parameter)S 4839(and)S 5009(leaves)S 1440 V 1080(the)S 1242(printer)S 1550(on)S 1689(for)S 1846(as)S 1969(many)S 2231(characters)S 2680(as)S 2803(the)S 2965(value)S 3222(of)S 3345(the)S 3507(parameter,)S 3975(then)S 4187(turns)S 4427(the)S 4589(printer)S 4897(off.)S 5104(The)S 1560 V 1080(parameter)S (should)267 1510 A 1803(not)S (exceed)280 1957 A (255.)175 2263 A 2489(All)S 2644(text,)S 2846(including)S 10 B 3251(pf)S 10 R 3341(,)S 3392(is)S 3485(transparently)S 4037(passed)S 4331(to)S 4435(the)S 4584(printer)S 4878(while)S 10 B 5127(pO)S 1680 V 10 R 1080(is)S 1172(in)S 1275(effect.)S 1848 V 1080(Strings)S 1406(to)S 1525(program)S 1907(function)S 2283(keys)S 2508(can)S 2689(be)S 2826(given)S 3091(as)S 10 B 3217(pk)S 10 R 3329(,)S 10 B 3396(pl)S 10 R 3480(,)S 3547(and)S 10 B 3734(px)S 10 R 3840(.)S 3932(Each)S 4176(of)S 4302(these)S 4551(strings)S 4861(takes)S 5110(two)S 1968 V 1080(parameters:)S 1579(the)S 1730(function)S 2093(key)S 2266(number)S 2601(to)S 2707(program)S (\(from)230 3076 A 3334(0)S 3412(to)S 3518(9\))S 3630(and)S 3803(the)S 3954(string)S 4211(to)S 4317(program)S 4686(it)S 4770(with.)S 5026(Func-)S 2088 V 1080(tion)S 1265(key)S 1439(numbers)S 1814(out)S 1971(of)S 2084(this)S 2258(range)S 2512(may)S 2715(program)S (unde\256ned)396 3086 A 3512(keys)S 3726(in)S 3834(a)S 3909(terminal-dependent)S 4722(manner.)S 5104(The)S 2208 V 1080(differences)S (among)273 1559 A 1861(the)S (capabilities)459 2013 A 2501(are)S 2654(that)S 10 B 2834(pk)S 10 R 2975(causes)S 3267(pressing)S 3631(the)S 3783(given)S 4035(key)S 4209(to)S 4316(be)S 4440(the)S 4592(same)S 4828(as)S 4941(the)S 5093(user)S 2328 V 1080(typing)S 1362(the)S 1511(given)S 1760(string;)S 10 B 2043(pl)S 10 R 2153(causes)S 2442(the)S 2591(string)S 2846(to)S 2950(be)S 3071(executed)S 3455(by)S 3581(the)S 3730(terminal)S 4092(in)S 4196(local)S 4418(mode;)S 4695(and)S 10 B 4866(px)S 10 R 4998(causes)S 2448 V 1080(the)S 1230(string)S 1486(to)S 1590(be)S (transmitted)453 1711 A 2190(to)S 2294(the)S 2443(computer.)S 2899(Unfortunately,)S 3515(due)S 3686(to)S 3790(lack)S 3984(of)S 4094(a)S (de\256nition)385 4165 A 4576(for)S 4720(string)S 4975(param-)S 2568 V 1080(eters)S 1296(in)S 10 B 1399(termcap)S 10 R 1766(,)S 1816(only)S 10 B 2019(terminfo)S 10 R (supports)340 2428 A 2793(these)S (capabilities.)484 3025 A 2736 V 10 B 1080(Glitches)S 1458(and)S 1645(Braindamage)S 2904 V 10 R (Hazeltine)387 1080 A 1492(terminals,)S 1917(which)S 2188(do)S 2313(not)S 2466(allow)S (`\304')102 2715 A 2842(characters)S 3277(to)S 3380(be)S 3500(displayed,)S (should)267 3935 A 4227(indicate)S 10 B 4571(hz)S 10 R 4672(.)S 3072 V 1080(The)S 10 B 1263(nc)S 10 R (capability,)422 1390 A 1838(now)S 2037(obsolete,)S 2423(formerly)S 2802(indicated)S 3198(Datamedia)S 3662(terminals,)S 4089(which)S 4362(echo)S 10 B 4579(\\r)S 4679(\\n)S 10 R 4790(for)S 4935(carriage)S 3192 V 1080(return)S 1346(then)S (ignore)257 1544 A 1826(a)S 1896(following)S 2312(linefeed.)S 3360 V 1080(Terminals)S 1523(that)S (ignore)257 1708 A 1999(a)S 2078(linefeed)S 2437(immediately)S 2974(after)S 3194(an)S 10 B 3323(am)S 10 R 3491(wrap,)S 3752(such)S 3970(as)S 4088(the)S 4245(Concept,)S (should)267 4640 A 4942(indicate)S 3480 V 10 B 1080(xn)S 10 R 1186(.)S 3648 V 1080(If)S 10 B 1176(ce)S 10 R 1294(is)S 1389(required)S 1753(to)S 1859(get)S 2010(rid)S 2150(of)S (standout)340 2262 A 2630(\(instead)S 2977(of)S 3089(merely)S (writing)291 3397 A 3716(normal)S 4029(text)S 4209(on)S 4338(top)S 4495(of)S 4608(it\),)S 10 B 4752(xs)S 10 R (should)267 4870 A 5166(be)S 3768 V 1080(given.)S 3936 V 1080(Teleray)S 1419(terminals,)S 1849(where)S 2126(tabs)S 2318(turn)S 2510(all)S 2641(characters)S 3081(moved)S 3385(over)S 3595(to)S 3704(blanks,)S (should)267 4022 A 4320(indicate)S 10 B 4670(xt)S 10 R 4785(\(destructive)S 4056 V 1080(tabs\).)S 1359(This)S (glitch)229 1571 A 1832(is)S 1931(also)S 2125(taken)S 2375(to)S 2485(mean)S 2735(that)S 2918(it)S 3006(is)S 3105(not)S 3265(possible)S 3626(to)S (position)323 3736 A 4091(the)S 4246(cursor)S 4530(on)S 4662(top)S 4822(of)S 4938(a)S 5015(magic)S 4176 V (cookie,)293 1080 A 1398(and)S 1568(that)S 1744(to)S 1847(erase)S (standout)340 2080 A 2445(mode)S 2693(it)S 2774(is)S (necessary)392 2866 A 3283(to)S 3386(use)S 3545(delete)S 3811(and)S 3981(insert)S 4230(line.)S 4344 V 1080(The)S 1267(Beehive)S 1627(Superbee,)S 2057(which)S 2333(is)S 2430(unable)S 2728(to)S 2836(correctly)S 3225(transmit)S 3585(the)S 8 R 3733(ESC)S 10 R 3913(or)S 4028(\303C)S 4160(characters,)S 4626(has)S 10 B 4791(xb)S 10 R 4897(,)S 4953(indicat-)S 4464 V 1080(ing)S 1235(that)S 1413(the)S 1563(f1)S 1674(key)S 1846(is)S 1940(used)S 2151(for)S 8 R 2291(ESC)S 10 R 2466(and)S 2637(f2)S 2747(for)S 2891(\303C.)S 3068(\(Only)S 3329(certain)S 3630(Superbees)S 4070(have)S 4286(this)S 4457(problem,)S 4843(depending)S 4584 V 1080(on)S 1205(the)S 1353(ROM.\))S 4752 V 1080(Other)S 1335(speci\256c)S 1668(terminal)S 2029(problems)S 2428(may)S 2626(be)S 2746(corrected)S 3147(by)S 3272(adding)S 3570(more)S (capabilities)459 3802 A 4286(of)S 4395(the)S 4543(form)S 10 B 4764(x)S 10 I 4814(x)S 10 B 4867(.)S 4920 V 1080(Similar)S 1424(Terminals)S 5088 V 10 R 1080(If)S 1187(there)S 1428(are)S 1591(two)S 1781(very)S 1999(similar)S 2318(terminals,)S 2758(one)S 2943(can)S 3123(be)S 3258(de\256ned)S 3594(as)S 3718(being)S 3981(just)S 4166(like)S 4357(the)S 4520(other)S 4767(with)S 4986(certain)S 5208 V 1080(exceptions.)S 1586(The)S 1769(string)S (capability)397 2024 A 10 B 2447(tc)S 10 R 2552(can)S 2718(be)S 2839(given)S 3088(with)S 3293(the)S 3442(name)S 3686(of)S 3796(the)S 3944(similar)S 4249(terminal.)S 4660(This)S (capability)397 4864 A 5328 V 1080(must)S 1313(be)S 10 I 1446(last)S 10 R 1607(,)S 1671(and)S 1855(the)S 2017(combined)S 2452(length)S 2742(of)S 2865(the)S 3027(entries)S 3335(must)S 3569(not)S (exceed)280 3736 A (1024.)225 4055 A 4344(The)S (capabilities)459 4540 A 5038(given)S 5448 V 1080(before)S 10 B 1373(tc)S 10 R 1487(override)S 1857(those)S 2103(in)S 2215(the)S 2372(terminal)S 2742(type)S (invoked)323 2949 A 3306(by)S 10 B 3440(tc)S 10 R 3519(.)S 3603(A)S (capability)397 3710 A 4141(can)S 4315(be)S 4444(canceled)S 4831(by)S 4965(placing)S 5568 V 10 B 1080(xx@)S 10 R 1298(to)S 1401(the)S 1549(left)S 1709(of)S 1818(the)S 10 B 1966(tc)S 10 R (invocation,)449 2070 A 2544(where)S 10 I 2816(xx)S 10 R 2939(is)S 3031(the)S (capability.)422 3179 A 3651(For)S 3816(example,)S 4207(the)S 4355(entry)S 5736 V 1480(hn)S 1596(|)S (2621)200 1632 A 10 R-1 1832(-)S 10 R (nl:ks@:ke@:tc=2621:)890 1889 A 5904 V 1080(de\256nes)S 1394(a)S (2621)200 1468 A 10 R-1 1668(-)S 10 R 1725(nl)S 1832(that)S 2012(does)S 2225(not)S 2382(have)S 2602(the)S 10 B 2755(ks)S 10 R 2880(or)S 10 B 2994(ke)S 10 R (capabilities,)484 3125 A 3639(hence)S 3904(does)S 4118(not)S 4276(turn)S 4468(on)S 4598(the)S 4751(function)S 5116(key)S 6024 V 1080(labels)S 1355(when)S 1613(in)S 1731(visual)S 2011(mode.)S 2324(This)S 2543(is)S 2650(useful)S 2936(for)S 3094(different)S 3482(modes)S 3784(for)S 3942(a)S 4026(terminal,)S 4426(or)S 4549(for)S 4706(different)S 5093(user)S 6144 V 1080(preferences.)S 6312 V 9 R 720(A)S 722(AU)S 790(UT)S 858(TH)S 916(HO)S 984(OR)S 1052(R)S 6432 V 10 R (William)330 1080 A 1435(Joy)S 6552 V 1080(Mark)S 1323(Horton)S 1633(added)S (underlining)463 1898 A 2386(and)S 2556(keypad)S (support)301 2871 A 6720 V 9 R 720(F)S 722(FI)S 774(IL)S 807(LE)S 865(ES)S 923(S)S 6840 V 10 B 1080(/etc/termcap)S 10 R 1830(\256le)S 1990(containing)S 2445(terminal)S 2812(descriptions)S 10 B 3330(/usr/etc/termcap)S 10 R 4069(\256le)S 4230(containing)S 4686(more)S 4925(terminal)S 6960 V 1830(descriptions)S 2341(\(Minix-vmd\))S 7128 V 9 R 720(S)S 722(SE)S 774(EE)S 832(E)S 928(A)S 930(AL)S 998(LS)S 1056(SO)S 1108(O)S 7248 V 10 B 1080(elvis)S 10 R 1270(\(1\),)S 10 B 1438(more)S 10 R 1662(\(1\),)S 10 B 1830(termcap)S 10 R 2189(\(3\),)S 10 B 2357(printf)S 10 R 2610(\(3\).)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4940(Page)S 5161(12)S 8143 V EP %%Page: 13 13 BP /slant 0 def /height 0 def 480 V 10 R 720(TERMCAP)S 1204(\()S 1246(5)S 1304(\))S 2696(Eighth)S (Edition)296 2989 A 4643(TERMCAP)S 5127(\()S 5169(5)S 5227(\))S 960 V 9 R 720(C)S 722(CA)S 784(AV)S 852(VE)S 920(EA)S 978(AT)S 1046(TS)S 1104(S)S 1179(A)S 1181(AN)S 1249(ND)S 1317(D)S 1408(B)S 1410(BU)S 1472(UG)S 1540(GS)S 1608(S)S 1080 V 10 R 1080(Lines)S 1335(and)S 1511(columns)S 1882(are)S 2037(now)S 2241(stored)S 2518(by)S 2650(the)S 2805(kernel)S 3089(as)S 3205(well)S 3411(as)S 3527(in)S 3637(the)S 3792(termcap)S 4149(entry.)S 4438(Most)S 4676(programs)S 5088(now)S 1200 V 1080(use)S 1241(the)S 1391(kernel)S 1670(information)S 2172(primarily;)S 2602(the)S 2752(information)S 3254(in)S 3359(this)S 3530(\256le)S 3685(is)S 3778(used)S 3988(only)S 4192(if)S 4280(the)S 4429(kernel)S 4707(does)S 4917(not)S 5071(have)S 1320 V 1080(any)S 1250(information.)S 1488 V 1080(Not)S 1256(all)S 1382(programs)S (support)301 1787 A 2113(all)S 2239(entries.)S 1656 V 1080(The)S 1262(Minix)S 10 B 1532(termcap)S 10 R 1891(\(3\))S 2034(does)S 2243(not)S (understand)441 2396 A 2862(everything)S 3317(described)S 3728(here,)S 3952(unlike)S 4228(the)S 4376(one)S 4546(Minix-vmd)S 5028(uses.)S 7903 V 720(Page)S 941(13)S 2586(\()S 2628(1)S 2703(November)S (1985)200 3153 A 3361(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic Symbol %%Pages: 13