xref: /csrg-svn/lib/libplot/vt0/move.c (revision 13387)
1*13387Ssam #ifndef lint
2*13387Ssam static char sccsid[] = "@(#)move.c	4.1 (Berkeley) 06/27/83";
3*13387Ssam #endif
4*13387Ssam 
5*13387Ssam extern vti;
6*13387Ssam extern xnow,ynow;
7*13387Ssam move(xi,yi){
8*13387Ssam 	struct {char pad,c; int x,y;} p;
9*13387Ssam 	p.c = 9;
10*13387Ssam 	p.x = xnow = xsc(xi);
11*13387Ssam 	p.y = ynow = ysc(yi);
12*13387Ssam 	write(vti,&p.c,5);
13*13387Ssam }
14