Dear Sir,
I had modified the terminfo database by copying the existing
ansi terminal type to a new type called "oc". Here I defined the
kpp=\E[5~ and knp=\E[6~and recompiled it.
I verified this with the command "infocmp -I oc" and it reconstructed
the terminfo src for the terminal type "oc" correctly.
However , when I ran "rxvt -tn oc" , and tried to check the page
up and down using "tput kpp" and "tput knp" ; I was getting
back the prompt without any action. Commands like "tput home",
tput kcub1, etc are responding with approppriate repositioning.
How do I check whether kpp and knp is built into the database
correctly? Do I need to do anything else other than modifying the
terminfo database for Solaris 2.5 ?
Thank you
Sankar
_______
> -----Original Message-----
> From: Venkitachalam,Sankar
> Sent: Wednesday, July 05, 2000 7:58 AM
> To: '[EMAIL PROTECTED]'
> Subject: FW: RXVT and page up and down
>
> This is not as such a problem with rxvt, rather -
> Iam trying to find out how to modify the for Page Up and
> Page down on a solaris 2.5 machine running rxvt in the following
> manner:
> rxvt -tn ansi -geometry 80*25+150+150 -fn 10*20 -bg bisque -e telnet
> OS2PCNAME,
> where OS2PCNAME is the name of an OS2 PC running a characted based
> application.
> This command is being run from a solaris machine and it brings up the
> OS2 application window in solaris(2.5) ; but the page up and down
> keys are not working.
>
> Iam trying to find out how to modify the key sequences kpp and knp.
> How can I create a new termincal type which is an
> exact duplicate of the "ansi" type so that other applications
> do not get affected and then modify the page up and down for this new
> type by modifying the terminfo database?
> Is there any better way of doing this ?
> I found that kpp="sequence" and knp="sequence" are
> the names in the terminfo database for page up and down.
>
> I also found that for the default sun-cmd type with scrollable
> history ; the page up and page down is working even without
> kpp and knp being defined in the terminfo database.
> How does that happen?
> A reply will be more than welcome.
>
> Thank you
> Sankar
> ______