make sure unavailable mode bits are not set,
[unix-history] / usr / src / usr.bin / window / tttvi925.c
CommitLineData
9e9fa53f 1#ifndef lint
60de5df9 2static char sccsid[] = "@(#)tttvi925.c 3.2 %G%";
9e9fa53f
EW
3#endif
4
60de5df9
EW
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
9e9fa53f
EW
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)
21short 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
28tt_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}