Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ curses(5) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

terminfo(4)

stdio(5)

term(5)

termios(5)

unctrl(5)

wchar(5)

curses(5)                                                         curses(5)

NAME
     curses - definitions for screen handling and optimisation functions

SYNOPSIS
     #include <curses.h>

DESCRIPTION
   Objects
     The <curses.h> header provides a declaration for COLORPAIRS, COLORS,
     COLS, curscr, LINES and stdscr.

   Constants
     The following constants are defined:

     EOF     Function return value for end-of-file

     ERR     Function return value for failure

     FALSE   Boolean false value

     OK      Function return value for success

     TRUE    Boolean true value

     WEOF    Wide-character function return value for end-of-file, as
             defined in wchar(5).

     The following constant is defined if the implementation supports the
     indicated revision of the X/Open Curses specification:

     XOPENCURSES  X/Open Curses, Issue 4, Version 2, July 1996, (ISBN:
                    1-85912-171-3, C610).

   Data Types
     The following data types are defined through typedef:

     attrt   An OR-ed set of attributes

     bool     Boolean data type

     chtype   A character, attributes and a colour-pair

     SCREEN   An opaque terminal representation

     wchart  As described in stddef(5)

     cchart  As described in wchar(5)

     wintt   References a string of wide characters

     WINDOW   An opaque window representation




Page 1                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     These data types are described in more detail in "X/Open Curses, Issue
     4, Version 2, July 1996, (ISBN: 1-85912-171-3, C610), Section 2.4".

     The inclusion of <curses.h> may make visible all symbols from the
     headers stdio(5), term(5), termios(5) and wchar(5).

   Attribute Bits
     The following symbolic constants are used to manipulate objects of
     type attrt:

     WAALTCHARSET   Alternate character set
     WABLINK        Blinking
     WABOLD         Extra bright or bold
     WADIM          Half bright
     WAHORIZONTAL   Horizontal highlight
     WAINVIS        Invisible
     WALEFT         Left highlight
     WALOW          Low highlight
     WAPROTECT      Protected
     WAREVERSE      Reverse video
     WARIGHT        Right highlight
     WASTANDOUT     Best highlighting mode of the terminal
     WATOP          Top highlight
     WAUNDERLINE    Underlining
     WAVERTICAL     Vertical highlight

     These attribute flags shall be distinct.

     The following symbolic constants are used to manipulate attribute bits
     in objects of type chtype:

     AALTCHARSET   Alternate character set
     ABLINK        Blinking
     ABOLD         Extra bright or bold
     ADIM          Half bright
     AINVIS        Invisible
     APROTECT      Protected
     AREVERSE      Reverse video
     ASTANDOUT     Best highlighting mode of the terminal
     AUNDERLINE    Underlining

     These attribute flags need not be distinct except when XOPENCURSES
     is defined and the application sets XOPENSOURCEEXTENDED to 1.

     The following symbolic constants can be used as bit-masks to extract
     the components of a chtype:

     AATTRIBUTES   Bit-mask to extract attributes
     ACHARTEXT     Bit-mask to extract a character
     ACOLOR        Bit-mask to extract colour-pair information




Page 2                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

   Line-drawing Constants
     The <curses.h> header defines the symbolic constants shown in the
     leftmost two columns of the following table for use in drawing lines.
     The symbolic constants that begin with ACS are char constants. The
     symbolic constants that begin with WACS are cchart constants for use
     with the wide-character interfaces that take a pointer to a cchart.

     In the POSIX locale, the characters shown in the "POSIX Locale
     Default" column are used when the terminal database does not specify a
     value using the acsc capability as described in terminfo(4), section
     "Line Graphics".

                                        POSIX Locale
     char Constant   cchart Constant     Default         Glyph Description
     _________________________________________________________________________
     ACSULCORNER    WACSULCORNER           +         upper left-hand corner
     ACSLLCORNER    WACSLLCORNER           +         lower left-hand corner
     ACSURCORNER    WACSURCORNER           +         upper right-hand corner
     ACSLRCORNER    WACSLRCORNER           +         lower right-hand corner
     ACSRTEE        WACSRTEE               +         right tee
     ACSLTEE        WACSLTEE               +         left tee
     ACSBTEE        WACSBTEE               +         bottom tee
     ACSTTEE        WACSTTEE               +         top tee
     ACSHLINE       WACSHLINE              -         horizontal line
     ACSVLINE       WACSVLINE              |         vertical line
     ACSPLUS        WACSPLUS               +         plus
     ACSS1          WACSS1                 -         scan line 1
     ACSS9          WACSS9                          scan line 9
     ACSDIAMOND     WACSDIAMOND            +         diamond
     ACSCKBOARD     WACSCKBOARD            :         checker board (stipple)
     ACSDEGREE      WACSDEGREE             '         degree symbol
     ACSPLMINUS     WACSPLMINUS            #         plus/minus
     ACSBULLET      WACSBULLET             o         bullet
     ACSLARROW      WACSLARROW             <         arrow pointing left
     ACSRARROW      WACSRARROW             >         arrow pointing right
     ACSDARROW      WACSDARROW             v         arrow pointing down
     ACSUARROW      WACSUARROW             ^         arrow pointing up
     ACSBOARD       WACSBOARD              #         board of squares
     ACSLANTERN     WACSLANTERN            #         lantern symbol
     ACSBLOCK       WACSBLOCK              #         solid square block

   Colour-related Macros
     The following colour-related macros are defined:

     COLORBLACK
     COLORBLUE
     COLORGREEN
     COLORCYAN
     COLORRED
     COLORMAGENTA
     COLORYELLOW
     COLORWHITE


Page 3                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

   Coordinate-related Macros
     The following coordinate-related macros are defined:

     void  getbegyx(WINDOW *win, int y, int x);
     void  getmaxyx(WINDOW *win, int y, int x);
     void  getparyx(WINDOW *win, int y, int x);
     void  getyx(WINDOW *win, int y, int x);

   Key Codes
     The following symbolic constants representing function key values are
     defined:

        Key Code                            Description
     ________________________________________________________________________
     KEYCODEYES     Used to indicate that a wchart variable contains a key
                      code
     KEYBREAK        Break key
     KEYDOWN         Down arrow key
     KEYUP           Up arrow key
     KEYLEFT         Left arrow key
     KEYRIGHT        Right arrow key
     KEYHOME         Home key
     KEYBACKSPACE    Backspace
     KEYF0           Function keys; space for 64 keys is reserved
     KEYF(n)         For 0<|n<63
     KEYDL           Delete line
     KEYIL           Insert line
     KEYDC           Delete character
     KEYIC           Insert char or enter insert mode
     KEYEIC          Exit insert char mode
     KEYCLEAR        Clear screen
     KEYEOS          Clear to end of screen
     KEYEOL          Clear to end of line
     KEYSF           Scroll 1 line forward
     KEYSR           Scroll 1 line backward (reverse)
     KEYNPAGE        Next page
     KEYPPAGE        Previous page
     KEYSTAB         Set tab
     KEYCTAB         Clear tab
     KEYCATAB        Clear all tabs
     KEYENTER        Enter or send
     KEYSRESET       Soft (partial) reset
     KEYRESET        Reset or hard reset
     KEYPRINT        Print or copy
     KEYLL           Home down or bottom
     KEYA1           Upper left of keypad
     KEYA3           Upper right of keypad
     KEYB2           Center of keypad
     KEYC1           Lower left of keypad
     KEYC3           Lower right of keypad




Page 4                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     The virtual keypad is a 3-by-3 keypad arranged as follows:

                            _______________________
                           |  A1  |   UP  |   A3  |
                           |______|_______|_______|
                           | LEFT |   B2  |  RIGHT|
                           |______|_______|_______|
                           |  C1  |  DOWN |   C3  |
                           |______|_______|_______|

     Each legend, such as A1, corresponds to a symbolic constant for a key
     code from the preceding table, such as KEYA1. The following symbolic
     constants representing function key values are also defined:

       Key Code            Description
     _______________________________________
     KEYBTAB        Back tab key
     KEYBEG         Beginning key
     KEYCANCEL      Cancel key
     KEYCLOSE       Close key
     KEYCOMMAND     Cmd (command) key
     KEYCOPY        Copy key
     KEYCREATE      Create key
     KEYEND         End key
     KEYEXIT        Exit key
     KEYFIND        Find key
     KEYHELP        Help key
     KEYMARK        Mark key
     KEYMESSAGE     Message key
     KEYMOVE        Move key
     KEYNEXT        Next object key
     KEYOPEN        Open key
     KEYOPTIONS     Options key
     KEYPREVIOUS    Previous object key
     KEYREDO        Redo key
     KEYREFERENCE   Reference key
     KEYREFRESH     Refresh key
     KEYREPLACE     Replace key
     KEYRESTART     Restart key
     KEYRESUME      Resume key
     KEYSAVE        Save key
     KEYSBEG        Shifted beginning key
     KEYSCANCEL     Shifted cancel key
     KEYSCOMMAND    Shifted command key
     KEYSCOPY       Shifted copy key
     KEYSCREATE     Shifted create key
     KEYSDC         Shifted delete char key
     KEYSDL         Shifted delete line key
     KEYSELECT      Select key
     KEYSEND        Shifted end key




Page 5                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     KEYSEOL        Shifted clear line key
     KEYSEXIT       Shifted exit key
     KEYSFIND       Shifted find key
     KEYSHELP       Shifted help key
     KEYSHOME       Shifted home key
     KEYSIC         Shifted input key
     KEYSLEFT       Shifted left arrow key
     KEYSMESSAGE    Shifted message key
     KEYSMOVE       Shifted move key
     KEYSNEXT       Shifted next key
     KEYSOPTIONS    Shifted options key
     KEYSPREVIOUS   Shifted prev key
     KEYSPRINT      Shifted print key
     KEYSREDO       Shifted redo key
     KEYSREPLACE    Shifted replace key
     KEYSRIGHT      Shifted right arrow
     KEYSRSUME      Shifted resume key
     KEYSSAVE       Shifted save key
     KEYSSUSPEND    Shifted suspend key
     KEYSUNDO       Shifted undo key
     KEYSUSPEND     Suspend key
     KEYUNDO        Undo key

   Function Prototypes
     The following are declared as functions, and may also be defined as
     macros:

     int  addch(const chtype);
     int  addchnstr(const chtype *, int);
     int  addchstr(const chtype *);
     int  addnstr(const char *, int);
     int  addnwstr(const wchart *, int);
     int  addstr(const char *);
     int  addwch(const cchart *);
     int  addwchnstr(const cchart *, int);
     int  addwchstr(const cchart *);
     int  addwstr(const wchart *);
     int  attroff(int);
     int  attron(int);
     int  attrset(int);
     int  attrget(attrt *, short *, void *);
     int  attroff(attrt, void *);
     int  attron(attrt, void *);
     int  attrset(attrt, short, void *);
     int  baudrate(void);
     int  beep(void);
     int  bkgd(chtype);
     void  bkgdset(chtype);
     int  bkgrnd(const cchart *);
     void  bkgrndset(const cchart *);
     int  border(chtype, chtype, chtype, chtype, chtype, chtype, chtype,
            chtype);


Page 6                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     int  borderset(const cchart *, const cchart *, const cchart *,
              const cchart *, const cchart *, const cchart *,
              const cchart *, const cchart *);
     int  box(WINDOW *, chtype, chtype);
     int  boxset(WINDOW *, const cchart *, const cchart *);
     bool  canchangecolor(void);
     int  cbreak(void);
     int  chgat(int, attrt, short, const void *);
     int  clearok(WINDOW *, bool);
     int  clear(void);
     int  clrtobot(void);
     int  clrtoeol(void);
     int  colorcontent(short, short *, short *, short *);
     int  COLORPAIR(int);
     int  colorset(short,void *);
     int  copywin(const WINDOW *, WINDOW *, int, int, int, int, int, int,
             int);
     int  cursset(int);
     int  defprogmode(void);
     int  defshellmode(void);
     int  delayoutput(int);
     int  delch(void);
     int  deleteln(void);
     void  delscreen(SCREEN *);
     int  delwin(WINDOW *);
     WINDOW *derwin(WINDOW *, int, int, int, int);
     int  doupdate(void);
     WINDOW *dupwin(WINDOW *);
     int  echo(void);
     int  echochar(const chtype);
     int  echowchar(const cchart *);
     int  endwin(void);
     char  erasechar(void);
     int  erase(void);
     int  erasewchar(wchart *);
     void  filter(void);
     int  flash(void);
     int  flushinp(void);
     chtype getbkgd(WINDOW *);
     int  getbkgrnd(cchart *);
     int  getcchar(const cchart *, wchart *, attrt *, short *, void *);
     int  getch(void);
     int  getnstr(char *, int);
     int  getnwstr(wintt *, int);
     int  getstr(char *);
     int  getwch(wintt *);
     WINDOW *getwin(FILE *);
     int  getwstr(wintt *);
     int  halfdelay(int);
     bool  hascolors(void);
     bool  hasic(void);
     bool  hasil(void);


Page 7                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     int  hline(chtype, int);
     int  hlineset(const cchart *, int);
     void  idcok(WINDOW *, bool);
     int  idlok(WINDOW *, bool);
     void  immedok(WINDOW *, bool);
     chtype inch(void);
     int  inchnstr(chtype *, int);
     int  inchstr(chtype *);
     WINDOW *initscr(void);
     int  initcolor(short, short, short, short);
     int  initpair(short, short, short);
     int  innstr(char *, int);
     int  innwstr(wchart *, int);
     int  insch(chtype);
     int  insdelln(int);
     int  insertln(void);
     int  insnstr(const char *, int);
     int  insnwstr(const wchart *, int);
     int  insstr(const char *);
     int  instr(char *);
     int  inswch(const cchart *);
     int  inswstr(const wchart *);
     int  intrflush(WINDOW *, bool);
     int  inwch(cchart *);
     int  inwchnstr(cchart *, int);
     int  inwchstr(cchart *);
     int  inwstr(wchart *);
     bool  isendwin(void);
     bool  islinetouched(WINDOW *, int);
     bool  iswintouched(WINDOW *);
     char  *keyname(int);
     char  *keyname(wchart);
     int  keypad(WINDOW *, bool);
     char  killchar(void);
     int  killwchar(wchart *);
     int  leaveok(WINDOW *, bool);
     char  *longname(void);
     int  meta(WINDOW *, bool);
     int  move(int, int);
     int  mvaddch(int, int, const chtype);
     int  mvaddchnstr(int, int, const chtype *, int);
     int  mvaddchstr(int, int, const chtype *);
     int  mvaddnstr(int, int, const char *, int);
     int  mvaddnwstr(int, int, const wchart *, int);
     int  mvaddstr(int, int, const char *);
     int  mvaddwch(int, int, const cchart *);
     int  mvaddwchnstr(int, int, const cchart *, int);
     int  mvaddwchstr(int, int, const cchart *);
     int  mvaddwstr(int, int, const wchart *);
     int  mvchgat(int, int, int, attrt, short, const void *);
     int  mvcur(int, int, int, int);
     int  mvdelch(int, int);


Page 8                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     int  mvderwin(WINDOW *, int, int);
     int  mvgetch(int, int);
     int  mvgetnstr(int, int, char *, int);
     int  mvgetnwstr(int, int, wintt *, int);
     int  mvgetstr(int, int, char *);
     int  mvgetwch(int, int, wintt *);
     int  mvgetwstr(int, int, wintt *);
     int  mvhline(int, int, chtype, int);
     int  mvhlineset(int, int, const cchart *, int);
     chtype mvinch(int, int);
     int  mvinchnstr(int, int, chtype *, int);
     int  mvinchstr(int, int, chtype *);
     int  mvinnstr(int, int, char *, int);
     int  mvinnwstr(int, int, wchart *, int);
     int  mvinsch(int, int, chtype);
     int  mvinsnstr(int, int, const char *, int);
     int  mvinsnwstr(int, int, const wchart *, int);
     int  mvinsstr(int, int, const char *);
     int  mvinstr(int, int, char *);
     int  mvinswch(int, int, const cchart *);
     int  mvinswstr(int, int, const wchart *);
     int  mvinwch(int, int, cchart *);
     int  mvinwchnstr(int, int, cchart *, int);
     int  mvinwchstr(int, int, cchart *);
     int  mvinwstr(int, int, wchart *);
     int  mvprintw(int, int, char *, ...);
     int  mvscanw(int, int, char *, ...);
     int  mvvline(int, int, chtype, int);
     int  mvvlineset(int, int, const cchart *, int);
     int  mvwaddch(WINDOW *, int, int, const chtype);
     int  mvwaddchnstr(WINDOW *, int, int, const chtype *, int);
     int  mvwaddchstr(WINDOW *, int, int, const chtype *);
     int  mvwaddnstr(WINDOW *, int, int, const char *, int);
     int  mvwaddnwstr(WINDOW *, int, int, const wchart *, int);
     int  mvwaddstr(WINDOW *, int, int, const char *);
     int  mvwaddwch(WINDOW *, int, int, const cchart *);
     int  mvwaddwchnstr(WINDOW *, int, int, const cchart *, int);
     int  mvwaddwchstr(WINDOW *, int, int, const cchart *);
     int  mvwaddwstr(WINDOW *, int, int, const wchart *);
     int  mvwchgat(WINDOW *, int, int, int, attrt, short, const void *);
     int  mvwdelch(WINDOW *, int, int);
     int  mvwgetch(WINDOW *, int, int);
     int  mvwgetnstr(WINDOW *, int, int, char *, int);
     int  mvwgetnwstr(WINDOW *, int, int, wintt *, int);
     int  mvwgetstr(WINDOW *, int, int, char *);
     int  mvwgetwch(WINDOW *, int, int, wintt *);
     int  mvwgetwstr(WINDOW *, int, int, wintt *);
     int  mvwhline(WINDOW *, int, int, chtype, int);
     int  mvwhlineset(WINDOW *, int, int, const cchart *, int);
     int  mvwin(WINDOW *, int, int);
     chtype mvwinch(WINDOW *, int, int);
     int  mvwinchnstr(WINDOW *, int, int, chtype *, int);


Page 9                       Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     int  mvwinchstr(WINDOW *, int, int, chtype *);
     int  mvwinnstr(WINDOW *, int, int, char *, int);
     int  mvwinnwstr(WINDOW *, int, int, wchart *, int);
     int  mvwinsch(WINDOW *, int, int, chtype);
     int  mvwinsnstr(WINDOW *, int, int, const char *, int);
     int  mvwinsnwstr(WINDOW *, int, int, const wchart *, int);
     int  mvwinsstr(WINDOW *, int, int, const char *);
     int  mvwinstr(WINDOW *, int, int, char *);
     int  mvwinswch(WINDOW *, int, int, const cchart *);
     int  mvwinswstr(WINDOW *, int, int, const wchart *);
     int  mvwinwch(WINDOW *, int, int, cchart *);
     int  mvwinwchnstr(WINDOW *, int, int, cchart *, int);
     int  mvwinwchstr(WINDOW *, int, int, cchart *);
     int  mvwinwstr(WINDOW *, int, int, wchart *);
     int  mvwprintw(WINDOW *, int, int, char *, ...);
     int  mvwscanw(WINDOW *, int, int, char *, ...);
     int  mvwvline(WINDOW *, int, int, chtype, int);
     int  mvwvlineset(WINDOW *, int, int, const cchart *, int);
     int  napms(int);
     WINDOW *newpad(int, int);
     SCREEN *newterm(char *, FILE *, FILE *);
     WINDOW *newwin(int, int, int, int);
     int  nl(void);
     int  nocbreak(void);
     int  nodelay(WINDOW *, bool);
     int  noecho(void);
     int  nonl(void);
     void  noqiflush(void);
     int  noraw(void);
     int  notimeout(WINDOW *, bool);
     int  overlay(const WINDOW *, WINDOW *);
     int  overwrite(const WINDOW *, WINDOW *);
     int  paircontent(short, short *, short *);
     int  PAIRNUMBER(int);
     int  pechochar(WINDOW *, chtype);
     int  pechowchar(WINDOW *, const cchart*);
     int  pnoutrefresh(WINDOW *, int, int, int, int, int, int);
     int  prefresh(WINDOW *, int, int, int, int, int, int);
     int  printw(char *, ...);
     int  putp(const char *);
     int  putwin(WINDOW *, FILE *);
     void  qiflush(void);
     int  raw(void);
     int  redrawwin(WINDOW *);
     int  refresh(void);
     int  resetprogmode(void);
     int  resetshellmode(void);
     int  resetty(void);
     int  ripoffline(int, int (*)(WINDOW *, int));
     int  savetty(void);
     int  scanw(char *, ...);
     int  scrdump(const char *);


Page 10                      Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     int  scrinit(const char *);
     int  scrl(int);
     int  scroll(WINDOW *);
     int  scrollok(WINDOW *, bool);
     int  scrrestore(const char *);
     int  scrset(const char *);
     int  setcchar(cchart*, const wchart*, const attrt, short,
             const void*);
     int  setscrreg(int, int);
     SCREEN *setterm(SCREEN *);
     int  setupterm(char *, int, int *);
     int  slkattroff(const attrt, void *);
     int  slkattroff(const chtype);
     int  slkattron(const attrt, void *);
     int  slkattron(const chtype);
     int  slkattrset(const attrt, short, void *);
     int  slkattrset(const chtype);
     int  slkclear(void);
     int  slkcolor(short);
     int  slkinit(int);
     char  *slklabel(int);
     int  slknoutrefresh(void);
     int  slkrefresh(void);
     int  slkrestore(void);
     int  slkset(int, const char *, int);
     int  slktouch(void);
     int  slkwset(int, const wchart *, int);
     int  standend(void);
     int  standout(void);
     int  startcolor(void);
     WINDOW *subpad(WINDOW *, int, int, int, int);
     WINDOW *subwin(WINDOW *, int, int, int, int);
     int  syncok(WINDOW *, bool);
     chtype termattrs(void);
     attrt termattrs(void);
     char  *termname(void);
     int  tigetflag(char *);
     int  tigetnum(char *);
     char  *tigetstr(char *);
     void  timeout(int);
     int  touchline(WINDOW *, int, int);
     int  touchwin(WINDOW *);
     char  *tparm(char *, long, long, long, long, long, long, long, long,
            long);
     int  typeahead(int);
     int  ungetch(int);
     int  ungetwch(const wchart);
     int  untouchwin(WINDOW *);
     void  useenv(bool);
     int  vidattr(attrt, short, void *);
     int  vidattr(chtype);
     int  vidputs(attrt, short, void *, int (*)(int));


Page 11                      Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     int  vidputs(chtype, int (*)(int));
     int  vline(chtype, int);
     int  vlineset(const cchart *, int);
     int  vwprintw(WINDOW *, char *, valist *);
     int  vwprintw(WINDOW *, char *, valist *);
     int  vwscanw(WINDOW *, char *, valist *);
     int  vwscanw(WINDOW *, char *, valist *);
     int  waddch(WINDOW *, const chtype);
     int  waddchnstr(WINDOW *, const chtype *, int);
     int  waddchstr(WINDOW *, const chtype *);
     int  waddnstr(WINDOW *, const char *, int);
     int  waddnwstr(WINDOW *, const wchart *, int);
     int  waddstr(WINDOW *, const char *);
     int  waddwch(WINDOW *, const cchart *);
     int  waddwchnstr(WINDOW *, const cchart *, int);
     int  waddwchstr(WINDOW *, const cchart *);
     int  waddwstr(WINDOW *, const wchart *);
     int  wattroff(WINDOW *, int);
     int  wattron(WINDOW *, int);
     int  wattrset(WINDOW *, int);
     int  wattrget(WINDOW *, attrt *, short *, void *);
     int  wattroff(WINDOW *, attrt, void *);
     int  wattron(WINDOW *, attrt, void *);
     int  wattrset(WINDOW *, attrt, short, void *);
     int  wbkgd(WINDOW *, chtype);
     void  wbkgdset(WINDOW *, chtype);
     int  wbkgrnd(WINDOW *, const cchart *);
     void  wbkgrndset(WINDOW *, const cchart *);
     int  wborder(WINDOW *, chtype, chtype, chtype, chtype, chtype, chtype,
             chtype, chtype);
     int  wborderset(WINDOW *, const cchart *, const cchart *,
              const cchart *, const cchart *, const cchart *,
              const cchart *, const cchart *, const cchart *);
     int  wchgat(WINDOW *, int, attrt, short, const void *);
     int  wclear(WINDOW *);
     int  wclrtobot(WINDOW *);
     int  wclrtoeol(WINDOW *);
     void  wcursyncup(WINDOW *);
     int  wcolorset(WINDOW *, short, void *);
     int  wdelch(WINDOW *);
     int  wdeleteln(WINDOW *);
     int  wechochar(WINDOW *, const chtype);
     int  wechowchar(WINDOW *, const cchart *);
     int  werase(WINDOW *);
     int  wgetbkgrnd(WINDOW *, cchart *);
     int  wgetch(WINDOW *);
     int  wgetnstr(WINDOW *, char *, int);
     int  wgetnwstr(WINDOW *, wintt *, int);
     int  wgetstr(WINDOW *, char *);
     int  wgetwch(WINDOW *, wintt *);
     int  wgetwstr(WINDOW *, wintt *);
     int  whline(WINDOW *, chtype, int);


Page 12                      Reliant UNIX 5.44                Printed 11/98

curses(5)                                                         curses(5)

     int  whlineset(WINDOW *, const cchart *, int);
     chtype winch(WINDOW *);
     int  winchnstr(WINDOW *, chtype *, int);
     int  winchstr(WINDOW *, chtype *);
     int  winnstr(WINDOW *, char *, int);
     int  winnwstr(WINDOW *, wchart *, int);
     int  winsch(WINDOW *, chtype);
     int  winsdelln(WINDOW *, int);
     int  winsertln(WINDOW *);
     int  winsnstr(WINDOW *, const char *, int);
     int  winsnwstr(WINDOW *, const wchart *, int);
     int  winsstr(WINDOW *, const char *);
     int  winstr(WINDOW *, char *);
     int  winswch(WINDOW *, const cchart *);
     int  winswstr(WINDOW *, const wchart *);
     int  winwch(WINDOW *, cchart *);
     int  winwchnstr(WINDOW *, cchart *, int);
     int  winwchstr(WINDOW *, cchart *);
     int  winwstr(WINDOW *, wchart *);
     int  wmove(WINDOW *, int, int);
     int  wnoutrefresh(WINDOW *);
     int  wprintw(WINDOW *, char *, ...);
     int  wredrawln(WINDOW *, int, int);
     int  wrefresh(WINDOW *);
     int  wscanw(WINDOW *, char *, ...);
     int  wscrl(WINDOW *, int);
     int  wsetscrreg(WINDOW *, int, int);
     int  wstandend(WINDOW *);
     int  wstandout(WINDOW *);
     void  wsyncup(WINDOW *);
     void  wsyncdown(WINDOW *);
     void  wtimeout(WINDOW *, int);
     int  wtouchln(WINDOW *, int, int, int);
     wchart *wunctrl(cchart *);
     int  wvline(WINDOW *, chtype, int);
     int  wvlineset(WINDOW *, const cchart *, int);

SEE ALSO
     terminfo(4), stdio(5), term(5), termios(5), unctrl(5), wchar(5).















Page 13                      Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026