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