xref: /original-bsd/old/lib2648/move.c (revision b35ae1a0)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  */
6 
7 #ifndef lint
8 static char sccsid[] = "@(#)move.c	5.1 (Berkeley) 04/30/85";
9 #endif not lint
10 
11 /*
12  * move to (x, y).  Both the _pen and cursor are supposed to be moved.
13  * We really just remember it for later, in case we move again.
14  */
15 
16 #include "2648.h"
17 
18 move(x, y)
19 {
20 #ifdef TRACE
21 	if (trace)
22 		fprintf(trace, "\tmove(%d, %d), ", x, y);
23 #endif
24 	_supx = x;
25 	_supy = y;
26 }
27