delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/08/02/22:54:12

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 6732sB4t3386374
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 6732sB4t3386374
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=jgT43QzW
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2912D4BB1C05
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1785725649;
bh=Iwn0o4eW5Wx7eGLof/w7C2jXFui9gS+m3U/Phmx9hkw=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=jgT43QzWCGZybeS703jq2g4BkiHFx+p2LFH5BN3lhS8yUARkfYhf1DfBky/IJXHsV
334DnmBUxXZx2X0uc+F21i60NFzZJcgLjmQ3QgTQW5Pn2PLs+x0eBf/GSQhQhdgQUr
C9UHZG8VPvvjFBOgPz+Qwm2GpIC8/Sraajm8tr7I=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 156414BA799F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 156414BA799F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1785725631; cv=none;
b=wrIXq81l7Hdc+LasyjGJ2oRz5xcGwaXclcxjLLCr7+8QEn4j490FMlNb8TO7lULhRNE+d+u8MMmGHhj38nScUcR/9cUrXERmGFdIV2YxlsUnGl/fVo4AZJO1bGung1Plbcqj4zT6iTlZpwXwwj7Fdf2lvQS1BoUDo28eNUi/gRM=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1785725631; c=relaxed/simple;
bh=rH/tdX1SnMIGGGEDn4xh7Q6eSquxJb5EcZfSLGTGTpU=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=hVRepcmYEDaW8cgaZ72N4tRHT1BfyxwnRp0xWH6yGTFjVLxyZRdZl81SU1dJhsZOqcpBD0QgikdcQ6d3zrMnYmQAmgJlFHIMJl2F61ILnleLdYMX8y0Y4nIxkXYqQEr2s2nBFlLzKQLaNBWmSJvPrhg0TMC24pckE/K3WgWrwk0=
ARC-Authentication-Results: i=1; sourceware.org;
dkim=pass (2048-bit key, unprotected)
header.d=nifty.ne.jp header.i=@nifty.ne.jp header.a=rsa-sha256
header.s=default-1th84yt82rvi header.b=mIruYPD9
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 156414BA799F
Date: Mon, 3 Aug 2026 11:53:47 +0900
To: cygwin AT cygwin DOT com
Subject: Re: BUG: pty-related regression in cygwin 3.6.10-1
Message-Id: <20260803115347.25f99922f76fae2bdabca0aa@nifty.ne.jp>
In-Reply-To: <305ea03f-4bbd-4997-9563-9dd87be6d0f4@lugaru.com>
References: <305ea03f-4bbd-4997-9563-9dd87be6d0f4 AT lugaru DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi Steven,

Thanks for the report.

On Sat, 1 Aug 2026 22:16:01 -0400
Steven Doerfler wrote:
> The test program attached runs its provided command line using a pty. 
> Starting with cygwin 3.6.10-1, if the child program it runs prompts for 
> input, providing input will make both programs exit.
> 
> To reproduce, compile the program included below with "gcc -o ptytest 
> ptytest.c".
> Then from a Windows cmd.exe command prompt, type "ptytest bash".
> At the bash prompt, press Enter.
> 
> Expected behavior: Bash displays another prompt and waits for a command.
> 
> Observed behavior (after "cygwin" package has been updated from 3.6.9-1 
> to 3.6.10-1): Bash and ptytest exit and a cmd.exe prompt appears.
> 
> The program appears to behave as expected with Cygwin 3.7.0-0.520, but 
> not in the later 3.7.0-0.545 nor 3.7.0-0.569.

Actually, this is not a bug in pty, but in console.
I submitted a patch addressed to this issue to cygwin-patches mailing
list. Please wait a while.

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2026   by DJ Delorie     Updated Sep 20 2026