30 lines
559 B
C
Executable File
30 lines
559 B
C
Executable File
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
#ident "@(#)open.c 1.5 92/07/14 SMI" /* SVr4.0 1.4 */
|
|
|
|
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;
|
|
}
|