Subject: Re: New rev "pine 3.93" (fwd)

From: Ralph Finello <[email-masked]>
Date: Fri, 19 Apr 1996 15:40:16 -0400 (EDT)

---------- Forwarded message ----------
Date: Fri, 19 Apr 1996 11:20:40 -0400 (EDT)
From: Alachua Freenet Administrative/Tech Support <[email-masked]>
To: Ralph Finello <[email-masked]>
Cc: [email-masked]
Subject: Re: New rev "pine 3.93"

Alachua Freenet isn't responsible for the maintenance of the PINE package,
you should report bugs to the PINE Development Team (hit 'B' at the PINE main
menu).

However, from what you describe it sounds like there is a bug in the NovaTerm
communications program, most likely in the VT102 emulation. PINE 3.93 has
behaved fine on all of the communications packages I've used and we've
received no other complaints about hanging terminal programs so far.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	       * Alachua Freenet Administrative & Tech Support *
				[email-masked]

---

From: Steve Hubert <[email-masked]>
Date: Fri, 19 Apr 1996 23:54:54 -0700 (PDT)

We have found a bug in pine 3.93 that may be the culprit and may help
locate the NovaTerm bug, as well.  For vt100 terminals (actually terminals
with the "cs" capability set in termcap or "csr" in terminfo) we are
sending a scrollregion setting command which is one larger than it should
be.  That is, if the screen is 24 rows we're setting the scrollregion to
1-25 instead of 1-24.  For a vt100, this is the character sequence

   ESC [ 1 ; 2 5 r

instead of

   ESC [ 1 ; 2 4 r

You might try seeing what that does to NovaTerm.  If anybody wants to try
a temporary pine fix until we get something out try this fix to the
function init_screen in ttyout.c.  Thanks.

Steve Hubert <[email-masked]>
Networks and Distributed Computing, Univ. of Washington, Seattle

***************
*** 450,456 ****
        tputs(_termcap_init, 1, outchar);
  
      /* and make sure there are no scrolling surprises! */
!     BeginScroll(0, ps_global->ttyo->screen_rows);
      /* and make sure icon text starts out consistent */
      icon_text(NULL);
      fflush(stdout);
--- 450,456 ----
        tputs(_termcap_init, 1, outchar);
  
      /* and make sure there are no scrolling surprises! */
!     BeginScroll(0, ps_global->ttyo->screen_rows - 1);
      /* and make sure icon text starts out consistent */
      icon_text(NULL);
      fflush(stdout);

---

From: Alachua Freenet Administrative/Tech Support <[email-masked]>
Date: Sun, 21 Apr 1996 12:53:07 -0400 (EDT)

Interesting. That seems to be a more common problem with term programs: If
assigned a scroll region larger than display area, the program crashes. I
guess it's a fairly easy mistake to make, :)

I'll modify AFN's copy of PINE accordingly and re-compile it today. Ralph,
try out NovaTerm with PINE later tonight or anytime past that and let us know
if the problem appears to be fixed...

Though of course the author of NovaTerm needs to add some more error checking
to the emulator too, :)

---

From: Ralph Finello <[email-masked]>
Date: Mon, 22 Apr 1996 01:47:15 -0400 (EDT)

Hi
  Congratulations!!!!!!!  Looks like the problem is gone! The "Commodore
Users group" and I thank you very much for your quick action.  Am
sennding a copy of this to Nick Rossi (The author of Novaterm).
  Thanx again for your time and effort.
                        Ralph