[Top][All Lists]

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

Re: bind pgup key to scrollback

From: Asif Iqbal
Subject: Re: bind pgup key to scrollback
Date: Wed, 4 Mar 2009 13:38:18 -0500

On Wed, Mar 4, 2009 at 12:49 PM, Micah Cowan <address@hidden> wrote:
> Hash: SHA1
> Asif Iqbal wrote:
>> On Wed, Mar 4, 2009 at 3:39 AM, Micah Cowan <address@hidden> 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
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> iEYEARECAAYFAkmuvyYACgkQ7M8hyUobTrESegCeI9VAc0vgQxpd8kKQ/ixew+Uv
> PZkAoIMD/iyOOo8dWCFzqGe6UP8rf+ob
> =6xbH

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

reply via email to

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