home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / letters / term.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-02  |  397 b   |  15 lines

  1. /*
  2.  * header file to be used with term.c.  defines some macros to place the
  3.  * cursor in various places on the screen.
  4.  *
  5.  * Larry Moss (lm03_cif@uhura.cc.rochester.edu)
  6.  */
  7.  
  8. #define putp(str)    tputs(str, 0, outc)
  9. #define HAS_CAP(str)    (*str)
  10. #define clrdisp()    tputs(clear_screen, Lines, outc)
  11. #define home()        putp(cursor_home)
  12. #define gotoxy(c, l)    putp(tgoto(cursor_address, c, l))
  13.  
  14. #define SP ' '
  15.