delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/08/28/01:32:37

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57S5WbqY853500
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 57S5WbqY853500
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=JEeOUh5B
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8FE7A3839E15
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1756359155;
bh=dG4u6OUxah8p4MrQQ9DUf+v0knsSu3TUWuLQIrPbOmc=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=JEeOUh5BJuIh3GbcHdGMMnbLF1ol31zDHv7MDD9JjHnLiVa+ptewyQf30TBrobFyd
lCc8g95zHaUuy15ZaO3Bt52WtDuf/uUX14tJhprgGt/VG+SkwyWO22ENDlfqi8qAil
8W6OnJexMolhFOQ2DBew+fDm1FFzU5wlqUXyh0eE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E1F0B3858C60
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E1F0B3858C60
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1756359092; cv=none;
b=K4dkbzOrdFcUHKmKQqNru8gDmE4jxMOQYJgI5/vAZKUfL5H7tk8tG3YJBxu8oUp1+I9mKNEnDZUUEsbYIKZWnBx8L6nVHUTVebfqTCrtSQNUR2YDkrkehGI0etH53YPbgyzO4F9z/pBnAC6B9qh4gqxUZfjWYZXgaS38Zy46H0Y=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1756359092; c=relaxed/simple;
bh=mh3PjN1pe0PZDlWOW+Tsm+g5QmI7Cbh3MKjOKjjhJYA=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=orssDS0/9khBe4b6DNiWNeliLtvrhH1YPmHuOtoRFMs/eiJaDJXxD1s42AKhYunNAsDh4VpC4ArS+o8zPm0y7CDp2uwfmNl19qdk+v+7w67W78wkIYo9jFgS7A3KnQeUp3dIQEccpZQqHLXg4Z0XJjAN4DosJEdI1dYCIdsUvWw=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E1F0B3858C60
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1756359090; x=1756963890;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=jHAkvlkc9k7yxwJwgUYCCxTUV/6RO01LbwstRGT1Y/g=;
b=c23CnaJ0zQ6o0pO0znZ/mQE71Mtts5RnMHEdb6V5MpSFQVR+VvdRj3orvvYTPLfzlh
k49v6dL/Og4joI+o7XyfRdXa3/da/kjzndYw1bI2btgcH2Yp/pozutIPW+xvrY4awwEc
4ttrnjExekspEIeWXw65JKRl9ZGNZXLjuoO/Ai2FYFDWlhjxO0ve5R47kmhUKcSlLnYN
pvCWblLmgejX7/3IooX4OuKYXMTz9Hp6X4Vi2y91Q+z/te781NrtpnQa/UHkmj6wBwoH
I847FyN8EertqiCYnEPkxEBD00A3GE7/i6XZehgPzmr7ngjruMN5YPnaPWziykH+OxYK
1tCg==
X-Gm-Message-State: AOJu0YxTKIiPUPRLCGMzyQF0ifWSToJXKlRDvaRMmyhGaHSk5+mQkqI9
+OX8NTXWaKEdQwFvxYoZIsEZUMf593yhvTYL0kozM0TQcYFZXhryKyVUyws+DFp6YXtwtnpk42z
g1yffruMIY1PPgRMYVXnOZjs4oOozoulxtCHo
X-Gm-Gg: ASbGncuuTQ6kiizY08JHGeHo8gVt/MabgYOdIkQAbN7MDbiWgIjKPJ38U+wMfgH1mH+
YSAcqgcz8b1k2iGy6dU9vVilJVNOHDOwyMEcXP1dDPt0IWoKmE57rCQVWFh/PnyuBfEyMqzNG2+
YxHsNW5IW2PI9koKG/sj5uwAysJ7HhkAO1WR+MN2Sg/Nsxa+L6x5Xh1jH9rzjKWoqkkq9RanFuU
kEfRVtKUcVXSIAiLepFX6i8tw==
X-Google-Smtp-Source: AGHT+IEH/m1rnG0W+agilZf/8E38LWXpleHycfZOwDr/ZkfBzpV7YpU388wzpbep+/SsvJUnyD9zEgnjd/umejC4CIA=
X-Received: by 2002:a05:6214:1312:b0:70d:9291:bdd8 with SMTP id
6a1803df08f44-70d97109866mr264953696d6.30.1756359090474; Wed, 27 Aug 2025
22:31:30 -0700 (PDT)
MIME-Version: 1.0
References: <1b1e8e7f-0ee9-41b8-931f-202af6704c4d AT towo DOT net>
In-Reply-To: <1b1e8e7f-0ee9-41b8-931f-202af6704c4d@towo.net>
Date: Thu, 28 Aug 2025 01:31:18 -0400
X-Gm-Features: Ac12FXzy-ZJhz1LzAupqZ9CVfStdFiL05xlTFtTK275x9GyscM03LbPQt1mtl-k
Message-ID: <CAJN=LAgh7qT9nL5KsH1Y98t8W9hSKyUu3AwpE4WiK8oReeMMEQ@mail.gmail.com>
Subject: Re: pty read loop losing data in wsl context
To: cygwin AT cygwin DOT com
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-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: Kevin Schnitzius via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Kevin Schnitzius <dont DOT know DOT at DOT all AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 57S5WbqY853500

On Wed, Aug 27, 2025 at 11:37 PM Thomas Wolff via Cygwin
<cygwin AT cygwin DOT com> wrote:

> What’s the role of ^O in this puzzle? Does it trigger something in cygwin?
> Is there anything peculiar that would cause pty chunks not be recognised
> and then skipped in such a loop?

discard = ^O

       * discard CHAR
              CHAR will toggle discarding of output

Does a second ^O undo the problem?

"The equivalent of this is 'flush', but that was never documented
as an option (though was output with stty -a).  Therefore use
the more descriptive name, also generally used on BSD systems.
Note even though this setting seems ineffective on Linux, supporting
the setting is useful to allow terminal programs to receive
the default ^O character code."

https://lists.gnu.org/archive/html/coreutils/2015-01/msg00068.html

I really have no idea about how this is supposed to work...

Kevin

-- 
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 © 2019   by DJ Delorie     Updated Jul 2019