hide cursor in the curses?

Nicole Delbecque & Paul Bijnens FFAAC09 at cc1.kuleuven.ac.be
Tue Apr 23 21:38:37 AEST 1991


In article <1991Apr23.011203.4813 at cbnewsk.att.com>, jfv at cbnewsk.att.com (j.f.van
valkenburg) says:
>
>In article <3104 at sparko.gwu.edu>, srcan at seas.gwu.edu (Srcan Osmanagich)
>writes:
>> Is there any routine in the curses library that will 'hide' text cursor.
>>
>
>The attron,attroff, and attrset can use the attribute A_BLANK which
>will blank out the cursor.
>
>I think this is what you were asking about.

I think he asked for the function curs_set()
    curs_set(0)  is cursor invisible,
    curs_set(1)  is cursor normal,
    curs_set(2)  is cursor very visible.
However, this function is (as far as I know) only available
in the curses-package in Unix V.3 (ans SunOS S5-curses).
The function is absent in V.2-curses or BSD-curses.
And... many terminals cannot make their cursor invisible (insufficient
hardware support);
and... many terminfo-databases, as delivered don't include the
control sequences (terminfo: civis, cnorm, cvvis; termcap: vi, ve, vs),
so you may have to add them to your terminfo/termcap database.
--
Polleke   (Paul Bijnens)
Linguistics dept., K. University Leuven, Belgium
FFAAC09 at cc1.kuleuven.ac.be



More information about the Comp.unix.questions mailing list