Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Alex Malinovich" To: Subject: RE: cygwin.bat Date: Sun, 9 Sep 2001 00:44:20 -0500 Message-ID: <000801c138f2$79c6b030$0800a8c0@TheLoveShack.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2526.0000 In-Reply-To: <001601c138ca$3763c840$1419a8c0@mercury> Importance: Normal That's a good idea as well. Thought I get the feeling that it would be considerably more work to implement than just adding "start" to the batch file. (From a setup.exe point of view that is.) -Alex > -----Original Message----- > From: cygwin-owner AT sources DOT redhat DOT com > [mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Michael Erdely > Sent: Saturday, September 08, 2001 7:56 PM > To: cygwin AT cygwin DOT com > Subject: RE: cygwin.bat > > > Or, better yet, don't use a batch file at all. Create an icon that > starts in :\Path-to-cygwin\bin that launches bash. > > Works like a charm. > > -ME > > -----Original Message----- > From: cygwin-owner AT sources DOT redhat DOT com > [mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Bobby McNulty > Sent: Saturday, September 08, 2001 6:27 PM > To: "Alex Malinovich"; cygwin AT cygwin DOT com > Subject: RE: cygwin.bat > > > "Alex Malinovich" wrote: > > >Just a quick observation. Cygwin.bat calls "bash --login -i" to start > >cygwin. Wouldn't it be a bit better to instead use 'start' to launch > >bash? > > > >e.g. > > > >"start bash --login -i" > > > >By using 'start' bash is called, and then the batchfile continues > >execution. (it ends) > > > >This would alleviate the issue of "Terminate batch job?" > messages that > >occasionally crop up when closing the window. It also allows > more than > >one instance of bash to be called by using a keyboard > shortcut. I have > >ctrl-alt-c set to call cygwin.bat. The only problem is that if I > already > >have a window open, it won't allow me to open a second one that way > >since the batch file is still "running". Using 'start', I > can now open > >as many windows as I want. AFAIK the 'start' command has been > >implemented in all MS OS's since 95 so compatibility shouldn't be an > >issue. Just a suggestion. > > > >-Alex > > > > > >-- > >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > >Bug reporting: http://cygwin.com/bugs.html > >Documentation: http://cygwin.com/docs.html > >FAQ: http://cygwin.com/faq/ > > > > > I just tried it out. > > start /r bash --login -i > > When exit is sent, the window closes without any fuss. > > > > > __________________________________________________________________ > Your favorite stores, helpful shopping tools and great gift ideas. > Experience the convenience of buying online with Shop AT Netscape! > http://shopnow.netscape.com/ > > Get your own FREE, personal Netscape Mail account today at > http://webmail.netscape.com/ > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/