xref: /original-bsd/lib/libplot/vt0/open.c (revision 7bf6eeb5)
1 /*-
2  * Copyright (c) 1983, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)open.c	8.1 (Berkeley) 06/04/93";
10 #endif /* not lint */
11 
12 int xnow;
13 int ynow;
14 float boty = 0.;
15 float botx = 0.;
16 float oboty = 0.;
17 float obotx = 0.;
18 float scalex = 1.;
19 float scaley = 1.;
20 int vti = -1;
21 
openvt()22 openvt ()
23 {
24 		vti = open("/dev/vt0",1);
25 		return;
26 }
openpl()27 openpl()
28 {
29 	vti = open("/dev/vt0",1);
30 	return;
31 }
32