[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 08:29:28 -0500

On Wed, Mar 4, 2009 at 3:39 AM, Micah Cowan <address@hidden> wrote:
> Hash: SHA1
> Asif Iqbal wrote:
>> Hi
>> from my screen window I tried to bind the pgup key to scrollback like this
>>   :bindkey -k kP copy
>> After that I hit `pgup' button and I get a `~' instead of expected
>> scollback behavior.
> Most likely the terminfo/termcap description for kP for your terminal is
> wrong.
> Outside of screen:
>  - What is the value of $TERM


>  - What is the output of the "infocmp" command

#       Reconstructed via infocmp from file: /usr/share/lib/terminfo/x/xterm
xterm|vs100|xterm terminal emulator,
        am, km, mir, msgr, xenl,
        cols#80, it#8, lines#65,
        bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J,
        cr=\r, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\b,
        cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
        cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
        dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M,
        ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0,
        home=\E[H, ht=\t, hts=\EH, ich=\E[%p1%d@, ich1=\E[@,
        il=\E[%p1%dL, il1=\E[L, ind=\n, ka1=\EOq, ka3=\EOs,
        kb2=\EOr, kbs=\b, kc1=\EOp, kc3=\EOn, kcub1=\EOD,
        kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM,
        kf0=\E[21~, kf1=\E[11~, kf10=\EOx, kf2=\E[12~,
        kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~,
        kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, rc=\E8, rev=\E[7m,
        ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8,
        rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m,
        rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, rs2=@,
        sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smkx=\E[?1h\E=,
        smso=\E[7m, smul=\E[4m, tbc=\E[3g,

>  - What characters do you see when you run the "cat" command and hit
>    the`pgup' key?


> Inside of screen:

I start my screen as `screen -T vt100' , so $TERM shows `vt100'

>  - Same question about hitting the `pgup' key in the "cat" command.


BTW, I am running Screen version 4.00.03 (FAU) on Opensolaris 2009.06

> - --
> 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 -
> iEYEARECAAYFAkmuPjcACgkQ7M8hyUobTrHzAACeOvO1pbee9cJe6hzpvAQJdy/T
> CXMAnAnAuZAHvTwC8ocuVMS7nU+z3lq/
> =RX9A

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]