From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Running Emacs in an MSYS2 shell (or terminal?) Date: Tue, 25 Jan 2022 19:02:52 +0200 Message-ID: <83bkzziw8z.fsf@gnu.org> References: <86fspbydoi.fsf@duenenhof-wilhelm.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28645"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 25 18:21:37 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 1nCPVh-0007JG-DL for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 18:21:37 +0100 Original-Received: from localhost ([::1]:35850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCPVg-0001FW-0o for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 12:21:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCPDk-0001FJ-NP for help-gnu-emacs@gnu.org; Tue, 25 Jan 2022 12:03:06 -0500 Original-Received: from [2001:470:142:3::e] (port=39846 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCPDk-0003Zt-Da for help-gnu-emacs@gnu.org; Tue, 25 Jan 2022 12:03:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kLwbdaKSyP0Pbalc+LG0OqhXzhjAqSF+AsH5OtAqYvc=; b=iHrs8SY4Alrc ng9xhKXevWEa7Atzpkn3rNQLx8Y99im7TRx4t/agzIPh8ct7Y7EjSUd79huQkade7WK4DBXK9zkI0 mWoZ4QJx121S5SxlujZ2hVgi+PGRhp8DaLI+5ftZsvskn/LA3OU0Ln+dvO2oZUsxjyIv9R3sa7nWS 3x3GQk00jlH6assbOOF+xsuvS/zKvNzip+8OT6qWpFw6Y1VF1OS5qc/000raab9VxhIClIFjdqvdF 4PVziq21GE4AbDilu4w67/FRROQwN89gzJy1b0dnWs1vHV4EnC0fOOHNp72e50GHf8eegRCFhkbFa 2Gro0/MDtm0XH/5ch1qB2Q==; Original-Received: from [87.69.77.57] (port=2099 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCPDj-0005Y2-Rp for help-gnu-emacs@gnu.org; Tue, 25 Jan 2022 12:03:04 -0500 In-Reply-To: <86fspbydoi.fsf@duenenhof-wilhelm.de> (dieter@duenenhof-wilhelm.de) 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:135527 Archived-At: > From: "H. Dieter Wilhelm" > 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.