xref: /original-bsd/old/lib2648/video.c (revision aaf2ae56)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  */
6 
7 #ifndef lint
8 static char sccsid[] = "@(#)video.c	5.1 (Berkeley) 04/26/85";
9 #endif not lint
10 
11 #include "2648.h"
12 
vidnorm()13 vidnorm()
14 {
15 	_video = NORMAL;
16 }
17 
vidinv()18 vidinv()
19 {
20 	_video = INVERSE;
21 }
22 
togvid()23 togvid()
24 {
25 	_video = (_video==NORMAL) ? INVERSE : NORMAL;
26 	escseq(ESCM);
27 	outstr("3a1b0 0 719 359e");
28 }
29