2 /* Copyright (C) 2001 Free Software Foundation, Inc.
3 Written by James Clark (jjc@jclark.com)
5 This file is part of groff.
7 groff is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
12 groff is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 You should have received a copy of the GNU General Public License along
18 with groff; see the file COPYING. If not, write to the Free Software
19 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22 /* special character codes */
24 #ifndef IS_EBCDIC_HOST
26 const int ESCAPE_QUESTION = 015;
27 const int BEGIN_TRAP = 016;
28 const int END_TRAP = 017;
29 const int PAGE_EJECTOR = 020;
30 const int ESCAPE_NEWLINE = 021;
31 const int ESCAPE_AMPERSAND = 022;
32 const int ESCAPE_UNDERSCORE = 023;
33 const int ESCAPE_BAR = 024;
34 const int ESCAPE_CIRCUMFLEX = 025;
35 const int ESCAPE_LEFT_BRACE = 026;
36 const int ESCAPE_RIGHT_BRACE = 027;
37 const int ESCAPE_LEFT_QUOTE = 030;
38 const int ESCAPE_RIGHT_QUOTE = 031;
39 const int ESCAPE_HYPHEN = 032;
40 const int ESCAPE_BANG = 033;
41 const int ESCAPE_c = 034;
42 const int ESCAPE_e = 035;
43 const int ESCAPE_PERCENT = 036;
44 const int ESCAPE_SPACE = 037;
46 const int TITLE_REQUEST = 0200;
47 const int COPY_FILE_REQUEST = 0201;
48 const int TRANSPARENT_FILE_REQUEST = 0202;
50 const int VJUSTIFY_REQUEST = 0203;
52 const int ESCAPE_E = 0204;
53 const int LAST_PAGE_EJECTOR = 0205;
54 const int ESCAPE_RIGHT_PARENTHESIS = 0206;
55 const int ESCAPE_TILDE = 0207;
56 const int ESCAPE_COLON = 0210;
57 const int COMPATIBLE_SAVE = 0211;
58 const int COMPATIBLE_RESTORE = 0212;
60 #else /* IS_EBCDIC_HOST */
62 const int ESCAPE_QUESTION = 010;
63 const int BEGIN_TRAP = 011;
64 const int END_TRAP = 013;
65 const int PAGE_EJECTOR = 015;
66 const int ESCAPE_NEWLINE = 016;
67 const int ESCAPE_AMPERSAND = 017;
68 const int ESCAPE_UNDERSCORE = 020;
69 const int ESCAPE_BAR = 021;
70 const int ESCAPE_CIRCUMFLEX = 022;
71 const int ESCAPE_LEFT_BRACE = 023;
72 const int ESCAPE_RIGHT_BRACE = 024;
73 const int ESCAPE_LEFT_QUOTE = 027;
74 const int ESCAPE_RIGHT_QUOTE = 030;
75 const int ESCAPE_HYPHEN = 031;
76 const int ESCAPE_BANG = 032;
77 const int ESCAPE_c = 033;
78 const int ESCAPE_e = 034;
79 const int ESCAPE_PERCENT = 035;
80 const int ESCAPE_SPACE = 036;
82 const int TITLE_REQUEST = 060;
83 const int COPY_FILE_REQUEST = 061;
84 const int TRANSPARENT_FILE_REQUEST = 062;
86 const int VJUSTIFY_REQUEST = 063;
88 const int ESCAPE_E = 064;
89 const int LAST_PAGE_EJECTOR = 065;
90 const int ESCAPE_RIGHT_PARENTHESIS = 066;
91 const int ESCAPE_TILDE = 067;
92 const int ESCAPE_COLON = 070;
93 const int COMPATIBLE_SAVE = 071;
94 const int COMPATIBLE_RESTORE = 072;
96 #endif /* IS_EBCDIC_HOST */