X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; q=dns; s=default; b=g55
	ocpv99LsTrci6kR/Cyre0VJOt51/MYuSiZNpC8VR4r4NpjKuJH8PCm8toNphn9oD
	yeXoqVnIl+U0gaI/ONLA3PFKOCgbpeNt38tNYxiW2J888IvT/MwcYZVSXnlPmytA
	AKDaJBrV6zSmLcIBT5lIn7ggdralNhqSEGsjKRnA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding; s=default; bh=RsrFCSyFy
	5Mh3YH3//c/iQhBli8=; b=I3ly5vlx4WRO7qaMmfexY9A9YujNZhyU7n1LIn33V
	QFkBK9/ya6FT1vdXGYmUuDCnxiRAvqr6LngPfRcsihunnhRauDyI6exSpQst1QJk
	dsZcL2pULS3jjvHFXWXmUWQAcSAt/eaRzSMAphLbWXVRt88t5j7O3CMxt8KDGjhb
	8o=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.hs.tlinx.org
Message-ID: <547144A9.6020806@tlinx.org>
Date: Sat, 22 Nov 2014 18:21:29 -0800
From: Linda Walsh <cygwin@tlinx.org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: Cygwin Prob -- included 'setsid' is clearing terminal
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

The setsid command on cygwin seems to have broken recently:


/tmp> uname -a;setsid date
CYGWIN_NT-6.1 Athenae 1.7.32(0.274/5/3) 2014-08-13 23:06 x86_64 Cygwin

vs. a linux box:
Ishtar:/tmp> uname -a ;setsid date
Linux Ishtar 3.17.3-Isht-Van #1 SMP PREEMPT Sun Nov 16 15:13:22 PST 2014 
x86_64 x86_64 x86_64 GNU/Linux
Sat Nov 22 18:10:54 PST 2014

It seems to mess up the current tty value:

linux:
Ishtar:/tmp> tty;setsid tty >/tmp/tty.out ; cat /tmp/tty.out
/dev/pts/6
/dev/pts/6


cygwin:
/tmp> tty;setsid tty >/tmp/tty.out ; cat /tmp/tty.out
/dev/pty0
not a tty



not a tty???

:-(

/tmp> cygcheck -f /bin/setsid
util-linux-2.24.2-1



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

