On Wed, Mar 4, 2009 at 12:49 PM, Micah Cowan <mi...@cowan.name> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Asif Iqbal wrote: >> On Wed, Mar 4, 2009 at 3:39 AM, Micah Cowan <mi...@cowan.name> wrote: >> - What is the output of the "infocmp" command >> >>> # Reconstructed via infocmp from file: /usr/share/lib/terminfo/x/xterm >>> xterm|vs100|xterm terminal emulator, > > <snip> > > The output didn't include "kpp", which is the terminfo equivalent to > "kP". So screen has no way to know what sequence of characters > represents `pgup'. > > There are a few ways to address this. One would be to use a more > up-to-date terminfo description for xterm; the one that ships with > recent versions of GNU ncurses has kpp, for instance. > > Another method would be to save the "infocmp xterm" output to a file, > add appropriate definitions (... knp=\E[6~, kpp=\E[5~ ...), and then run > the "tic" command on that file (as root if you want it to apply > system-wide). > > Perhaps the easiest way to deal with it (for screen only), is to add the > following line to your ~/.screenrc or /etc/screenrc: > > termcapinfo xterm* kN=\E[6~:kP=\E[5~
I have a line like this termcapinfo xterm* ti@:te@ If I add the other termcapinfo entry that should not overwrite the other, will it? I went ahead and add the new entry anyway, and now pgup scrollback. Thanks a lot > > - -- > Micah J. Cowan > Programmer, musician, typesetting enthusiast, gamer. > Maintainer of GNU Wget and GNU Teseq > http://micah.cowan.name/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAkmuvyYACgkQ7M8hyUobTrESegCeI9VAc0vgQxpd8kKQ/ixew+Uv > PZkAoIMD/iyOOo8dWCFzqGe6UP8rf+ob > =6xbH > -----END PGP SIGNATURE----- > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users