Subject: Redefining Keys?

From: Yvan Guillemain <[email-masked]>
Date: Wed, 11 Sep 1996 12:44:16 +0200

Hello everyone,

I am using pine in an unix environment.
I would like to have for example the "Page down" and "Page Up" keys to 
act as "+" and "-" (when reading mail), i.e scroll down/up.
Is there anyway I can do this?

Thank you, \yvan

PS: Reply to myself ([email-masked]) as well as to the newsgroup,
please.

---

From: [email-masked] (Orjan Johansen)
Date: 12 Sep 1996 00:08:32 GMT

In article <[email-masked]>,
>Is there anyway I can do this?

Not from within pine, but since you appear to be using X:
If you are starting pine with the command

xterm -e pine &

you might be able to define X resources specifically for the pine
window. The syntax appears to be something like (In your X resource
file, which on my account is .Xdefaults)

pine*Translations: <Key>Down: string("+") \n <KEY>Up: string("-")

I have not tested it though, so if it doesn't quite work check out the
xterm and xmodmap manual pages. You can also use xmodmap by itself to
do key remappings.

Greetings,
Ørjan.