Annotation of 43BSD/usr.lib/lib2648/curon.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[] = "@(#)curon.c    5.1 (Berkeley) 4/26/85";
                      9: #endif not lint
                     10: 
                     11: #include "2648.h"
                     12: 
                     13: curon()
                     14: {
                     15:        if (_cursoron)
                     16:                return;
                     17:        sync();
                     18:        escseq(ESCD);
                     19:        outchar('k');
                     20:        _cursoron = 1;
                     21: }
                     22: 
                     23: curoff()
                     24: {
                     25:        if (!_cursoron)
                     26:                return;
                     27:        sync();
                     28:        escseq(ESCD);
                     29:        outchar('l');
                     30:        _cursoron = 0;
                     31: }

unix.superglobalmegacorp.com

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