xref: /csrg-svn/lib/libplot/vt0/open.c (revision 15480)
113388Ssam #ifndef lint
2*15480Sralph static char sccsid[] = "@(#)open.c	4.2 (Berkeley) 11/10/83";
313388Ssam #endif
413388Ssam 
513388Ssam int xnow;
613388Ssam int ynow;
7*15480Sralph float boty = 0.;
8*15480Sralph float botx = 0.;
9*15480Sralph float oboty = 0.;
10*15480Sralph float obotx = 0.;
11*15480Sralph float scalex = 1.;
12*15480Sralph float scaley = 1.;
13*15480Sralph int vti = -1;
1413388Ssam 
1513388Ssam openvt ()
1613388Ssam {
1713388Ssam 		vti = open("/dev/vt0",1);
1813388Ssam 		return;
1913388Ssam }
2013388Ssam openpl()
2113388Ssam {
2213388Ssam 	vti = open("/dev/vt0",1);
2313388Ssam 	return;
2413388Ssam }
25