Commit | Line | Data |
---|---|---|
6a46c355 | 1 | #ifndef lint |
e1daf7d6 | 2 | static char sccsid[] = "@(#)ttf100.c 3.8 %G%"; |
6a46c355 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 | ||
6a46c355 EW |
11 | #include "ww.h" |
12 | #include "tt.h" | |
13 | ||
14 | /* | |
15 | * Freedom 100 | |
16 | */ | |
17 | ||
a830e8bb EW |
18 | #define G (WWM_GRP << WWC_MSHIFT) |
19 | short f100_frame[16] = { | |
20 | ' ', 'J'|G, 'K'|G, 'A'|G, | |
21 | 'J'|G, 'J'|G, 'B'|G, 'M'|G, | |
22 | 'K'|G, 'D'|G, 'K'|G, 'O'|G, | |
23 | 'C'|G, 'L'|G, 'N'|G, 'I'|G | |
6a46c355 | 24 | }; |
e1daf7d6 | 25 | extern struct tt_str *gen_AE, *gen_AS; |
6a46c355 EW |
26 | |
27 | tt_f100() | |
28 | { | |
e1daf7d6 EW |
29 | static struct tt_str ae = { "\033%", 2 }; |
30 | static struct tt_str as = { "\033$", 2 }; | |
31 | ||
f51849a9 EW |
32 | if (tt_generic() < 0) |
33 | return -1; | |
6a46c355 | 34 | tt.tt_frame = f100_frame; |
a830e8bb | 35 | tt.tt_availmodes |= WWM_GRP; |
e1daf7d6 EW |
36 | gen_AS = &as; |
37 | gen_AE = &ae; | |
f51849a9 | 38 | return 0; |
6a46c355 | 39 | } |