🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.sources.bugs
1 messages
1 total messages Started by net Thu, 26 Mar 1987 15:15
screen patch #2 - (nf)
#985
Author: net
Date: Thu, 26 Mar 1987 15:15
49 lines
1925 bytes
Another (dumb) bug that caused screen to crash when invoked on a Sun
console showed up recently.

After this posting I promise to go home and practice operator precedences
in C for four days (after all, screen just was a semester assignment :-).

--
    Oliver Laumann, Technical University of Berlin, Germany.
    ...!pyramid!tub!net   or   net@TUB.BITNET

====================8<---------------------------------------------------------
*** /tmp/,RCSt1008600	Thu Mar 26 16:07:49 1987
--- ansi.c	Thu Mar 26 16:05:43 1987
***************
*** 8,14
   * not modified.
   */
  
! char AnsiVersion[] = "ansi 1.0c 18-Mar-87";
  
  #include <stdio.h>
  #include <sys/types.h>

--- 8,14 -----
   * not modified.
   */
  
! char AnsiVersion[] = "ansi 1.0d 26-Mar-87";
  
  #include <stdio.h>
  #include <sys/types.h>
***************
*** 137,143
  	 * clearly specified by the termcap manual.
  	 * Anyway, we should at least look whether ME and SE/UE are equal:
  	 */
! 	if (SE && UE && ME && strcmp (SE, UE) == 0 || strcmp (ME, UE) == 0)
  	    UE = 0;
  	if (SE && ME && strcmp (SE, ME) == 0)
  	    SE = 0;

--- 137,143 -----
  	 * clearly specified by the termcap manual.
  	 * Anyway, we should at least look whether ME and SE/UE are equal:
  	 */
! 	if (SE && UE && ME && (strcmp (SE, UE) == 0 || strcmp (ME, UE) == 0))
  	    UE = 0;
  	if (SE && ME && strcmp (SE, ME) == 0)
  	    SE = 0;
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads