X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 97E0B3860C32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1616148518; bh=HYQIFT8XH8Udgj9MJgguLrKFqUolyb1AxzfYxYCSBdI=; 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=vd7wq68AuDBq4muNLnppy2CHOrbm/bLcMEuj69VWfSzHnU8dCQ80OiZRjlLY3VWGs fnfYyTCwKXh+rNOSpDmAs3i5WsJpISjtv6H2uIl/SoVAexlBPYyuD+VVSI+o/MZktq Ty5bnCAQ+SEF3lV+G7dAhYrVo3pnF0mi5p/T/+5k= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3CF043857C5F DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 12JA868q003374 X-Nifty-SrcIP: [118.243.84.61] Date: Fri, 19 Mar 2021 19:08:07 +0900 To: cygwin AT cygwin DOT com Subject: Re: stdin pipe rename in 3.2.0 Message-Id: <20210319190807.babb0c0312740f44e9119c17@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Thu, 18 Mar 2021 21:28:40 +0100 Christoph Reiter wrote: > I noticed that the stdin pipe was renamed from > > "\msys-dd50a72ab4668b33-pty1-from-master" to > "\msys-dd50a72ab4668b33-pty0-to-slave" in > https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=bb42852062073439 Actually, this is not renamed but newly introduced only for non-cygwin (native) apps. > This trips up https://github.com/k-takata/ptycheck to detect the > cygpty which is used in various code bases. If this change is affected, your process seems to be a non-cygwin process. > Is there a reason it was renamed? > > And while grepping I noticed the old name is still checked for in > other places like > https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/tty.cc;h=3c016315cdedb1dcca44cb3f3f96b87fd0b90a97;hb=HEAD#l162 > which seems weird. The name "from-master" is still used for cygwin processes. However, the naming was not appropriate. The name of output pipes are: "ptyNNNN-to-master-cyg" for cygwin process, and "ptyNNNN-to-master" for non-cygwin process. However, the name of input pipes are: "ptyNNNN-from-master" for cygwin process, and "ptyNNNN-to-slave" for non-cygwin process. This is not only consistent but also very confusing. I would like to rename these pipes to: "ptyNNNN-from-master-cyg" for cygwin process, "ptyNNNN-from-master" for non-cygwin process. Corinna, is it possble to apply the patch for 3.2.0 release? -- Takashi Yano -- 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