


ncurses(3X)                                           ncurses(3X)


NNAAMMEE
       nnccuurrsseess - CRT screen handling and optimization package

SSYYNNOOPPSSIISS
       ##iinncclluuddee <<ccuurrsseess..hh>>

DDEESSCCRRIIPPTTIIOONN
       The  ccuurrsseess  library  routines  give  the user a terminal-
       independent method of updating character screens with rea-
       sonable   optimization.    This  implementation  is  ``new
       curses'' (ncurses) and is  the  approved  replacement  for
       4.4BSD classic curses, which is being discontinued.

       The  nnccuurrsseess  routines  emulate  the ccuurrsseess(3X) library of
       System V Release 4 UNIX, and the XPG4 curses standard (XSI
       curses)  but the nnccuurrsseess library is freely redistributable
       in source form.  Differences from the SVr4 curses are sum-
       marized  under  the EXTENSIONS and BUGS sections below and
       described in detail in the EXTENSIONS and BUGS sections of
       individual man pages.

       A  program  using  these  routines must be linked with the
       --llnnccuurrsseess option, or (if it has been generated)  with  the
       debugging library --llnnccuurrsseess__gg.  The ncurses_g library gen-
       erates trace logs (in a file called 'trace' in the current
       directory) that describe curses actions.

       The  nnccuurrsseess  package supports: overall screen, window and
       pad manipulation; output to windows and pads; reading ter-
       minal  input;  control  over terminal and ccuurrsseess input and
       output options; environment query routines; color  manipu-
       lation; use of soft label keys; terminfo capabilities; and
       access to low-level terminal-manipulation routines.

       To initialize the routines, the routine iinniittssccrr or nneewwtteerrmm
       must  be called before any of the other routines that deal
       with windows and screens are  used.   The  routine  eennddwwiinn
       must be called before exiting.  To get character-at-a-time
       input without echoing (most interactive,  screen  oriented
       programs  want  this),  the  following  sequence should be
       used:

             iinniittssccrr(());; ccbbrreeaakk(());; nnooeecchhoo(());;

       Most programs would additionally use the sequence:

             nnoonnll(());;
             iinnttrrfflluusshh((ssttddssccrr,, FFAALLSSEE));;
             kkeeyyppaadd((ssttddssccrr,, TTRRUUEE));;

       Before a ccuurrsseess program is run, the tab stops of the  ter-
       minal  should  be  set  and its initialization strings, if
       defined, must be output.  This can be  done  by  executing
       the ttppuutt iinniitt command after the shell environment variable



                                                                1





ncurses(3X)                                           ncurses(3X)


       TTEERRMM has been exported.  ttsseett((11))  is  usually  responsible
       for doing this.  [See tteerrmmiinnffoo(5) for further details.]

       The  ccuurrsseess  library  permits  manipulation of data struc-
       tures, called _w_i_n_d_o_w_s, which can be  thought  of  as  two-
       dimensional  arrays of characters representing all or part
       of a CRT screen.  A default window called ssttddssccrr, which is
       the  size of the terminal screen, is supplied.  Others may
       be created with nneewwwwiinn.

       Note that ccuurrsseess  does  not  handle  overlapping  windows,
       that's done by the ppaanneellss((33xx)) library. This means that you
       can either use ssttddssccrr or divide the screen into tiled win-
       dows  and  not  using  ssttddssccrr  at all. Mixing the two will
       result in unpredictable, and undesired, effects.

       Windows are referred to by variables declared as WWIINNDDOOWW **.
       These   data  structures  are  manipulated  with  routines
       described on 3X pages (whose names begin "curs_").   Among
       which  the  most  basic routines are mmoovvee and aaddddcchh.  More
       general versions of these routines are included with names
       beginning  with  ww, allowing the user to specify a window.
       The routines not beginning with ww affect ssttddssccrr.)

       After using routines to manipulate a  window,  rreeffrreesshh  is
       called,  telling ccuurrsseess to make the user's CRT screen look
       like ssttddssccrr.  The characters in a window are  actually  of
       type  cchhttyyppee, (character and attribute data) so that other
       information about the character may also  be  stored  with
       each character.

       Special  windows  called  _p_a_d_s  may  also  be manipulated.
       These are windows which are not constrained to the size of
       the  screen and whose contents need not be completely dis-
       played.  See curs_pad(3X) for more information.

       In addition to drawing characters  on  the  screen,  video
       attributes  and colors may be supported, causing the char-
       acters to show up in such modes as underlined, in  reverse
       video,  or in color on terminals that support such display
       enhancements.  Line drawing characters may be specified to
       be  output.   On  input,  ccuurrsseess is also able to translate
       arrow and function keys  that  transmit  escape  sequences
       into  single  values.   The video attributes, line drawing
       characters,  and  input  values  use  names,  defined   in
       <<ccuurrsseess..hh>>, such as AA__RREEVVEERRSSEE, AACCSS__HHLLIINNEE, and KKEEYY__LLEEFFTT.

       If the environment variables LLIINNEESS and CCOOLLUUMMNNSS are set, or
       if the program is executing in a window environment,  line
       and  column  information  in the environment will override
       information read by _t_e_r_m_i_n_f_o.  This would effect a program
       running  in an AT&T 630 layer, for example, where the size
       of a screen is changeable.




                                                                2





ncurses(3X)                                           ncurses(3X)


       If the environment variable TTEERRMMIINNFFOO is defined, any  pro-
       gram  using  ccuurrsseess checks for a local terminal definition
       before checking in the standard place.   For  example,  if
       TTEERRMM is set to aatttt44442244, then the compiled terminal defini-
       tion is found in

             @@TTEERRMMIINNFFOO@@//aa//aatttt44442244.

       (The aa is copied from the first letter of aatttt44442244 to avoid
       creation  of  huge  directories.)  However, if TTEERRMMIINNFFOO is
       set to $$HHOOMMEE//mmyytteerrmmss, ccuurrsseess first checks

             $$HHOOMMEE//mmyytteerrmmss//aa//aatttt44442244,

       and if that fails, it then checks

             @@TTEERRMMIINNFFOO@@//aa//aatttt44442244.

       This is useful for developing experimental definitions  or
       when write permission in @@TTEERRMMIINNFFOO@@ is not available.

       The  integer  variables  LLIINNEESS  and  CCOOLLSS  are  defined in
       <<ccuurrsseess..hh>> and will be filled in by iinniittssccrr with the  size
       of the screen.  The constants TTRRUUEE and FFAALLSSEE have the val-
       ues 11 and 00, respectively.

       The ccuurrsseess routines also  define  the  WWIINNDDOOWW  **  variable
       ccuurrssccrr which is used for certain low-level operations like
       clearing and redrawing a screen containing  garbage.   The
       ccuurrssccrr can be used in only a few routines.


   RRoouuttiinnee aanndd AArrgguummeenntt NNaammeess
       Many  ccuurrsseess routines have two or more versions.  The rou-
       tines prefixed with ww require a window argument.  The rou-
       tines prefixed with pp require a pad argument.  Those with-
       out a prefix generally use ssttddssccrr.

       The routines prefixed with mmvv require a _y and _x coordinate
       to  move to before performing the appropriate action.  The
       mmvv routines imply a call to mmoovvee before the  call  to  the
       other  routine.  The coordinate _y always refers to the row
       (of the window), and _x always refers to the  column.   The
       upper left-hand corner is always (0,0), not (1,1).

       The routines prefixed with mmvvww take both a window argument
       and _x and _y coordinates.  The window  argument  is  always
       specified before the coordinates.

       In  each  case, _w_i_n is the window affected, and _p_a_d is the
       pad affected; _w_i_n and _p_a_d are always pointers to type WWIINN--
       DDOOWW.

       Option setting routines require a Boolean flag _b_f with the



                                                                3





ncurses(3X)                                           ncurses(3X)


       value TTRRUUEE or FFAALLSSEE; _b_f is always of type bbooooll.  The vari-
       ables  _c_h  and _a_t_t_r_s below are always of type cchhttyyppee.  The
       types WWIINNDDOOWW, SSCCRREEEENN, bbooooll,  and  cchhttyyppee  are  defined  in
       <<ccuurrsseess..hh>>.   The  type  TTEERRMMIINNAALL  is defined in <<tteerrmm..hh>>.
       All other arguments are integers.


   RRoouuttiinnee NNaammee IInnddeexx
       The following table lists each ccuurrsseess routine and the name
       of the manual page on which it is described.

       ccuurrsseess Routine Name    Manual Page Name
       ___________________________________________
       addch                  curs_addch(3X)
       addchnstr              curs_addchstr(3X)
       addchstr               curs_addchstr(3X)
       addnstr                curs_addstr(3X)
       addstr                 curs_addstr(3X)
       attroff                curs_attr(3X)
       attron                 curs_attr(3X)
       attrset                curs_attr(3X)
       baudrate               curs_termattrs(3X)
       beep                   curs_beep(3X)
       bkgd                   curs_bkgd(3X)
       bkgdset                curs_bkgd(3X)
       border                 curs_border(3X)
       box                    curs_border(3X)
       can_change_color       curs_color(3X)
       cbreak                 curs_inopts(3X)
       clear                  curs_clear(3X)
       clearok                curs_outopts(3X)
       clrtobot               curs_clear(3X)
       clrtoeol               curs_clear(3X)
       color_content          curs_color(3X)
       copywin                curs_overlay(3X)
       curs_set               curs_kernel(3X)
       def_prog_mode          curs_kernel(3X)
       def_shell_mode         curs_kernel(3X)
       del_curterm            curs_terminfo(5)
       delay_output           curs_util(3X)
       delch                  curs_delch(3X)
       deleteln               curs_deleteln(3X)
       delscreen              curs_initscr(3X)
       delwin                 curs_window(3X)
       derwin                 curs_window(3X)
       doupdate               curs_refresh(3X)
       dupwin                 curs_window(3X)
       echo                   curs_inopts(3X)
       echochar               curs_addch(3X)
       endwin                 curs_initscr(3X)
       erase                  curs_clear(3X)
       erasechar              curs_termattrs(3X)
       filter                 curs_util(3X)
       flash                  curs_beep(3X)



                                                                4





ncurses(3X)                                           ncurses(3X)


       flushinp               curs_util(3X)
       getbegyx               curs_getyx(3X)
       getch                  curs_getch(3X)
       getmaxyx               curs_getyx(3X)
       getparyx               curs_getyx(3X)
       getstr                 curs_getstr(3X)
       getsyx                 curs_kernel(3X)
       getwin                 curs_util(3X)
       getyx                  curs_getyx(3X)
       halfdelay              curs_inopts(3X)
       has_colors             curs_color(3X)
       has_ic                 curs_termattrs(3X)
       has_il                 curs_termattrs(3X)
       hline                  curs_border(3X)
       idcok                  curs_outopts(3X)
       idlok                  curs_outopts(3X)
       immedok                curs_outopts(3X)
       inch                   curs_inch(3X)
       inchnstr               curs_inchstr(3X)
       inchstr                curs_inchstr(3X)
       init_color             curs_color(3X)
       init_pair              curs_color(3X)
       initscr                curs_initscr(3X)
       innstr                 curs_instr(3X)
       insch                  curs_insch(3X)
       insdelln               curs_deleteln(3X)
       insertln               curs_deleteln(3X)
       insnstr                curs_insstr(3X)
       insstr                 curs_insstr(3X)
       instr                  curs_instr(3X)
       intrflush              curs_inopts(3X)
       is_linetouched         curs_touch(3X)
       is_wintouched          curs_touch(3X)
       isendwin               curs_initscr(3X)
       keyname                curs_util(3X)
       keypad                 curs_inopts(3X)
       killchar               curs_termattrs(3X)
       leaveok                curs_outopts(3X)
       longname               curs_termattrs(3X)
       meta                   curs_inopts(3X)
       move                   curs_move(3X)
       mvaddch                curs_addch(3X)
       mvaddchnstr            curs_addchstr(3X)
       mvaddchstr             curs_addchstr(3X)
       mvaddnstr              curs_addstr(3X)
       mvaddstr               curs_addstr(3X)
       mvcur                  curs_terminfo(5)
       mvdelch                curs_delch(3X)
       mvderwin               curs_window(3X)
       mvgetch                curs_getch(3X)
       mvgetstr               curs_getstr(3X)
       mvinch                 curs_inch(3X)
       mvinchnstr             curs_inchstr(3X)
       mvinchstr              curs_inchstr(3X)



                                                                5





ncurses(3X)                                           ncurses(3X)


       mvinnstr               curs_instr(3X)
       mvinsch                curs_insch(3X)
       mvinsnstr              curs_insstr(3X)
       mvinsstr               curs_insstr(3X)
       mvinstr                curs_instr(3X)
       mvprintw               curs_printw(3X)
       mvscanw                curs_scanw(3X)
       mvwaddch               curs_addch(3X)
       mvwaddchnstr           curs_addchstr(3X)
       mvwaddchstr            curs_addchstr(3X)
       mvwaddnstr             curs_addstr(3X)
       mvwaddstr              curs_addstr(3X)
       mvwdelch               curs_delch(3X)
       mvwgetch               curs_getch(3X)
       mvwgetstr              curs_getstr(3X)
       mvwin                  curs_window(3X)
       mvwinch                curs_inch(3X)
       mvwinchnstr            curs_inchstr(3X)
       mvwinchstr             curs_inchstr(3X)
       mvwinnstr              curs_instr(3X)
       mvwinsch               curs_insch(3X)
       mvwinsnstr             curs_insstr(3X)
       mvwinsstr              curs_insstr(3X)
       mvwinstr               curs_instr(3X)
       mvwprintw              curs_printw(3X)
       mvwscanw               curs_scanw(3X)
       napms                  curs_kernel(3X)
       newpad                 curs_pad(3X)
       newterm                curs_initscr(3X)
       newwin                 curs_window(3X)
       nl                     curs_outopts(3X)
       nocbreak               curs_inopts(3X)
       nodelay                curs_inopts(3X)
       noecho                 curs_inopts(3X)
       nonl                   curs_outopts(3X)
       noqiflush              curs_inopts(3X)
       noraw                  curs_inopts(3X)
       notimeout              curs_inopts(3X)
       overlay                curs_overlay(3X)
       overwrite              curs_overlay(3X)
       pair_content           curs_color(3X)
       pechochar              curs_pad(3X)
       pnoutrefresh           curs_pad(3X)
       prefresh               curs_pad(3X)
       printw                 curs_printw(3X)
       putp                   curs_terminfo(5)
       putwin                 curs_util(3X)
       qiflush                curs_inopts(3X)
       raw                    curs_inopts(3X)
       redrawwin              curs_refresh(3X)
       refresh                curs_refresh(3X)
       reset_prog_mode        curs_kernel(3X)
       reset_shell_mode       curs_kernel(3X)
       resetty                curs_kernel(3X)



                                                                6





ncurses(3X)                                           ncurses(3X)


       restartterm            curs_terminfo(5)
       ripoffline             curs_kernel(3X)
       savetty                curs_kernel(3X)
       scanw                  curs_scanw(3X)
       scr_dump               curs_scr_dump(3X)
       scr_init               curs_scr_dump(3X)
       scr_restore            curs_scr_dump(3X)
       scr_set                curs_scr_dump(3X)
       scrl                   curs_scroll(3X)
       scroll                 curs_scroll(3X)
       scrollok               curs_outopts(3X)
       set_curterm            curs_terminfo(5)
       set_term               curs_initscr(3X)
       setscrreg              curs_outopts(3X)
       setsyx                 curs_kernel(3X)
       setterm                curs_terminfo(5)
       setupterm              curs_terminfo(5)
       slk_attroff            curs_slk(3X)
       slk_attron             curs_slk(3X)
       slk_attrset            curs_slk(3X)
       slk_clear              curs_slk(3X)
       slk_init               curs_slk(3X)
       slk_label              curs_slk(3X)
       slk_noutrefresh        curs_slk(3X)
       slk_refresh            curs_slk(3X)
       slk_restore            curs_slk(3X)
       slk_set                curs_slk(3X)
       slk_touch              curs_slk(3X)
       standend               curs_attr(3X)
       standout               curs_attr(3X)
       start_color            curs_color(3X)
       subpad                 curs_pad(3X)
       subwin                 curs_window(3X)
       syncok                 curs_window(3X)
       termattrs              curs_termattrs(3X)
       termname               curs_termattrs(3X)
       tgetent                curs_termcap(3X)
       tgetflag               curs_termcap(3X)
       tgetnum                curs_termcap(3X)
       tgetstr                curs_termcap(3X)
       tgoto                  curs_termcap(3X)
       tigetflag              curs_terminfo(5)
       tigetnum               curs_terminfo(5)
       tigetstr               curs_terminfo(5)
       timeout                curs_inopts(3X)
       touchline              curs_touch(3X)
       touchwin               curs_touch(3X)
       tparm                  curs_terminfo(5)
       tputs                  curs_termcap(3X)
       tputs                  curs_terminfo(5)
       typeahead              curs_inopts(3X)
       unctrl                 curs_util(3X)
       ungetch                curs_getch(3X)
       untouchwin             curs_touch(3X)



                                                                7





ncurses(3X)                                           ncurses(3X)


       use_env                curs_util(3X)
       vidattr                curs_terminfo(5)
       vidputs                curs_terminfo(5)
       vline                  curs_border(3X)
       vwprintw               curs_printw(3X)
       vwscanw                curs_scanw(3X)
       waddch                 curs_addch(3X)
       waddchnstr             curs_addchstr(3X)
       waddchstr              curs_addchstr(3X)
       waddnstr               curs_addstr(3X)
       waddstr                curs_addstr(3X)
       wattroff               curs_attr(3X)
       wattron                curs_attr(3X)
       wattrset               curs_attr(3X)
       wbkgd                  curs_bkgd(3X)
       wbkgdset               curs_bkgd(3X)
       wborder                curs_border(3X)
       wclear                 curs_clear(3X)
       wclrtobot              curs_clear(3X)
       wclrtoeol              curs_clear(3X)
       wcursyncup             curs_window(3X)
       wdelch                 curs_delch(3X)
       wdeleteln              curs_deleteln(3X)
       wechochar              curs_addch(3X)
       werase                 curs_clear(3X)
       wgetch                 curs_getch(3X)
       wgetnstr               curs_getstr(3X)
       wgetstr                curs_getstr(3X)
       whline                 curs_border(3X)
       winch                  curs_inch(3X)
       winchnstr              curs_inchstr(3X)
       winchstr               curs_inchstr(3X)
       winnstr                curs_instr(3X)
       winsch                 curs_insch(3X)
       winsdelln              curs_deleteln(3X)
       winsertln              curs_deleteln(3X)
       winsnstr               curs_insstr(3X)
       winsstr                curs_insstr(3X)
       winstr                 curs_instr(3X)
       wmove                  curs_move(3X)
       wnoutrefresh           curs_refresh(3X)
       wprintw                curs_printw(3X)
       wredrawln              curs_refresh(3X)
       wrefresh               curs_refresh(3X)
       wscanw                 curs_scanw(3X)
       wscrl                  curs_scroll(3X)
       wsetscrreg             curs_outopts(3X)
       wstandend              curs_attr(3X)
       wstandout              curs_attr(3X)
       wsyncdown              curs_window(3X)
       wsyncup                curs_window(3X)
       wtimeout               curs_inopts(3X)
       wtouchln               curs_touch(3X)
       wvline                 curs_border(3X)



                                                                8





ncurses(3X)                                           ncurses(3X)


RREETTUURRNN VVAALLUUEE
       Routines  that  return  an integer return EERRRR upon failure
       and an integer value other than EERRRR upon  successful  com-
       pletion,  unless  otherwise  noted in the routine descrip-
       tions.

       All macros return the  value  of  the  ww  version,  except
       sseettssccrrrreegg,  wwsseettssccrrrreegg,  ggeettyyxx,  ggeettbbeeggyyxx,  ggeettmmaaxxyyxx.  The
       return values of sseettssccrrrreegg, wwsseettssccrrrreegg,  ggeettyyxx,  ggeettbbeeggyyxx,
       and ggeettmmaaxxyyxx are undefined (_i._e., these should not be used
       as the right-hand side of assignment statements).

       Routines that return pointers return NNUULLLL on error.

SSEEEE AALLSSOO
       tteerrmmiinnffoo(5) and 3X pages whose  names  begin  "curs_"  for
       detailed routine descriptions.

EEXXTTEENNSSIIOONNSS
       The ccuurrsseess library can be compiled with an option (--DDTTEERRMM--
       CCAAPP__FFIILLEE) that falls back to  the  old-style  /etc/termcap
       file  if  the  terminal  setup code cannot find a terminfo
       entry corresponding to TTEERRMM.  Use of this feature  is  not
       recommended,  as it essentially includes an entire termcap
       compiler in the ccuurrsseess startup code, at  significant  cost
       in core and startup cycles.

       Compiling  with  --DDTTEERRMMCCAAPP__FFIILLEE changes the library's ini-
       tialization sequence in a way intended to mimic the behav-
       ior of 4.4BSD curses.  If there is no local or system ter-
       minfo entry matching TTEERRMM,  then  the  library  looks  for
       termcap  entries  in the following places: (1) if TTEERRMMIINNFFOO
       is undefined, in the file named by  TTEERRMMCCAAPP__FFIILLEE;  (2)  if
       TTEERRMMIINNFFOO  is defined and begins with a slash, it is inter-
       preted as the name of a termcap file to search  for  TTEERRMM;
       (3) otherwise, if TTEERRMMIINNFFOO has a leading string that looks
       like a terminal entry name list, and it matches TTEERRMM,  the
       contents  of  TTEERRMMIINNFFOO is interpreted as a termcap; (4) if
       TTEERRMMIINNFFOO looks like a termcap but doesn't match TTEERRMM,  the
       termcap  file  is  searched  for among the colon-separated
       paths in the environment variable  TTEERRMMPPAATTHHSS  if  that  is
       defined,  and  in  ~/.termcap  and the file value of TTEERRMM--
       CCAAPP__FFIILLEE otherwise.

       Versions of ccuurrsseess compiled on PC clones  support  display
       of  the  PC ROM characters (including ROM characters 0-31,
       which stock SVr4 curses cannot display).  See  the  EXTEN-
       SIONS sections of ccuurrss__aaddddcchh(3x) and ccuurrss__aattttrr(3x).

PPOORRTTAABBIILLIITTYY
       The ccuurrsseess library is intended to be BASE-level conformant
       with the XSI Curses standard.   Certain  portions  of  the
       EXTENDED  XSI  Curses  functionality (including color sup-
       port) are supported.  The following  EXTENDED  XSI  Curses



                                                                9





ncurses(3X)                                           ncurses(3X)


       calls  in  support  of wide (multibyte) characters are not
       yet implemented: aaddddnnwwssttrr,, aaddddwwssttrr,, mmvvaaddddnnwwssttrr,,  mmvvwwaaddddnnww--
       ssttrr,,  mmvvaaddddwwssttrr,,  wwaaddddnnwwssttrr,,  wwaaddddwwssttrr,, aadddd__wwcchh,, wwaadddd__wwcchh,,
       mmvvaadddd__wwcchh,,    mmvvwwaadddd__wwcchh,,     aadddd__wwcchhnnssttrr,,     aadddd__wwcchhssttrr,,
       wwaadddd__wwcchhnnssttrr,,  wwaadddd__wwcchhssttrr,,  mmvvaadddd__wwcchhnnssttrr,,  mmvvaadddd__wwcchhssttrr,,
       mmvvwwaadddd__wwcchhnnssttrr,,  mmvvwwaadddd__wwcchhssttrr,,  bbkkggrrnnddsseett,,  bbkkggrrnndd,,  ggeett--
       bbkkggrrnndd,, wwbbkkggrrnndd,, wwbbkkggrrnnddsseett,, wwggeettbbkkggrrnndd,, bboorrddeerr__sseett,, wwbboorr--
       ddeerr__sseett,,  bbooxx__sseett,,  hhlliinnee__sseett,,  mmvvhhlliinnee__sseett,,  mmvvvvlliinnee__sseett,,
       mmvvwwhhlliinnee__sseett,,    mmvvwwvvlliinnee__sseett,,   wwhhlliinnee__sseett,,   vvhhlliinnee__sseett,,
       wwvvlliinnee__sseett,,  eecchhoo__wwcchhaarr,,  wweecchhoo__wwcchhaarr,,  eerraasseewwcchhaarr,,  kkiillll--
       wwcchhaarr,,    ggeett__wwcchh,,    mmvvggeett__wwcchh,,    mmvvwwggeett__cchh,,   wwggeett__wwcchh,,
       ggeettwwcchhttyyppee,, ggeett__wwssttrr,,  ggeettnn__wwssttrr,,  wwggeett__wwssttrr,,  wwggeettnn__wwssttrr,,
       mmvvggeett__wwssttrr,,  mmvvggeettnn__wwssttrr,, mmvvwwggeett__wwssttrr,, mmvvwwggeettnn__wwssttrr,, iinnnnww--
       ssttrr,,  iinnwwssttrr,,  wwiinnnnwwssttrr,,  wwiinnwwssttrr,,  mmvviinnnnwwssttrr,,   mmvviinnwwssttrr,,
       mmvvwwiinnnnwwssttrr,,  mmvvwwiinnwwssttrr,,  iinnss__nnwwssttrr,, iinnss__wwssttrr,, mmvviinnss__nnwwssttrr,,
       mmvviinnss__wwssttrr,,   mmvvwwiinnss__nnwwssttrr,,    mmvvwwiinnss__wwssttrr,,    wwiinnss__nnwwssttrr,,
       wwiinnss__wwssttrr,,   iinnss__wwcchh,,   wwiinnss__wwcchh,,  mmvviinnss__wwcchh,,  mmvvwwiinnss__wwcchh,,
       iinn__wwcchh,, wwiinn__wwcchh,, mmvviinn__wwcchh,, mmvvwwiinn__wwcchh,, iinnwwcchhssttrr,, iinnwwcchhnnssttrr,,
       wwiinnwwcchhssttrr,,  wwiinnwwcchhnnssttrr,,  mmvviinnwwcchhssttrr,, mmvviinnwwcchhnnssttrr,, mmvviinnwwcchh--
       ssttrr,, mmvvwwiinnwwcchhnnssttrr..

       A small number of local differences (that  is,  individual
       differences  between  the XSI Curses and ccuurrsseess calls) are
       described in  PPOORRTTAABBIILLIITTYY  sections  of  the  library  man
       pages.

       The   terminfo  format  supported  by  ccuurrsseess  is  binary-
       compatible with SVr4, but not conformant with XSI  curses.
       This  is  because the XSI Curses drafters, in a remarkable
       fit of braindamage, changed the undocumented SVr4 capabil-
       ity  ggeettmm  from a string to a boolean, changing the binary
       offsets of all capabilities after it in the SVr4 order and
       making  it  impossible for any SVr4-compatible implementa-
       tion to be fully conformant.

NNOOTTEESS
       The header  file  <<ccuurrsseess..hh>>  automatically  includes  the
       header files <<ssttddiioo..hh>> and <<uunnccttrrll..hh>>.

AAUUTTHHOORRSS
       Zeyd  M.  Ben-Halim,  Eric  S. Raymond.  Descends from the
       original pcurses by Pavel Curtis.















                                                               10


