home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / STVI369G.ZIP / ASCII.H < prev    next >
Text File  |  1990-10-27  |  416b  |  18 lines

  1. /* $Header: /nw/tony/src/stevie/src/RCS/ascii.h,v 1.2 89/03/11 22:42:03 tony Exp $
  2.  *
  3.  * Definitions of various common control characters
  4.  */
  5.  
  6. #define    NUL    '\0'
  7. #define    BS    '\010'
  8. #define    TAB    '\011'
  9. #define    NL    '\012'
  10. #define    CR    '\015'
  11. #define    ESC    '\033'
  12. #define    DEL    '\177'
  13.  
  14. #define    CTRL(x)    ((x) & 0x1f)
  15.  
  16. #define MK_FP(seg,ofs)  ((void far *) \
  17.                 (((unsigned long)(seg) << 16) | (unsigned)(ofs)))
  18.