Sync-to-go: update copyright for 2015
[s-roff.git] / src / troff / input.h
blobeaf3ccc48dfc17d32ca9bb405a20827ca776e785
1 /*@
2 * Copyright (c) 2014 - 2015 Steffen (Daode) Nurpmeso <sdaoden@users.sf.net>.
4 * Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc.
5 * Written by James Clark (jjc@jclark.com)
7 * This 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
10 * version.
12 * This 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.
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, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef _INPUT_H
22 #define _INPUT_H
24 #include "config.h"
25 #include "troff-config.h"
27 /* special character codes */
28 #ifndef IS_EBCDIC_HOST
30 const int ESCAPE_QUESTION = 015;
31 const int BEGIN_TRAP = 016;
32 const int END_TRAP = 017;
33 const int PAGE_EJECTOR = 020;
34 const int ESCAPE_NEWLINE = 021;
35 const int ESCAPE_AMPERSAND = 022;
36 const int ESCAPE_UNDERSCORE = 023;
37 const int ESCAPE_BAR = 024;
38 const int ESCAPE_CIRCUMFLEX = 025;
39 const int ESCAPE_LEFT_BRACE = 026;
40 const int ESCAPE_RIGHT_BRACE = 027;
41 const int ESCAPE_LEFT_QUOTE = 030;
42 const int ESCAPE_RIGHT_QUOTE = 031;
43 const int ESCAPE_HYPHEN = 032;
44 const int ESCAPE_BANG = 033;
45 const int ESCAPE_c = 034;
46 const int ESCAPE_e = 035;
47 const int ESCAPE_PERCENT = 036;
48 const int ESCAPE_SPACE = 037;
50 const int TITLE_REQUEST = 0200;
51 const int COPY_FILE_REQUEST = 0201;
52 const int TRANSPARENT_FILE_REQUEST = 0202;
53 # ifdef COLUMN
54 const int VJUSTIFY_REQUEST = 0203;
55 # endif
56 const int ESCAPE_E = 0204;
57 const int LAST_PAGE_EJECTOR = 0205;
58 const int ESCAPE_RIGHT_PARENTHESIS = 0206;
59 const int ESCAPE_TILDE = 0207;
60 const int ESCAPE_COLON = 0210;
61 const int PUSH_GROFF_MODE = 0211;
62 const int PUSH_COMP_MODE = 0212;
63 const int POP_GROFFCOMP_MODE = 0213;
64 const int BEGIN_QUOTE = 0214;
65 const int END_QUOTE = 0215;
66 const int DOUBLE_QUOTE = 0216;
68 #else /* IS_EBCDIC_HOST */
70 const int ESCAPE_QUESTION = 010;
71 const int BEGIN_TRAP = 011;
72 const int END_TRAP = 013;
73 const int PAGE_EJECTOR = 015;
74 const int ESCAPE_NEWLINE = 016;
75 const int ESCAPE_AMPERSAND = 017;
76 const int ESCAPE_UNDERSCORE = 020;
77 const int ESCAPE_BAR = 021;
78 const int ESCAPE_CIRCUMFLEX = 022;
79 const int ESCAPE_LEFT_BRACE = 023;
80 const int ESCAPE_RIGHT_BRACE = 024;
81 const int ESCAPE_LEFT_QUOTE = 027;
82 const int ESCAPE_RIGHT_QUOTE = 030;
83 const int ESCAPE_HYPHEN = 031;
84 const int ESCAPE_BANG = 032;
85 const int ESCAPE_c = 033;
86 const int ESCAPE_e = 034;
87 const int ESCAPE_PERCENT = 035;
88 const int ESCAPE_SPACE = 036;
90 const int TITLE_REQUEST = 060;
91 const int COPY_FILE_REQUEST = 061;
92 const int TRANSPARENT_FILE_REQUEST = 062;
93 # ifdef COLUMN
94 const int VJUSTIFY_REQUEST = 063;
95 # endif
96 const int ESCAPE_E = 064;
97 const int LAST_PAGE_EJECTOR = 065;
98 const int ESCAPE_RIGHT_PARENTHESIS = 066;
99 const int ESCAPE_TILDE = 067;
100 const int ESCAPE_COLON = 070;
101 const int PUSH_GROFF_MODE = 071;
102 const int PUSH_COMP_MODE = 072;
103 const int POP_GROFFCOMP_MODE = 073;
104 const int BEGIN_QUOTE = 074;
105 const int END_QUOTE = 075;
106 const int DOUBLE_QUOTE = 076;
108 #endif /* IS_EBCDIC_HOST */
110 extern void do_glyph_color(symbol);
111 extern void do_fill_color(symbol);
113 #endif // _INPUT_H
114 // s-it2-mode