132342Sedward /*
236479Sbostic * Copyright 1987 by David C. Elliott, MIPS Computer Systems.
332342Sedward *
436479Sbostic * Unlimited redistribution allowed as long as this notice
536479Sbostic * is kept intact.
632342Sedward */
732342Sedward
832342Sedward /*
9*62467Sbostic * Copyright (c) 1988, 1993
10*62467Sbostic * The Regents of the University of California. All rights reserved.
1132342Sedward *
1236479Sbostic * This code is derived from software contributed to Berkeley by
1342954Sbostic * David C. Elliott, of MIPS Computer Systems.
1436479Sbostic *
1542835Sbostic * %sccs.include.redist.c%
1632342Sedward */
1732342Sedward
1836479Sbostic #ifndef lint
19*62467Sbostic static char sccsid[] = "@(#)ttwyse75.c 8.1 (Berkeley) 06/06/93";
2036479Sbostic #endif /* not lint */
2136479Sbostic
2236479Sbostic #include "ww.h"
2336479Sbostic #include "tt.h"
2436479Sbostic
2532342Sedward #define G (WWM_GRP << WWC_MSHIFT)
2632342Sedward short wyse75_frame[16] = {
2732342Sedward ' ', 'x'|G, 'q'|G, 'm'|G,
2832342Sedward 'x'|G, 'x'|G, 'l'|G, 't'|G,
2932342Sedward 'q'|G, 'j'|G, 'q'|G, 'v'|G,
3032342Sedward 'k'|G, 'u'|G, 'w'|G, 'v'|G
3132342Sedward };
3232342Sedward
3332342Sedward extern struct tt_str *gen_AS;
3432342Sedward extern struct tt_str *gen_AE;
3532342Sedward
tt_wyse75()3632342Sedward tt_wyse75()
3732342Sedward {
3832342Sedward static struct tt_str ae = { "\033(B", 3 };
3932342Sedward static struct tt_str as = { "\033(0", 3 };
4032342Sedward
4132342Sedward if (tt_generic() < 0)
4232342Sedward return -1;
4332342Sedward tt.tt_availmodes |= WWM_GRP;
4432342Sedward tt.tt_frame = wyse75_frame;
4532342Sedward if (gen_AS == 0)
4632342Sedward gen_AS = &as;
4732342Sedward if (gen_AE == 0)
4832342Sedward gen_AE = &ae;
4932342Sedward return 0;
5032342Sedward }
51