vile
[Top][All Lists]
Advanced

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

Re: [vile] system-mapped-chars


From: Thomas Dickey
Subject: Re: [vile] system-mapped-chars
Date: Tue, 23 Dec 2014 20:16:11 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Dec 23, 2014 at 01:02:23PM -0500, Wayne Cuddy wrote:
> Can system-defined maps be adjusted after compile time? It doesn't
> seem so.

no - it's built-in...

Very briefly, it uses the terminfo/termcap/whatever database for
home/end, and adds in - if asked - the xterm function-keys.

The latter isn't much used (but I should rework it, since I've
incorporated much of that into ncurses as extended capabilities).  My
main use for it is to ensure that special keys come in as a special key
rather than individual bytes.
 
but I digress...

> I've found that HOME/END keypad keys don't always map to #H/#E
> respectively.

That really sounds more like a mismatch between terminal emulator
and terminal database.  (If it's some program setting TERM to "xterm"
but not really xterm, I've been there a lot).

Given some more details, I may be able to offer advice.
 
> I've been able to get around this with additional maps for
> terminal-specific sequences in the vilerc file but it would be nice if
> there was an easy way to add to the system maps.
> 
> Wayne
> 
> _______________________________________________
> vile mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/vile

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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