Re: Backspace key
- To: mutt-users@xxxxxxxx
- Subject: Re: Backspace key
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Thu, 7 Jun 2007 12:14:42 -0600
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:comment:domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=Fz5fhEWANu/II+2A+WpV5gT+qZ0=; b=AveHhoCHiW/iKez/YgVgQooNsUvkQ7ND+Tdw1qVicX9W97eLxpmCKiakjTKWm9Xh8VW3kiXQLRmKJtqjlBLTkow6NzvEpP98EFOwWGZL5GSjzXpqjaMb7w8GB/kDN526pcctIn+lF+n4Mp0jcM/CEFGX0f4/2hp83Iz0BxIITLs=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=BQ1LrgLQ5IjQx9daQgkUr5D68dquADsT23BvsJKk43H8Xka6DASJq6jx7jiqUr7sYibqHXU+0cSb5ZCDj+jC0/6eejDklLM5dXcL1h4ZZ/MhpBA9lLJ/5FrrmaLI7Mevs+9m2XnlzvU7QF+NNNCBNA9AvNLftVCY2DPfRClgJpY= ;
- In-reply-to: <20070607173302.GA18033@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20070607173302.GA18033@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.15cvs (2007-05-20)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday, June 7 at 06:33 PM, quoth Adam Gray:
>The backspace key does not seem to be working anywhere in mutt. This
>is particularly annoying (as you can probably imagine) in places like
>the compose address and search fields.
>
>However, the key works fine in Vim and in xterm. It also works fine when
>I'm not using X, which suggests it's an X thing. There is, however,
>a similar problem in aptitude (using Debian here).
>
>Any help would be appreciated.
I suspect this is because you are using the wrong keymap. I'm rather
surprised it works in vim, but I know bash jumps through a lot of ugly
hoops to behave reasonably under such conditions. I don't know how to
fix such a thing permanently (it usually happens for me when I'm
logged into a system remotely), but the temporary fix is to explicitly
define what backspace should be, using the `stty` command. What you
need to do is type in:
stty erase
... with an extra space at the en (after the word 'erase') and then
press control-v and then press the backspace key. That will put up
whatever control-character your backspace key is emitting (it'll
probably look either like this: ^? or like this: ^H ). The command
line will end up looking kinda like this:
stty erase ^?
Don't just type in a carot (^) and a question mark (?) though, because
that's not the same thing. Anyway, hit enter, and presto: your
backspace key will work as expected in all programs running in that
particular terminal.
~Kyle
- --
I'm sick of following my dreams. I'm just going to ask them where
they're going and hook up with them later.
-- Mitch Hedberg
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFGaEsSBkIOoMqOI14RAiL9AJ9reMEOC6zlT3wPTDxoopAMdvaCbwCgmEBf
eYSw7e9FCbfaRhE3Rk3mJXU=
=Pepm
-----END PGP SIGNATURE-----