delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/28/18:49:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Sun, 28 Mar 2004 15:48:45 -0800
From: Edwin Goei <Edwin DOT Goei AT Sun DOT COM>
Subject: Re: shortcut to start xemacs in bash cygwin window
In-reply-to: <Pine.GSO.4.56.0403281825100.18236@slinky.cs.nyu.edu>
To: cygwin AT cygwin DOT com
Cc: Edwin Goei <Edwin DOT Goei AT Sun DOT COM>
Message-id: <4067645D.3030100@sun.com>
MIME-version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
References: <406721C3 DOT 2070203 AT sun DOT com> <4067272E DOT 50400 AT acm DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0403281825100 DOT 18236 AT slinky DOT cs DOT nyu DOT edu>

Igor Pechtchanski wrote:

> On Sun, 28 Mar 2004, David Rothenberger wrote:
> 
> 
>>Edwin Goei wrote:
>>
>>
>>>I would like to be able to have a Windows shortcut that will do the
>>>equivalent of the following: 1) run cygwin.bat 2) execute "xemacs &"
>>>in the cygwin bash window 3) exit the cygwin bash window 4) leaving
>>>xemacs running.
>>>
>>>I would like to start xemacs in this way so I can have my default bash
>>>enviroment initialized in xemacs.  Any ideas on to do this?
>>>
>>
>>I use the following.
>>
>>% cat xemacs.bat
>>@start /min c:\cygwin\bin\bash --login -c 'cygstart /usr/local/bin/xemacs'
>>
>>Of course, you'll need to adjust the paths to match your environment.
>>Once you make the batch file, you can make a shortcut to it in the usual
>>way.
>>
>>Dave
> 
> 
> FWIW, you can dispense with the batch file, and simply make a shortcut to
> "C:\cygwin\bin\bash --login -c 'cygstart /usr/bin/xemacs'"[*].  You can
> then set the shortcut to start minimized.
> 	Igor
> [*] I put /usr/bin/xemacs here, since xemacs is now a Cygwin package.

Thanks.  I changed my shortcut and it seems to work, but I noticed that 
the dos window indicates some number of errors from bash, but then 
quickly goes away.  Is there a way for me to keep the window open so I 
can see what the errors are?  I did not have the shortcut set to start 
minimized, here.

Also, the last time I tried the xemacs that comes with cygwin, there 
were problems with fonts and so I installed the version from xemacs.org 
instead.

-Edwin

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