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

1.1       root        1: /*     agoto.c 4.1     83/03/09        */
                      2: /*
                      3:  * position the alphanumeric cursor to (x, y).
                      4:  */
                      5: 
                      6: #include "2648.h"
                      7: 
                      8: agoto(x, y)
                      9: int x, y;
                     10: {
                     11:        char mes[20];
                     12:        sprintf(mes, "\33*dE\33&a%dr%dC", x, y);
                     13:        outstr(mes);
                     14: }
                     15: 
                     16: /*
                     17:  * lower left corner of screen.
                     18:  */
                     19: lowleft()
                     20: {
                     21:        outstr("\33F");
                     22: }

unix.superglobalmegacorp.com

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