1*13385Ssam #ifndef lint 2*13385Ssam static char sccsid[] = "@(#)line.c 4.1 (Berkeley) 06/27/83"; 3*13385Ssam #endif 4*13385Ssam 5*13385Ssam extern vti; 6*13385Ssam extern xnow,ynow; 7*13385Ssam line(x0,y0,x1,y1){ 8*13385Ssam struct{char x,c; int x0,y0,x1,y1;} p; 9*13385Ssam p.c = 3; 10*13385Ssam p.x0 = xsc(x0); 11*13385Ssam p.y0 = ysc(y0); 12*13385Ssam p.x1 = xnow = xsc(x1); 13*13385Ssam p.y1 = ynow = ysc(y1); 14*13385Ssam write(vti,&p.c,9); 15*13385Ssam } 16*13385Ssam cont(x0,y0){ 17*13385Ssam line(xnow,ynow,xsc(x0),ysc(y0)); 18*13385Ssam return; 19*13385Ssam } 20