home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 10 / Fresh_Fish_10_2352.bin / new / dev / lang / sgmls / src / ebcdic.h < prev    next >
Text File  |  1994-07-10  |  1KB  |  26 lines

  1. /* SGML Character Use: EBCDIC
  2. */
  3.  
  4. #define EOFCHAR   '\077'      /* FUNCTION: EE (entity end: files). */
  5. #define EOBCHAR   '\034'      /* NONCHAR: EOB (file entity: end of buffer. */
  6. #define RSCHAR    '\045'      /* FUNCTION: RS (record start). */
  7. #define RECHAR    '\015'      /* FUNCTION: RE (record end). */
  8. #define TABCHAR   '\005'      /* FUNCTION: TAB (horizontal tab). */
  9. #define SPCCHAR   '\100'      /* FUNCTION: SPACE (horizontal space). */
  10. #define GENRECHAR '\026'      /* NONCHAR: Generated RE. */
  11. #define DELCDATA  '\035'      /* NONCHAR: Delimiter for CDATA entity in
  12.                  attribute value. */
  13. #define DELSDATA  '\036'      /* NONCHAR: Delimiter for SDATA entity in
  14.                  attribute value. */
  15. #define DELNONCH  '\037'      /* NONCHAR: non-SGML character prefix. */
  16.  
  17. /* This should work for EBCDIC.  See comment in latin1.h. */
  18. #define SHIFTNON(ch) ((UNCH)(ch) | 0200)
  19. #define UNSHIFTNON(ch) ((UNCH)(ch) & ~0200)
  20.  
  21. /* See comment in latin1.h. */
  22. #define CANON_NONSGML 255
  23.  
  24. /* See comment in latin1.h. */
  25. #define CANON_DATACHAR 254
  26.