1: #ifndef lint 2: static char sccsid[] = "@(#)open.c 4.1 (Berkeley) 6/27/83"; 3: #endif 4: 5: int xnow; 6: int ynow; 7: float boty 0.; 8: float botx 0.; 9: float oboty 0.; 10: float obotx 0.; 11: float scalex 1.; 12: float scaley 1.; 13: int vti -1; 14: 15: openvt () 16: { 17: vti = open("/dev/vt0",1); 18: return; 19: } 20: openpl() 21: { 22: vti = open("/dev/vt0",1); 23: return; 24: }