xref: /csrg-svn/lib/libplot/vt0/open.c (revision 13388)
1*13388Ssam #ifndef lint
2*13388Ssam static char sccsid[] = "@(#)open.c	4.1 (Berkeley) 06/27/83";
3*13388Ssam #endif
4*13388Ssam 
5*13388Ssam int xnow;
6*13388Ssam int ynow;
7*13388Ssam float boty 0.;
8*13388Ssam float botx 0.;
9*13388Ssam float oboty 0.;
10*13388Ssam float obotx 0.;
11*13388Ssam float scalex 1.;
12*13388Ssam float scaley 1.;
13*13388Ssam int vti -1;
14*13388Ssam 
15*13388Ssam openvt ()
16*13388Ssam {
17*13388Ssam 		vti = open("/dev/vt0",1);
18*13388Ssam 		return;
19*13388Ssam }
20*13388Ssam openpl()
21*13388Ssam {
22*13388Ssam 	vti = open("/dev/vt0",1);
23*13388Ssam 	return;
24*13388Ssam }
25