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