all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
To: Arash Esbati <arash@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Running Emacs in an MSYS2 shell (or terminal?)
Date: Wed, 26 Jan 2022 17:55:32 +0100	[thread overview]
Message-ID: <86v8y6wi63.fsf@duenenhof-wilhelm.de> (raw)
In-Reply-To: <8635la97eb.fsf@gnu.org> (Arash Esbati's message of "Wed, 26 Jan 2022 10:24:28 +0100")

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	other threads:[~2022-01-26 16:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25 16:37 Running Emacs in an MSYS2 shell (or terminal?) H. Dieter Wilhelm
2022-01-25 17:02 ` Eli Zaretskii
2022-01-25 19:20   ` H. Dieter Wilhelm
2022-01-25 17:51 ` Óscar Fuentes
2022-01-25 19:31   ` H. Dieter Wilhelm
2022-01-26  9:24 ` Arash Esbati
2022-01-26 16:55   ` H. Dieter Wilhelm [this message]
2022-01-26 17:32     ` Eli Zaretskii
2022-01-26 18:36       ` H. Dieter Wilhelm
2022-01-26 18:31     ` Arash Esbati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86v8y6wi63.fsf@duenenhof-wilhelm.de \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=arash@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.