Commit | Line | Data |
---|---|---|
60de5df9 | 1 | /* |
a4ba3f14 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 | * Edward Wang at The University of California, Berkeley. | |
7 | * | |
87f529ec | 8 | * %sccs.include.redist.c% |
60de5df9 EW |
9 | */ |
10 | ||
46e9ea25 | 11 | #ifndef lint |
a4ba3f14 | 12 | static char sccsid[] = "@(#)ttf100.c 8.1 (Berkeley) %G%"; |
46e9ea25 KB |
13 | #endif /* not lint */ |
14 | ||
6a46c355 EW |
15 | #include "ww.h" |
16 | #include "tt.h" | |
17 | ||
18 | /* | |
19 | * Freedom 100 | |
20 | */ | |
21 | ||
a830e8bb EW |
22 | #define G (WWM_GRP << WWC_MSHIFT) |
23 | short f100_frame[16] = { | |
24 | ' ', 'J'|G, 'K'|G, 'A'|G, | |
25 | 'J'|G, 'J'|G, 'B'|G, 'M'|G, | |
26 | 'K'|G, 'D'|G, 'K'|G, 'O'|G, | |
27 | 'C'|G, 'L'|G, 'N'|G, 'I'|G | |
6a46c355 | 28 | }; |
e1daf7d6 | 29 | extern struct tt_str *gen_AE, *gen_AS; |
6a46c355 EW |
30 | |
31 | tt_f100() | |
32 | { | |
e1daf7d6 EW |
33 | static struct tt_str ae = { "\033%", 2 }; |
34 | static struct tt_str as = { "\033$", 2 }; | |
35 | ||
f51849a9 EW |
36 | if (tt_generic() < 0) |
37 | return -1; | |
6a46c355 | 38 | tt.tt_frame = f100_frame; |
a830e8bb | 39 | tt.tt_availmodes |= WWM_GRP; |
e1daf7d6 EW |
40 | gen_AS = &as; |
41 | gen_AE = &ae; | |
f51849a9 | 42 | return 0; |
6a46c355 | 43 | } |