Subject: Re: Initial Keystroke List Error

From: [email-masked] (Orjan Johansen)
Date: 20 Mar 1997 21:26:28 GMT

In article <[email-masked]>,
Paul O Bartlett  <[email-masked]> wrote:
>    pine -l -Il,SPACE,UP,UP,UP
>
>draws this error messsage:
>
>[Mixed characters and function keys in "initial-keystroke-list", skipping!]

UP is considered a function key. However, you can use ^P.

But why don't you use

pine -Il,SPACE,CR

instead?

(expanded-view-of-folders must not be set, but you don't seem to be 
using it)

Greetings,
Ørjan.

---

From: [email-masked] (Orjan Johansen)
Date: 21 Mar 1997 00:06:40 GMT

In article <[email-masked]>,
Paul O Bartlett  <[email-masked]> wrote:
>    ^P (actual caret-P) does work.  Thanks for the tip.  I was going by
>the online documentation for initial keystrokes, and it lists strokes
>that would seem to work (unless I completely misunderstood) but
>apparently don't, inasmuch as I do not recall anything in the help file
>about mixing character and function keys and that UP is a function key. 

>Nor does that particular help screen, as I recall, refer to using
>control-keys in the initial keystroke list.  Perhaps the Pine folks
>could clarify the documentation here a bit.

I found it in the tech-notes file, which is probably the most complete 
documentation about pine.

initial-keystroke-list
       This is a comma-separated list of keystrokes which Pine
       executes on startup. Items in the list are usually just
       characters, but there are some special values. SPACE, TAB, and
       CR mean a space character, tab character, and a carriage
       return, respectively. F1 through F12 stand for the twelve
       function keys. UP, DOWN, LEFT, and RIGHT stand for the arrow
       keys. Control characters are represented with ^<char>. A
       restriction is that you can't mix function keys and character
       keys in this list even though you can, in some cases, mix them
       when running Pine. A user can always use only character keys in
       the startup list even if he or she is using function keys
       normally, or vice versa.

I guess it has something to do with these keystrokes being sent as 
combinations of others (usually ESC+something) and so they are handled 
another way.  It doesn't sound like a very sensible restriction, 
anyhow.

>    If you will notice, I *am* using expanded view, and I most

I thought if you did you would have set it in config..

>certainly want to continue doing so for my personal operating style. 
>Therefore, pine -Il,SPACE,CR produces unacceptable (to me) results.

OK, I had another idea in mind but erased it when I thought of the 
above. What about:

pine -l -Il,w,m,y,.,f,i,r,s,t,.,n,e,w,s,g,r,o,u,p,CR

I would assume the number of rows would change a bit more often than 
the first newsgroup.

Greetings,
Ørjan.

---

From: Paul O Bartlett <[email-masked]>
Date: Wed, 19 Mar 1997 08:45:29 -0500

Environment: Pine 3.96 under SunOS 4.1.4, dialin to shell account
(CShell) from DOS via ProComm Plus v2/DOS with VT100 emulation.

    I usually start Pine in one of several ways with an initial
keystroke list.  I am getting the same (anomalous) results whether I
enter the command from the shell prompt or whether I use a PCPlus
programmable keystroke string.  I have two folder collections, the
"lower" (on the screen) of which is the news collection.  I am trying
to come up with an initial keystroke string which will locate the
cursor/highlight on the first newsgroup in the collection.  One way
would be to display the folder collections, SPACE to go to the last
line of the second collection, and then cursor up.  However, I have run
into a problem.

    pine -l -Il,SPACE

will start Pine and locate the cursor/highlight on the last line of the
second (news) folder collection.  However,

Unless I have overlooked something in the online documentation, this
second string ought to work, but it doesn't.  A query to my ISP's help
desk has gone unanswered.  Anybody with a similar experience or
suggestions?

Thanks very much.
Paul                             <[email-masked]>
----------------------------------------------------------
Paul O. Bartlett, P.O. Box 857, Vienna, VA 22183-0857, USA
Finger, keyserver, or WWW for PGP 2.6.2 public key
Home Page:  http://www.access.digex.net/~pobart

---

From: Paul O Bartlett <[email-masked]>
Date: Thu, 20 Mar 1997 17:02:14 -0500

> >    pine -l -Il,SPACE,UP,UP,UP
            ^^
             |_please note

Thanks again.