1*48526Sbostic /*- 2*48526Sbostic * Copyright (c) 1983 The Regents of the University of California. 3*48526Sbostic * All rights reserved. 4*48526Sbostic * 5*48526Sbostic * %sccs.include.proprietary.c% 6*48526Sbostic */ 7*48526Sbostic 813387Ssam #ifndef lint 9*48526Sbostic static char sccsid[] = "@(#)move.c 4.2 (Berkeley) 04/22/91"; 10*48526Sbostic #endif /* not lint */ 1113387Ssam 1213387Ssam extern vti; 1313387Ssam extern xnow,ynow; 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