DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: c

⟦83646bd9d⟧

    Length: 5849 (0x16d9)
    Names: »curses.3x«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat3/curses.3x« 

Default Hex Dump

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 20 63 75 72 73 65 73 28 33 78 29 0a 0a 0a 0a   ┆ions              curses(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 65 73 20 2d 20 73 63 72 65 65 6e 20 66 75 6e 63 74 69 6f 6e 73 20 77 69 74 68   ┆  curses - screen functions with┆
0x00a0…00c0 20 60 60 6f 70 74 69 6d 61 6c 27 27 20 63 75 72 73 6f 72 20 6d 6f 74 69 6f 6e 0a 0a 53 08 53 08   ┆ ``optimal'' cursor motion  S S ┆
0x00c0…00e0 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58   ┆S SY Y Y YN N N NT T T TA A A AX┆
0x00e0…0100 08 58 08 58 08 58 0a 20 20 20 20 20 63 08 63 08 63 08 63 63 08 63 08 63 08 63 20 5b 20 66 6c 61   ┆ X X X      c c c cc c c c [ fla┆
0x0100…0120 67 73 20 5d 20 66 69 6c 65 73 20 2d 08 2d 08 2d 08 2d 6c 08 6c 08 6c 08 6c 63 08 63 08 63 08 63   ┆gs ] files - - - -l l l lc c c c┆
0x0120…0140 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 ┆
0x0140…0160 73 08 73 20 2d 08 2d 08 2d 08 2d 6c 08 6c 08 6c 08 6c 74 08 74 08 74 08 74 65 08 65 08 65 08 65   ┆s s - - - -l l l lt t t te e e e┆
0x0160…0180 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 63 08 63 08 63 08 63 61 08 61 08 61 08 61 70 08 70 08   ┆r r r rm m m mc c c ca a a ap p ┆
0x0180…01a0 70 08 70 20 5b 20 6c 69 62 72 61 72 69 65 73 20 5d 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08   ┆p p [ libraries ]  D D D DE E E ┆
0x01a0…01c0 45 53 08 53 08 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   ┆ES S S SC C C CR R R RI I I IP P┆
0x01c0…01e0 08 50 08 50 54 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   ┆ P PT T T TI I I IO O O ON N N N┆
0x01e0…0200 0a 20 20 20 20 20 54 68 69 73 20 69 6e 74 65 72 66 61 63 65 20 63 6f 6e 73 69 73 74 73 20 6f 66   ┆      This interface consists of┆
0x0200…0220 20 61 20 73 65 74 20 6f 66 20 72 6f 75 74 69 6e 65 73 20 28 6c 69 73 74 65 64 20 62 65 6c 6f 77   ┆ a set of routines (listed below┆
0x0220…0240 29 2c 0a 20 20 20 20 20 77 68 69 63 68 20 61 6c 6c 6f 77 20 79 6f 75 20 74 6f 20 75 70 64 61 74   ┆),      which allow you to updat┆
0x0240…0260 65 20 73 63 72 65 65 6e 73 20 77 69 74 68 20 72 65 61 73 6f 6e 61 62 6c 65 20 6f 70 74 69 6d 69   ┆e screens with reasonable optimi┆
0x0260…0280 7a 61 2d 0a 20 20 20 20 20 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 5f 08 63 5f 08 75 5f 08 72 5f 08   ┆za-      tion.       _ c_ u_ r_ ┆
0x0280…02a0 73 5f 08 65 5f 08 73 20 72 6f 75 74 69 6e 65 73 20 73 61 76 65 20 61 6e 20 69 6d 61 67 65 20 6f   ┆s_ e_ s routines save an image o┆
0x02a0…02c0 66 20 74 68 65 20 63 75 72 72 65 6e 74 20 73 63 72 65 65 6e 2c 20 61 6e 64 20 74 68 65 0a 20 20   ┆f the current screen, and the   ┆
0x02c0…02e0 20 20 20 75 73 65 72 20 73 65 74 73 20 75 70 20 61 6e 20 69 6d 61 67 65 20 6f 66 20 61 20 6e 65   ┆   user sets up an image of a ne┆
0x02e0…0300 77 20 6f 6e 65 2e 20 20 54 68 65 6e 20 74 68 65 20 5f 08 72 5f 08 65 5f 08 66 5f 08 72 5f 08 65   ┆w one.  Then the _ r_ e_ f_ r_ e┆
0x0300…0320 5f 08 73 5f 08 68 28 20 29 0a 20 20 20 20 20 72 6f 75 74 69 6e 65 20 63 61 75 73 65 73 20 74 68   ┆_ s_ h( )      routine causes th┆
0x0320…0340 65 20 63 75 72 72 65 6e 74 20 73 63 72 65 65 6e 20 74 6f 20 6c 6f 6f 6b 20 6c 69 6b 65 20 74 68   ┆e current screen to look like th┆
0x0340…0360 65 20 6e 65 77 0a 20 20 20 20 20 69 6d 61 67 65 2e 20 20 59 6f 75 20 6d 75 73 74 20 69 6e 69 74   ┆e new      image.  You must init┆
0x0360…0380 69 61 6c 69 7a 65 20 74 68 65 20 72 6f 75 74 69 6e 65 73 2c 20 62 79 20 63 61 6c 6c 69 6e 67 20   ┆ialize the routines, by calling ┆
0x0380…03a0 74 68 65 0a 20 20 20 20 20 5f 08 69 5f 08 6e 5f 08 69 5f 08 74 5f 08 73 5f 08 63 5f 08 72 28 20   ┆the      _ i_ n_ i_ t_ s_ c_ r( ┆
0x03a0…03c0 29 20 72 6f 75 74 69 6e 65 2c 20 62 65 66 6f 72 65 20 63 61 6c 6c 69 6e 67 20 61 6e 79 20 6f 74   ┆) routine, before calling any ot┆
0x03c0…03e0 68 65 72 20 72 6f 75 74 69 6e 65 73 20 74 68 61 74 0a 20 20 20 20 20 64 65 61 6c 20 77 69 74 68   ┆her routines that      deal with┆
0x03e0…0400 20 77 69 6e 64 6f 77 73 20 61 6e 64 20 73 63 72 65 65 6e 73 2e 20 20 41 6c 73 6f 2c 20 63 61 6c   ┆ windows and screens.  Also, cal┆
0x0400…0420 6c 20 74 68 65 20 5f 08 65 5f 08 6e 5f 08 64 5f 08 77 5f 08 69 5f 08 6e 28 20 29 0a 20 20 20 20   ┆l the _ e_ n_ d_ w_ i_ n( )     ┆
0x0420…0440 20 72 6f 75 74 69 6e 65 20 62 65 66 6f 72 65 20 65 78 69 74 69 6e 67 2e 0a 0a 53 08 53 08 53 08   ┆ routine before exiting.  S S S ┆
0x0440…0460 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 08 4c 53 08   ┆SE E E EE E E E A A A AL L L LS ┆
0x0460…0480 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28   ┆S S SO O O O      System Calls (┆
0x0480…04a0 32 29 3a 20 20 69 6f 63 74 6c 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e   ┆2):  ioctl      Library Function┆
0x04a0…04c0 73 20 28 33 29 3a 20 20 67 65 74 65 6e 76 0a 20 20 20 20 20 44 65 76 69 63 65 20 49 6e 74 65 72   ┆s (3):  getenv      Device Inter┆
0x04c0…04e0 66 61 63 65 73 20 28 34 29 3a 20 20 74 74 79 2c 20 74 65 72 6d 69 6f 0a 20 20 20 20 20 46 69 6c   ┆faces (4):  tty, termio      Fil┆
0x04e0…0500 65 20 46 6f 72 6d 61 74 73 20 28 35 29 3a 20 20 74 65 72 6d 63 61 70 0a 0a 46 08 46 08 46 08 46   ┆e Formats (5):  termcap  F F F F┆
0x0500…0520 55 08 55 08 55 08 55 4e 08 4e 08 4e 08 4e 43 08 43 08 43 08 43 54 08 54 08 54 08 54 49 08 49 08   ┆U U U UN N N NC C C CT T T TI I ┆
0x0520…0540 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 53 08 53 08 53 08 53 0a 20 20 20 20 20 61 64   ┆I IO O O ON N N NS S S S      ad┆
0x0540…0560 64 63 68 28 63 68 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 20   ┆dch(ch)                     add ┆
0x0560…0580 61 20 63 68 61 72 61 63 74 65 72 20 74 6f 20 5f 08 73 5f 08 74 5f 08 64 5f 08 73 5f 08 63 5f 08   ┆a character to _ s_ t_ d_ s_ c_ ┆
0x0580…05a0 72 0a 20 20 20 20 20 61 64 64 73 74 72 28 73 74 72 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆r      addstr(str)              ┆
0x05a0…05c0 20 20 20 20 20 61 64 64 20 61 20 73 74 72 69 6e 67 20 74 6f 20 5f 08 73 5f 08 74 5f 08 64 5f 08   ┆     add a string to _ s_ t_ d_ ┆
0x05c0…05e0 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 62 6f 78 28 77 69 6e 2c 76 65 72 74 2c 68 6f 72 29 20 20   ┆s_ c_ r      box(win,vert,hor)  ┆
0x05e0…0600 20 20 20 20 20 20 20 20 20 20 20 64 72 61 77 20 61 20 62 6f 78 20 61 72 6f 75 6e 64 20 61 20 77   ┆           draw a box around a w┆
0x0600…0620 69 6e 64 6f 77 0a 20 20 20 20 20 63 62 72 65 61 6b 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20   ┆indow      cbreak( )            ┆
0x0620…0640 20 20 20 20 20 20 20 20 20 73 65 74 20 63 62 72 65 61 6b 20 6d 6f 64 65 0a 20 20 20 20 20 63 6c   ┆         set cbreak mode      cl┆
0x0640…0660 65 61 72 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 65 61   ┆ear( )                      clea┆
0x0660…0680 72 20 5f 08 73 5f 08 74 5f 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 63 6c 65 61 72 6f   ┆r _ s_ t_ d_ s_ c_ r      clearo┆
0x0680…06a0 6b 28 73 63 72 2c 62 6f 6f 6c 66 29 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 63 6c 65 61   ┆k(scr,boolf)            set clea┆
0x06a0…06c0 72 20 66 6c 61 67 20 66 6f 72 20 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 63 6c 72 74 6f 62   ┆r flag for _ s_ c_ r      clrtob┆
0x06c0…06e0 6f 74 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c 65 61 72 20 74 6f   ┆ot( )                   clear to┆
0x06e0…0700 20 62 6f 74 74 6f 6d 20 6f 6e 20 5f 08 73 5f 08 74 5f 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20   ┆ bottom on _ s_ t_ d_ s_ c_ r   ┆
0x0700…0720 20 20 20 63 6c 72 74 6f 65 6f 6c 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆   clrtoeol( )                  ┆
0x0720…0740 20 63 6c 65 61 72 20 74 6f 20 65 6e 64 20 6f 66 20 6c 69 6e 65 20 6f 6e 20 5f 08 73 5f 08 74 5f   ┆ clear to end of line on _ s_ t_┆
0x0740…0760 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 64 65 6c 63 68 28 20 29 20 20 20 20 20 20 20   ┆ d_ s_ c_ r      delch( )       ┆
0x0760…0780 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 6c 65 74 65 20 61 20 63 68 61 72 61 63 74 65   ┆               delete a characte┆
0x0780…07a0 72 0a 20 20 20 20 20 64 65 6c 65 74 65 6c 6e 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆r      deleteln( )              ┆
0x07a0…07c0 20 20 20 20 20 64 65 6c 65 74 65 20 61 20 6c 69 6e 65 0a 20 20 20 20 20 64 65 6c 77 69 6e 28 77   ┆     delete a line      delwin(w┆
0x07c0…07e0 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 64 65 6c 65 74 65 20 5f 08 77   ┆in)                   delete _ w┆
0x07e0…0800 5f 08 69 5f 08 6e 0a 20 20 20 20 20 65 63 68 6f 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆_ i_ n      echo( )             ┆
0x0800…0820 20 20 20 20 20 20 20 20 20 20 73 65 74 20 65 63 68 6f 20 6d 6f 64 65 0a 20 20 20 20 20 65 6e 64   ┆          set echo mode      end┆
0x0820…0840 77 69 6e 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 6e 64 20 77   ┆win( )                     end w┆
0x0840…0860 69 6e 64 6f 77 20 6d 6f 64 65 73 0a 20 20 20 20 20 65 72 61 73 65 28 20 29 20 20 20 20 20 20 20   ┆indow modes      erase( )       ┆
0x0860…0880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 72 61 73 65 20 5f 08 73 5f 08 74 5f 08 64 5f 08   ┆               erase _ s_ t_ d_ ┆
0x0880…08a0 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 66 6c 75 73 68 6f 6b 28 77 69 6e 2c 62 6f 6f 6c 66 29 20   ┆s_ c_ r      flushok(win,boolf) ┆
0x08a0…08c0 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 66 6c 75 73 68 2d 6f 6e 2d 72 65 73 65 74 20 66 6c   ┆           set flush-on-reset fl┆
0x08c0…08e0 61 67 20 66 6f 72 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 67 65 74 63 68 28 20 29 20 20   ┆ag for _ w_ i_ n      getch( )  ┆
0x08e0…0900 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 61 20 63 68 61 72 20 74   ┆                    get a char t┆
0x0900…0920 68 72 6f 75 67 68 20 5f 08 73 5f 08 74 5f 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 67   ┆hrough _ s_ t_ d_ s_ c_ r      g┆
0x0920…0940 65 74 63 61 70 28 6e 61 6d 65 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74   ┆etcap(name)                  get┆
0x0940…0960 20 74 65 72 6d 69 6e 61 6c 20 63 61 70 61 62 69 6c 69 74 79 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08   ┆ terminal capability _ n_ a_ m_ ┆
0x0960…0980 65 0a 20 20 20 20 20 67 65 74 73 74 72 28 73 74 72 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆e      getstr(str)              ┆
0x0980…09a0 20 20 20 20 20 67 65 74 20 61 20 73 74 72 69 6e 67 20 74 68 72 6f 75 67 68 20 5f 08 73 5f 08 74   ┆     get a string through _ s_ t┆
0x09a0…09c0 5f 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 67 65 74 74 6d 6f 64 65 28 20 29 20 20 20   ┆_ d_ s_ c_ r      gettmode( )   ┆
0x09c0…09e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 74 74 79 20 6d 6f 64 65 73 0a 20 20   ┆                get tty modes   ┆
0x09e0…0a00 20 20 20 67 65 74 79 78 28 77 69 6e 2c 79 2c 78 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆   getyx(win,y,x)               ┆
0x0a00…0a20 20 67 65 74 20 28 79 2c 78 29 20 63 6f 2d 6f 72 64 69 6e 61 74 65 73 0a 20 20 20 20 20 69 6e 63   ┆ get (y,x) co-ordinates      inc┆
0x0a20…0a40 68 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 63   ┆h( )                       get c┆
0x0a40…0a60 68 61 72 20 61 74 20 63 75 72 72 65 6e 74 20 28 79 2c 78 29 20 63 6f 2d 6f 72 64 69 6e 61 74 65   ┆har at current (y,x) co-ordinate┆
0x0a60…0a80 73 0a 20 20 20 20 20 69 6e 69 74 73 63 72 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆s      initscr( )               ┆
0x0a80…0aa0 20 20 20 20 20 69 6e 69 74 69 61 6c 69 7a 65 20 73 63 72 65 65 6e 73 0a 20 20 20 20 20 69 6e 73   ┆     initialize screens      ins┆
0x0aa0…0ac0 63 68 28 63 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 73 65 72   ┆ch(c)                      inser┆
0x0ac0…0ae0 74 20 61 20 63 68 61 72 0a 20 20 20 20 20 69 6e 73 65 72 74 6c 6e 28 20 29 20 20 20 20 20 20 20   ┆t a char      insertln( )       ┆
0x0ae0…0b00 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 73 65 72 74 20 61 20 6c 69 6e 65 0a 20 20 20 20 20 6c   ┆            insert a line      l┆
0x0b00…0b20 65 61 76 65 6f 6b 28 77 69 6e 2c 62 6f 6f 6c 66 29 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74   ┆eaveok(win,boolf)            set┆
0x0b20…0b40 20 6c 65 61 76 65 20 66 6c 61 67 20 66 6f 72 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 6c   ┆ leave flag for _ w_ i_ n      l┆
0x0b40…0b60 6f 6e 67 6e 61 6d 65 28 74 65 72 6d 62 75 66 2c 6e 61 6d 65 29 20 20 20 20 20 20 20 20 67 65 74   ┆ongname(termbuf,name)        get┆
0x0b60…0b80 20 6c 6f 6e 67 20 6e 61 6d 65 20 66 72 6f 6d 20 5f 08 74 5f 08 65 5f 08 72 5f 08 6d 5f 08 62 5f   ┆ long name from _ t_ e_ r_ m_ b_┆
0x0b80…0ba0 08 75 5f 08 66 0a 20 20 20 20 20 6d 6f 76 65 28 79 2c 78 29 20 20 20 20 20 20 20 20 20 20 20 20   ┆ u_ f      move(y,x)            ┆
0x0ba0…0bc0 20 20 20 20 20 20 20 20 20 6d 6f 76 65 20 74 6f 20 28 79 2c 78 29 20 6f 6e 20 5f 08 73 5f 08 74   ┆         move to (y,x) on _ s_ t┆
0x0bc0…0be0 5f 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 6d 76 63 75 72 28 6c 61 73 74 79 2c 6c 61   ┆_ d_ s_ c_ r      mvcur(lasty,la┆
0x0be0…0c00 73 74 78 2c 6e 65 77 79 2c 6e 65 77 78 29 20 20 61 63 74 75 61 6c 6c 79 20 6d 6f 76 65 20 63 75   ┆stx,newy,newx)  actually move cu┆
0x0c00…0c20 72 73 6f 72 0a 20 20 20 20 20 6e 65 77 77 69 6e 28 6c 69 6e 65 73 2c 63 6f 6c 73 2c 62 65 67 69   ┆rsor      newwin(lines,cols,begi┆
0x0c20…0c40 6e 5f 79 2c 62 65 67 69 6e 5f 78 29 20 63 72 65 61 74 65 20 61 20 6e 65 77 20 77 69 6e 64 6f 77   ┆n_y,begin_x) create a new window┆
0x0c40…0c60 0a 20 20 20 20 20 6e 6c 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆      nl( )                     ┆
0x0c60…0c80 20 20 20 20 73 65 74 20 6e 65 77 6c 69 6e 65 20 6d 61 70 70 69 6e 67 0a 20 20 20 20 20 6e 6f 63   ┆    set newline mapping      noc┆
0x0c80…0ca0 72 6d 6f 64 65 28 20 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 73 65 74   ┆rmode( )                   unset┆
0x0ca0…0cc0 20 63 62 72 65 61 6b 20 6d 6f 64 65 0a 20 20 20 20 20 6e 6f 65 63 68 6f 28 20 29 20 20 20 20 20   ┆ cbreak mode      noecho( )     ┆
0x0cc0…0ce0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 6e 73 65 74 20 65 63 68 6f 20 6d 6f 64 65 0a   ┆                unset echo mode ┆
0x0ce0…0d00 20 20 20 20 20 6e 6f 6e 6c 28 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆     nonl()                     ┆
0x0d00…0d20 20 20 20 75 6e 73 65 74 20 6e 65 77 6c 69 6e 65 20 6d 61 70 70 69 6e 67 0a 0a 0a 0a 0a 0a 0a 20   ┆   unset newline mapping        ┆
0x0d20…0d40 20 20 20 20 6e 6f 72 61 77 28 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆    noraw()                     ┆
0x0d40…0d60 20 20 75 6e 73 65 74 20 72 61 77 20 6d 6f 64 65 0a 20 20 20 20 20 6f 76 65 72 6c 61 79 28 77 69   ┆  unset raw mode      overlay(wi┆
0x0d60…0d80 6e 31 2c 77 69 6e 32 29 20 20 20 20 20 20 20 20 20 20 20 20 6f 76 65 72 6c 61 79 20 77 69 6e 31   ┆n1,win2)            overlay win1┆
0x0d80…0da0 20 6f 6e 20 77 69 6e 32 0a 20 20 20 20 20 6f 76 65 72 77 72 69 74 65 28 77 69 6e 31 2c 77 69 6e   ┆ on win2      overwrite(win1,win┆
0x0da0…0dc0 32 29 20 20 20 20 20 20 20 20 20 20 6f 76 65 72 77 72 69 74 65 20 77 69 6e 31 20 6f 6e 20 74 6f   ┆2)          overwrite win1 on to┆
0x0dc0…0de0 70 20 6f 66 20 77 69 6e 32 0a 20 20 20 20 20 70 72 69 6e 74 77 28 66 6d 74 2c 61 72 67 31 2c 61   ┆p of win2      printw(fmt,arg1,a┆
0x0de0…0e00 72 67 32 2c 2e 2e 2e 29 20 20 20 20 20 70 72 69 6e 74 66 20 6f 6e 20 5f 08 73 5f 08 74 5f 08 64   ┆rg2,...)     printf on _ s_ t_ d┆
0x0e00…0e20 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 72 61 77 28 29 20 20 20 20 20 20 20 20 20 20 20 20   ┆_ s_ c_ r      raw()            ┆
0x0e20…0e40 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 72 61 77 20 6d 6f 64 65 0a 20 20 20 20 20 72   ┆             set raw mode      r┆
0x0e40…0e60 65 66 72 65 73 68 28 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 6b   ┆efresh()                     mak┆
0x0e60…0e80 65 20 63 75 72 72 65 6e 74 20 73 63 72 65 65 6e 20 6c 6f 6f 6b 20 6c 69 6b 65 20 5f 08 73 5f 08   ┆e current screen look like _ s_ ┆
0x0e80…0ea0 74 5f 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 72 65 73 65 74 74 79 28 29 20 20 20 20   ┆t_ d_ s_ c_ r      resetty()    ┆
0x0ea0…0ec0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 72 65 73 65 74 20 74 74 79 20 66 6c 61 67 73   ┆                 reset tty flags┆
0x0ec0…0ee0 20 74 6f 20 73 74 6f 72 65 64 20 76 61 6c 75 65 0a 20 20 20 20 20 73 61 76 65 74 74 79 28 29 20   ┆ to stored value      savetty() ┆
0x0ee0…0f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 6f 72 65 64 20 63 75 72 72 65   ┆                    stored curre┆
0x0f00…0f20 6e 74 20 74 74 79 20 66 6c 61 67 73 0a 20 20 20 20 20 73 63 61 6e 77 28 66 6d 74 2c 61 72 67 31   ┆nt tty flags      scanw(fmt,arg1┆
0x0f20…0f40 2c 61 72 67 32 2c 2e 2e 2e 29 20 20 20 20 20 20 73 63 61 6e 66 20 74 68 72 6f 75 67 68 20 5f 08   ┆,arg2,...)      scanf through _ ┆
0x0f40…0f60 73 5f 08 74 5f 08 64 5f 08 73 5f 08 63 5f 08 72 0a 20 20 20 20 20 73 63 72 6f 6c 6c 28 77 69 6e   ┆s_ t_ d_ s_ c_ r      scroll(win┆
0x0f60…0f80 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 63 72 6f 6c 6c 20 5f 08 77 5f 08   ┆)                   scroll _ w_ ┆
0x0f80…0fa0 69 5f 08 6e 20 6f 6e 65 20 6c 69 6e 65 0a 20 20 20 20 20 73 63 72 6f 6c 6c 6f 6b 28 77 69 6e 2c   ┆i_ n one line      scrollok(win,┆
0x0fa0…0fc0 62 6f 6f 6c 66 29 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 73 63 72 6f 6c 6c 20 66 6c 61 67   ┆boolf)           set scroll flag┆
0x0fc0…0fe0 0a 20 20 20 20 20 73 65 74 74 65 72 6d 28 6e 61 6d 65 29 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆      setterm(name)             ┆
0x0fe0…1000 20 20 20 20 73 65 74 20 74 65 72 6d 20 76 61 72 69 61 62 6c 65 73 20 66 6f 72 20 6e 61 6d 65 0a   ┆    set term variables for name ┆
0x1000…1020 20 20 20 20 20 73 74 61 6e 64 65 6e 64 28 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆     standend()                 ┆
0x1020…1040 20 20 20 65 6e 64 20 73 74 61 6e 64 6f 75 74 20 6d 6f 64 65 0a 20 20 20 20 20 73 74 61 6e 64 6f   ┆   end standout mode      stando┆
0x1040…1060 75 74 28 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 74 61 72 74 20 73 74   ┆ut()                    start st┆
0x1060…1080 61 6e 64 6f 75 74 20 6d 6f 64 65 0a 20 20 20 20 20 73 75 62 77 69 6e 28 77 69 6e 2c 6c 69 6e 65   ┆andout mode      subwin(win,line┆
0x1080…10a0 73 2c 63 6f 6c 73 2c 62 65 67 69 6e 5f 79 2c 62 65 67 69 6e 5f 78 29 20 63 72 65 61 74 65 20 61   ┆s,cols,begin_y,begin_x) create a┆
0x10a0…10c0 20 73 75 62 77 69 6e 64 6f 77 0a 20 20 20 20 20 74 6f 75 63 68 6c 69 6e 65 28 77 69 6e 2c 79 2c   ┆ subwindow      touchline(win,y,┆
0x10c0…10e0 73 78 2c 65 78 29 20 20 20 20 20 20 20 20 6d 61 72 6b 20 6c 69 6e 65 20 5f 08 79 20 5f 08 73 5f   ┆sx,ex)        mark line _ y _ s_┆
0x10e0…1100 08 78 20 74 68 72 6f 75 67 68 20 5f 08 73 5f 08 79 20 61 73 20 63 68 61 6e 67 65 64 0a 20 20 20   ┆ x through _ s_ y as changed    ┆
0x1100…1120 20 20 74 6f 75 63 68 6f 76 65 72 6c 61 70 28 77 69 6e 31 2c 77 69 6e 32 29 20 20 20 20 20 20 20   ┆  touchoverlap(win1,win2)       ┆
0x1120…1140 6d 61 72 6b 20 6f 76 65 72 6c 61 70 20 6f 66 20 5f 08 77 5f 08 69 5f 08 6e 5f 08 31 20 6f 6e 20   ┆mark overlap of _ w_ i_ n_ 1 on ┆
0x1140…1160 5f 08 77 5f 08 69 5f 08 6e 5f 08 32 20 61 73 20 63 68 61 6e 67 65 64 0a 20 20 20 20 20 74 6f 75   ┆_ w_ i_ n_ 2 as changed      tou┆
0x1160…1180 63 68 77 69 6e 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 63 68 61 6e   ┆chwin(win)                 "chan┆
0x1180…11a0 67 65 22 20 61 6c 6c 20 6f 66 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 75 6e 63 74 72 6c   ┆ge" all of _ w_ i_ n      unctrl┆
0x11a0…11c0 28 63 68 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 61 62 6c   ┆(ch)                    printabl┆
0x11c0…11e0 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 5f 08 63 5f 08 68 0a 20 20 20 20 20 77 61 64 64 63 68 28   ┆e version of _ c_ h      waddch(┆
0x11e0…1200 77 69 6e 2c 63 68 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 20 63 68 61 72 20   ┆win,ch)                add char ┆
0x1200…1220 74 6f 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 77 61 64 64 73 74 72 28 77 69 6e 2c 73 74   ┆to _ w_ i_ n      waddstr(win,st┆
0x1220…1240 72 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 64 64 20 73 74 72 69 6e 67 20 74 6f 20 5f 08   ┆r)              add string to _ ┆
0x1240…1260 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 77 63 6c 65 61 72 28 77 69 6e 29 20 20 20 20 20 20 20 20   ┆w_ i_ n      wclear(win)        ┆
0x1260…1280 20 20 20 20 20 20 20 20 20 20 20 63 6c 65 61 72 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20   ┆           clear _ w_ i_ n      ┆
0x1280…12a0 77 63 6c 72 74 6f 62 6f 74 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c   ┆wclrtobot(win)                cl┆
0x12a0…12c0 65 61 72 20 74 6f 20 62 6f 74 74 6f 6d 20 6f 66 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20   ┆ear to bottom of _ w_ i_ n      ┆
0x12c0…12e0 77 63 6c 72 74 6f 65 6f 6c 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 6c   ┆wclrtoeol(win)                cl┆
0x12e0…1300 65 61 72 20 74 6f 20 65 6e 64 20 6f 66 20 6c 69 6e 65 20 6f 6e 20 5f 08 77 5f 08 69 5f 08 6e 0a   ┆ear to end of line on _ w_ i_ n ┆
0x1300…1320 20 20 20 20 20 77 64 65 6c 63 68 28 77 69 6e 2c 63 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆     wdelch(win,c)              ┆
0x1320…1340 20 20 20 64 65 6c 65 74 65 20 63 68 61 72 20 66 72 6f 6d 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20   ┆   delete char from _ w_ i_ n   ┆
0x1340…1360 20 20 20 77 64 65 6c 65 74 65 6c 6e 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆   wdeleteln(win)               ┆
0x1360…1380 20 64 65 6c 65 74 65 20 6c 69 6e 65 20 66 72 6f 6d 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20   ┆ delete line from _ w_ i_ n     ┆
0x1380…13a0 20 77 65 72 61 73 65 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65   ┆ werase(win)                   e┆
0x13a0…13c0 72 61 73 65 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 77 67 65 74 63 68 28 77 69 6e 29 20   ┆rase _ w_ i_ n      wgetch(win) ┆
0x13c0…13e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 61 20 63 68 61 72 20 74 68 72   ┆                  get a char thr┆
0x13e0…1400 6f 75 67 68 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 77 67 65 74 73 74 72 28 77 69 6e 2c   ┆ough _ w_ i_ n      wgetstr(win,┆
0x1400…1420 73 74 72 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 61 20 73 74 72 69 6e 67 20 74   ┆str)              get a string t┆
0x1420…1440 68 72 6f 75 67 68 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 77 69 6e 63 68 28 77 69 6e 29   ┆hrough _ w_ i_ n      winch(win)┆
0x1440…1460 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 20 63 68 61 72 20 61 74 20   ┆                    get char at ┆
0x1460…1480 63 75 72 72 65 6e 74 20 28 79 2c 78 29 20 69 6e 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20   ┆current (y,x) in _ w_ i_ n      ┆
0x1480…14a0 77 69 6e 73 63 68 28 77 69 6e 2c 63 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e   ┆winsch(win,c)                 in┆
0x14a0…14c0 73 65 72 74 20 63 68 61 72 20 69 6e 74 6f 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 77 69   ┆sert char into _ w_ i_ n      wi┆
0x14c0…14e0 6e 73 65 72 74 6c 6e 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 73 65   ┆nsertln(win)                inse┆
0x14e0…1500 72 74 20 6c 69 6e 65 20 69 6e 74 6f 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20 20 77 6d 6f 76   ┆rt line into _ w_ i_ n      wmov┆
0x1500…1520 65 28 77 69 6e 2c 79 2c 78 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 65 74 20 63 75   ┆e(win,y,x)                set cu┆
0x1520…1540 72 72 65 6e 74 20 28 79 2c 78 29 20 63 6f 2d 6f 72 64 69 6e 61 74 65 73 20 6f 6e 20 5f 08 77 5f   ┆rrent (y,x) co-ordinates on _ w_┆
0x1540…1560 08 69 5f 08 6e 0a 20 20 20 20 20 77 70 72 69 6e 74 77 28 77 69 6e 2c 66 6d 74 2c 61 72 67 31 2c   ┆ i_ n      wprintw(win,fmt,arg1,┆
0x1560…1580 61 72 67 32 2c 2e 2e 2e 29 20 70 72 69 6e 74 66 20 6f 6e 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20   ┆arg2,...) printf on _ w_ i_ n   ┆
0x1580…15a0 20 20 20 77 72 65 66 72 65 73 68 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆   wrefresh(win)                ┆
0x15a0…15c0 20 6d 61 6b 65 20 73 63 72 65 65 6e 20 6c 6f 6f 6b 20 6c 69 6b 65 20 5f 08 77 5f 08 69 5f 08 6e   ┆ make screen look like _ w_ i_ n┆
0x15c0…15e0 0a 20 20 20 20 20 77 73 63 61 6e 77 28 77 69 6e 2c 66 6d 74 2c 61 72 67 31 2c 61 72 67 32 2c 2e   ┆      wscanw(win,fmt,arg1,arg2,.┆
0x15e0…1600 2e 2e 29 20 73 63 61 6e 66 20 74 68 72 6f 75 67 68 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20 20 20   ┆..) scanf through _ w_ i_ n     ┆
0x1600…1620 20 77 73 74 61 6e 64 65 6e 64 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65   ┆ wstandend(win)                e┆
0x1620…1640 6e 64 20 73 74 61 6e 64 6f 75 74 20 6d 6f 64 65 20 6f 6e 20 5f 08 77 5f 08 69 5f 08 6e 0a 20 20   ┆nd standout mode on _ w_ i_ n   ┆
0x1640…1660 20 20 20 77 73 74 61 6e 64 6f 75 74 28 77 69 6e 29 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆   wstandout(win)               ┆
0x1660…1680 20 73 74 61 72 74 20 73 74 61 6e 64 6f 75 74 20 6d 6f 64 65 20 6f 6e 20 5f 08 77 5f 08 69 5f 08   ┆ start standout mode on _ w_ i_ ┆
0x1680…16a0 6e 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 20 20   ┆n  March 1989                   ┆
0x16a0…16c0 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 65 72   ┆           TX Programmer's Refer┆
0x16c0…16d9 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                        ┆ence                     ┆