1*fd8fb1e9Sdist /* 2*fd8fb1e9Sdist * Copyright (c) 1980 Regents of the University of California. 3*fd8fb1e9Sdist * All rights reserved. The Berkeley software License Agreement 4*fd8fb1e9Sdist * specifies the terms and conditions for redistribution. 5*fd8fb1e9Sdist */ 6*fd8fb1e9Sdist 7*fd8fb1e9Sdist #ifndef lint 8*fd8fb1e9Sdist static char sccsid[] = "@(#)curon.c 5.1 (Berkeley) 04/26/85"; 9*fd8fb1e9Sdist #endif not lint 107924aa29Sralph 117924aa29Sralph #include "2648.h" 127924aa29Sralph curon()137924aa29Sralphcuron() 147924aa29Sralph { 157924aa29Sralph if (_cursoron) 167924aa29Sralph return; 177924aa29Sralph sync(); 187924aa29Sralph escseq(ESCD); 197924aa29Sralph outchar('k'); 207924aa29Sralph _cursoron = 1; 217924aa29Sralph } 227924aa29Sralph curoff()237924aa29Sralphcuroff() 247924aa29Sralph { 257924aa29Sralph if (!_cursoron) 267924aa29Sralph return; 277924aa29Sralph sync(); 287924aa29Sralph escseq(ESCD); 297924aa29Sralph outchar('l'); 307924aa29Sralph _cursoron = 0; 317924aa29Sralph } 32