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

  1. NAME
  2.     waddstr() addstr() mvaddstr() mvwaddstr() - insert a string
  3.  
  4. SYNOPSIS
  5.     #include <curses.h>
  6.     #include <curspriv.h>
  7.  
  8.     int waddstr(win, str)
  9.     WINDOW *win; 
  10.     char *str;
  11.  
  12.     int addstr(str)
  13.     char *str;
  14.  
  15.     int mvaddstr(y,x,str)
  16.     int y;
  17.     int x;
  18.     char *str;
  19.  
  20.     int mvwaddstr(win,y,x,str)
  21.     WINDOW *win;
  22.     int y;
  23.     int x;
  24.     char *str;
  25.  
  26. DESCRIPTION
  27.     waddstr() inserts string 'str' at the current cursor posi-  
  28.     tion in window 'win', and takes any actions as dictated by  
  29.     the characters.  
  30.  
  31.     addstr() inserts string 'str' at the current cursor posi-  
  32.     tion in stdscr, and takes any actions as dictated by the  
  33.     characters.  
  34.  
  35.     mvaddstr() move to a new position in stdscr, then inserts  
  36.     string 'str' at the new position, taking any actions as dic-  
  37.     tated by the characters.  
  38.  
  39.     mvwaddstr() move to a new position in window 'win', then  
  40.     inserts string 'str' at the new position, taking any actions  
  41.     as dictated by the characters.  
  42.  
  43. EXAMPLES
  44.  
  45. SEE ALSO
  46.     waddch(); wmove()  
  47.  
  48. BUGS
  49.