1 /*- 2 * Copyright (c) 1983 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)open.c 4.3 (Berkeley) 04/22/91"; 10 #endif /* not lint */ 11 12 int xnow; 13 int ynow; 14 float boty = 0.; 15 float botx = 0.; 16 float oboty = 0.; 17 float obotx = 0.; 18 float scalex = 1.; 19 float scaley = 1.; 20 int vti = -1; 21 22 openvt () 23 { 24 vti = open("/dev/vt0",1); 25 return; 26 } 27 openpl() 28 { 29 vti = open("/dev/vt0",1); 30 return; 31 } 32