Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!hp4nl!spcc386!stefan From: stefan@spcc386.UUCP (Stefan Posthuma) Newsgroups: comp.unix.xenix Subject: Terminfo question Message-ID: <255@spcc386.UUCP> Date: 28 Jun 89 11:20:18 GMT Reply-To: stefan@spcc386.UUCP (Stefan Posthuma) Organization: SPC Company, Heeswijk-Dinther, the Netherlands Lines: 25 On Xenix 386 (2.3.1), I am writing a screen-oriented program. Now I want to get rid of the cursor on the screen. Since all terminals we use can do this, I added the 'civis' and the 'cnormal' descriptions to the terminfo database entries. So 'tput civis' and 'tput cnormal' work perfectly well. But now I want to use these capabilities in my program. I haven't found any standard Terminfo routines to do this, and I don't know how to read the Terminfo database directly without a lot of trouble. Right now I use 'system("tput civis")' calls to control the cursor, but I don't like the extra processes and the time it takes. Any suggestions? -------------------------------------------------------------------------------- "Oh my God, it is the attack of the Half-Crazed Mutant Teenage Alien Computer Junkies!!" +------------------------------------ "Relax! It are just some SPCC employees" | uunet!mcvax!spcc386!stefan -------------------------------------------+ Anything I said has been used against me.