Annotation of 43BSD/usr.lib/lib2648/agoto.c, revision 1.1.1.1

1.1       root        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) 4/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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.