Re: [Mutt] #2952: <BackSpace> should use terminal settings
- To: mutt-dev@xxxxxxxx
- Subject: Re: [Mutt] #2952: <BackSpace> should use terminal settings
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Mon, 10 Sep 2007 09:24:34 -0500
- Cc: fleas@xxxxxxxx
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=H61NFgnQLyVyY7r+4PV91nrhmyo=; b=N2fx8s9sFD3LLHYlv4RqlNQQwN9tEOOL1Esc0Y9aH4siMOij6VRxyuUyklyKWNKqXz3YuGGggoaiFmYJsp2qTAXvQzI4P+kV0d6NKtER+M7GcA+MPfC/n1+el9sLejEvwBNlBsiY99wB6jNBqn+7ohUqT//OH+kap67d4IJzVrI=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=IJkvHzQVmqUDbAPZkcKTaBrVeEjw8dL7umwq0h+xgihIGJ0c/78Nc/lh2lf6G7TvWbSdG+/65G6j1HhWs0JjnPGi66zUWBYBb9lDpMdUy42GBDHm9DtEOptDoo2rM32ou2FNVKboCzrqHhrct8Z/r0iG4fK9qxYpGOymPY3o9sg=; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <051.2f1e2f41a6b68ae10df3eae28eafddb1@xxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx, fleas@xxxxxxxx
- References: <042.223f4e6267fd3bf33c538bdb25d1ef0a@xxxxxxxx> <051.2f1e2f41a6b68ae10df3eae28eafddb1@xxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-09-09)
On Monday, September 10 at 08:19 AM, quoth Mutt:
I forgot to say: AFAIK, Mutt gets the string corresponding to the
BackSpace from the terminfo (via the curses). You should make sure
that these terminfo settings fit your terminal (unfortunately some
default configurations are buggy). }}}
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.
I mean, xterm (and many other fancier terminals) can have the key that
they emit configured dynamically.
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).
~Kyle
--
When ideas fail, words come in very handy.
-- Johann Wolfgang von Goethe