xref: /original-bsd/old/lib2648/agoto.c (revision aba77441)
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[] = "@(#)agoto.c	5.1 (Berkeley) 04/26/85";
9 #endif not lint
10 
11 /*
12  * position the alphanumeric cursor to (x, y).
13  */
14 
15 #include "2648.h"
16 
17 agoto(x, y)
18 int x, y;
19 {
20 	char mes[20];
21 	sprintf(mes, "\33*dE\33&a%dr%dC", x, y);
22 	outstr(mes);
23 }
24 
25 /*
26  * lower left corner of screen.
27  */
28 lowleft()
29 {
30 	outstr("\33F");
31 }
32