175584Sru// -*- C++ -*- 2151497Sru/* Copyright (C) 2001, 2004 Free Software Foundation, Inc. 375584Sru Written by James Clark (jjc@jclark.com) 475584Sru 575584SruThis file is part of groff. 675584Sru 775584Srugroff is free software; you can redistribute it and/or modify it under 875584Sruthe terms of the GNU General Public License as published by the Free 975584SruSoftware Foundation; either version 2, or (at your option) any later 1075584Sruversion. 1175584Sru 1275584Srugroff is distributed in the hope that it will be useful, but WITHOUT ANY 1375584SruWARRANTY; without even the implied warranty of MERCHANTABILITY or 1475584SruFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1575584Srufor more details. 1675584Sru 1775584SruYou should have received a copy of the GNU General Public License along 1875584Sruwith groff; see the file COPYING. If not, write to the Free Software 19151497SruFoundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */ 2075584Sru 2175584Sru 2275584Sru/* special character codes */ 2375584Sru 2475584Sru#ifndef IS_EBCDIC_HOST 2575584Sru 2675584Sruconst int ESCAPE_QUESTION = 015; 2775584Sruconst int BEGIN_TRAP = 016; 2875584Sruconst int END_TRAP = 017; 2975584Sruconst int PAGE_EJECTOR = 020; 3075584Sruconst int ESCAPE_NEWLINE = 021; 3175584Sruconst int ESCAPE_AMPERSAND = 022; 3275584Sruconst int ESCAPE_UNDERSCORE = 023; 3375584Sruconst int ESCAPE_BAR = 024; 3475584Sruconst int ESCAPE_CIRCUMFLEX = 025; 3575584Sruconst int ESCAPE_LEFT_BRACE = 026; 3675584Sruconst int ESCAPE_RIGHT_BRACE = 027; 3775584Sruconst int ESCAPE_LEFT_QUOTE = 030; 3875584Sruconst int ESCAPE_RIGHT_QUOTE = 031; 3975584Sruconst int ESCAPE_HYPHEN = 032; 4075584Sruconst int ESCAPE_BANG = 033; 4175584Sruconst int ESCAPE_c = 034; 4275584Sruconst int ESCAPE_e = 035; 4375584Sruconst int ESCAPE_PERCENT = 036; 4475584Sruconst int ESCAPE_SPACE = 037; 4575584Sru 4675584Sruconst int TITLE_REQUEST = 0200; 4775584Sruconst int COPY_FILE_REQUEST = 0201; 4875584Sruconst int TRANSPARENT_FILE_REQUEST = 0202; 4975584Sru#ifdef COLUMN 5075584Sruconst int VJUSTIFY_REQUEST = 0203; 5175584Sru#endif /* COLUMN */ 5275584Sruconst int ESCAPE_E = 0204; 5375584Sruconst int LAST_PAGE_EJECTOR = 0205; 5475584Sruconst int ESCAPE_RIGHT_PARENTHESIS = 0206; 5575584Sruconst int ESCAPE_TILDE = 0207; 5675584Sruconst int ESCAPE_COLON = 0210; 57151497Sruconst int PUSH_GROFF_MODE = 0211; 58151497Sruconst int PUSH_COMP_MODE = 0212; 59151497Sruconst int POP_GROFFCOMP_MODE = 0213; 60151497Sruconst int BEGIN_QUOTE = 0214; 61151497Sruconst int END_QUOTE = 0215; 6275584Sru 6375584Sru#else /* IS_EBCDIC_HOST */ 6475584Sru 6575584Sruconst int ESCAPE_QUESTION = 010; 6675584Sruconst int BEGIN_TRAP = 011; 6775584Sruconst int END_TRAP = 013; 6875584Sruconst int PAGE_EJECTOR = 015; 6975584Sruconst int ESCAPE_NEWLINE = 016; 7075584Sruconst int ESCAPE_AMPERSAND = 017; 7175584Sruconst int ESCAPE_UNDERSCORE = 020; 7275584Sruconst int ESCAPE_BAR = 021; 7375584Sruconst int ESCAPE_CIRCUMFLEX = 022; 7475584Sruconst int ESCAPE_LEFT_BRACE = 023; 7575584Sruconst int ESCAPE_RIGHT_BRACE = 024; 7675584Sruconst int ESCAPE_LEFT_QUOTE = 027; 7775584Sruconst int ESCAPE_RIGHT_QUOTE = 030; 7875584Sruconst int ESCAPE_HYPHEN = 031; 7975584Sruconst int ESCAPE_BANG = 032; 8075584Sruconst int ESCAPE_c = 033; 8175584Sruconst int ESCAPE_e = 034; 8275584Sruconst int ESCAPE_PERCENT = 035; 8375584Sruconst int ESCAPE_SPACE = 036; 8475584Sru 8575584Sruconst int TITLE_REQUEST = 060; 8675584Sruconst int COPY_FILE_REQUEST = 061; 8775584Sruconst int TRANSPARENT_FILE_REQUEST = 062; 8875584Sru#ifdef COLUMN 8975584Sruconst int VJUSTIFY_REQUEST = 063; 9075584Sru#endif /* COLUMN */ 9175584Sruconst int ESCAPE_E = 064; 9275584Sruconst int LAST_PAGE_EJECTOR = 065; 9375584Sruconst int ESCAPE_RIGHT_PARENTHESIS = 066; 9475584Sruconst int ESCAPE_TILDE = 067; 9575584Sruconst int ESCAPE_COLON = 070; 96151497Sruconst int PUSH_GROFF_MODE = 071; 97151497Sruconst int PUSH_COMP_MODE = 072; 98151497Sruconst int POP_GROFFCOMP_MODE = 073; 99151497Sruconst int BEGIN_QUOTE = 074; 100151497Sruconst int END_QUOTE = 075; 10175584Sru 10275584Sru#endif /* IS_EBCDIC_HOST */ 103151497Sru 104151497Sruextern void do_glyph_color(symbol); 105151497Sruextern void do_fill_color(symbol); 106