[net.sources.bugs] screen patch #1

net@tub.UUCP (03/23/87)

"And I told you it was a beta-test version..." :-)

By the way, if you want to use "screen" on a Sun, don't forget to include
"-Usun" in your CFLAGS.

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


----------cut here----------cut here----------

*** /tmp/,RCSt1008623	Mon Mar 23 16:20:46 1987
--- screen.c	Mon Mar 23 16:20:46 1987
***************
*** 8,14
   * not modified.
   */
  
! static char ScreenVersion[] = "screen 1.1b 20-Mar-87";
  
  #include <stdio.h>
  #include <sgtty.h>

--- 8,14 -----
   * not modified.
   */
  
! static char ScreenVersion[] = "screen 1.1c 23-Mar-87";
  
  #include <stdio.h>
  #include <sgtty.h>
***************
*** 551,556
  	goto nomem;
      ResetScreen (p);
      p->active = 0;
      p->ptyfd = f;
      strncpy (p->cmd, Filename (args[0]), MAXSTR-1);
      p->cmd[MAXSTR-1] = '\0';

--- 551,557 -----
  	goto nomem;
      ResetScreen (p);
      p->active = 0;
+     p->outlen = 0;
      p->ptyfd = f;
      strncpy (p->cmd, Filename (args[0]), MAXSTR-1);
      p->cmd[MAXSTR-1] = '\0';