xref: /original-bsd/usr.bin/window/tttvi925.c (revision 0a83ae40)
1 #ifndef lint
2 static char sccsid[] = "@(#)tttvi925.c	3.2 04/24/85";
3 #endif
4 
5 /*
6  * Copyright (c) 1983 Regents of the University of California,
7  * All rights reserved.  Redistribution permitted subject to
8  * the terms of the Berkeley Software License Agreement.
9  */
10 
11 #include "ww.h"
12 #include "tt.h"
13 
14 /*
15  * Televideo 925 as emulated by Microterm.
16  *
17  * From David Barto <sdcsvax!celerity!barto>.
18  */
19 
20 #define G (WWM_GRP << WWC_MSHIFT)
21 short tvi925_frame[16] = {
22 	' ',	'~'|G,	'|'|G,	'c'|G,
23 	'~'|G,	'~'|G,	'`'|G,	'e'|G,
24 	'|'|G,	'a'|G,	'|'|G,	'g'|G,
25 	'b'|G,	'f'|G,	'h'|G,	'd'|G
26 };
27 
28 tt_tvi925()
29 {
30 
31 	if (tt_generic() < 0)
32 		return -1;
33 	tt.tt_availmodes |= WWM_GRP;
34 	tt.tt_frame = tvi925_frame;
35 	return 0;
36 }
37