|
|
1.1 ! root 1: #ifndef lint ! 2: static char sccsid[] = "@(#)ttwyse60.c 3.1 10/6/87"; ! 3: #endif ! 4: ! 5: #include "ww.h" ! 6: #include "tt.h" ! 7: ! 8: /* ! 9: * Wyse-60 ! 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 wyse60_frame[16] = { ! 23: ' ', '6'|G, ':'|G, '1'|G, ! 24: '6'|G, '6'|G, '2'|G, '4'|G, ! 25: ':'|G, '5'|G, ':'|G, '='|G, ! 26: '3'|G, '9'|G, '0'|G, '0'|G ! 27: }; ! 28: ! 29: extern struct tt_str *gen_AS; ! 30: extern struct tt_str *gen_AE; ! 31: ! 32: tt_wyse60() ! 33: { ! 34: static struct tt_str ae = { "\033H\003", 3 }; ! 35: static struct tt_str as = { "\033H\002", 3 }; ! 36: ! 37: if (tt_generic() < 0) ! 38: return -1; ! 39: tt.tt_availmodes |= WWM_GRP; ! 40: tt.tt_frame = wyse60_frame; ! 41: if (gen_AS == 0) ! 42: gen_AS = &as; ! 43: if (gen_AE == 0) ! 44: gen_AE = &ae; ! 45: return 0; ! 46: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.