home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume1 / 8710 / pc-curses-doc / 2 / clearok.m < prev    next >
Encoding:
Text File  |  1993-09-02  |  1.6 KB  |  76 lines

  1. NAME
  2.     idlok() clearok() leaveok() scrollok() nodelay() keypad() 
  3.     meta() cursoff() curson() - set or clear various options and flags
  4.  
  5. SYNOPSIS
  6.     #include <curses.h>
  7.     #include <curspriv.h>
  8.  
  9.     void idlok(win, flag)
  10.     WINDOW *win;
  11.     bool flag;
  12.  
  13.     void clearok(win, flag)
  14.     WINDOW *win;
  15.     bool flag;
  16.  
  17.     void leaveok(win, flag)
  18.     WINDOW *win;
  19.     bool flag;
  20.  
  21.     void scrollok(win, flag)
  22.     WINDOW *win;
  23.     bool flag;
  24.  
  25.     void nodelay(win, flag)
  26.     WINDOW *win;
  27.     bool flag;
  28.  
  29.     void keypad(win, flag)
  30.     WINDOW *win;
  31.     bool flag;
  32.  
  33.     void meta(win, flag)
  34.     WINDOW *win;
  35.     bool flag;
  36.  
  37.     void cursoff()
  38.  
  39.     void curson()
  40.  
  41. DESCRIPTION
  42.     idlok() is used to set flag for using the terminal insert/  
  43.     delete line capabilities. This is not relevant for the PC  
  44.     version of curses, and thus nothing is done.  
  45.  
  46.     clearok() marks window 'win' to cause screen clearing and  
  47.     redraw the next time a refresh is done.  
  48.  
  49.     leaveok() marks window 'win' to allow the update routines  
  50.     to leave the hardware cursor where it happens to be at the  
  51.     end of update. Usually used in combination with cursoff().  
  52.  
  53.     scrollok() marks window 'win' to allow the scrolling region  
  54.     of it to actually scroll.  
  55.  
  56.     nodelay() marks the window to make character input non-  
  57.     waiting, i.e. if there is no character to get, -1 will be  
  58.     returned.  
  59.  
  60.     keypad() marks window 'win' to use the special keypad mode.  
  61.  
  62.     meta() allows use of any alternate character set allowed by  
  63.     the terminal. We always allow this on the PC, so this one  
  64.     does nothing.  
  65.  
  66.     cursoff() turns off the hardware cursor.  
  67.  
  68.     curson() turns on the hardware cursor.  
  69.  
  70. EXAMPLES
  71.  
  72. SEE ALSO
  73.     _cursesgcmode(); _cursescmode()
  74.  
  75. BUGS
  76.