screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: home/end keys wren't working in rxvt?


From: Eugeny N Dzhurinsky
Subject: Re: home/end keys wren't working in rxvt?
Date: Wed, 24 Oct 2007 16:26:22 +0300
User-agent: Mutt/1.5.16 (2007-06-09)

On Wed, Oct 24, 2007 at 09:19:51AM -0400, Andy Harrison wrote:
> On 10/24/07, Eugeny N Dzhurinsky  wrote:
> > Hello!
> >
> > I have bash, running in screen, and the terminal used is RXVT. For some 
> > reason
> > home/end keys aren't working in terminal for bash shell prompt, but when I
> > starting bash outside screen (in RXVT) - everything works fine.
> >
> > What could be wrong there and how to fix it?
> 
> Probably typical broken TERMCAP garbage.  I use tcsh and my .tcshrc
> file, I have this line to wipe out the TERMCAP and then everything
> behaves properly for me.
> 
>  if ($term == "screen") then
>     unsetenv TERMCAP
>  endif
> 
> Try duplicating that in bash and it will probably fix the issue.

Well, I had set the term to "rxvt" in .screenrc
however unsetting TERMCAP caused home/end keys to work well in mutt, but not
in shell itself.

I found screen really sets the termcap variable to something strange, so
probably unsetting it is good idea.

-- 
Eugene N Dzhurinsky

Attachment: pgp_pgzXme9xe.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]