-----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-----