|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: t
Length: 5951 (0x173f)
Names: »termcap.3x«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/termcap.3x«
└─⟦this⟧ »./usr/man/cat3/termcap.3x«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆ 0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 74 65 72 6d 63 61 70 28 33 78 29 0a 0a 0a 0a ┆ions termcap(3x) ┆ 0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x0080…00a0 20 20 74 67 65 74 65 6e 74 2c 20 74 67 65 74 6e 75 6d 2c 20 74 67 65 74 66 6c 61 67 2c 20 74 67 ┆ tgetent, tgetnum, tgetflag, tg┆ 0x00a0…00c0 65 74 73 74 72 2c 20 74 67 6f 74 6f 2c 20 74 70 75 74 73 20 2d 0a 20 20 20 20 20 74 65 72 6d 69 ┆etstr, tgoto, tputs - termi┆ 0x00c0…00e0 6e 61 6c 2d 69 6e 64 65 70 65 6e 64 65 6e 74 20 6f 70 65 72 61 74 69 6f 6e 20 72 6f 75 74 69 6e ┆nal-independent operation routin┆ 0x00e0…0100 65 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 ┆es S S S SY Y Y YN N N NT T T T┆ 0x0100…0120 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 ┆A A A AX X X X c c c ch h h┆ 0x0120…0140 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 50 08 50 08 50 08 50 43 08 43 08 43 08 43 3b ┆ ha a a ar r r r P P P PC C C C;┆ 0x0140…0160 08 3b 08 3b 08 3b 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 ┆ ; ; ; c c c ch h h ha a a ┆ 0x0160…0180 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 42 08 42 08 42 08 42 43 08 43 08 43 08 43 3b 08 ┆ar r r r * * * *B B B BC C C C; ┆ 0x0180…01a0 3b 08 3b 08 3b 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 ┆; ; ; c c c ch h h ha a a a┆ 0x01a0…01c0 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 55 08 55 08 55 08 55 50 08 50 08 50 08 50 3b 08 3b ┆r r r r * * * *U U U UP P P P; ;┆ 0x01c0…01e0 08 3b 08 3b 0a 20 20 20 20 20 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 72 ┆ ; ; s s s sh h h ho o o or┆ 0x01e0…0200 08 72 08 72 08 72 74 08 74 08 74 08 74 20 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 70 08 70 08 ┆ r r rt t t t o o o os s s sp p ┆ 0x0200…0220 70 08 70 65 08 65 08 65 08 65 65 08 65 08 65 08 65 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a ┆p pe e e ee e e ed d d d; ; ; ; ┆ 0x0220…0240 0a 20 20 20 20 20 74 08 74 08 74 08 74 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 ┆ t t t tg g g ge e e et t t┆ 0x0240…0260 08 74 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 28 08 28 08 28 08 28 62 08 ┆ te e e en n n nt t t t( ( ( (b ┆ 0x0260…0280 62 08 62 08 62 70 08 70 08 70 08 70 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61 ┆b b bp p p p, , , , n n n na a a┆ 0x0280…02a0 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 ┆ am m m me e e e) ) ) ) c c┆ 0x02a0…02c0 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 ┆ c ch h h ha a a ar r r r * * * ┆ 0x02c0…02e0 2a 62 08 62 08 62 08 62 70 08 70 08 70 08 70 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 6e 08 ┆*b b b bp p p p, , , , * * * *n ┆ 0x02e0…0300 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 ┆n n na a a am m m me e e e; ; ; ┆ 0x0300…0320 3b 0a 0a 20 20 20 20 20 74 08 74 08 74 08 74 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 ┆; t t t tg g g ge e e et t┆ 0x0320…0340 08 74 08 74 6e 08 6e 08 6e 08 6e 75 08 75 08 75 08 75 6d 08 6d 08 6d 08 6d 28 08 28 08 28 08 28 ┆ t tn n n nu u u um m m m( ( ( (┆ 0x0340…0360 69 08 69 08 69 08 69 64 08 64 08 64 08 64 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 ┆i i i id d d d) ) ) ) c c c┆ 0x0360…0380 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 69 ┆ ch h h ha a a ar r r r * * * *i┆ 0x0380…03a0 08 69 08 69 08 69 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 74 08 74 08 74 ┆ i i id d d d; ; ; ; t t t┆ 0x03a0…03c0 08 74 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 66 08 66 08 66 08 66 6c 08 ┆ tg g g ge e e et t t tf f f fl ┆ 0x03c0…03e0 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 08 67 08 67 28 08 28 08 28 08 28 69 08 69 08 69 08 ┆l l la a a ag g g g( ( ( (i i i ┆ 0x03e0…0400 69 64 08 64 08 64 08 64 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 ┆id d d d) ) ) ) c c c ch h ┆ 0x0400…0420 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 69 08 69 08 69 08 69 ┆h ha a a ar r r r * * * *i i i i┆ 0x0420…0440 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 ┆d d d d; ; ; ; c c c ch h ┆ 0x0440…0460 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 0a 20 20 20 20 20 74 ┆h ha a a ar r r r * * * * t┆ 0x0460…0480 08 74 08 74 08 74 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 08 74 08 74 73 08 73 08 73 ┆ t t tg g g ge e e et t t ts s s┆ 0x0480…04a0 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 28 08 28 08 28 08 28 69 08 69 08 69 08 69 64 08 ┆ st t t tr r r r( ( ( (i i i id ┆ 0x04a0…04c0 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 61 08 61 08 61 08 61 72 08 72 08 72 08 72 65 08 65 08 65 ┆d d d, , , , a a a ar r r re e e┆ 0x04c0…04e0 08 65 61 08 61 08 61 08 61 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 ┆ ea a a a) ) ) ) c c c ch h┆ 0x04e0…0500 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 69 08 69 08 69 08 ┆ h ha a a ar r r r * * * *i i i ┆ 0x0500…0520 69 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 2a 08 2a 08 2a 08 2a 61 08 ┆id d d d, , , , * * * ** * * *a ┆ 0x0520…0540 61 08 61 08 61 72 08 72 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 3b 08 3b 08 3b 08 ┆a a ar r r re e e ea a a a; ; ; ┆ 0x0540…0560 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 ┆; c c c ch h h ha a a ar r┆ 0x0560…0580 08 72 08 72 20 2a 08 2a 08 2a 08 2a 0a 20 20 20 20 20 74 08 74 08 74 08 74 67 08 67 08 67 08 67 ┆ r r * * * * t t t tg g g g┆ 0x0580…05a0 6f 08 6f 08 6f 08 6f 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 28 08 28 08 28 08 28 63 08 63 08 ┆o o o ot t t to o o o( ( ( (c c ┆ 0x05a0…05c0 63 08 63 6d 08 6d 08 6d 08 6d 2c 08 2c 08 2c 08 2c 20 64 08 64 08 64 08 64 65 08 65 08 65 08 65 ┆c cm m m m, , , , d d d de e e e┆ 0x05c0…05e0 73 08 73 08 73 08 73 74 08 74 08 74 08 74 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6c 08 6c 08 ┆s s s st t t tc c c co o o ol l ┆ 0x05e0…0600 6c 08 6c 2c 08 2c 08 2c 08 2c 20 64 08 64 08 64 08 64 65 08 65 08 65 08 65 73 08 73 08 73 08 73 ┆l l, , , , d d d de e e es s s s┆ 0x0600…0620 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 ┆t t t tl l l li i i in n n ne e ┆ 0x0620…0640 65 08 65 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 ┆e e) ) ) ) c c c ch h h ha ┆ 0x0640…0660 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 63 08 63 08 63 08 63 6d 08 6d 08 6d ┆a a ar r r r * * * *c c c cm m m┆ 0x0660…0680 08 6d 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 74 08 74 08 74 08 74 70 08 70 08 70 08 70 75 08 ┆ m; ; ; ; t t t tp p p pu ┆ 0x0680…06a0 75 08 75 08 75 74 08 74 08 74 08 74 73 08 73 08 73 08 73 28 08 28 08 28 08 28 63 08 63 08 63 08 ┆u u ut t t ts s s s( ( ( (c c c ┆ 0x06a0…06c0 63 70 08 70 08 70 08 70 2c 08 2c 08 2c 08 2c 20 61 08 61 08 61 08 61 66 08 66 08 66 08 66 66 08 ┆cp p p p, , , , a a a af f f ff ┆ 0x06c0…06e0 66 08 66 08 66 63 08 63 08 63 08 63 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 2c 08 2c 08 2c 08 ┆f f fc c c cn n n nt t t t, , , ┆ 0x06e0…0700 2c 20 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 74 08 74 08 74 08 74 63 08 63 08 63 08 63 29 08 ┆, o o o ou u u ut t t tc c c c) ┆ 0x0700…0720 29 08 29 08 29 0a 20 20 20 20 20 72 08 72 08 72 08 72 65 08 65 08 65 08 65 67 08 67 08 67 08 67 ┆) ) ) r r r re e e eg g g g┆ 0x0720…0740 69 08 69 08 69 08 69 73 08 73 08 73 08 73 74 08 74 08 74 08 74 65 08 65 08 65 08 65 72 08 72 08 ┆i i i is s s st t t te e e er r ┆ 0x0740…0760 72 08 72 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 ┆r r c c c ch h h ha a a ar r r r┆ 0x0760…0780 20 2a 08 2a 08 2a 08 2a 63 08 63 08 63 08 63 70 08 70 08 70 08 70 3b 08 3b 08 3b 08 3b 0a 20 20 ┆ * * * *c c c cp p p p; ; ; ; ┆ 0x0780…07a0 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 61 08 61 08 61 08 61 ┆ i i i in n n nt t t t a a a a┆ 0x07a0…07c0 66 08 66 08 66 08 66 66 08 66 08 66 08 66 63 08 63 08 63 08 63 6e 08 6e 08 6e 08 6e 74 08 74 08 ┆f f f ff f f fc c c cn n n nt t ┆ 0x07c0…07e0 74 08 74 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 ┆t t; ; ; ; i i i in n n nt ┆ 0x07e0…0800 74 08 74 08 74 20 28 08 28 08 28 08 28 2a 08 2a 08 2a 08 2a 6f 08 6f 08 6f 08 6f 75 08 75 08 75 ┆t t t ( ( ( (* * * *o o o ou u u┆ 0x0800…0820 08 75 74 08 74 08 74 08 74 63 08 63 08 63 08 63 29 08 29 08 29 08 29 28 08 28 08 28 08 28 29 08 ┆ ut t t tc c c c) ) ) )( ( ( () ┆ 0x0820…0840 29 08 29 08 29 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 ┆) ) ); ; ; ; D D D DE E E ES S ┆ 0x0840…0860 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 ┆S SC C C CR R R RI I I IP P P PT┆ 0x0860…0880 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 ┆ T T TI I I IO O O ON N N N ┆ 0x0880…08a0 20 54 68 65 73 65 20 66 75 6e 63 74 69 6f 6e 73 20 65 78 74 72 61 63 74 20 61 6e 64 20 75 73 65 ┆ These functions extract and use┆ 0x08a0…08c0 20 63 61 70 61 62 69 6c 69 74 69 65 73 20 66 72 6f 6d 20 74 68 65 0a 20 20 20 20 20 74 65 72 6d ┆ capabilities from the term┆ 0x08c0…08e0 69 6e 61 6c 2d 63 61 70 61 62 69 6c 69 74 79 20 64 61 74 61 20 62 61 73 65 20 5f 08 74 5f 08 65 ┆inal-capability data base _ t_ e┆ 0x08e0…0900 5f 08 72 5f 08 6d 5f 08 63 5f 08 61 5f 08 70 28 35 29 2e 20 20 54 68 65 73 65 20 61 72 65 20 6c ┆_ r_ m_ c_ a_ p(5). These are l┆ 0x0900…0920 6f 77 2d 0a 20 20 20 20 20 6c 65 76 65 6c 20 72 6f 75 74 69 6e 65 73 3b 20 73 65 65 20 74 68 65 ┆ow- level routines; see the┆ 0x0920…0940 20 64 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 5f 08 63 5f 08 75 5f 08 72 5f 08 73 ┆ description of the _ c_ u_ r_ s┆ 0x0940…0960 5f 08 65 5f 08 73 28 33 58 29 0a 20 20 20 20 20 6c 69 62 72 61 72 79 20 66 75 6e 63 74 69 6f 6e ┆_ e_ s(3X) library function┆ 0x0960…0980 73 20 66 6f 72 20 61 20 68 69 67 68 65 72 2d 6c 65 76 65 6c 20 70 61 63 6b 61 67 65 2e 0a 0a 20 ┆s for a higher-level package. ┆ 0x0980…09a0 20 20 20 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 65 5f 08 6e 5f 08 74 20 65 78 74 72 61 63 ┆ _ t_ g_ e_ t_ e_ n_ t extrac┆ 0x09a0…09c0 74 73 20 74 68 65 20 65 6e 74 72 79 20 66 6f 72 20 74 65 72 6d 69 6e 61 6c 20 5f 08 6e 5f 08 61 ┆ts the entry for terminal _ n_ a┆ 0x09c0…09e0 5f 08 6d 5f 08 65 20 69 6e 74 6f 20 74 68 65 20 62 75 66 66 65 72 0a 20 20 20 20 20 61 74 20 5f ┆_ m_ e into the buffer at _┆ 0x09e0…0a00 08 62 5f 08 70 2e 20 5f 08 42 5f 08 70 20 73 68 6f 75 6c 64 20 62 65 20 61 20 63 68 61 72 61 63 ┆ b_ p. _ B_ p should be a charac┆ 0x0a00…0a20 74 65 72 20 62 75 66 66 65 72 20 6f 66 20 73 69 7a 65 20 31 30 32 34 20 61 6e 64 20 6d 75 73 74 ┆ter buffer of size 1024 and must┆ 0x0a20…0a40 0a 20 20 20 20 20 62 65 20 72 65 74 61 69 6e 65 64 20 74 68 72 6f 75 67 68 20 61 6c 6c 20 73 75 ┆ be retained through all su┆ 0x0a40…0a60 62 73 65 71 75 65 6e 74 20 63 61 6c 6c 73 20 74 6f 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 ┆bsequent calls to _ t_ g_ e_ t_ ┆ 0x0a60…0a80 6e 5f 08 75 5f 08 6d 2c 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 2d 0a 20 20 20 20 20 5f 08 ┆n_ u_ m, _ t_ g_ e_ t_ - _ ┆ 0x0a80…0aa0 66 5f 08 6c 5f 08 61 5f 08 67 2c 20 61 6e 64 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f ┆f_ l_ a_ g, and _ t_ g_ e_ t_ s_┆ 0x0aa0…0ac0 08 74 5f 08 72 2e 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 65 5f 08 6e 5f 08 74 20 72 65 74 ┆ t_ r. _ t_ g_ e_ t_ e_ n_ t ret┆ 0x0ac0…0ae0 75 72 6e 73 20 2d 31 20 69 66 20 69 74 20 63 61 6e 6e 6f 74 20 6f 70 65 6e 20 74 68 65 0a 20 20 ┆urns -1 if it cannot open the ┆ 0x0ae0…0b00 20 20 20 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f 08 63 5f 08 61 5f 08 70 20 66 69 6c 65 2c 20 30 ┆ _ t_ e_ r_ m_ c_ a_ p file, 0┆ 0x0b00…0b20 20 69 66 20 74 68 65 20 74 65 72 6d 69 6e 61 6c 20 6e 61 6d 65 20 67 69 76 65 6e 20 64 6f 65 73 ┆ if the terminal name given does┆ 0x0b20…0b40 20 6e 6f 74 20 68 61 76 65 20 61 6e 0a 20 20 20 20 20 65 6e 74 72 79 2c 20 61 6e 64 20 31 20 69 ┆ not have an entry, and 1 i┆ 0x0b40…0b60 66 20 61 6c 6c 20 67 6f 65 73 20 77 65 6c 6c 2e 20 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 ┆f all goes well. _ t_ g_ e_ t_ ┆ 0x0b60…0b80 65 5f 08 6e 5f 08 74 20 6c 6f 6f 6b 73 20 69 6e 20 74 68 65 0a 20 20 20 20 20 65 6e 76 69 72 6f ┆e_ n_ t looks in the enviro┆ 0x0b80…0ba0 6e 6d 65 6e 74 20 66 6f 72 20 61 20 54 45 52 4d 43 41 50 20 76 61 72 69 61 62 6c 65 2e 20 20 49 ┆nment for a TERMCAP variable. I┆ 0x0ba0…0bc0 66 20 74 68 65 20 76 61 72 69 61 62 6c 65 20 69 73 0a 20 20 20 20 20 66 6f 75 6e 64 2c 20 74 68 ┆f the variable is found, th┆ 0x0bc0…0be0 65 20 76 61 6c 75 65 20 64 6f 65 73 20 6e 6f 74 20 62 65 67 69 6e 20 77 69 74 68 20 61 20 73 6c ┆e value does not begin with a sl┆ 0x0be0…0c00 61 73 68 2c 20 61 6e 64 20 74 68 65 20 74 65 72 6d 69 2d 0a 20 20 20 20 20 6e 61 6c 20 74 79 70 ┆ash, and the termi- nal typ┆ 0x0c00…0c20 65 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 20 69 ┆e n n n na a a am m m me e e e i┆ 0x0c20…0c40 73 20 74 68 65 20 73 61 6d 65 20 61 73 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 73 74 ┆s the same as the environment st┆ 0x0c40…0c60 72 69 6e 67 20 54 45 52 4d 2c 0a 20 20 20 20 20 74 68 65 6e 20 74 68 65 20 54 45 52 4d 43 41 50 ┆ring TERM, then the TERMCAP┆ 0x0c60…0c80 20 73 74 72 69 6e 67 20 69 73 20 75 73 65 64 20 69 6e 73 74 65 61 64 20 6f 66 20 72 65 61 64 69 ┆ string is used instead of readi┆ 0x0c80…0ca0 6e 67 20 74 68 65 0a 20 20 20 20 20 2f 65 74 63 2f 74 65 72 6d 63 61 70 20 66 69 6c 65 2e 20 20 ┆ng the /etc/termcap file. ┆ 0x0ca0…0cc0 49 66 20 74 68 65 20 76 61 6c 75 65 20 64 6f 65 73 20 62 65 67 69 6e 20 77 69 74 68 20 61 20 73 ┆If the value does begin with a s┆ 0x0cc0…0ce0 6c 61 73 68 2c 0a 20 20 20 20 20 74 68 65 20 73 74 72 69 6e 67 20 69 73 20 75 73 65 64 20 61 73 ┆lash, the string is used as┆ 0x0ce0…0d00 20 61 20 70 61 74 68 20 6e 61 6d 65 20 72 61 74 68 65 72 20 74 68 61 6e 20 2f 65 74 63 2f 74 65 ┆ a path name rather than /etc/te┆ 0x0d00…0d20 72 6d 63 61 70 2e 0a 20 20 20 20 20 54 68 69 73 20 63 61 6e 20 73 70 65 65 64 20 75 70 20 65 6e ┆rmcap. This can speed up en┆ 0x0d20…0d40 74 72 79 20 69 6e 74 6f 20 70 72 6f 67 72 61 6d 73 20 74 68 61 74 20 63 61 6c 6c 20 5f 08 74 5f ┆try into programs that call _ t_┆ 0x0d40…0d60 08 67 5f 08 65 5f 08 74 5f 08 65 5f 08 6e 5f 08 74 2c 20 61 73 0a 20 20 20 20 20 77 65 6c 6c 20 ┆ g_ e_ t_ e_ n_ t, as well ┆ 0x0d60…0d80 61 73 20 68 65 6c 70 20 64 65 62 75 67 20 6e 65 77 20 74 65 72 6d 69 6e 61 6c 20 64 65 73 63 72 ┆as help debug new terminal descr┆ 0x0d80…0da0 69 70 74 69 6f 6e 73 20 28 6f 72 20 6d 61 6b 65 20 6f 6e 65 0a 20 20 20 20 20 66 6f 72 20 79 6f ┆iptions (or make one for yo┆ 0x0da0…0dc0 75 72 20 74 65 72 6d 69 6e 61 6c 20 69 66 20 79 6f 75 20 63 61 6e 27 74 20 77 72 69 74 65 20 74 ┆ur terminal if you can't write t┆ 0x0dc0…0de0 68 65 20 66 69 6c 65 20 2f 5f 08 65 5f 08 74 5f 08 63 2f 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f ┆he file /_ e_ t_ c/_ t_ e_ r_ m_┆ 0x0de0…0e00 08 63 5f 08 61 5f 08 70 2e 29 0a 0a 20 20 20 20 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 6e ┆ c_ a_ p.) _ t_ g_ e_ t_ n┆ 0x0e00…0e20 5f 08 75 5f 08 6d 20 67 65 74 73 20 74 68 65 20 6e 75 6d 65 72 69 63 20 76 61 6c 75 65 20 6f 66 ┆_ u_ m gets the numeric value of┆ 0x0e20…0e40 20 63 61 70 61 62 69 6c 69 74 79 20 5f 08 69 5f 08 64 2c 20 72 65 74 75 72 6e 69 6e 67 0a 20 20 ┆ capability _ i_ d, returning ┆ 0x0e40…0e60 20 20 20 2d 31 20 69 66 20 69 73 20 6e 6f 74 20 67 69 76 65 6e 20 66 6f 72 20 74 68 65 20 74 65 ┆ -1 if is not given for the te┆ 0x0e60…0e80 72 6d 69 6e 61 6c 2e 20 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 66 5f 08 6c 5f 08 61 5f 08 ┆rminal. _ t_ g_ e_ t_ f_ l_ a_ ┆ 0x0e80…0ea0 67 20 72 65 74 75 72 6e 73 20 31 20 69 66 0a 20 20 20 20 20 74 68 65 20 73 70 65 63 69 66 69 65 ┆g returns 1 if the specifie┆ 0x0ea0…0ec0 64 20 63 61 70 61 62 69 6c 69 74 79 20 69 73 20 70 72 65 73 65 6e 74 20 69 6e 20 74 68 65 20 74 ┆d capability is present in the t┆ 0x0ec0…0ee0 65 72 6d 69 6e 61 6c 27 73 20 65 6e 74 72 79 2c 0a 20 20 20 20 20 30 20 69 66 20 69 74 20 69 73 ┆erminal's entry, 0 if it is┆ 0x0ee0…0f00 20 6e 6f 74 2e 20 20 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f 08 74 5f 08 72 20 67 65 74 ┆ not. _ t_ g_ e_ t_ s_ t_ r get┆ 0x0f00…0f20 73 20 74 68 65 20 73 74 72 69 6e 67 20 76 61 6c 75 65 20 6f 66 20 63 61 70 61 62 69 6c 69 74 79 ┆s the string value of capability┆ 0x0f20…0f40 0a 20 20 20 20 20 5f 08 69 5f 08 64 2c 20 70 6c 61 63 69 6e 67 20 69 74 20 69 6e 20 74 68 65 20 ┆ _ i_ d, placing it in the ┆ 0x0f40…0f60 62 75 66 66 65 72 20 61 74 20 5f 08 61 5f 08 72 5f 08 65 5f 08 61 2c 20 61 64 76 61 6e 63 69 6e ┆buffer at _ a_ r_ e_ a, advancin┆ 0x0f60…0f80 67 20 74 68 65 20 5f 08 61 5f 08 72 5f 08 65 5f 08 61 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 70 6f ┆g the _ a_ r_ e_ a po┆ 0x0f80…0fa0 69 6e 74 65 72 2e 20 20 49 74 20 64 65 63 6f 64 65 73 20 74 68 65 20 61 62 62 72 65 76 69 61 74 ┆inter. It decodes the abbreviat┆ 0x0fa0…0fc0 69 6f 6e 73 20 66 6f 72 20 74 68 69 73 20 66 69 65 6c 64 0a 20 20 20 20 20 64 65 73 63 72 69 62 ┆ions for this field describ┆ 0x0fc0…0fe0 65 64 20 69 6e 20 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f 08 63 5f 08 61 5f 08 70 28 35 29 2c 20 ┆ed in _ t_ e_ r_ m_ c_ a_ p(5), ┆ 0x0fe0…1000 65 78 63 65 70 74 20 66 6f 72 20 63 75 72 73 6f 72 20 61 64 64 72 65 73 73 69 6e 67 20 61 6e 64 ┆except for cursor addressing and┆ 0x1000…1020 0a 20 20 20 20 20 70 61 64 64 69 6e 67 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 ┆ padding information. ┆ 0x1020…1040 20 5f 08 74 5f 08 67 5f 08 6f 5f 08 74 5f 08 6f 20 72 65 74 75 72 6e 73 20 61 20 63 75 72 73 6f ┆ _ t_ g_ o_ t_ o returns a curso┆ 0x1040…1060 72 20 61 64 64 72 65 73 73 69 6e 67 20 73 74 72 69 6e 67 20 64 65 63 6f 64 65 64 20 66 72 6f 6d ┆r addressing string decoded from┆ 0x1060…1080 20 5f 08 63 5f 08 6d 20 74 6f 0a 20 20 20 20 20 67 6f 20 74 6f 20 63 6f 6c 75 6d 6e 20 5f 08 64 ┆ _ c_ m to go to column _ d┆ 0x1080…10a0 5f 08 65 5f 08 73 5f 08 74 5f 08 63 5f 08 6f 5f 08 6c 20 69 6e 20 6c 69 6e 65 20 5f 08 64 5f 08 ┆_ e_ s_ t_ c_ o_ l in line _ d_ ┆ 0x10a0…10c0 65 5f 08 73 5f 08 74 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 2e 20 49 74 20 75 73 65 73 20 74 68 65 ┆e_ s_ t_ l_ i_ n_ e. It uses the┆ 0x10c0…10e0 20 65 78 74 65 72 6e 61 6c 0a 20 20 20 20 20 76 61 72 69 61 62 6c 65 73 20 55 08 55 08 55 08 55 ┆ external variables U U U U┆ 0x10e0…1100 50 08 50 08 50 08 50 20 28 66 72 6f 6d 20 74 68 65 20 75 08 75 08 75 08 75 70 08 70 08 70 08 70 ┆P P P P (from the u u u up p p p┆ 0x1100…1120 20 63 61 70 61 62 69 6c 69 74 79 29 20 61 6e 64 20 42 08 42 08 42 08 42 43 08 43 08 43 08 43 20 ┆ capability) and B B B BC C C C ┆ 0x1120…1140 28 69 66 20 62 08 62 08 62 08 62 63 08 63 08 63 08 63 20 69 73 20 67 69 76 65 6e 0a 20 20 20 20 ┆(if b b b bc c c c is given ┆ 0x1140…1160 20 72 61 74 68 65 72 20 74 68 61 6e 20 62 08 62 08 62 08 62 73 08 73 08 73 08 73 29 20 69 66 20 ┆ rather than b b b bs s s s) if ┆ 0x1160…1180 6e 65 63 65 73 73 61 72 79 20 74 6f 20 61 76 6f 69 64 20 70 6c 61 63 69 6e 67 20 5c 08 5c 08 5c ┆necessary to avoid placing \ \ \┆ 0x1180…11a0 08 5c 6e 08 6e 08 6e 08 6e 2c 20 5e 08 5e 08 5e 08 5e 44 08 44 08 44 08 44 20 6f 72 20 5e 08 5e ┆ \n n n n, ^ ^ ^ ^D D D D or ^ ^┆ 0x11a0…11c0 08 5e 08 5e 40 08 40 08 40 08 40 0a 20 20 20 20 20 69 6e 20 74 68 65 20 72 65 74 75 72 6e 65 64 ┆ ^ ^@ @ @ @ in the returned┆ 0x11c0…11e0 20 73 74 72 69 6e 67 2e 20 20 28 50 72 6f 67 72 61 6d 73 20 77 68 69 63 68 20 63 61 6c 6c 20 5f ┆ string. (Programs which call _┆ 0x11e0…1200 08 74 5f 08 67 5f 08 6f 5f 08 74 5f 08 6f 20 73 68 6f 75 6c 64 0a 20 20 20 20 20 62 65 20 73 75 ┆ t_ g_ o_ t_ o should be su┆ 0x1200…1220 72 65 20 74 6f 20 74 75 72 6e 20 6f 66 66 20 74 68 65 20 58 54 41 42 53 20 62 69 74 28 73 29 2c ┆re to turn off the XTABS bit(s),┆ 0x1220…1240 20 73 69 6e 63 65 20 5f 08 74 5f 08 67 5f 08 6f 5f 08 74 5f 08 6f 20 6d 61 79 20 6e 6f 77 0a 20 ┆ since _ t_ g_ o_ t_ o may now ┆ 0x1240…1260 20 20 20 20 6f 75 74 70 75 74 20 61 20 74 61 62 2e 20 20 4e 6f 74 65 20 74 68 61 74 20 70 72 6f ┆ output a tab. Note that pro┆ 0x1260…1280 67 72 61 6d 73 20 75 73 69 6e 67 20 74 65 72 6d 63 61 70 20 73 68 6f 75 6c 64 20 69 6e 0a 20 20 ┆grams using termcap should in ┆ 0x1280…12a0 20 20 20 67 65 6e 65 72 61 6c 20 74 75 72 6e 20 6f 66 66 20 58 54 41 42 53 20 61 6e 79 77 61 79 ┆ general turn off XTABS anyway┆ 0x12a0…12c0 20 73 69 6e 63 65 20 73 6f 6d 65 20 74 65 72 6d 69 6e 61 6c 73 20 75 73 65 20 63 6f 6e 2d 0a 20 ┆ since some terminals use con- ┆ 0x12c0…12e0 20 20 20 20 74 72 6f 6c 20 49 20 66 6f 72 20 6f 74 68 65 72 20 66 75 6e 63 74 69 6f 6e 73 2c 20 ┆ trol I for other functions, ┆ 0x12e0…1300 73 75 63 68 20 61 73 20 6e 6f 6e 64 65 73 74 72 75 63 74 69 76 65 20 73 70 61 63 65 2e 29 0a 20 ┆such as nondestructive space.) ┆ 0x1300…1320 20 20 20 20 49 66 20 61 20 25 08 25 08 25 08 25 20 73 65 71 75 65 6e 63 65 20 69 73 20 67 69 76 ┆ If a % % % % sequence is giv┆ 0x1320…1340 65 6e 20 77 68 69 63 68 20 69 73 20 6e 6f 74 20 75 6e 64 65 72 73 74 6f 6f 64 2c 20 74 68 65 6e ┆en which is not understood, then┆ 0x1340…1360 20 5f 08 74 5f 08 67 5f 08 6f 5f 08 74 5f 08 6f 0a 20 20 20 20 20 72 65 74 75 72 6e 73 20 22 4f ┆ _ t_ g_ o_ t_ o returns "O┆ 0x1360…1380 4f 50 53 22 2e 0a 0a 20 20 20 20 20 5f 08 74 5f 08 70 5f 08 75 5f 08 74 5f 08 73 20 64 65 63 6f ┆OPS". _ t_ p_ u_ t_ s deco┆ 0x1380…13a0 64 65 73 20 74 68 65 20 6c 65 61 64 69 6e 67 20 70 61 64 64 69 6e 67 20 69 6e 66 6f 72 6d 61 74 ┆des the leading padding informat┆ 0x13a0…13c0 69 6f 6e 20 6f 66 20 74 68 65 20 73 74 72 69 6e 67 0a 20 20 20 20 20 5f 08 63 5f 08 70 3b 20 5f ┆ion of the string _ c_ p; _┆ 0x13c0…13e0 08 61 5f 08 66 5f 08 66 5f 08 63 5f 08 6e 5f 08 74 20 67 69 76 65 73 20 74 68 65 20 6e 75 6d 62 ┆ a_ f_ f_ c_ n_ t gives the numb┆ 0x13e0…1400 65 72 20 6f 66 20 6c 69 6e 65 73 20 61 66 66 65 63 74 65 64 20 62 79 20 74 68 65 20 6f 70 65 72 ┆er of lines affected by the oper┆ 0x1400…1420 61 2d 0a 20 20 20 20 20 74 69 6f 6e 2c 20 6f 72 20 31 20 69 66 20 74 68 69 73 20 69 73 20 6e 6f ┆a- tion, or 1 if this is no┆ 0x1420…1440 74 20 61 70 70 6c 69 63 61 62 6c 65 2c 20 5f 08 6f 5f 08 75 5f 08 74 5f 08 63 20 69 73 20 61 20 ┆t applicable, _ o_ u_ t_ c is a ┆ 0x1440…1460 72 6f 75 74 69 6e 65 0a 20 20 20 20 20 77 68 69 63 68 20 69 73 20 63 61 6c 6c 65 64 20 77 69 74 ┆routine which is called wit┆ 0x1460…1480 68 20 65 61 63 68 20 63 68 61 72 61 63 74 65 72 20 69 6e 20 74 75 72 6e 2e 20 20 54 68 65 20 65 ┆h each character in turn. The e┆ 0x1480…14a0 78 74 65 72 6e 61 6c 0a 20 20 20 20 20 76 61 72 69 61 62 6c 65 20 5f 08 6f 5f 08 73 5f 08 70 5f ┆xternal variable _ o_ s_ p_┆ 0x14a0…14c0 08 65 5f 08 65 5f 08 64 20 73 68 6f 75 6c 64 20 63 6f 6e 74 61 69 6e 20 74 68 65 20 6f 75 74 70 ┆ e_ e_ d should contain the outp┆ 0x14c0…14e0 75 74 20 73 70 65 65 64 20 6f 66 20 74 68 65 20 74 65 72 2d 0a 20 20 20 20 20 6d 69 6e 61 6c 20 ┆ut speed of the ter- minal ┆ 0x14e0…1500 61 73 20 65 6e 63 6f 64 65 64 20 62 79 20 5f 08 73 5f 08 74 5f 08 74 5f 08 79 28 33 29 2e 20 20 ┆as encoded by _ s_ t_ t_ y(3). ┆ 0x1500…1520 54 68 65 20 65 78 74 65 72 6e 61 6c 20 76 61 72 69 61 62 6c 65 20 50 08 50 08 50 08 50 43 08 43 ┆The external variable P P P PC C┆ 0x1520…1540 08 43 08 43 0a 20 20 20 20 20 73 68 6f 75 6c 64 20 63 6f 6e 74 61 69 6e 20 61 20 70 61 64 20 63 ┆ C C should contain a pad c┆ 0x1540…1560 68 61 72 61 63 74 65 72 20 74 6f 20 62 65 20 75 73 65 64 20 28 66 72 6f 6d 20 74 68 65 20 70 08 ┆haracter to be used (from the p ┆ 0x1560…1580 70 08 70 08 70 63 08 63 08 63 08 63 20 63 61 70 61 2d 0a 20 20 20 20 20 62 69 6c 69 74 79 29 20 ┆p p pc c c c capa- bility) ┆ 0x1580…15a0 69 66 20 61 20 6e 75 6c 6c 20 28 5e 08 5e 08 5e 08 5e 40 08 40 08 40 08 40 29 20 69 73 20 69 6e ┆if a null (^ ^ ^ ^@ @ @ @) is in┆ 0x15a0…15c0 61 70 70 72 6f 70 72 69 61 74 65 2e 0a 0a 46 08 46 08 46 08 46 49 08 49 08 49 08 49 4c 08 4c 08 ┆appropriate. F F F FI I I IL L ┆ 0x15c0…15e0 4c 08 4c 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 2f 75 73 72 2f 6c 69 62 2f ┆L LE E E ES S S S /usr/lib/┆ 0x15e0…1600 6c 69 62 74 65 72 6d 63 61 70 2e 61 20 20 2d 6c 74 65 72 6d 63 61 70 20 6c 69 62 72 61 72 79 0a ┆libtermcap.a -ltermcap library ┆ 0x1600…1620 20 20 20 20 20 2f 65 74 63 2f 74 65 72 6d 63 61 70 20 20 20 20 20 20 20 20 20 20 20 64 61 74 61 ┆ /etc/termcap data┆ 0x1620…1640 20 62 61 73 65 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 ┆ base S S S SE E E EE E E E A A┆ 0x1640…1660 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 ┆ A AL L L LS S S SO O O O U┆ 0x1660…1680 73 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 31 29 3a 20 20 65 78 0a 20 20 20 20 20 4c 69 62 72 61 ┆ser Commands (1): ex Libra┆ 0x1680…16a0 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 63 75 72 73 65 73 0a 20 20 20 20 20 46 ┆ry Functions (3): curses F┆ 0x16a0…16c0 69 6c 65 20 46 6f 72 6d 61 74 73 20 28 35 29 3a 20 20 74 65 72 6d 63 61 70 0a 20 20 20 20 20 53 ┆ile Formats (5): termcap S┆ 0x16c0…16e0 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 38 29 3a 20 20 74 63 73 ┆ystem Manager Commands (8): tcs┆ 0x16e0…1700 65 72 76 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆erv March 1989 ┆ 0x1700…1720 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 ┆ TX Programmer's Ref┆ 0x1720…173f 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆erence ┆