date and time created 83/06/27 14:26:17 by sam
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 28 Jun 1983 05:26:17 +0000 (21:26 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Tue, 28 Jun 1983 05:26:17 +0000 (21:26 -0800)
SCCS-vsn: lib/libplot/vt0/move.c 4.1

usr/src/lib/libplot/vt0/move.c [new file with mode: 0644]

diff --git a/usr/src/lib/libplot/vt0/move.c b/usr/src/lib/libplot/vt0/move.c
new file mode 100644 (file)
index 0000000..37de165
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef lint
+static char sccsid[] = "@(#)move.c     4.1 (Berkeley) %G%";
+#endif
+
+extern vti;
+extern xnow,ynow;
+move(xi,yi){
+       struct {char pad,c; int x,y;} p;
+       p.c = 9;
+       p.x = xnow = xsc(xi);
+       p.y = ynow = ysc(yi);
+       write(vti,&p.c,5);
+}