xref: /original-bsd/old/lib2648/set.c (revision 40192f2d)
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[] = "@(#)set.c	5.1 (Berkeley) 04/26/85";
9 #endif not lint
10 
11 /*
12  * Routines to set line type.
13  */
14 
15 #include "2648.h"
16 
17 setxor()
18 {
19 	_supsmode = MX;
20 }
21 
22 setclear()
23 {
24 	_supsmode = _video==INVERSE ? MS : MC;
25 }
26 
27 setset()
28 {
29 	_supsmode = _video==INVERSE ? MC : MS;
30 }
31