delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/11/14:54:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <27114208.post@talk.nabble.com>
References: <27114208 DOT post AT talk DOT nabble DOT com>
Date: Mon, 11 Jan 2010 19:54:33 +0000
Message-ID: <416096c61001111154i38694543pedf1eb1a8d6b9b58@mail.gmail.com>
Subject: Re: ntEmacs has trouble with cygwin terminal...
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

2010/1/11 aputerguy
>
> Here is the situation:
>
> Running from a cygwin 1.7 bash terminal:
> $ emacs -nw
> <opens up terminal-based emacs session in current cygwin terminal>
>
> $emacsclient -nw
> *ERROR*: Not using an ASCII terminal now; cannot make a new ASCII frame
>
> $echo $TERM
> cygwin
>
> Running from within screen within cygwin:
> $ emacs -nw
> emacs: standard input is not a tty
>
> $ emacsclient -nw
> *ERROR*: Not using an ASCII terminal now; cannot make a new ASCII frame
>
> $ echo $TERM
> screen
>
> SO...
> 1. Why is emacsclient -nw fails within a cygwin terminal while emacs -nw
> works?
>
> 2. Why do *neither* of them work within screen?

Well, they obviously have different issues. Native emacs doesn't work
in screen because screen uses Cygwin's pseudo terminal devices (ptys),
whereas ntemacs presumably expects to talk to a console. Regarding
emacsclient, perhaps it's getting upset about Cygwin's LANG setting.
Try unsetting that.

> If you want everything to work as expected,
> either don't run NTEmacs from Cygwin programs, or use the Cygwin build
> of Emacs.

Yep. And don't expect much help with NTEmacs here.

> Note though that there are good reasons why I use ntEmacs and not
> cygwin Emacs

Such as?

Andy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019