Subject: Using Pine & Pico on Wyse 60 terminals

From: "Eberto de Armas, Jr." <[email-masked]>
Date: Wed, 22 May 1996 14:23:31 -0700

I just got a copy of Pine 3.91 and it seems like a very good e-mail 
package.

I need some help making Pine and Pico work with Wyse 60 terminals.
I am trying to get the arrow and function keys to work.

I was able to modify Pine to work ok (a few changes to ttyin.c), but I 
am having trouble modifying Pico.

Does anyone know of a port that handles Wyse 60's?

Or can someone direct me to the routines that I would need to monidy in 
Pico to add the Wyse 60 arrow and function keys?

Any help or hints would be greatly appreciated.

Thanks in advance,
Eberto

---

From: Richard Gering <[email-masked]>
Date: Thu, 23 May 1996 17:18:25 +0100 (WET)

> Does anyone know of a port that handles Wyse 60's?

Eberto,

If your Unix is equipped with an ANSI-fied entry for the Wyse 60 (e.g. 
"wy60ak") you should try to use this first. Such an entry will most likely
require you to execute "tput init" before doing anything terminal related
in order to program the edit keys with ANSI values.

The advantages of using such a terminal entry are that you can avoid
certain Ctrl-key overlapping problems that will occur when you are using a
regular Wyse 60 entry. Should you be wanting/needing to use the regular
entry, the easiest thing for you to do would be to upgrade to Pine 3.93
(ftp.cac.washington.edu).

The versions 3.92 and up have support for termcap/terminfo built in, which
allows it to support a Wyse 60 as well (providing you termcap and/or
terminfo entries are up to standard). You will need to have a development
system available, as a rebuild is necessary to activate an option that is
required for Wyse terminals (and any other terminal that doesn't always
start its key sequences with and ESCape). 

To activate this option, append "-DTERMCAP_WINS" to the files
pico/makefile.<platform> and pine/makefile.<platform> before building
Pine. Next, do a complete build: you're in business! 

You should be aware that certain Ctrl-key base commands in Pine and Pico
will not work on a Wyse 60, since these commands are identical to the
values returned by some of the edit keys (which now have precedence).
Most noticeably Ctrl-^ (Mark) and Ctrl-K (Cut) will now act as Home and
Cursor-Up respectively.

To use Mark and Cut, press ESC ESC ^ and ESC ESC K instead. In Pine,
ESC ESC <key> is always available as an alternate to pressing Ctrl-<key>.

I hope this will help you to get the Wyse 60 support you're looking for!
If you need some help, feel free to contact me.

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)| 
+-----------------------------------------------------------------------------+