Subject: Window Sizing Pine 3.91 on HPUX

From: [email-masked] (Bob Bosiljevac)
Date: 6 Apr 1995 21:51:03 GMT

Is there a known problem with sizing of windows on HPUX for Pine 3.91?

I'm not sure if it's my imagination or not but I could swear that I
can resize the window once and Pine realizes it but when I do
it again it does not pick it up.

Say I'm not losing my mind... please!

Also, while I have your attention, is there any way I can get pine
to be more in tune with hpterm? It seems to have has a very 
poor rapport with it in terms of arrow keys and highlighting.

Thank you,
Bob Bosiljevac
[email-masked]

---

From: [email-masked] (Scott Reynolds)
Date: 10 Apr 1995 10:43:58 -0500

> Is there a known problem with sizing of windows on HPUX for Pine 3.91?

Actually, yes, I've known about it for some time.  I have been neglectful and
never posted my patch (40 lashes are probably due me).  Try the patch I've
appended and see if it helps (it ought to!)

> poor rapport with it in terms of arrow keys and highlighting.

I can't help you on either of them, but I have to comment on the rather silly
way that HP terminals (and hpterms) do their highlighting.  The approach that HP
took is rather non-standard:  attribute characters actually take up space on the
screen, even though they're invisible. :-(

Our solution was to run pine from a shell script that invoked an xterm if it was
run from an hpterm.

*** signals.c-dist	Mon Oct 10 19:27:47 1994
--- signals.c	Tue Jan  3 16:54:45 1995
***************
*** 315,320 ****
--- 315,323 ----
      dprint(9,(debugfile, "SIGWINCH ready_for_winch: %d winch_occured:%d\n",
                 ready_for_winch, winch_occured));
      get_windsize(ps_global->ttyo);
+ #ifdef HPP
+     signal(SIGWINCH, winch_signal);
+ #endif
      if(ready_for_winch)
        longjmp(winch_state, 1);
      else
-- 
Scott Reynolds              [email-masked]
System Administrator        http://www.plexus.com/~scottr/
Technology Group, Inc.      Neenah, WI, USA  54957-0677
#include <std/disclaimer.h>

---

From: [email-masked] (Bob Bosiljevac)
Date: 10 Apr 1995 16:57:43 GMT

Perfect!

This patch did the trick. Window sizing now works as expected.

and 

Using xterms instead of hpterms is a workable solution and is, in
fact, what I have been doing up to now.

Thank you,
Bob.

>From my desk calendar for April 10, 1995:

"One can never pay in gratitude; one can only pay 'in kind' 
 somewhere else in life."
   -Anne Morrow Lindbergh

In article <[email-masked]>,
>appended and see if it helps (it ought to!)

....[stuff deleted about hpterms]....