|
|
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: c
Length: 5169 (0x1431)
Names: »curs_util.3x«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/curs_util.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 63 75 72 73 5f 75 74 69 6c 28 33 78 29 0a 0a 0a 0a ┆ions curs_util(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 63 75 72 73 5f 75 74 69 6c 3a 20 20 75 6e 63 74 72 6c 2c 20 6b 65 79 6e 61 6d 65 2c 20 66 ┆ curs_util: unctrl, keyname, f┆ 0x00a0…00c0 69 6c 74 65 72 2c 20 75 73 65 5f 65 6e 76 2c 20 70 75 74 77 69 6e 2c 0a 20 20 20 20 20 67 65 74 ┆ilter, use_env, putwin, get┆ 0x00c0…00e0 77 69 6e 2c 20 64 65 6c 61 79 5f 6f 75 74 70 75 74 2c 20 66 6c 75 73 68 69 6e 70 20 2d 20 6d 69 ┆win, delay_output, flushinp - mi┆ 0x00e0…0100 73 63 65 6c 6c 61 6e 65 6f 75 73 20 63 75 72 73 65 73 20 75 74 69 6c 2d 0a 20 20 20 20 20 69 74 ┆scellaneous curses util- it┆ 0x0100…0120 79 20 72 6f 75 74 69 6e 65 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 ┆y routines S S S SY Y Y YN N N ┆ 0x0120…0140 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 ┆NT T T TA A A AX X X X # # ┆ 0x0140…0160 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 ┆# #i i i in n n nc c c cl l l lu┆ 0x0160…0180 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 63 08 63 08 ┆ u u ud d d de e e e < < < <c c ┆ 0x0180…01a0 63 08 63 75 08 75 08 75 08 75 72 08 72 08 72 08 72 73 08 73 08 73 08 73 65 08 65 08 65 08 65 73 ┆c cu u u ur r r rs s s se e e es┆ 0x01a0…01c0 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 ┆ s s s. . . .h h h h> > > > ┆ 0x01c0…01e0 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 08 72 08 72 20 2a ┆ c c c ch h h ha a a ar r r r *┆ 0x01e0…0200 08 2a 08 2a 08 2a 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 74 08 74 08 74 ┆ * * *u u u un n n nc c c ct t t┆ 0x0200…0220 08 74 72 08 72 08 72 08 72 6c 08 6c 08 6c 08 6c 28 08 28 08 28 08 28 63 08 63 08 63 08 63 29 08 ┆ tr r r rl l l l( ( ( (c c c c) ┆ 0x0220…0240 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 74 08 74 08 74 08 74 ┆) ) ) c c c ch h h ht t t t┆ 0x0240…0260 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 20 63 08 63 08 63 08 63 3b 08 3b ┆y y y yp p p pe e e e c c c c; ;┆ 0x0260…0280 08 3b 08 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 ┆ ; ; c c c ch h h ha a a a┆ 0x0280…02a0 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 6b 08 6b 08 6b 08 6b 65 08 65 08 65 08 65 79 08 79 ┆r r r r * * * *k k k ke e e ey y┆ 0x02a0…02c0 08 79 08 79 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 ┆ y yn n n na a a am m m me e e e┆ 0x02c0…02e0 28 08 28 08 28 08 28 63 08 63 08 63 08 63 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 ┆( ( ( (c c c c) ) ) ) i i i┆ 0x02e0…0300 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 63 08 63 08 63 08 63 3b 08 3b 08 3b 08 3b 0a ┆ in n n nt t t t c c c c; ; ; ; ┆ 0x0300…0320 0a 20 20 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 66 08 66 08 ┆ i i i in n n nt t t t f f ┆ 0x0320…0340 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 74 08 74 08 74 08 74 65 08 65 08 65 08 65 72 ┆f fi i i il l l lt t t te e e er┆ 0x0340…0360 08 72 08 72 08 72 28 08 28 08 28 08 28 29 08 29 08 29 08 29 0a 0a 20 20 20 20 20 76 08 76 08 76 ┆ r r r( ( ( () ) ) ) v v v┆ 0x0360…0380 08 76 6f 08 6f 08 6f 08 6f 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 75 08 75 08 75 08 75 73 ┆ vo o o oi i i id d d d u u u us┆ 0x0380…03a0 08 73 08 73 08 73 65 08 65 08 65 08 65 5f 08 5f 08 5f 08 5f 65 08 65 08 65 08 65 6e 08 6e 08 6e ┆ s s se e e e_ _ _ _e e e en n n┆ 0x03a0…03c0 08 6e 76 08 76 08 76 08 76 28 08 28 08 28 08 28 62 08 62 08 62 08 62 6f 08 6f 08 6f 08 6f 6f 08 ┆ nv v v v( ( ( (b b b bo o o oo ┆ 0x03c0…03e0 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 ┆o o ol l l le e e ea a a an n n ┆ 0x03e0…0400 6e 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 61 08 ┆n) ) ) ) c c c ch h h ha a ┆ 0x0400…0420 61 08 61 72 08 72 08 72 08 72 20 62 08 62 08 62 08 62 6f 08 6f 08 6f 08 6f 6f 08 6f 08 6f 08 6f ┆a ar r r r b b b bo o o oo o o o┆ 0x0420…0440 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 61 08 61 08 61 08 61 6e 08 6e 08 6e 08 6e 3b 08 3b 08 ┆l l l le e e ea a a an n n n; ; ┆ 0x0440…0460 3b 08 3b 0a 0a 20 20 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 ┆; ; i i i in n n nt t t t ┆ 0x0460…0480 70 08 70 08 70 08 70 75 08 75 08 75 08 75 74 08 74 08 74 08 74 77 08 77 08 77 08 77 69 08 69 08 ┆p p p pu u u ut t t tw w w wi i ┆ 0x0480…04a0 69 08 69 6e 08 6e 08 6e 08 6e 28 08 28 08 28 08 28 77 08 77 08 77 08 77 69 08 69 08 69 08 69 6e ┆i in n n n( ( ( (w w w wi i i in┆ 0x04a0…04c0 08 6e 08 6e 08 6e 2c 08 2c 08 2c 08 2c 20 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 ┆ n n n, , , , f f f fi i i il l ┆ 0x04c0…04e0 6c 08 6c 65 08 65 08 65 08 65 70 08 70 08 70 08 70 29 08 29 08 29 08 29 0a 20 20 20 20 20 57 08 ┆l le e e ep p p p) ) ) ) W ┆ 0x04e0…0500 57 08 57 08 57 49 08 49 08 49 08 49 4e 08 4e 08 4e 08 4e 44 08 44 08 44 08 44 4f 08 4f 08 4f 08 ┆W W WI I I IN N N ND D D DO O O ┆ 0x0500…0520 4f 57 08 57 08 57 08 57 20 2a 08 2a 08 2a 08 2a 77 08 77 08 77 08 77 69 08 69 08 69 08 69 6e 08 ┆OW W W W * * * *w w w wi i i in ┆ 0x0520…0540 6e 08 6e 08 6e 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 46 08 46 08 46 08 46 49 08 49 08 49 08 49 ┆n n n; ; ; ; F F F FI I I I┆ 0x0540…0560 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 20 2a 08 2a 08 2a 08 2a 66 08 66 08 66 08 66 69 08 69 ┆L L L LE E E E * * * *f f f fi i┆ 0x0560…0580 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 70 08 70 08 70 08 70 3b 08 3b 08 3b 08 3b ┆ i il l l le e e ep p p p; ; ; ;┆ 0x0580…05a0 0a 0a 20 20 20 20 20 57 08 57 08 57 08 57 49 08 49 08 49 08 49 4e 08 4e 08 4e 08 4e 44 08 44 08 ┆ W W W WI I I IN N N ND D ┆ 0x05a0…05c0 44 08 44 4f 08 4f 08 4f 08 4f 57 08 57 08 57 08 57 20 2a 08 2a 08 2a 08 2a 67 08 67 08 67 08 67 ┆D DO O O OW W W W * * * *g g g g┆ 0x05c0…05e0 65 08 65 08 65 08 65 74 08 74 08 74 08 74 77 08 77 08 77 08 77 69 08 69 08 69 08 69 6e 08 6e 08 ┆e e e et t t tw w w wi i i in n ┆ 0x05e0…0600 6e 08 6e 28 08 28 08 28 08 28 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 ┆n n( ( ( (f f f fi i i il l l le┆ 0x0600…0620 08 65 08 65 08 65 70 08 70 08 70 08 70 29 08 29 08 29 08 29 0a 20 20 20 20 20 46 08 46 08 46 08 ┆ e e ep p p p) ) ) ) F F F ┆ 0x0620…0640 46 49 08 49 08 49 08 49 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 20 2a 08 2a 08 2a 08 2a 66 08 ┆FI I I IL L L LE E E E * * * *f ┆ 0x0640…0660 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 70 08 70 08 70 08 ┆f f fi i i il l l le e e ep p p ┆ 0x0660…0680 70 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 ┆p; ; ; ; i i i in n n nt t┆ 0x0680…06a0 08 74 08 74 20 64 08 64 08 64 08 64 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 ┆ t t d d d de e e el l l la a a ┆ 0x06a0…06c0 61 79 08 79 08 79 08 79 5f 08 5f 08 5f 08 5f 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 74 08 74 ┆ay y y y_ _ _ _o o o ou u u ut t┆ 0x06c0…06e0 08 74 08 74 70 08 70 08 70 08 70 75 08 75 08 75 08 75 74 08 74 08 74 08 74 28 08 28 08 28 08 28 ┆ t tp p p pu u u ut t t t( ( ( (┆ 0x06e0…0700 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 ┆m m m ms s s s) ) ) ) i i i┆ 0x0700…0720 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 6d 08 6d 08 6d 08 6d 73 08 73 08 73 08 73 3b ┆ in n n nt t t t m m m ms s s s;┆ 0x0720…0740 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 ┆ ; ; ; i i i in n n nt t t┆ 0x0740…0760 08 74 20 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 73 08 73 08 73 08 73 68 ┆ t f f f fl l l lu u u us s s sh┆ 0x0760…0780 08 68 08 68 08 68 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 70 08 70 08 70 08 70 28 08 28 08 28 ┆ h h hi i i in n n np p p p( ( (┆ 0x0780…07a0 08 28 29 08 29 08 29 08 29 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 ┆ () ) ) ) D D D DE E E ES S S S┆ 0x07a0…07c0 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 08 54 08 ┆C C C CR R R RI I I IP P P PT T ┆ 0x07c0…07e0 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 20 54 68 ┆T TI I I IO O O ON N N N Th┆ 0x07e0…0800 65 20 5f 08 75 5f 08 6e 5f 08 63 5f 08 74 5f 08 72 5f 08 6c 20 6d 61 63 72 6f 20 65 78 70 61 6e ┆e _ u_ n_ c_ t_ r_ l macro expan┆ 0x0800…0820 64 73 20 74 6f 20 61 20 63 68 61 72 61 63 74 65 72 20 73 74 72 69 6e 67 20 77 68 69 63 68 20 69 ┆ds to a character string which i┆ 0x0820…0840 73 20 61 0a 20 20 20 20 20 70 72 69 6e 74 61 62 6c 65 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f ┆s a printable representatio┆ 0x0840…0860 6e 20 6f 66 20 74 68 65 20 63 68 61 72 61 63 74 65 72 20 5f 08 63 2e 20 20 43 6f 6e 74 72 6f 6c ┆n of the character _ c. Control┆ 0x0860…0880 20 63 68 61 72 2d 0a 20 20 20 20 20 61 63 74 65 72 73 20 61 72 65 20 64 69 73 70 6c 61 79 65 64 ┆ char- acters are displayed┆ 0x0880…08a0 20 69 6e 20 74 68 65 20 5e 08 5e 08 5e 08 5e 5f 08 58 20 6e 6f 74 61 74 69 6f 6e 2e 20 20 50 72 ┆ in the ^ ^ ^ ^_ X notation. Pr┆ 0x08a0…08c0 69 6e 74 69 6e 67 20 63 68 61 72 61 63 2d 0a 20 20 20 20 20 74 65 72 73 20 61 72 65 20 64 69 73 ┆inting charac- ters are dis┆ 0x08c0…08e0 70 6c 61 79 65 64 20 61 73 20 69 73 2e 0a 0a 20 20 20 20 20 57 69 74 68 20 74 68 65 20 5f 08 6b ┆played as is. With the _ k┆ 0x08e0…0900 5f 08 65 5f 08 79 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 72 6f 75 74 69 6e 65 2c 20 61 20 63 68 ┆_ e_ y_ n_ a_ m_ e routine, a ch┆ 0x0900…0920 61 72 61 63 74 65 72 20 73 74 72 69 6e 67 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 0a 20 20 20 ┆aracter string corresponding ┆ 0x0920…0940 20 20 74 6f 20 74 68 65 20 6b 65 79 20 5f 08 63 20 69 73 20 72 65 74 75 72 6e 65 64 2e 0a 0a 20 ┆ to the key _ c is returned. ┆ 0x0940…0960 20 20 20 20 54 68 65 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 74 5f 08 65 5f 08 72 20 72 6f 75 74 69 ┆ The _ f_ i_ l_ t_ e_ r routi┆ 0x0960…0980 6e 65 2c 20 69 66 20 75 73 65 64 2c 20 69 73 20 63 61 6c 6c 65 64 20 62 65 66 6f 72 65 20 5f 08 ┆ne, if used, is called before _ ┆ 0x0980…09a0 69 5f 08 6e 5f 08 69 5f 08 74 5f 08 73 5f 08 63 5f 08 72 20 6f 72 0a 20 20 20 20 20 5f 08 6e 5f ┆i_ n_ i_ t_ s_ c_ r or _ n_┆ 0x09a0…09c0 08 65 5f 08 77 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 20 61 72 65 20 63 61 6c 6c 65 64 2e 20 20 49 ┆ e_ w_ t_ e_ r_ m are called. I┆ 0x09c0…09e0 74 20 6d 61 6b 65 73 20 5f 08 63 5f 08 75 5f 08 72 5f 08 73 5f 08 65 5f 08 73 20 74 68 69 6e 6b ┆t makes _ c_ u_ r_ s_ e_ s think┆ 0x09e0…0a00 20 74 68 61 74 20 74 68 65 72 65 20 69 73 20 61 0a 20 20 20 20 20 6f 6e 65 2d 6c 69 6e 65 20 73 ┆ that there is a one-line s┆ 0x0a00…0a20 63 72 65 65 6e 2e 20 20 5f 08 63 5f 08 75 5f 08 72 5f 08 73 5f 08 65 5f 08 73 20 64 6f 65 73 20 ┆creen. _ c_ u_ r_ s_ e_ s does ┆ 0x0a20…0a40 6e 6f 74 20 75 73 65 20 61 6e 79 20 74 65 72 6d 69 6e 61 6c 20 63 61 70 61 62 69 6c 69 2d 0a 20 ┆not use any terminal capabili- ┆ 0x0a40…0a60 20 20 20 20 74 69 65 73 20 74 68 61 74 20 61 73 73 75 6d 65 20 74 68 61 74 20 74 68 65 79 20 6b ┆ ties that assume that they k┆ 0x0a60…0a80 6e 6f 77 20 6f 6e 20 77 68 61 74 20 6c 69 6e 65 20 6f 66 20 74 68 65 20 73 63 72 65 65 6e 0a 20 ┆now on what line of the screen ┆ 0x0a80…0aa0 20 20 20 20 74 68 65 20 63 75 72 73 6f 72 20 69 73 20 70 6f 73 69 74 69 6f 6e 65 64 2e 0a 0a 20 ┆ the cursor is positioned. ┆ 0x0aa0…0ac0 20 20 20 20 54 68 65 20 5f 08 75 5f 08 73 5f 08 65 5f 5f 08 65 5f 08 6e 5f 08 76 20 72 6f 75 74 ┆ The _ u_ s_ e__ e_ n_ v rout┆ 0x0ac0…0ae0 69 6e 65 2c 20 69 66 20 75 73 65 64 2c 20 69 73 20 63 61 6c 6c 65 64 20 62 65 66 6f 72 65 20 5f ┆ine, if used, is called before _┆ 0x0ae0…0b00 08 69 5f 08 6e 5f 08 69 5f 08 74 5f 08 73 5f 08 63 5f 08 72 20 6f 72 0a 20 20 20 20 20 5f 08 6e ┆ i_ n_ i_ t_ s_ c_ r or _ n┆ 0x0b00…0b20 5f 08 65 5f 08 77 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 20 61 72 65 20 63 61 6c 6c 65 64 2e 20 20 ┆_ e_ w_ t_ e_ r_ m are called. ┆ 0x0b20…0b40 57 68 65 6e 20 63 61 6c 6c 65 64 20 77 69 74 68 20 46 41 4c 53 45 20 61 73 20 61 6e 20 61 72 67 ┆When called with FALSE as an arg┆ 0x0b40…0b60 75 6d 65 6e 74 2c 0a 20 20 20 20 20 74 68 65 20 76 61 6c 75 65 73 20 6f 66 20 6c 08 6c 08 6c 08 ┆ument, the values of l l l ┆ 0x0b60…0b80 6c 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 73 08 73 08 73 08 73 20 61 6e ┆li i i in n n ne e e es s s s an┆ 0x0b80…0ba0 64 20 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 6d 08 ┆d c c c co o o ol l l lu u u um ┆ 0x0ba0…0bc0 6d 08 6d 08 6d 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 20 73 70 65 63 69 66 69 65 64 20 69 6e ┆m m mn n n ns s s s specified in┆ 0x0bc0…0be0 20 74 68 65 20 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f 08 69 5f 08 6e 5f 08 66 5f 08 6f 0a 20 20 ┆ the _ t_ e_ r_ m_ i_ n_ f_ o ┆ 0x0be0…0c00 20 20 20 64 61 74 61 62 61 73 65 20 77 69 6c 6c 20 62 65 20 75 73 65 64 2c 20 65 76 65 6e 20 69 ┆ database will be used, even i┆ 0x0c00…0c20 66 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 73 20 4c 49 4e 45 53 0a 20 20 ┆f environment variables LINES ┆ 0x0c20…0c40 20 20 20 61 6e 64 20 43 4f 4c 55 4d 4e 53 20 28 75 73 65 64 20 62 79 20 64 65 66 61 75 6c 74 29 ┆ and COLUMNS (used by default)┆ 0x0c40…0c60 20 61 72 65 20 73 65 74 2c 20 6f 72 20 69 66 20 5f 08 63 5f 08 75 5f 08 72 5f 08 73 5f 08 65 5f ┆ are set, or if _ c_ u_ r_ s_ e_┆ 0x0c60…0c80 08 73 20 69 73 20 72 75 6e 2d 0a 20 20 20 20 20 6e 69 6e 67 20 69 6e 20 61 20 77 69 6e 64 6f 77 ┆ s is run- ning in a window┆ 0x0c80…0ca0 20 28 69 6e 20 77 68 69 63 68 20 63 61 73 65 20 64 65 66 61 75 6c 74 20 62 65 68 61 76 69 6f 72 ┆ (in which case default behavior┆ 0x0ca0…0cc0 20 77 6f 75 6c 64 20 62 65 20 74 6f 0a 20 20 20 20 20 75 73 65 20 74 68 65 20 77 69 6e 64 6f 77 ┆ would be to use the window┆ 0x0cc0…0ce0 20 73 69 7a 65 20 69 66 20 4c 49 4e 45 53 20 61 6e 64 20 43 4f 4c 55 4d 4e 53 20 61 72 65 20 6e ┆ size if LINES and COLUMNS are n┆ 0x0ce0…0d00 6f 74 20 73 65 74 29 2e 0a 0a 20 20 20 20 20 57 69 74 68 20 74 68 65 20 5f 08 70 5f 08 75 5f 08 ┆ot set). With the _ p_ u_ ┆ 0x0d00…0d20 74 5f 08 77 5f 08 69 5f 08 6e 20 72 6f 75 74 69 6e 65 2c 20 61 6c 6c 20 64 61 74 61 20 61 73 73 ┆t_ w_ i_ n routine, all data ass┆ 0x0d20…0d40 6f 63 69 61 74 65 64 20 77 69 74 68 20 77 69 6e 64 6f 77 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 ┆ociated with window _ w_ i_ n ┆ 0x0d40…0d60 20 20 20 69 73 20 77 72 69 74 74 65 6e 20 69 6e 74 6f 20 74 68 65 20 66 69 6c 65 20 74 6f 20 77 ┆ is written into the file to w┆ 0x0d60…0d80 68 69 63 68 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 5f 08 70 20 70 6f 69 6e 74 73 2e 20 20 54 68 ┆hich _ f_ i_ l_ e_ p points. Th┆ 0x0d80…0da0 69 73 20 69 6e 66 6f 72 2d 0a 20 20 20 20 20 6d 61 74 69 6f 6e 20 63 61 6e 20 62 65 20 6c 61 74 ┆is infor- mation can be lat┆ 0x0da0…0dc0 65 72 20 72 65 74 72 69 65 76 65 64 20 75 73 69 6e 67 20 74 68 65 20 5f 08 67 5f 08 65 5f 08 74 ┆er retrieved using the _ g_ e_ t┆ 0x0dc0…0de0 5f 08 77 5f 08 69 5f 08 6e 20 66 75 6e 63 74 69 6f 6e 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 ┆_ w_ i_ n function. ┆ 0x0de0…0e00 20 54 68 65 20 5f 08 67 5f 08 65 5f 08 74 5f 08 77 5f 08 69 5f 08 6e 20 72 6f 75 74 69 6e 65 20 ┆ The _ g_ e_ t_ w_ i_ n routine ┆ 0x0e00…0e20 72 65 61 64 73 20 77 69 6e 64 6f 77 20 72 65 6c 61 74 65 64 20 64 61 74 61 20 73 74 6f 72 65 64 ┆reads window related data stored┆ 0x0e20…0e40 20 69 6e 20 74 68 65 0a 20 20 20 20 20 66 69 6c 65 20 62 79 20 5f 08 70 5f 08 75 5f 08 74 5f 08 ┆ in the file by _ p_ u_ t_ ┆ 0x0e40…0e60 77 5f 08 69 5f 08 6e 2e 20 20 54 68 65 20 72 6f 75 74 69 6e 65 20 74 68 65 6e 20 63 72 65 61 74 ┆w_ i_ n. The routine then creat┆ 0x0e60…0e80 65 73 20 61 6e 64 20 69 6e 69 74 69 61 6c 69 7a 65 73 20 61 0a 20 20 20 20 20 6e 65 77 20 77 69 ┆es and initializes a new wi┆ 0x0e80…0ea0 6e 64 6f 77 20 75 73 69 6e 67 20 74 68 61 74 20 64 61 74 61 2e 20 20 49 74 20 72 65 74 75 72 6e ┆ndow using that data. It return┆ 0x0ea0…0ec0 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 6e 65 77 0a 20 20 20 20 20 77 69 6e 64 ┆s a pointer to the new wind┆ 0x0ec0…0ee0 6f 77 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 64 5f 08 65 5f 08 6c 5f 08 61 5f 08 79 5f 5f 08 ┆ow. The _ d_ e_ l_ a_ y__ ┆ 0x0ee0…0f00 6f 5f 08 75 5f 08 74 5f 08 70 5f 08 75 5f 08 74 20 72 6f 75 74 69 6e 65 20 69 6e 73 65 72 74 73 ┆o_ u_ t_ p_ u_ t routine inserts┆ 0x0f00…0f20 20 61 6e 20 5f 08 6d 5f 08 73 20 6d 69 6c 6c 69 73 65 63 6f 6e 64 20 70 61 75 73 65 20 69 6e 0a ┆ an _ m_ s millisecond pause in ┆ 0x0f20…0f40 20 20 20 20 20 6f 75 74 70 75 74 2e 20 20 54 68 69 73 20 72 6f 75 74 69 6e 65 20 73 68 6f 75 6c ┆ output. This routine shoul┆ 0x0f40…0f60 64 20 6e 6f 74 20 62 65 20 75 73 65 64 20 65 78 74 65 6e 73 69 76 65 6c 79 20 62 65 63 61 75 73 ┆d not be used extensively becaus┆ 0x0f60…0f80 65 0a 20 20 20 20 20 70 61 64 64 69 6e 67 20 63 68 61 72 61 63 74 65 72 73 20 61 72 65 20 75 73 ┆e padding characters are us┆ 0x0f80…0fa0 65 64 20 72 61 74 68 65 72 20 74 68 61 6e 20 61 20 43 50 55 20 70 61 75 73 65 2e 0a 0a 20 20 20 ┆ed rather than a CPU pause. ┆ 0x0fa0…0fc0 20 20 54 68 65 20 5f 08 66 5f 08 6c 5f 08 75 5f 08 73 5f 08 68 5f 08 69 5f 08 6e 5f 08 70 20 72 ┆ The _ f_ l_ u_ s_ h_ i_ n_ p r┆ 0x0fc0…0fe0 6f 75 74 69 6e 65 20 74 68 72 6f 77 73 20 61 77 61 79 20 61 6e 79 20 74 79 70 65 61 68 65 61 64 ┆outine throws away any typeahead┆ 0x0fe0…1000 20 74 68 61 74 20 68 61 73 20 62 65 65 6e 0a 20 20 20 20 20 74 79 70 65 64 20 62 79 20 74 68 65 ┆ that has been typed by the┆ 0x1000…1020 20 75 73 65 72 20 61 6e 64 20 68 61 73 20 6e 6f 74 20 79 65 74 20 62 65 65 6e 20 72 65 61 64 20 ┆ user and has not yet been read ┆ 0x1020…1040 62 79 20 74 68 65 20 70 72 6f 67 72 61 6d 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 ┆by the program. R R R RE E E ET┆ 0x1040…1060 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 ┆ T T TU U U UR R R RN N N N V V ┆ 0x1060…1080 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a ┆V VA A A AL L L LU U U UE E E E ┆ 0x1080…10a0 20 20 20 20 20 45 78 63 65 70 74 20 66 6f 72 20 5f 08 66 5f 08 6c 5f 08 75 5f 08 73 5f 08 68 5f ┆ Except for _ f_ l_ u_ s_ h_┆ 0x10a0…10c0 08 69 5f 08 6e 5f 08 70 2c 20 72 6f 75 74 69 6e 65 73 20 74 68 61 74 20 72 65 74 75 72 6e 20 61 ┆ i_ n_ p, routines that return a┆ 0x10c0…10e0 6e 20 69 6e 74 65 67 65 72 20 72 65 74 75 72 6e 0a 20 20 20 20 20 45 52 52 20 75 70 6f 6e 20 66 ┆n integer return ERR upon f┆ 0x10e0…1100 61 69 6c 75 72 65 20 61 6e 64 20 61 6e 20 69 6e 74 65 67 65 72 20 76 61 6c 75 65 20 6f 74 68 65 ┆ailure and an integer value othe┆ 0x1100…1120 72 20 74 68 61 6e 20 45 52 52 20 75 70 6f 6e 0a 20 20 20 20 20 73 75 63 63 65 73 73 66 75 6c 20 ┆r than ERR upon successful ┆ 0x1120…1140 63 6f 6d 70 6c 65 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 5f 08 66 5f 08 6c 5f 08 75 5f 08 73 5f 08 ┆completion. _ f_ l_ u_ s_ ┆ 0x1140…1160 68 5f 08 69 5f 08 6e 5f 08 70 20 61 6c 77 61 79 73 20 72 65 74 75 72 6e 73 20 4f 4b 2e 0a 0a 20 ┆h_ i_ n_ p always returns OK. ┆ 0x1160…1180 20 20 20 20 52 6f 75 74 69 6e 65 73 20 74 68 61 74 20 72 65 74 75 72 6e 20 70 6f 69 6e 74 65 72 ┆ Routines that return pointer┆ 0x1180…11a0 73 20 72 65 74 75 72 6e 20 4e 55 4c 4c 20 6f 6e 20 65 72 72 6f 72 2e 0a 0a 4e 08 4e 08 4e 08 4e ┆s return NULL on error. N N N N┆ 0x11a0…11c0 4f 08 4f 08 4f 08 4f 54 08 54 08 54 08 54 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 ┆O O O OT T T TE E E ES S S S ┆ 0x11c0…11e0 20 20 54 68 65 20 68 65 61 64 65 72 20 66 69 6c 65 20 3c 08 3c 08 3c 08 3c 63 08 63 08 63 08 63 ┆ The header file < < < <c c c c┆ 0x11e0…1200 75 08 75 08 75 08 75 72 08 72 08 72 08 72 73 08 73 08 73 08 73 65 08 65 08 65 08 65 73 08 73 08 ┆u u u ur r r rs s s se e e es s ┆ 0x1200…1220 73 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 20 61 75 74 6f 6d 61 74 ┆s s. . . .h h h h> > > > automat┆ 0x1220…1240 69 63 61 6c 6c 79 20 69 6e 63 6c 75 64 65 73 20 74 68 65 20 68 65 61 64 65 72 0a 20 20 20 20 20 ┆ically includes the header ┆ 0x1240…1260 66 69 6c 65 73 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74 64 08 64 08 64 ┆files < < < <s s s st t t td d d┆ 0x1260…1280 08 64 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 ┆ di i i io o o o. . . .h h h h> ┆ 0x1280…12a0 3e 08 3e 08 3e 20 61 6e 64 20 3c 08 3c 08 3c 08 3c 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 63 ┆> > > and < < < <u u u un n n nc┆ 0x12a0…12c0 08 63 08 63 08 63 74 08 74 08 74 08 74 72 08 72 08 72 08 72 6c 08 6c 08 6c 08 6c 2e 08 2e 08 2e ┆ c c ct t t tr r r rl l l l. . .┆ 0x12c0…12e0 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 2e 0a 0a 20 20 20 20 20 4e 6f 74 65 20 74 68 61 ┆ .h h h h> > > >. Note tha┆ 0x12e0…1300 74 20 5f 08 75 5f 08 6e 5f 08 63 5f 08 74 5f 08 72 5f 08 6c 20 69 73 20 61 20 6d 61 63 72 6f 2c ┆t _ u_ n_ c_ t_ r_ l is a macro,┆ 0x1300…1320 20 77 68 69 63 68 20 69 73 20 64 65 66 69 6e 65 64 20 69 6e 20 3c 08 3c 08 3c 08 3c 75 08 75 08 ┆ which is defined in < < < <u u ┆ 0x1320…1340 75 08 75 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 74 08 74 08 74 08 74 72 08 72 08 72 08 72 6c ┆u un n n nc c c ct t t tr r r rl┆ 0x1340…1360 08 6c 08 6c 08 6c 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 2e 0a 0a 53 08 ┆ l l l. . . .h h h h> > > >. S ┆ 0x1360…1380 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c ┆S S SE E E EE E E E A A A AL L L┆ 0x1380…13a0 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 ┆ LS S S SO O O O Library Fu┆ 0x13a0…13c0 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 63 75 72 73 65 73 2c 20 63 75 72 73 5f 69 6e 69 74 73 63 ┆nctions (3): curses, curs_initsc┆ 0x13c0…13e0 72 2c 20 63 75 72 73 5f 73 63 72 5f 64 75 6d 70 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 ┆r, curs_scr_dump December 1990 ┆ 0x13e0…1400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f ┆ TX Pro┆ 0x1400…1420 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆grammer's Reference ┆ 0x1420…1431 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆