Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hiding the cursor

0 views
Skip to first unread message

Andy

unread,
Nov 9, 1993, 9:57:40 AM11/9/93
to
Hello,

I am making a menu program using curses. The trouble is I
can't find how to acutally "hide" the cursor. So you see this box sitting
there when I run my menu screen. Any ideas?

Andy Niksch
nik...@expert.cc.purdue.edu


Jerry Sievers

unread,
Nov 13, 1993, 1:24:25 PM11/13/93
to
i think i know what you mean... you should check the curs_set(visibility)
routine i your implementation has it.

with visibility being...

0 = cursor cant be seen
1 = cursor normal (like just a blinking _ )
2 = cursor is a blinking [BOX] or whatever

remember that.....

1) your terminal must be able to have the cursor turned off & on
(at least off & on for visibility = 0 or 1)
2) the terminfo file for same terminal must be set such that curses
"knows" what the control strings are.

the terminfo file on my system for vt100 did not have cursor visibility
configured even tho my terminal can do several cursor tricks including
turning the blink on or off.

ps. i once gave advise to some other at purdue... name jason schlachet
or something like that... if you know him... please say HELLO for me!


LATER
0 new messages