This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ntEmacs has trouble with cygwin terminal...
- From: aputerguy <nabble at kosowsky dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 11 Jan 2010 09:25:37 -0800 (PST)
- Subject: ntEmacs has trouble with cygwin terminal...
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?
NOTE: When I posted this to the emacs-windows mailing list, their basic
response was that this is an incompatibility between ntEmacs and cygwin
terminal. Specifically,
"...the native build of Emacs and Cygwin tools are subtly
incompatible in the ways they deal with the terminal. Mixing them is
asking for trouble. If you want everything to work as expected,
either don't run NTEmacs from Cygwin programs, or use the Cygwin build
of Emacs."
Perhaps that is the best and final answer -- but I wanted to just make sure
that the cygwin developers were aware of this in case there is an easy fix
on the cygwin side.
Note though that there are good reasons why I use ntEmacs and not cygwin
Emacs -- so the best answer for me is not just to switch to cygwin emacs...
--
View this message in context: http://old.nabble.com/ntEmacs-has-trouble-with-cygwin-terminal...-tp27114208p27114208.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
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