www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/02/07:51:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4A251246.5090300@cornell.edu>
Date: Tue, 02 Jun 2009 07:51:34 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to run GNU Emacs from Windows icon
References: <746652D230364290B3E68BE37FA6CB50 AT corp DOT real DOT com> <23827772 DOT post AT talk DOT nabble DOT com> <4A250A8E DOT 1080106 AT cornell DOT edu>
In-Reply-To: <4A250A8E.1080106@cornell.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 6/2/2009 7:18 AM, Ken Brown wrote:
> On 6/2/2009 5:30 AM, Marc Girod wrote:
>> I can also start a Cygwin window, and run GNU emacs there (with a -nw
>> option).
>> It starts, although doesn't work well. The keyboard bindings are weird 
>> for a
>> start (e.g. C-x C-c gives in fact C-x C-g, which forces you to exit 
>> with M-x
>> kill-emacs).
>> I'm sure this was discussed already.
> 
> You need to have 'tty' in your CYGWIN environment variable in order to 
> prevent this from happening.  But even then, you'll find that many 
> keystrokes don't work as expected.  If you want to run emacs in a 
> terminal (rather than under X), you'll get much better results with 
> mintty or rxvt.

But none of this addresses the OP's original problem:

> emacs: Terminal type cygwin is not defined.

My guess is that this is a terminfo issue.  Try installing the terminfo0 
package.

Chuck, the ancient-but-still-current emacs requires libncurses7; the 
latter requires terminfo, but I think it should require terminfo0 instead.

Ken

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

- Raw text -


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