From owner-freebsd-hackers Fri Oct 27 17:03:11 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA00474 for hackers-outgoing; Fri, 27 Oct 1995 17:03:11 -0700 Received: from relay5.UU.NET (relay5.UU.NET [192.48.96.15]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA00448 for ; Fri, 27 Oct 1995 17:02:46 -0700 Received: from uucp4.UU.NET by relay5.UU.NET with SMTP id QQznie02494; Fri, 27 Oct 1995 20:02:19 -0400 (EDT) Received: from uanet.UUCP by uucp4.UU.NET with UUCP/RMAIL ; Fri, 27 Oct 1995 20:02:19 -0400 Received: by crocodil.monolit.kiev.ua; Sat, 28 Oct 95 01:36:02 +0200 Received: from dog.farm.org (farm-cs.farm.org [193.124.48.230]) by clipper.cs.kiev.ua (8.6.4) with ESMTP id BAA01741; Sat, 28 Oct 1995 01:29:33 +0200 Received: (from dk@localhost) by dog.farm.org (MK54/dk1) id BAA00989; Sat, 28 Oct 1995 01:31:18 +0200 From: Dmitry Kohmanyuk Message-Id: <199510272331.BAA00989@dog.farm.org> Subject: Re: patch for PTYs not freed? (2.0.5-R) (screen problem) To: malenovi@cview.com (Nik Malenovic) Date: Fri, 27 Oct 1995 23:31:16 +0000 () Cc: freebsd-hackers@freebsd.org, screen@uni-erlangen.de In-Reply-To: from "Nik Malenovic" at Oct 27, 95 02:48:00 pm Reply-To: dk+@ua.net X-Class: Fast X-OS-Of-Choice: FreeBSD 2.0.5-RELEASE X-NIC-Handle: DK379 X-Mailer: ELM [version 2.4 PL22 dk9] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk Quoting Nik Malenovic: > blah. you are lucky - I can't even get screen to work on ANY of my boxes. > all the way since 1.5.1 - I am having this darn problem - screen hangs. > I know people had complained about it - but no one ever offered a fix. > I tried to debug it - and the problem was that the master process was > dying and spawned processes would just bomb out. WHY the master process > was dying? no clue. anyway - if anyone has any clues... please let me know! :) screen is working for me now after I have applied the following patch (version 3.6.2, FreeBSD 2.0.5): --- process.c.orig Tue Sep 12 19:30:14 1995 +++ process.c Tue Sep 12 19:31:47 1995 @@ -149,8 +149,9 @@ extern char *multi; #endif #ifdef PASSWORD +#include int CheckPassword; -char Password[30]; +char Password[_PASSWORD_LEN]; #endif struct plop plop_tab[MAX_PLOP_DEFS]; CREDIT >>>>> thanks to "Tam T. Lien" for discovering this. <<<<< the problem is, when using MD5-based security, encrypted passwords are longer than 30 chars (about 35 chars in my machine) and memory gets overwritten. on my box, this have cured the problem of screen freezing on startup. p.s. I consider the screen the most essensial for me utility (not counting tcsh and vim, of course ;-)) thanks do all the developers and maintainers!