home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume7 / my_wgetstr / my_wgetstr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-06-03  |  400 b   |  17 lines

  1. /*
  2.  * A possible replacement for curses' wgetstr(). Allows
  3.  * limited editing. Recognizes the erase and kill chars.
  4.  *
  5.  * By Hung Le (mott@ucscb.ucsc.edu  ...!ucbvax!ucscc!ucscb!mott)
  6.  * History:
  7.  *    05/18/89 - Initial version 
  8.  *
  9.  * Release to Public Domain 
  10.  */
  11.  
  12. /* following the curses's convention */
  13. #define my_getstr(str,size,ret) my_wgetstr(stdscr,str,size,ret)
  14. #define RET 1
  15. #define NO_RET 0
  16.  
  17.