public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Michael Erdely" <cygwin@cygwin.com>
To: <cygwin@cygwin.com>
Subject: RE: cygwin.bat
Date: Sat, 08 Sep 2001 17:56:00 -0000	[thread overview]
Message-ID: <001601c138ca$3763c840$1419a8c0@mercury> (raw)
In-Reply-To: <1E5B71A3.0E89B188.34CBA360@netscape.net>

Or, better yet, don't use a batch file at all.  Create an icon that
starts in <drive>:\Path-to-cygwin\bin that launches bash.

Works like a charm.

-ME

-----Original Message-----
From: cygwin-owner@sources.redhat.com
[ mailto:cygwin-owner@sources.redhat.com ] On Behalf Of Bobby McNulty
Sent: Saturday, September 08, 2001 6:27 PM
To: "Alex Malinovich"; cygwin@cygwin.com
Subject: RE: cygwin.bat


"Alex Malinovich" <baggend@howlermonkey.net> 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@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/

  reply	other threads:[~2001-09-08 17:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-08 15:27 cygwin.bat Bobby McNulty
2001-09-08 17:56 ` Michael Erdely [this message]
2001-09-08 22:44   ` cygwin.bat Alex Malinovich
  -- strict thread matches above, loose matches on Subject: below --
2007-11-19 16:17 cygwin.bat 123cu
2007-11-19 16:18 ` cygwin.bat Brian Mathis
2007-11-20 10:51 ` cygwin.bat Carlo Florendo
2003-05-10  3:14 cygwin.bat derek
2003-05-10  3:31 ` cygwin.bat Igor Pechtchanski
2003-05-10  3:53   ` cygwin.bat derek
2003-05-10  4:01     ` cygwin.bat Larry Hall (RFK Partners, Inc.)
2003-05-10 21:56       ` cygwin.bat Sam Edge
2003-05-11  1:10         ` cygwin.bat Christopher Faylor
2003-05-11  2:18           ` cygwin.bat Sam Edge
2003-05-11  2:18             ` cygwin.bat Christopher Faylor
2003-05-11  3:31               ` cygwin.bat Sam Edge
2003-05-11  3:50                 ` cygwin.bat Christopher Faylor
2001-09-08 15:04 cygwin.bat Alex Malinovich
2000-08-10 13:48 cygwin.bat Jonas Jensen
2000-08-10 14:01 ` cygwin.bat DJ Delorie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001601c138ca$3763c840$1419a8c0@mercury' \
    --to=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).