Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
41
cde/programs/dtdocbook/sgmls/ebcdic.h
Normal file
41
cde/programs/dtdocbook/sgmls/ebcdic.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/* $XConsortium: ebcdic.h /main/3 1996/06/19 17:14:42 drk $ */
|
||||
/* SGML Character Use: EBCDIC
|
||||
*/
|
||||
|
||||
#define EOFCHAR '\077' /* FUNCTION: EE (entity end: files). */
|
||||
#define EOBCHAR '\034' /* NONCHAR: EOB (file entity: end of buffer. */
|
||||
#define RSCHAR '\045' /* FUNCTION: RS (record start). */
|
||||
#define RECHAR '\015' /* FUNCTION: RE (record end). */
|
||||
#define TABCHAR '\005' /* FUNCTION: TAB (horizontal tab). */
|
||||
#define SPCCHAR '\100' /* FUNCTION: SPACE (horizontal space). */
|
||||
#define GENRECHAR '\026' /* NONCHAR: Generated RE. */
|
||||
#define DELCDATA '\035' /* NONCHAR: Delimiter for CDATA entity in
|
||||
attribute value. */
|
||||
#define DELSDATA '\036' /* NONCHAR: Delimiter for SDATA entity in
|
||||
attribute value. */
|
||||
#define DELNONCH '\037' /* NONCHAR: non-SGML character prefix. */
|
||||
|
||||
/* This should work for EBCDIC. See comment in latin1.h. */
|
||||
#define SHIFTNON(ch) ((UNCH)(ch) | 0200)
|
||||
#define UNSHIFTNON(ch) ((UNCH)(ch) & ~0200)
|
||||
|
||||
/* See comment in latin1.h. */
|
||||
#define CANON_NONSGML 255
|
||||
|
||||
/* See comment in latin1.h. */
|
||||
#define CANON_DATACHAR 254
|
||||
|
||||
/* Components for a formal public identifier for the whole of the
|
||||
system character set. Protect with ifndef so that it can be overriden
|
||||
in config.h. */
|
||||
|
||||
/* Use a private escape sequence. */
|
||||
#ifndef SYSTEM_CHARSET_DESIGNATING_SEQUENCE
|
||||
#define SYSTEM_CHARSET_DESIGNATING_SEQUENCE "ESC 2/5 2/15 3/0"
|
||||
#endif
|
||||
#ifndef SYSTEM_CHARSET_OWNER
|
||||
#define SYSTEM_CHARSET_OWNER "-//IBM"
|
||||
#endif
|
||||
#ifndef SYSTEM_CHARSET_DESCRIPTION
|
||||
#define SYSTEM_CHARSET_DESCRIPTION "Code Page 1047"
|
||||
#endif
|
||||
Reference in New Issue
Block a user