2021-10-11 18:37:13 -03:00

25 lines
346 B
C

#ifndef lint
static char sccsid[] = "@(#)open.c 1.1 94/10/31 SMI"; /* from UCB 4.1 6/27/83 */
#endif
int xnow;
int ynow;
float boty = 0.;
float botx = 0.;
float oboty = 0.;
float obotx = 0.;
float scalex = 1.;
float scaley = 1.;
int vti = -1;
openvt ()
{
vti = open("/dev/vt0",1);
return;
}
openpl()
{
vti = open("/dev/vt0",1);
return;
}