Annotation of 42BSD/usr.lib/lib2648/movecurs.c, revision 1.1

1.1     ! root        1: /*     movecurs.c      4.1     83/03/09        */
        !             2: 
        !             3: #include "2648.h"
        !             4: 
        !             5: movecurs(x, y)
        !             6: {
        !             7:        char mes[20];
        !             8: 
        !             9:        if (x==_curx && y==_cury)
        !            10:                return;
        !            11:        sprintf(mes, "%d,%do", x, y);
        !            12:        escseq(ESCD);
        !            13:        outstr(mes);
        !            14:        escseq(NONE);
        !            15:        _curx = x;
        !            16:        _cury = y;
        !            17: }

unix.superglobalmegacorp.com

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