This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Terminate batch job at logout?


I edited my cygwin.bat file and changed this line:

    bash --login -i

to:

    start bash --login -i

And now, I don't get the 'terminate batch job' message at logout despite
my frequent use of ctrl-C.

Thanks for the help.  Should we add this to the FAQ?



> On Thu, 28 Aug 2003 waxmop@sarcastic-horse.com wrote:
>
>> Hi -
>>
>> I've been using cygwin for a day now, and every time I plan to exit out
>> of
>> the shell, I get asked, "Terminate batch job (Y/N)?"
>>
>> I'm not sure what this is referring to.
>> Any ideas?
>
> This happens if you press Ctrl-C during the execution of bash.  See
> <http://cygwin.com/ml/cygwin/2001-07/msg01565.html>,
> <http://cygwin.com/ml/cygwin/2000-07/msg01192.html>, and
> <http://cygwin.com/ml/cygwin/2000-07/msg01196.html> for possible
> solutions.  Be aware that at least the first one ("tty") will have other
> side effects that should be carefully considered.
> 	Igor
> --
> 				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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]