lint
[unix-history] / usr / src / usr.bin / window / tttvi925.c
CommitLineData
60de5df9 1/*
9733c4dd
KB
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
46e9ea25 4 *
3dd3a9e5
KB
5 * This code is derived from software contributed to Berkeley by
6 * David Barto at Celerity Computer Corp.
7 *
87f529ec 8 * %sccs.include.redist.c%
60de5df9
EW
9 */
10
46e9ea25 11#ifndef lint
9733c4dd 12static char sccsid[] = "@(#)tttvi925.c 8.1 (Berkeley) %G%";
46e9ea25
KB
13#endif /* not lint */
14
9e9fa53f
EW
15#include "ww.h"
16#include "tt.h"
17
18/*
19 * Televideo 925 as emulated by Microterm.
9e9fa53f
EW
20 */
21
22#define G (WWM_GRP << WWC_MSHIFT)
23short 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
30tt_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}