Subject: termcap for MAI 4313 and pine

From: Chris Nolan <[email-masked]>
Date: Thu, 18 Dec 1997 15:51:45 -0500 (EST)

I am getting the message "Your terminal, 4313, is lacking functions needed
to run pine".  Now back in June of 96 I solved this at another site, but
can't find my docs on how I did it.  So far I've added

 :se=\Eg0:so=\Eg8:\
 :MC=\Eg4:MD=\Eg0:ME=\Eg2:MF=\Eg0:

to the termcap but I'm still getting the message.  What else do I have to
do?  Do I have to play with terminfo?

Any suggestions would be appreciated.

___________________________                     ____________________
Chris Nolan      SCO A.C.E.                        [email-masked]
Katydid Information SystemS                     Tel: +1 613 257-1061
Keeping it Simple for You                       Fax: +1 613 257-8211

---

From: Richard Gering <[email-masked]>
Date: Mon, 29 Dec 1997 18:00:43 +0100 (WET)

> do?  Do I have to play with terminfo?

That completely depends on the version of Pine and the flavor of UNIX you
are running.

Your message ID indicates that you are using Pine 3.95 for SCO UNIX. If
this is the same configuration you are using to test your 4313 terminals
then you indeed need to play with terminfo. Starting from Pine 3.92, the
SCO version is using terminfo (as these are usually more up to date). 

Required terminfo capabilities for Pine:

MoveTo       : "cup"
ClearToEoln  : "el"
SetInverse   : "smso"
ClearInverse : "rmso"

Or, in 4313 specifics:

   cup=\E=%p1%'\s'%+%c%p2%'\s'%+%c
   el=\ET\Eg0
   smso=\EgC
   rmso=\Eg0

For optimal DT43xx support, consider recompiling Pine with the option
-DTERMDEF_WINS appended to the line STDCFLAGS= in pine/makefile.sco and
pico/makefile.sco.  A number of the keys on the MAI terminals return
sequences that start with Ctrl-A, which will be ignored if this option is
not enabled.  Make sure the terminfo files for ALL your terminals are in
good condition when enabling this option :-) 

> Any suggestions would be appreciated.

How about me sending you an "official" 4313 terminfo entry?
Drop me a message when you're interested.

Regards,

- Richard Gering
  Triple-P Computer Industries (used to be called MAI Computer Industries...)

-- 
+-----------------------------------------------------------------------------+
| Richard Gering ([email-masked]) |         UNIX: when you're ready         |
| Computer Industries International |         for an operating system         |
+-----------------------------------------------------------------------------+

---

From: Chris Nolan <[email-masked]>
Date: Mon, 29 Dec 1997 14:11:15 -0500 (EST)

> SCO version is using terminfo (as these are usually more up to date). 

Actually the site that is having the problems is running DG/UX 4.11 (I
believe that's the right rev).  The version of pine that somebody else
compiled for me is 3.96, but it is having some other problems re: crashing
when doing a Reply so I've sent over a copy of 3.93 but having had a
change to do anything with it.

> Drop me a message when you're interested.

This is great infomation, I appreciate you taking the time to do this.  It
would be great if you could send over the "official" terminfo entry.  If
they differ between SCO and DG, can you send both because I do run both
systems at different clients.

Goodday,