xref: /csrg-svn/lib/libplot/vt0/open.c (revision 61414)
148526Sbostic /*-
2*61414Sbostic  * Copyright (c) 1983, 1993
3*61414Sbostic  *	The Regents of the University of California.  All rights reserved.
448526Sbostic  *
548526Sbostic  * %sccs.include.proprietary.c%
648526Sbostic  */
748526Sbostic 
813388Ssam #ifndef lint
9*61414Sbostic static char sccsid[] = "@(#)open.c	8.1 (Berkeley) 06/04/93";
1048526Sbostic #endif /* not lint */
1113388Ssam 
1213388Ssam int xnow;
1313388Ssam int ynow;
1415480Sralph float boty = 0.;
1515480Sralph float botx = 0.;
1615480Sralph float oboty = 0.;
1715480Sralph float obotx = 0.;
1815480Sralph float scalex = 1.;
1915480Sralph float scaley = 1.;
2015480Sralph int vti = -1;
2113388Ssam 
openvt()2213388Ssam openvt ()
2313388Ssam {
2413388Ssam 		vti = open("/dev/vt0",1);
2513388Ssam 		return;
2613388Ssam }
openpl()2713388Ssam openpl()
2813388Ssam {
2913388Ssam 	vti = open("/dev/vt0",1);
3013388Ssam 	return;
3113388Ssam }
32