X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
From: "David Karr" <dkarr@real.com>
To: kbrown@cornell.edu, cygwin@cygwin.com
References: <746652D230364290B3E68BE37FA6CB50@corp.real.com> <23827772.post@talk.nabble.com> <4A250A8E.1080106@cornell.edu> <4A251246.5090300@cornell.edu>
Subject: RE: How to run GNU Emacs from Windows icon
Date: Thu, 4 Jun 2009 09:10:16 -0700
Message-ID: <875D2A2115E04A908C957AEBFBA4ACF4@corp.real.com>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <4A251246.5090300@cornell.edu>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
> Of Ken Brown
> Sent: Tuesday, June 02, 2009 4:52 AM
> To: cygwin@cygwin.com
> Subject: Re: How to run GNU Emacs from Windows icon
> 
> 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.

Getting back to this, I already have terminfo0 installed.

I tried Marc Girod's emacs.bat script from an earlier reply, but it doesn't
work for me because I already have an X server running.  What I really need
is something that gives me a regular separate Windows decorated frame, with
Emacs running inside.  I get that out of the box with XEmacs, but some
things work a little better in GNU Emacs, so I'm trying to get that working.


--
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/

