Subject: How to use PageDown/PageUp in xterm

From: [email-masked] (Roland Rosenfeld)
Date: 15 May 1996 21:50:17 +0200

Hi!

I wonder wheather it is possible to use the PageUp (Prior) and
PageDown (Next) keys with pine in a xterm.

On my linux console it is no problem to use these keys and other
programs (e.g. tin) can use the keys in a xterm without problems, but
pine doen't :-(
I have the same problems with my old XT connected to the linux box
with ethernet and ncsa telnet.

PgUp sends ESC[5~ PgDown sends ESC[6~

So I get only get the message "Command "~" not defined for this screen."

How can I get these keys working?

I use Linux with XFree86 3.1.2D (X11R6.1) and its xterm (since 3.1.2D
color version, but the problem appeared in older versions too).

pine 3.93, but 3.92 and 3.91 also had this problem.

Ciao

        Roland

-- 
  * Internet: [email-masked] * Fido: 2:2450/30.1 *

---

From: Richard Gering <[email-masked]>
Date: Fri, 17 May 1996 14:53:52 +0200 (WST)

> PgUp sends ESC[5~ PgDown sends ESC[6~

Hello Roland.

Providing you are using Pine 3.92 or up, your problem is most likely
related to an incomplete termcap entry (yes Steve, you're right :-) 

I've just checked my own Linux /etc/termcap and found it to contain two
xterm entries, with an incomplete one coming first (and thus winning). 

Search for the first |xterm| entry and make sure the following fields are
included:

  :kP=\E[5~:kN=\E[6~:

Should your system be configured to use terminfo instead of termcap, make
sure the following fields are included to the source for xterm:

  kpp=\E[5~, knp=\E[6~,

If they're not, add them and recompile the entry by running "tic <file>".

Should you require any assistance, don't hesitate to ask.

Best regards,

- Richard Gering.

+-----------------------------------------------------------------------------+
| Richard Gering ([email-masked]) | Let me make one thing perfectly clear:  |
| CI International B.V. Netherlands | I never explain anything! (Mary Poppins)| 
+-----------------------------------------------------------------------------+