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
pgpLZDSVAvQ4z.pgp
Description: PGP signature
_______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
