home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l200 / 6.ddi / LIB / RRD.H < prev    next >
Encoding:
C/C++ Source or Header  |  1986-08-21  |  1.4 KB  |  36 lines

  1. /*    rrd.h    Definitions for raw mode input handling routines
  2.  
  3.     Copyright (c) 1984 by JMI Software Consultants, Inc.
  4. */
  5.  
  6. typedef struct
  7.     {
  8.     INT rr_mypid;        /* this process's pid */
  9.     TEXT rr_erase;        /* erase character */
  10.     TEXT rr_kill;        /* kill charater */
  11.     TEXT rr_intr;        /* interrupt character */
  12.     TEXT rr_quit;        /* quit character */
  13.     TEXT rr_eot;        /* end of text character */
  14.     } RR;
  15.  
  16. /* Input modes understood by the function rawread.
  17.     Any of the following modes can be added together and
  18.     passed to rawread. If more than one mode is specified,
  19.     the modes are processed in ascending numerical order.
  20. */
  21.  
  22. #define RR_7BIT        0x0001    /* mask data to 7 bits */
  23. #define RR_CRMOD    0x0002    /* convert CR to NL */
  24. #define RR_UCASE    0x0004    /* convert lower case letters to upper case */
  25. #define RR_LCASE    0x0008    /* convert upper case letters to lower case */
  26. #define RR_ERASE    0x0010    /* process erase characters */
  27. #define RR_KILL        0x0020    /* process kill characters */
  28. #define RR_NECR        0x0040    /* do not echo CR or NL characters */
  29. #define RR_INTR        0x0080    /* process interrupt characters */
  30. #define RR_QUIT        0x0100    /* process quit characters */
  31. #define RR_EOT        0x0200    /* process end of text characters */
  32. #define RR_BSLSH    0x0400    /* process backslash sequences */
  33. #define RR_ECHO        0x0800    /* echo converted input */
  34. #define RR_LINE        0x1000    /* terminate rawread when NL is input */
  35. #define RR_WAIT        0x2000    /* wait for input */
  36.