On Mon, 09 Jun 2008 21:04:51 +0200
Bram Moolenaar <[EMAIL PROTECTED]> wrote:

> No, because only a few terminals send these codes.  Instead, add the
> entries in the termcap/terminfo.  That might break other programs
> though.  You can also use a Vim script to set them.  Or a shell wrapper
> around Vim.  All that works but isn't nice.

So, do you suggest that screen's termcap/terminfo DBs ought to contain
these items?

> I know the current termcap/terminfo system is outdated and insufficient
> for modern terminal emulaters.  The solution should be changing
> termcap/terminfo into some better library.  The actual escape sequences
> used can remain the same.

And that is exactly what I propose.

My "libtermkey" library already understands the byte sequences that xterm
_already_ throws. I made a whole load of suggestions on how to extend
these byte seq.s to fix a few problems with the current encoding, but
that was more of a side interest... Nothing stops libtermkey from simply
abstracting out what termcap/terminfo already provide. It's an extension
of, not a replacement.

-- 
Paul "LeoNerd" Evans

[EMAIL PROTECTED]
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: PGP signature

Raspunde prin e-mail lui