home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / rxtelnet.zip / nvt / ascii.h next >
Text File  |  1996-10-29  |  867b  |  27 lines

  1. /*
  2.  * Definitions of ASCII codes.
  3.  */
  4.  
  5. #define NUL       0               /* No Operation */
  6. #define SOH       1
  7. #define STX       2
  8. #define ETX       3
  9. #define EOT       4
  10. #define ENQ       5
  11. #define ACK       6               /* Acknowledge */
  12. #define BEL       7               /* Bell */
  13. #define BS        8               /* Back Space */
  14. #define HT        9               /* Horizontal Tab */
  15. #define LF        10              /* Line Feed */
  16. #define VT        11              /* Vertical Tab */
  17. #define FF        12              /* Form Feed */
  18. #define CR        13              /* Carriage Return */
  19.  
  20. #define CAN       24              /* Cancel */
  21.  
  22. #define LO_ASCII  32              /* ' ' - low ascii character */
  23. #define HI_ASCII  126             /* '~' - high ascii character */
  24.  
  25. #define _ascii(z) (((z)>=LO_ASCII)&&((z)<=HI_ASCII))
  26.  
  27.