Subject: Re: pine-bin.a32 - does binary use termcap or curses lib ?

From: "Steven D. Majewski" <[email-masked]>
Date: Mon, 29 Aug 1994 13:06:28 -0400

I intended to cc this to the list, but I mistakenly entered the wrong 
name at the right address. 

Doug has since replied that a32 uses -lcurses, and changing it to
-ltermcap has fixed his problem. Before reading his reply, I tried
running the a32 pine binary - compose worked find, but when I tried
'forward' ( to resend the message below ) or 'reply' ( to Doug's 
message ) it locked up on me. 

So, it looks like it is -lcurses, but ought to be -ltermcap ! 

--- Forwarded mail from "Steven D. Majewski" <[email-masked]>

On Aug 29, 11:30, Doug Sewell wrote:
> 
> In article <[email-masked]> you wrote:
> 
> : Is the RS6000/AIX binary of pine 3.90 ( pine-bin.a32 ) now built
> : with  -lcurses or -ltermcap ? 
> 
> : I had to rebuild 3.89 with termcap to eliminate the screen locking 
> : problem. Has the default changed on 3.90 ? 
> 
> Could you elaborate on this ???
> 
> We put a fix to imap/bezerk.c because of AIX cc's not doing the VALID
> macro right.  This fixed lock-ups when received new e-mail... but we
> still have SIGNIFICANT lock-ups.
> 
> I've asked here and in the AIX newsgroups, and this was the first time
> I'd heard this... for what it's worth, the makefile.a32 uses -lcurses
> but not -ltermcap (I think I had to use both for elm, and in the order 
> -ltermcap -lcurses, for it to all work right, but it's been a while since
> I've built elm...)
> 

When I first installed 3.89, I had frequent problems of pine/pico (on
rs6000/aix 3.2.4 ) locking up when going into compose mode. ( There
may have been other cases of lock up, but going into compose mode was
the one that was somewhat reproducible. ) 

I sent a note to the list at that time, and someone suggested I try
rebuilding with -ltermcap. ( But, I recall that one of the Pine team
(I think) mentioned that they had switched from -ltermcap to -lcurses
previously, because of other aix problems, and they were inquiring if
any AIX-ers knew the "RIGHT" way to build it on that platform. 

[ I also recall combing thru the pine-info archives, and I think the
  consensus there was unclear. ] 

Since rebuilding 3.89, I haven't noticed any problems. 

[ If I neglected to report my success, it was probably that I had
  intended to test a couple of other variables, like xlc vs. gcc
  for example, before reporting, and never got around to finding 
  the time to do that. ] 

However, I did just notice that: 
  my pine has been build with -ltermcap, but the original makefile.a32~ 
	file has -lcurses as the default.
  my pico has been built with -ltermcap, but that is apparently not my 
	edit, but the distribution makefile.a32. 
Could one problem, perhaps be that WHATEVER screen lib pine and pico 
use, that they have to both use the SAME lib ? ( Or maybe, as in your
elm example, you should really use both libraries ? ) 

- Steve Majewski       (804-982-0831)      <[email-masked]>
- UVA Department of Molecular Physiology and Biological Physics

--- End of forwarded message from "Steven D. Majewski" <[email-masked]>

---

From: [email-masked] (Doug Sewell)
Date: 29 Aug 1994 20:00:53 GMT

Steven D. Majewski ([email-masked]) wrote:

: I intended to cc this to the list, but I mistakenly entered the wrong 
: name at the right address. 

: Doug has since replied that a32 uses -lcurses, and changing it to
: -ltermcap has fixed his problem. Before reading his reply, I tried

Tentatively, anyway.  It hasn't failed for me.  We've released it for
testing by the affected users and I'll know for sure by Friday (I've
built both -lcurses and -ltermcap versions).

: running the a32 pine binary - compose worked find, but when I tried
: 'forward' ( to resend the message below ) or 'reply' ( to Doug's 
: message ) it locked up on me. 

: So, it looks like it is -lcurses, but ought to be -ltermcap ! 

IBM reps have admitted (in c.u.aix) that their curses library is seriously
broken... and this hasn't helped my most computer-naive users, who are the
very ones that pine is perfect for (I can't wait to see how they react to
reading news with pine, I think they'll like it...)

-- 
Doug Sewell ([email-masked])   Left alle... what ?! http://cc.ysu.edu/1/doug

de-moc-ra-cy (di mok' ra see) n.  Three wolves and a sheep voting on what's
for dinner -- Bill Gunshannon, [email-masked]