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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > > $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