Backspace in the pager revisited

2001-11-17 Thread Sean LeBlanc

I've had some difficulties with this backspace. :) Originally, it worked once I
set TERM to vt320. Then I wanted color, and this hosed things up again. Right
now I have go back one line in the page mapped to the right square bracket.
when I put 
bind pager backspace previous-line

in .muttrc, it doesn't seem to work as expected. 
For the record, my method of logging in is via Putty.
Backspace is set to ^? (127) in Putty. Term is xterm-color.

If I set backspace to ^H, things work in the pager, but little else.
Apparently, this is not a good idea to set backspace to ^H...nearly all
apps seem to resist this, and need special setup, most notably Emacs and vim.

Cheers, and TIA,

-- 
-
Sean LeBlanc, [EMAIL PROTECTED]
End corporate welfare. Repeal the H1-B program now: http://www.zazona.com/ShameH1B/
Auctioning many Linux, Java, NT, SilverStream books: 
http://cgi6.ebay.com/aw-cgi/eBayISAPI.dll?MfcISAPICommand=ViewListedItemsuserid=tparkin
IM me: Yahoo: seanleblancathome ICQ: 138565743 MSN: seanleblancathome AIM: 
sleblancathome 




Re: Backspace in the pager revisited

2001-11-17 Thread Thomas Dickey

On Sat, Nov 17, 2001 at 04:10:34PM -0700, Sean LeBlanc wrote:
 I've had some difficulties with this backspace. :) Originally, it worked once I
 set TERM to vt320. Then I wanted color, and this hosed things up again. Right
 now I have go back one line in the page mapped to the right square bracket.
 when I put 
 bind pager backspace previous-line
 
 in .muttrc, it doesn't seem to work as expected. 
 For the record, my method of logging in is via Putty.
 Backspace is set to ^? (127) in Putty. Term is xterm-color.
 
 If I set backspace to ^H, things work in the pager, but little else.
 Apparently, this is not a good idea to set backspace to ^H...nearly all
 apps seem to resist this, and need special setup, most notably Emacs and vim.
 
 Cheers, and TIA,

I'm putting together a terminfo for PuTTY (which it turns out, is not
vt100-compatible after all).  It'll be in

ftp://invisible-island.net/ncurses/terminfo.src.gz

when I'm done for tonight...

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net