xref: /original-bsd/lib/libplot/vt0/move.c (revision cde01d6c)
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[] = "@(#)move.c	4.2 (Berkeley) 04/22/91";
10 #endif /* not lint */
11 
12 extern vti;
13 extern xnow,ynow;
14 move(xi,yi){
15 	struct {char pad,c; int x,y;} p;
16 	p.c = 9;
17 	p.x = xnow = xsc(xi);
18 	p.y = ynow = ysc(yi);
19 	write(vti,&p.c,5);
20 }
21