Re: [Mutt] #2952: <BackSpace> should use terminal settings
#2952: <BackSpace> should use terminal settings
Comment (by Vincent Lefevre):
{{{
On 2007-09-10 09:24:34 -0500, Kyle Wheeler wrote:
> Ahh, I understand. So, in other words, mutt ignores what the
> terminal is *actually* emitting (which it could find out) and
> assumes that it has not been configured in a non-default way.
Conversely, you can't be sure that what the user (or something else)
has configured for erase is really the backspace key.
> I mean, xterm (and many other fancier terminals) can have the key
> that they emit configured dynamically.
xterm can change other keys dynamically. The only way to get all these
right is to change the value of $TERM.
> This still seems like a bug to me: mutt should be doing something
> more useful than asking terminfo what the default backspace
> character for the $TERM is. Besides the fact that it can be
> configured to be non-default, as you say, some of these terminal
> definitions are a little buggy. There is a more reliable way to do
> it, so mutt should use that (imho).
I don't think this is really a bug (for the above reasons). But if
this is possible, Mutt should probably add an option allowing the
user to choose the erase character for backspace.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2952#comment:>