From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Windows Pseudo Console support Date: Fri, 23 Sep 2022 18:10:39 +0200 Message-ID: <87wn9uax6o.fsf@telefonica.net> References: <8735cicdmj.fsf@telefonica.net> <83o7v6ozfo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40883"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:gyqT0hNSHBArt4WGmUdXeRqFvHw= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 23 19:40:24 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obmf2-000ATa-Pl for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 19:40:24 +0200 Original-Received: from localhost ([::1]:38670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obmf1-0003IJ-Ks for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Sep 2022 13:40:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oblGL-0002CA-RC for emacs-devel@gnu.org; Fri, 23 Sep 2022 12:10:51 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:43988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oblGJ-0003tP-Vx for emacs-devel@gnu.org; Fri, 23 Sep 2022 12:10:49 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oblGI-0007EC-16 for emacs-devel@gnu.org; Fri, 23 Sep 2022 18:10:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 23 Sep 2022 13:37:44 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296067 Archived-At: Eli Zaretskii writes: >> From: Óscar Fuentes >> Date: Fri, 23 Sep 2022 17:30:12 +0200 >> >> A few years ago Microsoft introduced the Windows Pseudo Console (ConPTY) >> which tries to be the equivalent of *nix ptys. >> >> Has anyone looked into supporting that feature? > > Yes, I did. The way this is implemented has a glaring omission, which > makes it all but useless for Emacs: you cannot in practice control the > encoding of the text that flows through ConPTY. See > > https://github.com/microsoft/terminal/issues/9174 > > Too bad. Oh, now I remember that you filled that issue because I told you that the MS Terminal team was very responsive. Too bad indeed. Maintainers are rejecting patches saying "Emacs just neeeds to support ConPTY so the hack you are submitting is not necessary." :-/ OTOH, MSYS2 mintty (and probably upstream Cygwin's too) now support ConPTY. As that is a console emulator probably it doesn't care about the encoding issue?