Annotation of 43BSDTahoe/ucb/window/ttwyse75.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char sccsid[] = "@(#)ttwyse75.c 3.1 10/6/87";
                      3: #endif
                      4: 
                      5: #include "ww.h"
                      6: #include "tt.h"
                      7: 
                      8: /*
                      9:  * Wyse-75
                     10:  *
                     11:  * Contributed by David Elliott of MIPS (mips!dce).
                     12:  */
                     13: 
                     14: /*
                     15:  * Copyright 1987 by David C. Elliott, MIPS Computer Systems.
                     16:  *
                     17:  * Unlimited redistribution allowed as long as this notice
                     18:  * is kept intact.
                     19:  */
                     20: 
                     21: #define G (WWM_GRP << WWC_MSHIFT)
                     22: short wyse75_frame[16] = {
                     23:        ' ',    'x'|G,  'q'|G,  'm'|G,
                     24:        'x'|G,  'x'|G,  'l'|G,  't'|G,
                     25:        'q'|G,  'j'|G,  'q'|G,  'v'|G,
                     26:        'k'|G,  'u'|G,  'w'|G,  'v'|G
                     27: };
                     28: 
                     29: extern struct tt_str *gen_AS;
                     30: extern struct tt_str *gen_AE;
                     31: 
                     32: tt_wyse75()
                     33: {
                     34:        static struct tt_str ae = { "\033(B", 3 };
                     35:        static struct tt_str as = { "\033(0", 3 };
                     36: 
                     37:        if (tt_generic() < 0)
                     38:                return -1;
                     39:        tt.tt_availmodes |= WWM_GRP;
                     40:        tt.tt_frame = wyse75_frame;
                     41:        if (gen_AS == 0)
                     42:                gen_AS = &as;
                     43:        if (gen_AE == 0)
                     44:                gen_AE = &ae;
                     45:        return 0;
                     46: }

unix.superglobalmegacorp.com

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