|
|
1.1 ! root 1: #ifndef lint ! 2: static char sccsid[] = "@(#)ttf100.c 3.8 9/20/85"; ! 3: #endif ! 4: ! 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: ! 11: #include "ww.h" ! 12: #include "tt.h" ! 13: ! 14: /* ! 15: * Freedom 100 ! 16: */ ! 17: ! 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 ! 24: }; ! 25: extern struct tt_str *gen_AE, *gen_AS; ! 26: ! 27: tt_f100() ! 28: { ! 29: static struct tt_str ae = { "\033%", 2 }; ! 30: static struct tt_str as = { "\033$", 2 }; ! 31: ! 32: if (tt_generic() < 0) ! 33: return -1; ! 34: tt.tt_frame = f100_frame; ! 35: tt.tt_availmodes |= WWM_GRP; ! 36: gen_AS = &as; ! 37: gen_AE = &ae; ! 38: return 0; ! 39: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.