xref: /csrg-svn/lib/libplot/vt0/move.c (revision 61414)
148526Sbostic /*-
2*61414Sbostic  * Copyright (c) 1983, 1993
3*61414Sbostic  *	The Regents of the University of California.  All rights reserved.
448526Sbostic  *
548526Sbostic  * %sccs.include.proprietary.c%
648526Sbostic  */
748526Sbostic 
813387Ssam #ifndef lint
9*61414Sbostic static char sccsid[] = "@(#)move.c	8.1 (Berkeley) 06/04/93";
1048526Sbostic #endif /* not lint */
1113387Ssam 
1213387Ssam extern vti;
1313387Ssam extern xnow,ynow;
move(xi,yi)1413387Ssam move(xi,yi){
1513387Ssam 	struct {char pad,c; int x,y;} p;
1613387Ssam 	p.c = 9;
1713387Ssam 	p.x = xnow = xsc(xi);
1813387Ssam 	p.y = ynow = ysc(yi);
1913387Ssam 	write(vti,&p.c,5);
2013387Ssam }
21