net@tub.UUCP (03/26/87)
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;