X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7FA8D389683A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nexgo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nexgo.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexgo.de; s=vfde-smtpout-mb-15sep; t=1622871211; bh=X4heWtVQB14+ojYi4JVJhRYkyClRzo/I5vMXEvMZbiE=; h=From:To:Subject:References:Date:In-Reply-To; b=KcrbEt6g0DYVOFbfM5LiK/PFlfm+d2ZmX5oLF5v8uUd/qOvCPgseLrFebVTN2e05P sh6oMQEzR3ssWaLUi9rENJN88bD0FJ/V/Rf2BEnfnYwPNlC8bF0rpVsx6Cs+RL8C/q KNCMHWbY9She4K9FTPQtmAuNhzjbK+Ljgvv8ZGSg= From: ASSI To: cygwin AT cygwin DOT com Subject: Re: [Bug] tmux 3.2-0 References: <87mtsx6six DOT fsf AT Rainer DOT invalid> <87pmxe1rmk DOT fsf_-_ AT Rainer DOT invalid> <871r9thlw0 DOT fsf AT Otto DOT invalid> <877djebwhi DOT fsf AT Rainer DOT invalid> Date: Sat, 05 Jun 2021 07:33:27 +0200 In-Reply-To: (Michael Wild via Cygwin's message of "Wed, 2 Jun 2021 19:38:48 +0200") Message-ID: <87lf7og9js.fsf@Otto.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-purgate-type: clean X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-purgate-size: 1293 X-purgate-ID: 155817::1622871211-000006F1-51942956/0/0 X-Spam-Status: No, score=-3032.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Michael Wild via Cygwin writes: > I just uploaded a patched test version 3.2-1 (yeah, I know, I'm off by > one with the release number...). Can you give it a go and see whether > the mosh test suite runs through with it? No it doesn't and I don't even understand why anybody thinks that would fix the issue. The output is supposed to go to stdout (that's the sole purpose of control mode) and it's the fd for the TTY that gets duplicated there apparently (why that only exists for Cygwin if I'm reading it correctly is another mystery). So indeed the output now appears on the terminal, but that's not where it should go when stdout gets redirected elsewhere. It _might_ be possible for this particular case that one could open /proc/${clientpid}/fd/1 and have it do the right thing. If so, then the call just above that clobbers stdin with the ttyname would probably be better off as /proc/${clientpid}/fd/0. Otherwise with the code changes as implemented you'd need to wait for the AF_UNIX branch by Ken Brown to finally land before tmux works as intended again. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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