Annotation of 43BSD/usr.bin/nroff/term/tabnec12.c, revision 1.1.1.1

1.1       root        1: /*     tabnec12.c      4.2     85/02/14        */
                      2: #define INCH 240
                      3: /*
                      4:  * NEC Spinwriter 5500 or 7700 12 Pitch
                      5:  * nroff driving table
                      6:  * Courier - 72/Manifold thimble
                      7:  * by Skip Walker, ucbvax!c:bodega, 21nov82
                      8:  */
                      9: struct {
                     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*/     0,
                     38: /*Hor*/                INCH/120,
                     39: /*Vert*/       INCH/48,
                     40: /*Newline*/    INCH/6,
                     41: /*Char*/       INCH/12,
                     42: /*Em*/         INCH/12,
                     43: /*Halfline*/   INCH/12,
                     44: /*Adj*/                INCH/12,
                     45: /*twinit*/     "",
                     46: /*twrest*/     "",
                     47: /*twnl*/       "\n",
                     48: /*hlr*/                "\033]S\0339\033]W",
                     49: /*hlf*/                "\033]S\033ZA\033]W",
                     50: /*flr*/                "\0339",
                     51: /*bdon*/       "\033+",
                     52: /*bdoff*/      "\033,",
                     53: /*ploton*/     "\033]A\033]P",
                     54: /*plotoff*/    "\033]J\033]W",
                     55: /*up*/         "\0339",
                     56: /*down*/       "\033ZA",
                     57: /*right*/      " ",
                     58: /*left*/       "\b",
                     59: /*codetab*/
                     60: #include "code.nec"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.