X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: How to run GNU Emacs from Windows icon
Date:  Fri, 05 Jun 2009 08:47:20 -0700
Lines: 23
Message-ID: <h0bem8$j79$1@ger.gmane.org>
References:  <746652D230364290B3E68BE37FA6CB50@corp.real.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
In-Reply-To: <746652D230364290B3E68BE37FA6CB50@corp.real.com>
X-Stationery: 0.4.8.14
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

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.
> 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?
-- 
Andrew DeFaria <http://defaria.com>
Press any key to continue or any other key to quit...


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

