home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 024 / psi110g.zip / TTY.H < prev    next >
C/C++ Source or Header  |  1994-04-17  |  515b  |  30 lines

  1. #ifndef _TTY_H
  2. #define _TTY_H
  3.   
  4. #ifndef _MBUF_H
  5. #include "mbuf.h"
  6. #endif
  7.   
  8. #ifndef _SESSION_H
  9. #include "session.h"
  10. #endif
  11.   
  12. /* Command recall ('history') structure - WG7J */
  13. struct hist {
  14.     struct hist *next;
  15.     struct hist *prev;
  16.     char *cmd;
  17. };
  18. extern struct hist *Histry;
  19.   
  20. /* Arrow keys */
  21. #define UPARROW 256
  22. #define DNARROW 257
  23. #define RTARROW 258
  24. #define LTARROW 259
  25.   
  26. /* In ttydriv.c: */
  27. struct mbuf *ttydriv __ARGS((struct session *sp,int c));
  28.   
  29. #endif /* _TTY_H */
  30.