Annotation of 42BSD/usr.bin/nroff/term/tabx-ecs.c, revision 1.1.1.1

1.1       root        1: /*     tabx-ecs.c      4.1     83/08/05        */
                      2: #define INCH 240
                      3: /*
                      4:  * DIABLO 630 10 pitch ECS
                      5:  * nroff driving table (extended character set)
                      6:  * not tested with any wheel
                      7:  * by Bill Tuthill, ucbvax!g:tut, 15dec82
                      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*/     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.x-ecs"

unix.superglobalmegacorp.com

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