|
|
1.1 root 1: /*
2: * Copyright 1987 by David C. Elliott, MIPS Computer Systems.
3: *
4: * Unlimited redistribution allowed as long as this notice
5: * is kept intact.
6: */
7:
8: /*
9: * Copyright (c) 1988 The Regents of the University of California.
10: * All rights reserved.
11: *
12: * This code is derived from software contributed to Berkeley by
13: * David C. Elliott, of MIPS Computer Systems.
14: *
15: * Redistribution and use in source and binary forms are permitted provided
16: * that: (1) source distributions retain this entire copyright notice and
17: * comment, and (2) distributions including binaries display the following
18: * acknowledgement: ``This product includes software developed by the
19: * University of California, Berkeley and its contributors'' in the
20: * documentation or other materials provided with the distribution and in
21: * all advertising materials mentioning features or use of this software.
22: * Neither the name of the University nor the names of its contributors may
23: * be used to endorse or promote products derived from this software without
24: * specific prior written permission.
25: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
26: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
27: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
28: */
29:
30: #ifndef lint
31: static char sccsid[] = "@(#)ttwyse75.c 3.4 (Berkeley) 6/6/90";
32: #endif /* not lint */
33:
34: #include "ww.h"
35: #include "tt.h"
36:
37: #define G (WWM_GRP << WWC_MSHIFT)
38: short wyse75_frame[16] = {
39: ' ', 'x'|G, 'q'|G, 'm'|G,
40: 'x'|G, 'x'|G, 'l'|G, 't'|G,
41: 'q'|G, 'j'|G, 'q'|G, 'v'|G,
42: 'k'|G, 'u'|G, 'w'|G, 'v'|G
43: };
44:
45: extern struct tt_str *gen_AS;
46: extern struct tt_str *gen_AE;
47:
48: tt_wyse75()
49: {
50: static struct tt_str ae = { "\033(B", 3 };
51: static struct tt_str as = { "\033(0", 3 };
52:
53: if (tt_generic() < 0)
54: return -1;
55: tt.tt_availmodes |= WWM_GRP;
56: tt.tt_frame = wyse75_frame;
57: if (gen_AS == 0)
58: gen_AS = &as;
59: if (gen_AE == 0)
60: gen_AE = &ae;
61: return 0;
62: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.