xref: /csrg-svn/lib/libplot/vt0/open.c (revision 48526)
1*48526Sbostic /*-
2*48526Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*48526Sbostic  * All rights reserved.
4*48526Sbostic  *
5*48526Sbostic  * %sccs.include.proprietary.c%
6*48526Sbostic  */
7*48526Sbostic 
813388Ssam #ifndef lint
9*48526Sbostic static char sccsid[] = "@(#)open.c	4.3 (Berkeley) 04/22/91";
10*48526Sbostic #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 
2213388Ssam openvt ()
2313388Ssam {
2413388Ssam 		vti = open("/dev/vt0",1);
2513388Ssam 		return;
2613388Ssam }
2713388Ssam openpl()
2813388Ssam {
2913388Ssam 	vti = open("/dev/vt0",1);
3013388Ssam 	return;
3113388Ssam }
32