Terminfo question
Stefan Posthuma
stefan at spcc386.UUCP
Wed Jun 28 21:20:18 AEST 1989
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.
More information about the Comp.unix.xenix
mailing list