home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
rxtelnet.zip
/
nvt
/
ascii.h
next >
Wrap
Text File
|
1996-10-29
|
867b
|
27 lines
/*
* Definitions of ASCII codes.
*/
#define NUL 0 /* No Operation */
#define SOH 1
#define STX 2
#define ETX 3
#define EOT 4
#define ENQ 5
#define ACK 6 /* Acknowledge */
#define BEL 7 /* Bell */
#define BS 8 /* Back Space */
#define HT 9 /* Horizontal Tab */
#define LF 10 /* Line Feed */
#define VT 11 /* Vertical Tab */
#define FF 12 /* Form Feed */
#define CR 13 /* Carriage Return */
#define CAN 24 /* Cancel */
#define LO_ASCII 32 /* ' ' - low ascii character */
#define HI_ASCII 126 /* '~' - high ascii character */
#define _ascii(z) (((z)>=LO_ASCII)&&((z)<=HI_ASCII))