we have to initialize escapec before processing arguments
[unix-history] / usr / src / usr.bin / window / ttf100.c
CommitLineData
6a46c355 1#ifndef lint
7edc52ec 2static char sccsid[] = "@(#)ttf100.c 3.6 %G%";
6a46c355
EW
3#endif
4
5#include "ww.h"
6#include "tt.h"
7
8/*
9 * Freedom 100
10 */
11
a830e8bb
EW
12#define G (WWM_GRP << WWC_MSHIFT)
13short f100_frame[16] = {
14 ' ', 'J'|G, 'K'|G, 'A'|G,
15 'J'|G, 'J'|G, 'B'|G, 'M'|G,
16 'K'|G, 'D'|G, 'K'|G, 'O'|G,
17 'C'|G, 'L'|G, 'N'|G, 'I'|G
6a46c355 18};
f51849a9 19extern char *gen_AE, *gen_AS;
6a46c355
EW
20
21tt_f100()
22{
f51849a9
EW
23 if (tt_generic() < 0)
24 return -1;
6a46c355 25 tt.tt_frame = f100_frame;
a830e8bb 26 tt.tt_availmodes |= WWM_GRP;
f51849a9
EW
27 gen_AS = "\033$";
28 gen_AE = "\033%";
29 return 0;
6a46c355 30}