On Mon, Jan 21, 2008 at 06:00:33PM +0100, Sam Morris wrote: > Package: screen > Version: 4.0.3-7 > Severity: normal > > When I run screen inside vim, pressing Ctrl+Pgup/dn doesn't change to > the previous/next opened tabs--it just causes vim to beep and corrupt > the area around my cursor. ;) > > BUT--if I set TERM=xterm before launching vim, it works fine. So I guess > screen's terminfo file is wrong...
I usually have $TERM set to "xterm-new", which lets screen find the alias
"screen.xterm-new" (which is in ncurses, taking advantage of screen's
search rules as described in its manpage). If you do
infocmp screen xterm
you'll see the difference. By itself, screen's terminfo entry describes a
more/less generic colorized xterm (and is correct as far as that goes).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
pgpELaFDyr6K1.pgp
Description: PGP signature

