screen-users
[Top][All Lists]
Advanced

[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:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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

xterm

>  - 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,
        acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
        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=@,
        sc=\E7,
        
sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t^N%e^O%;,
        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?

^[[5~

>
> 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.

^[[5~

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
> http://micah.cowan.name/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkmuPjcACgkQ7M8hyUobTrHzAACeOvO1pbee9cJe6hzpvAQJdy/T
> CXMAnAnAuZAHvTwC8ocuVMS7nU+z3lq/
> =RX9A
> -----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?




reply via email to

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