1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | // -*- C++ -*- /* Copyright (C) 2001, 2004 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) This file is part of groff. groff is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. groff is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with groff; see the file COPYING. If not, write to the Free Software Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */ /* special character codes */ #ifndef IS_EBCDIC_HOST const int ESCAPE_QUESTION = 015; const int BEGIN_TRAP = 016; const int END_TRAP = 017; const int PAGE_EJECTOR = 020; const int ESCAPE_NEWLINE = 021; const int ESCAPE_AMPERSAND = 022; const int ESCAPE_UNDERSCORE = 023; const int ESCAPE_BAR = 024; const int ESCAPE_CIRCUMFLEX = 025; const int ESCAPE_LEFT_BRACE = 026; const int ESCAPE_RIGHT_BRACE = 027; const int ESCAPE_LEFT_QUOTE = 030; const int ESCAPE_RIGHT_QUOTE = 031; const int ESCAPE_HYPHEN = 032; const int ESCAPE_BANG = 033; const int ESCAPE_c = 034; const int ESCAPE_e = 035; const int ESCAPE_PERCENT = 036; const int ESCAPE_SPACE = 037; const int TITLE_REQUEST = 0200; const int COPY_FILE_REQUEST = 0201; const int TRANSPARENT_FILE_REQUEST = 0202; #ifdef COLUMN const int VJUSTIFY_REQUEST = 0203; #endif /* COLUMN */ const int ESCAPE_E = 0204; const int LAST_PAGE_EJECTOR = 0205; const int ESCAPE_RIGHT_PARENTHESIS = 0206; const int ESCAPE_TILDE = 0207; const int ESCAPE_COLON = 0210; const int PUSH_GROFF_MODE = 0211; const int PUSH_COMP_MODE = 0212; const int POP_GROFFCOMP_MODE = 0213; const int BEGIN_QUOTE = 0214; const int END_QUOTE = 0215; #else /* IS_EBCDIC_HOST */ const int ESCAPE_QUESTION = 010; const int BEGIN_TRAP = 011; const int END_TRAP = 013; const int PAGE_EJECTOR = 015; const int ESCAPE_NEWLINE = 016; const int ESCAPE_AMPERSAND = 017; const int ESCAPE_UNDERSCORE = 020; const int ESCAPE_BAR = 021; const int ESCAPE_CIRCUMFLEX = 022; const int ESCAPE_LEFT_BRACE = 023; const int ESCAPE_RIGHT_BRACE = 024; const int ESCAPE_LEFT_QUOTE = 027; const int ESCAPE_RIGHT_QUOTE = 030; const int ESCAPE_HYPHEN = 031; const int ESCAPE_BANG = 032; const int ESCAPE_c = 033; const int ESCAPE_e = 034; const int ESCAPE_PERCENT = 035; const int ESCAPE_SPACE = 036; const int TITLE_REQUEST = 060; const int COPY_FILE_REQUEST = 061; const int TRANSPARENT_FILE_REQUEST = 062; #ifdef COLUMN const int VJUSTIFY_REQUEST = 063; #endif /* COLUMN */ const int ESCAPE_E = 064; const int LAST_PAGE_EJECTOR = 065; const int ESCAPE_RIGHT_PARENTHESIS = 066; const int ESCAPE_TILDE = 067; const int ESCAPE_COLON = 070; const int PUSH_GROFF_MODE = 071; const int PUSH_COMP_MODE = 072; const int POP_GROFFCOMP_MODE = 073; const int BEGIN_QUOTE = 074; const int END_QUOTE = 075; #endif /* IS_EBCDIC_HOST */ extern void do_glyph_color(symbol); extern void do_fill_color(symbol); |