xref: /csrg-svn/old/lib2648/curon.c (revision 18806)
1*18806Sdist /*
2*18806Sdist  * Copyright (c) 1980 Regents of the University of California.
3*18806Sdist  * All rights reserved.  The Berkeley software License Agreement
4*18806Sdist  * specifies the terms and conditions for redistribution.
5*18806Sdist  */
611466Sralph 
7*18806Sdist #ifndef lint
8*18806Sdist static char sccsid[] = "@(#)curon.c	5.1 (Berkeley) 04/26/85";
9*18806Sdist #endif not lint
10*18806Sdist 
1111466Sralph #include "2648.h"
1211466Sralph 
curon()1311466Sralph curon()
1411466Sralph {
1511466Sralph 	if (_cursoron)
1611466Sralph 		return;
1711466Sralph 	sync();
1811466Sralph 	escseq(ESCD);
1911466Sralph 	outchar('k');
2011466Sralph 	_cursoron = 1;
2111466Sralph }
2211466Sralph 
curoff()2311466Sralph curoff()
2411466Sralph {
2511466Sralph 	if (!_cursoron)
2611466Sralph 		return;
2711466Sralph 	sync();
2811466Sralph 	escseq(ESCD);
2911466Sralph 	outchar('l');
3011466Sralph 	_cursoron = 0;
3111466Sralph }
32