How to run GNU Emacs from Windows icon
Andrew DeFaria
Andrew@DeFaria.com
Fri Jun 5 15:47:00 GMT 2009
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/
More information about the Cygwin
mailing list