1 /* 2 * Copyright (c) 1983 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that this notice is preserved and that due credit is given 7 * to the University of California at Berkeley. The name of the University 8 * may not be used to endorse or promote products derived from this 9 * software without specific prior written permission. This software 10 * is provided ``as is'' without express or implied warranty. 11 */ 12 13 #ifndef lint 14 static char sccsid[] = "@(#)tttvi925.c 3.3 (Berkeley) 02/21/88"; 15 #endif /* not lint */ 16 17 #include "ww.h" 18 #include "tt.h" 19 20 /* 21 * Televideo 925 as emulated by Microterm. 22 * 23 * From David Barto <sdcsvax!celerity!barto>. 24 */ 25 26 #define G (WWM_GRP << WWC_MSHIFT) 27 short tvi925_frame[16] = { 28 ' ', '~'|G, '|'|G, 'c'|G, 29 '~'|G, '~'|G, '`'|G, 'e'|G, 30 '|'|G, 'a'|G, '|'|G, 'g'|G, 31 'b'|G, 'f'|G, 'h'|G, 'd'|G 32 }; 33 34 tt_tvi925() 35 { 36 37 if (tt_generic() < 0) 38 return -1; 39 tt.tt_availmodes |= WWM_GRP; 40 tt.tt_frame = tvi925_frame; 41 return 0; 42 } 43