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: }

Defined functions

tt_f100 defined in line 27; used 2 times

Defined variables

f100_frame defined in line 19; used 1 times
  • in line 34
sccsid defined in line 2; never used

Defined macros

G defined in line 18; used 15 times
Last modified: 1985-09-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 915
Valid CSS Valid XHTML 1.0 Strict