Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4067272E.50400@acm.org> Date: Sun, 28 Mar 2004 11:27:42 -0800 From: David Rothenberger User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040312) MIME-Version: 1.0 To: Edwin Goei CC: cygwin AT cygwin DOT com Subject: Re: shortcut to start xemacs in bash cygwin window References: <406721C3 DOT 2070203 AT sun DOT com> In-Reply-To: <406721C3.2070203@sun.com> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 -- 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/