delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
From: | "David Karr" <dkarr AT real DOT com> |
To: | Andrew AT DeFaria DOT com, cygwin AT cygwin DOT com |
References: | <746652D230364290B3E68BE37FA6CB50 AT corp DOT real DOT com> <h0bem8$j79$1 AT ger DOT gmane DOT org> |
Subject: | RE: How to run GNU Emacs from Windows icon |
Date: | Fri, 5 Jun 2009 08:58:54 -0700 |
Message-ID: | <11A75AD176AD4FDDB6913E94D92DCB64@corp.real.com> |
MIME-Version: | 1.0 |
In-Reply-To: | <h0bem8$j79$1@ger.gmane.org> |
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 |
> -----Original Message----- > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf > Of Andrew DeFaria > Sent: Friday, June 05, 2009 8:47 AM > To: cygwin AT cygwin DOT com > Subject: Re: How to run GNU Emacs from Windows icon > > David Karr wrote: > > I now need to set up Windows desktop icons that can start these > > processes. I managed to get XEmacs working, with the following command > > line: > > > > C:\cygwin\bin\bash.exe --login -c C:/cygwin/bin/xemacs-21.4.22.exe > Why the insistence on running bash? Why not simply run Xemacs? That's > what I do at work and it works fine for me. It may not produce any difficult symptoms with XEmacs itself, but without that I don't get a normal login shell out of the box. > > However, when I try to do something similar for GNU Emacs, it fails > > immediately. When I tried running the analogous command from the DOS > > prompt, I got this: > > > > ----------------- > >> C:\cygwin\bin\bash.exe --login -c "C:/cygwin/bin/emacs.exe" > > emacs: Terminal type cygwin is not defined. > > If that is not the actual type of terminal you have, > > use the Bourne shell command `TERM=... export TERM' (C-shell: > > `setenv TERM ...') to specify the correct type. It may be necessary > > to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well. > Again, why run bash first then run emacs? Again, so I get a login shell. In any case, this has no effect on the symptom. I tried doing this without bash, and it fails in exactly the same way. Thanks. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |