slang-users mailing list

[1999 Date Index] [1999 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: How to Hide the cursor from screen with SLsmg functions....


On Wed, Dec 15 1999, John E. Davis wrote:

Hi,

> Vanishree Sabapathi <Vanishrees@xxxxxxx> wrote:
> >The subject title covers my question... it would be helpful if someone could
> >shed some light on it...
> 
> Use the SLtt_set_cursor_visibility function, e.g.,
> 
>    void cursor_on ()
>    {
>       (void) SLtt_set_cursor_visibility (1);
>       SLtt_flush_output ();
>    }
>    void cursor_off ()
>    {
>       (void) SLtt_set_cursor_visibility (0);
>       SLtt_flush_output ();
>    }
> 
> Keep in mind that not all terminals have this capability, and the
> SLtt_set_cursor_visibility has no effect on DOS/Windows/OS2 systems.
> I never found time to look into how to do this on those systems.

I didn't look into DOS code for slang, but I use the following :

http://d1.ifmo.ru/library/dosint/10/01.HTM

I hope it will help you...

Goran

> 
> --John

--

Writing about music is like dancing about architecture.
    -- Frank Zappa 


[1999 date index] [1999 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]