[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linux terminfo, non-blinking cursor and (say) vim = bug!

From: Frank Heckenbach
Subject: Re: linux terminfo, non-blinking cursor and (say) vim = bug!
Date: Fri, 2 Feb 2001 01:30:11 +0100

A while ago, Michael Shigorin wrote:

> I was suffering from overclocked cursor @120Hz refresh, so
> the non-blinking cursor was especially delightful. But
> with ncurses 5.0 I was a bit disappointed as some programs
> (say Vim) used to reset the terminal to that ugly nervous
> dash. So I tweaked the terminfo entry a bit, it's attached.
> It would be better for a Real Ncurseman to check it,
> since it was done half an year ago, then went happily
> to backup, and I was forced to remember it only now, having
> updated ncurses again...

That may be due to my changes making cvvis work for Linux, and
unfortunately, your changes undo that.

I suppose you set your non-blinking cursor with something like
echo '\e[?16;0;112c'. Unfortunately, I also have to use an
\E[?...c sequence for cvvis (and, accordingly, another one to reset
it in cnorm which is probably called at the end of vim etc.). I
don't see a way to do the one (setting the cursor size) without the
other (affecting whether "soft cursor" is used) -- at least not from
what I see in /usr/src/linux/Documentation/VGA-softcursor.txt (don't
know about other ways).

So maybe this interface is not optimal and should be changed -- it's
rather new, so that might be possible if one asks the authors listed
in that file...

BTW, your terminfo entry otherwise differs quite a bit from the
current one in terminfo.src. Did you do the modification against an
older version?


Frank Heckenbach, address@hidden
PGP and GPG keys: http://fjf.gnu.de/plan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]