1 #ifndef lint 2 static char sccsid[] = "@(#)ttzentec.c 3.1 08/04/86"; 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 * Zentec 1021 16 * 17 * We let the termcap entry specify how to enter and exit graphics mode, 18 * since it varies with what the terminal is emulating. 19 */ 20 21 #define G (WWM_GRP << WWC_MSHIFT) 22 short zentec_frame[16] = { 23 ' ', 'x'|G, 'q'|G, 'm'|G, 24 'x'|G, 'x'|G, 'l'|G, 't'|G, 25 'q'|G, 'j'|G, 'q'|G, 'v'|G, 26 'k'|G, 'u'|G, 'w'|G, 'n'|G 27 }; 28 29 tt_zentec() 30 { 31 if (tt_generic() < 0) 32 return -1; 33 if (tt.tt_availmodes | WWM_GRP) 34 tt.tt_frame = zentec_frame; 35 return 0; 36 } 37