date and time created 83/08/05 13:35:44 by sam
[unix-history] / usr / src / old / roff / nroff_term / tabxerox.c
CommitLineData
876aeca9
SL
1/* tabxerox.c 4.1 83/08/05 */
2#define INCH 240
3/*
4 * XEROX 17x0 or DIABLO 16x0 10 pitch
5 * nroff driving table
6 * Titan 10 metal printwheel
7 * by Bill Tuthill, ucbvax!g:tut, 15dec82
8 */
9struct {
10 int bset;
11 int breset;
12 int Hor;
13 int Vert;
14 int Newline;
15 int Char;
16 int Em;
17 int Halfline;
18 int Adj;
19 char *twinit;
20 char *twrest;
21 char *twnl;
22 char *hlr;
23 char *hlf;
24 char *flr;
25 char *bdon;
26 char *bdoff;
27 char *ploton;
28 char *plotoff;
29 char *up;
30 char *down;
31 char *right;
32 char *left;
33 char *codetab[256-32];
34 int zzz;
35 } t = {
36/*bset*/ 0,
37/*breset*/ 0177420,
38/*Hor*/ INCH/60,
39/*Vert*/ INCH/48,
40/*Newline*/ INCH/6,
41/*Char*/ INCH/10,
42/*Em*/ INCH/10,
43/*Halfline*/ INCH/12,
44/*Adj*/ INCH/10,
45/*twinit*/ "\0334",
46/*twrest*/ "\0334",
47/*twnl*/ "\r\n",
48/*hlr*/ "\033D",
49/*hlf*/ "\033U",
50/*flr*/ "\033\n",
51/*bdon*/ "\033W",
52/*bdoff*/ "\033&",
53/*ploton*/ "\0333",
54/*plotoff*/ "\0334",
55/*up*/ "\033\n",
56/*down*/ "\n",
57/*right*/ " ",
58/*left*/ "\b",
59/*codetab*/
60#include "code.xerox"