<<< Date Index >>>     <<< Thread Index >>>

Re: Binding backspace key while using screen



On Thu, 18 Dec 2003, Jacek Masiulaniec wrote:

> Hello,
>
> I'm having problem using mutt + screen. I don't know whether it is a mutt or
> screen problem, but I decided to ask here.

It's mostly screen.  It translates the backspace key, and that should
be the same as the terminfo description's value for kbs.  See the
value of the $TERMCAP variable (which has a value for kb), and the
terminfo entry (using infocmp).

>
> I've bound a backspace key to a previous-line function in my .muttrc like
> this:
>
> bind pager "<backspace>" previous-line
>
> But, unfortunetaly, it doesn't work. :( Well, it works under a normal
> terminal, but in screen it fails - mutt says that key is not bound. I'm
> using screen 4.0.1, mutt 1.4.1 and ncurses 5.3. All of these are built by
> myself, I'm using some kind of LFS system. Here is the result of 'ldd
> /usr/bin/mutt' (just to avoid confusion):
>
>       libncurses.so.5 => /lib/libncurses.so.5 (0x40019000)
>       libc.so.6 => /lib/libc.so.6 (0x4005a000)
>       libtinfo.so.5 => /usr/lib/libtinfo.so.5 (0x4017d000)
>       libgpm.so.1 => /usr/lib/libgpm.so.1 (0x401a6000)
>       /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Any help would be appreciated,
>
> Regards,
> --
> Jacek Masiulaniec
>

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net