|
|
1.1 root 1: /* typewriter driving table structure */
2:
3: #define NROFFCHARS NCHARS /* ought to be dynamic */
4:
5: extern struct t {
6: int bset; /* these bits have to be on */
7: int breset; /* these bits have to be off */
8: int Hor; /* #units in minimum horiz motion */
9: int Vert; /* #units in minimum vert motion */
10: int Newline; /* #units in single line space */
11: int Char; /* #units in character width */
12: int Em; /* ditto */
13: int Halfline; /* half line units */
14: int Adj; /* minimum units for horizontal adjustment */
15: char *twinit; /* initialize terminal */
16: char *twrest; /* reinitialize terminal */
17: char *twnl; /* terminal sequence for newline */
18: char *hlr; /* half-line reverse */
19: char *hlf; /* half-line forward */
20: char *flr; /* full-line reverse */
21: char *bdon; /* turn bold mode on */
22: char *bdoff; /* turn bold mode off */
23: char *iton; /* turn italic mode on */
24: char *itoff; /* turn italic mode off */
25: char *ploton; /* turn plot mode on */
26: char *plotoff; /* turn plot mode off */
27: char *up; /* sequence to move up in plot mode */
28: char *down; /* ditto */
29: char *right; /* ditto */
30: char *left; /* ditto */
31:
32: char *codetab[NROFFCHARS-128];
33: char width[NROFFCHARS];
34: } t;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.