Subject: HOW TO USE FUNCTIONKEYS

From: "N.J. van der Horn" <[email-masked]>
Date: Thu, 30 Mar 1995 23:42:11 GMT

I want to use functionkeys instead of the control-keys.

(1) Is this only possible by using the commandline option -k ?
(Ofcourse I can change the source ...)

(2) When I call "pine -k" it displays as expected the F1 etc in the menu 
line, but when a functionkey is pressed, I got the following error:

	Command "D" notdefined for this screen. Use F1 for help

I love these clear messages, but the F1 produces the same error !

Help can still be called with "?" and some other keys are also still 
working: ctrl-{G,W,Y,V} <SPACE> "-".

What's causing this PAIN with our friend PINE ?

---
[email-masked] (N.J. van der Horn), VANDERHORN VOF, Oranjelaan 40,
3135 ZP Vlaardingen, The Netherlands, Tel +31104600411, Fax +31104342857

---

From: Don Sugarman <[email-masked]>
Date: Fri, 31 Mar 1995 12:39:15 -0500 (EST)

> working: ctrl-{G,W,Y,V} <SPACE> "-".
I just discovered the function key option yesterday and tried playing 
with it.  I think that your problem may be with terminal configuration 
and whether PINE expects the ASCII sequences sent by your function keys.

I log in as a vt100 from an AT&T 605 terminal and my default function key 
definitions don't work.  

As a vt100 terminal, PINE is expecting F1=\EOP, F2=\EOQ, F3=\EOR, and
F4=\EOS.  (This info is from the termcap file.) If you type the sequence
<esc>OP you will get the PINE help menu for the function key-based
operation.  HOWEVER, since the vt100 definition doesn't include F5 - F12,
I don't know how to program my function keys to satisfy PINE. 

Since the letter and control-key commands are easy to remember (mostly 
mnemonics), I'm not that interested in the function keys.

Don Sugarman
[email-masked]