From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.help Subject: Re: Running Emacs in an MSYS2 shell (or terminal?) Date: Tue, 25 Jan 2022 20:31:04 +0100 Message-ID: <865yq7y5mv.fsf@duenenhof-wilhelm.de> References: <86fspbydoi.fsf@duenenhof-wilhelm.de> <87sftb66wd.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33755"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 25 20:33:31 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nCRZL-0008cy-5H for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 20:33:31 +0100 Original-Received: from localhost ([::1]:52646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCRZH-0007dA-Qh for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 14:33:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCRX3-0007Zh-Uk for help-gnu-emacs@gnu.org; Tue, 25 Jan 2022 14:31:10 -0500 Original-Received: from mout.kundenserver.de ([217.72.192.74]:44987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCRX2-0001XZ-2n for help-gnu-emacs@gnu.org; Tue, 25 Jan 2022 14:31:09 -0500 Original-Received: from ping ([92.116.130.195]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N5mOb-1mBZze19ad-017A4Z; Tue, 25 Jan 2022 20:31:05 +0100 In-Reply-To: <87sftb66wd.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Tue, 25 Jan 2022 18:51:14 +0100") X-Provags-ID: V03:K1:DpRsaz2zHqAZax2DCdSFbXTeeByfMD5gQmvDw5uJkiVnEhBeI4t l0x/UV5w2kVwt9Zbkoyr+D2zrDrBOpHk0EbZ2rJzBfwoCuuBYP2fIcdfMocOLMelyr4J663 RQdJ7Mm1MyIxJUvnVNlOOCmHbvQvUhBGIXk8akKMf0+Obqp6Y2JLiQlw7+aKIDJpDIc8xHz xxWMaTCKtohjEvmIs/dmQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:ZLMd6J1NAe0=:+ohbER/BE5AvNbZKRgzaSp zNVTL4TMCwQGa0E1XCHMnm+wVINI1ZvCh1p0ZZvM3nzwROjy3xF23ypLBz0K8b07qyLWiEpYO Uj8yYRICPptdrHWUJB57rHiDzhyVAyJwzgAVn8EIjd9ftaVDZdTSSU4lfCTbf8YfyNVcayrRl sE0psZA/DEx5AR2BcVGoOwAh8rhrFfmQ8YWP8sKki+W253Pv1OwhUII6oBW2YdtCoboBGiCaJ Q5JPKWyARbEUFZTnSgS4B1E2dqeM+C1GT0hkIxwoCJ/8zlDt1zfG6SiSkoGb0VB2Cs6NjpMYn xEPpPBmkp0FZZjiOniWTrVdshCHHJU1FajpM0KSPRmdMVugpO/SU5TNJduMsrr43ao5SZE1Tg EJtROwogBiGSA31s9BKpkgd8Xb0733w/i/69zASlqEiQ7+yjptQQ++ojr2+lJnnt1tbMLG7AM FqMtU2ctom/MBxXyK1GfQM1AYPO/U4W88Bo4PeSeSZUYFGVZJwdww97q8yViFSwdyWf2OIu0z ywtrwVI7JDEjj4/ShgiyMPSIfl2H5kG30/WncB7KlA3p41OpeNgVW3xyxIFhE0/g4HK2x4M1y Ed+BGLuhNpkwkrzHrxW3Wa9mQtytmQKljLHoouv66IK8MLz9a5Cci/YC7hXFbl3tWQ/WiIgy6 zeGNYWLQcT1GvsJi0Tvg/lC/hzczqqVtgYgMlnCTkfMwlrT2YuLe05zvt8a/u0bfX4H2A+79T 3EbldmvT3qveR7Td Received-SPF: none client-ip=217.72.192.74; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135529 Archived-At: =C3=93scar Fuentes writes: > "H. Dieter Wilhelm" writes: > >> when starting Emacs with >> >> $ ./emacs.exe -nw >> >> it says >> >> emacs: standard input is not a tty. >> >> and "emacsclient.exe -nw" is creating a new frame. >> >> What can I do to use emacs.exe or emacsclient.exe in such a shell >> without starting a new frame? > > MSYS2/Cygwin console is not a proper console as far as windows "native" > executables are concerned. If you insist on running MinGW-w64 Emacs on > it, try this: > > $ pacman -S winpty > $ winpty ./emacs -nw Great =C3=93scar! Thank you. :-) (Even though I couln't even type C-x C-c any more, had to close emacs from the menu. :-) ) Unfortunately even winpty is not working for $ winpty ./emacsclient.exe -nw=20 it still opens a new frame!? At least with emacs-28.0.91 build from Corwin (there are warning, two DLLs are missing). If you think it is worthwhile to check with Emacs-27.2, I'll do this tomorrow? Dieter --=20 Best wishes H. Dieter Wilhelm Zwingenberg, Germany