date and time created 83/11/10 14:43:44 by ralph
[unix-history] / usr / src / lib / libplot / vt0 / open.c
CommitLineData
850a1956
SL
1#ifndef lint
2static char sccsid[] = "@(#)open.c 4.1 (Berkeley) %G%";
3#endif
4
5int xnow;
6int ynow;
7float boty 0.;
8float botx 0.;
9float oboty 0.;
10float obotx 0.;
11float scalex 1.;
12float scaley 1.;
13int vti -1;
14
15openvt ()
16{
17 vti = open("/dev/vt0",1);
18 return;
19}
20openpl()
21{
22 vti = open("/dev/vt0",1);
23 return;
24}