Annotation of 43BSDReno/old/lib2648/movecurs.c, revision 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[] = "@(#)movecurs.c 5.1 (Berkeley) 4/26/85";
        !             9: #endif not lint
        !            10: 
        !            11: #include "2648.h"
        !            12: 
        !            13: movecurs(x, y)
        !            14: {
        !            15:        char mes[20];
        !            16: 
        !            17:        if (x==_curx && y==_cury)
        !            18:                return;
        !            19:        sprintf(mes, "%d,%do", x, y);
        !            20:        escseq(ESCD);
        !            21:        outstr(mes);
        !            22:        escseq(NONE);
        !            23:        _curx = x;
        !            24:        _cury = y;
        !            25: }

unix.superglobalmegacorp.com

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