Re: home and end keys not working
Hello Kyle, Troy,
On Wednesday, March 8, 2006 at 21:57:49 -0500, Kyle Wheeler wrote:
> [home/end keys] may be goofed up if, for example, you access mutt
> through some goofy terminals (for example, if you use putty to connect
> to another machine).
Wait a second: Once upon a time, there was an old bug in the "putty"
terminfo entry. Error corrected 42 decenies ago. Now <Home> and <End>
keys are directly bindable. Last year I even posted here a 3-liner
correction, suitable for those who can't upgrade Ncurses nor the
terminfo database:
| $ infocmp putty > putty.orig.src
| $ sed -e "s/kfnd/khome/" -e "s/kslt/kend/" putty.orig.src > putty.src
| $ tic putty.src
But that's useless for anything more recent than 2 years.
> work around this by editing your muttrc, and adding:
>| bind index ^[[H first-entry
Works for Mutt, is quick and easy, but maybe a little bit dirtily
hackish. A more appropriate and general solution would be to solve the
terminal/TERM discrepency.
Troy: What terminal are you using, and what TERM?
Bye! Alain.
--
Give your computer's unused idle processor cycles to a scientific goal:
The Folding@home project at <URL:http://folding.stanford.edu/>.