www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/02/02:00:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DATE_IN_PAST_06_12,SPF_PASS
X-Spam-Check-By: sourceware.org
From: "David Karr" <dkarr AT real DOT com>
To: cygwin AT cygwin DOT com
Subject: How to run GNU Emacs from Windows icon
Date: Mon, 1 Jun 2009 16:07:58 -0700
Message-ID: <746652D230364290B3E68BE37FA6CB50@corp.real.com>
MIME-Version: 1.0
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

I'm now to the point where I can run "rxvt", and then from the spawned Bash
process I can run "emacs" and get a reasonable Emacs process going.  I can
do the same with "xemacs".

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

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

I've made some guesses on what terminal type it should be set to, but I
haven't gotten this to work.


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