Article View: net.sources.bugs
Article #985screen patch #2 - (nf)
From: net
Date: Thu, 26 Mar 1987 15:15
Date: Thu, 26 Mar 1987 15:15
49 lines
1925 bytes
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;
Technical Details
Message-ID:
<52100002@tub.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!mcvax!unido!tub!netShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!mcvax!unido!tub!net From: net@tub.UUCP Newsgroups: net.sources.bugs Subject: screen patch #2 - (nf) Message-ID: <52100002@tub.UUCP> Date: Thu, 26-Mar-87 10:15:00 EST Article-I.D.: tub.52100002 Posted: Thu Mar 26 10:15:00 1987 Date-Received: Sun, 29-Mar-87 12:03:58 EST Lines: 49 Nf-ID: #N:tub:52100002:000:1389 Nf-From: tub!net Mar 26 16:15:00 1987