help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running Emacs in an MSYS2 shell (or terminal?)


From: H. Dieter Wilhelm
Subject: Re: Running Emacs in an MSYS2 shell (or terminal?)
Date: Wed, 26 Jan 2022 17:55:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Hello Arash,

Arash Esbati <arash@gnu.org> writes:

> "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> writes:
>
>> when starting Emacs with
>>
>>   $ ./emacs.exe -nw
>>
>> it says
>>
>>   emacs: standard input is not a tty.
>
> As others said, mintty isn't the right choice here.  Open the file
> msys2_shell.cmd (in Msys2 installtion root) in your favorite editor and
> look for the usage at the end of the file.  Try to run that script with
> "-defterm -mingw64" and see if it works (without winpty).

This is working for "emacs.exe -nw".  In fact, out of the box, it works
even better than "winpty emacs.exe -nw", where keyboard shortcuts like
"C-x C-c" aren't working for me!

Unfortunately, for the more important use case, "emacsclient.exe -nw
test.txt", or the like, a new frame - outside of the "defterm" window -
is always opening up.

(I'm just testing the limits of Emacsland under Windows - to steel a
 designation of Eli Zaretskii.)  :-)

Thank you

      Dieter
-- 
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany



reply via email to

[Prev in Thread] Current Thread [Next in Thread]