1 /*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * David Barto at Celerity Computer Corp.
7 *
8 * %sccs.include.redist.c%
9 */
10
11 #ifndef lint
12 static char sccsid[] = "@(#)tttvi925.c 8.1 (Berkeley) 06/06/93";
13 #endif /* not lint */
14
15 #include "ww.h"
16 #include "tt.h"
17
18 /*
19 * Televideo 925 as emulated by Microterm.
20 */
21
22 #define G (WWM_GRP << WWC_MSHIFT)
23 short tvi925_frame[16] = {
24 ' ', '~'|G, '|'|G, 'c'|G,
25 '~'|G, '~'|G, '`'|G, 'e'|G,
26 '|'|G, 'a'|G, '|'|G, 'g'|G,
27 'b'|G, 'f'|G, 'h'|G, 'd'|G
28 };
29
tt_tvi925()30 tt_tvi925()
31 {
32
33 if (tt_generic() < 0)
34 return -1;
35 tt.tt_availmodes |= WWM_GRP;
36 tt.tt_frame = tvi925_frame;
37 return 0;
38 }
39