Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 28 Mar 2004 18:32:22 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: cygwin@cygwin.com
cc: Edwin Goei <Edwin.Goei@Sun.COM>
Subject: Re: shortcut to start xemacs in bash cygwin window
In-Reply-To: <4067272E.50400@acm.org>
Message-ID: <Pine.GSO.4.56.0403281825100.18236@slinky.cs.nyu.edu>
References: <406721C3.2070203@sun.com> <4067272E.50400@acm.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

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.
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

