| Commit | Line | Data |
|---|---|---|
| 92d0a6a6 | 1 | // -*- C++ -*- |
| 4d3e9548 | 2 | /* Copyright (C) 2001, 2004, 2006, 2009 Free Software Foundation, Inc. |
| 92d0a6a6 JR |
3 | Written by James Clark (jjc@jclark.com) |
| 4 | ||
| 5 | This file is part of groff. | |
| 6 | ||
| 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 | |
| 4d3e9548 JL |
9 | Software Foundation, either version 3 of the License, or |
| 10 | (at your option) any later version. | |
| 92d0a6a6 JR |
11 | |
| 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 | |
| 15 | for more details. | |
| 16 | ||
| 4d3e9548 JL |
17 | You should have received a copy of the GNU General Public License |
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. */ | |
| 92d0a6a6 JR |
19 | |
| 20 | ||
| 21 | /* special character codes */ | |
| 22 | ||
| 23 | #ifndef IS_EBCDIC_HOST | |
| 24 | ||
| 25 | const int ESCAPE_QUESTION = 015; | |
| 26 | const int BEGIN_TRAP = 016; | |
| 27 | const int END_TRAP = 017; | |
| 28 | const int PAGE_EJECTOR = 020; | |
| 29 | const int ESCAPE_NEWLINE = 021; | |
| 30 | const int ESCAPE_AMPERSAND = 022; | |
| 31 | const int ESCAPE_UNDERSCORE = 023; | |
| 32 | const int ESCAPE_BAR = 024; | |
| 33 | const int ESCAPE_CIRCUMFLEX = 025; | |
| 34 | const int ESCAPE_LEFT_BRACE = 026; | |
| 35 | const int ESCAPE_RIGHT_BRACE = 027; | |
| 36 | const int ESCAPE_LEFT_QUOTE = 030; | |
| 37 | const int ESCAPE_RIGHT_QUOTE = 031; | |
| 38 | const int ESCAPE_HYPHEN = 032; | |
| 39 | const int ESCAPE_BANG = 033; | |
| 40 | const int ESCAPE_c = 034; | |
| 41 | const int ESCAPE_e = 035; | |
| 42 | const int ESCAPE_PERCENT = 036; | |
| 43 | const int ESCAPE_SPACE = 037; | |
| 44 | ||
| 45 | const int TITLE_REQUEST = 0200; | |
| 46 | const int COPY_FILE_REQUEST = 0201; | |
| 47 | const int TRANSPARENT_FILE_REQUEST = 0202; | |
| 48 | #ifdef COLUMN | |
| 49 | const int VJUSTIFY_REQUEST = 0203; | |
| 50 | #endif /* COLUMN */ | |
| 51 | const int ESCAPE_E = 0204; | |
| 52 | const int LAST_PAGE_EJECTOR = 0205; | |
| 53 | const int ESCAPE_RIGHT_PARENTHESIS = 0206; | |
| 54 | const int ESCAPE_TILDE = 0207; | |
| 55 | const int ESCAPE_COLON = 0210; | |
| 465b256c JR |
56 | const int PUSH_GROFF_MODE = 0211; |
| 57 | const int PUSH_COMP_MODE = 0212; | |
| 58 | const int POP_GROFFCOMP_MODE = 0213; | |
| 59 | const int BEGIN_QUOTE = 0214; | |
| 60 | const int END_QUOTE = 0215; | |
| 4d3e9548 | 61 | const int DOUBLE_QUOTE = 0216; |
| 92d0a6a6 JR |
62 | |
| 63 | #else /* IS_EBCDIC_HOST */ | |
| 64 | ||
| 65 | const int ESCAPE_QUESTION = 010; | |
| 66 | const int BEGIN_TRAP = 011; | |
| 67 | const int END_TRAP = 013; | |
| 68 | const int PAGE_EJECTOR = 015; | |
| 69 | const int ESCAPE_NEWLINE = 016; | |
| 70 | const int ESCAPE_AMPERSAND = 017; | |
| 71 | const int ESCAPE_UNDERSCORE = 020; | |
| 72 | const int ESCAPE_BAR = 021; | |
| 73 | const int ESCAPE_CIRCUMFLEX = 022; | |
| 74 | const int ESCAPE_LEFT_BRACE = 023; | |
| 75 | const int ESCAPE_RIGHT_BRACE = 024; | |
| 76 | const int ESCAPE_LEFT_QUOTE = 027; | |
| 77 | const int ESCAPE_RIGHT_QUOTE = 030; | |
| 78 | const int ESCAPE_HYPHEN = 031; | |
| 79 | const int ESCAPE_BANG = 032; | |
| 80 | const int ESCAPE_c = 033; | |
| 81 | const int ESCAPE_e = 034; | |
| 82 | const int ESCAPE_PERCENT = 035; | |
| 83 | const int ESCAPE_SPACE = 036; | |
| 84 | ||
| 85 | const int TITLE_REQUEST = 060; | |
| 86 | const int COPY_FILE_REQUEST = 061; | |
| 87 | const int TRANSPARENT_FILE_REQUEST = 062; | |
| 88 | #ifdef COLUMN | |
| 89 | const int VJUSTIFY_REQUEST = 063; | |
| 90 | #endif /* COLUMN */ | |
| 91 | const int ESCAPE_E = 064; | |
| 92 | const int LAST_PAGE_EJECTOR = 065; | |
| 93 | const int ESCAPE_RIGHT_PARENTHESIS = 066; | |
| 94 | const int ESCAPE_TILDE = 067; | |
| 95 | const int ESCAPE_COLON = 070; | |
| 465b256c JR |
96 | const int PUSH_GROFF_MODE = 071; |
| 97 | const int PUSH_COMP_MODE = 072; | |
| 98 | const int POP_GROFFCOMP_MODE = 073; | |
| 99 | const int BEGIN_QUOTE = 074; | |
| 100 | const int END_QUOTE = 075; | |
| 4d3e9548 | 101 | const int DOUBLE_QUOTE = 076; |
| 92d0a6a6 JR |
102 | |
| 103 | #endif /* IS_EBCDIC_HOST */ | |
| 465b256c JR |
104 | |
| 105 | extern void do_glyph_color(symbol); | |
| 106 | extern void do_fill_color(symbol); |