unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Running Emacs in an MSYS2 shell (or terminal?)
Date: Tue, 25 Jan 2022 19:02:52 +0200	[thread overview]
Message-ID: <83bkzziw8z.fsf@gnu.org> (raw)
In-Reply-To: <86fspbydoi.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de)

> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
> Date: Tue, 25 Jan 2022 17:37:17 +0100
> 
> 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?

Is this when invoking Emacs from mintty (or what's the default
terminal program in MSYS2 is called these days)?  If so, I think this
is a question for MSYS2 folks or maybe for Cygwin folks.  Basically, I
believe stdin is a pipe in that case, and Emacs cannot cope with that
in -nw mode.



  reply	other threads:[~2022-01-25 17:02 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83bkzziw8z.fsf@gnu.org \
    --to=eliz@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).