public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Logging off NT while a bash window is open
@ 2000-12-22  9:31 John Pollock
  0 siblings, 0 replies; 4+ messages in thread
From: John Pollock @ 2000-12-22  9:31 UTC (permalink / raw)
  To: cygwin

At 12:10 PM 12/22/2000, Weiqi Gao wrote:
>Hi,
>
>I have noticed that my bash window (a CMD.EXE window
>running bash) sometimes won't close when I log off my
>NT 4.0 SP6 workstation, causing a dialog to show up
>for me to do a hard kill on the process.

FWIW, there's a registry key of use here:

HKEY_USERS\.Default\Control Panel\Desktop\AutoEndTasks

if this value is set to "1", then processes get hard killed during a logoff.
In other words, the "Wait, End Task, Cancel" box should never show up once
this value is set.

If you want this to work for an existing user, change
HKEY_CURRENT_USER\Control Panel\etc etc instead of HKEY_USERS\Control
Panel\etc etc

Cheers,
John


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logging off NT while a bash window is open
  2000-12-22  9:10 Weiqi Gao
  2000-12-22  9:18 ` Larry Hall (RFK Partners, Inc)
@ 2000-12-23 12:51 ` Stephen C. Biggs
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen C. Biggs @ 2000-12-23 12:51 UTC (permalink / raw)
  To: Weiqi Gao, cygwin

What's weird about this is that you don't have to do a hard kill if you 
wait long enough (2 minutes??)... it will then close by itself.  What is 
it waiting for?  It is possible that all the times that I have had this 
occurrence, I have run vim...

On 22 Dec 2000, at 9:10, Weiqi Gao wrote:

> Hi,
> 
> I have noticed that my bash window (a CMD.EXE window
> running bash) sometimes won't close when I log off my
> NT 4.0 SP6 workstation, causing a dialog to show up
> for me to do a hard kill on the process.
> 
> This does not happen all the time.  But it does happen
> under certain circumstances.  I haven't figured out
> what these circumstances are yet.  But I have a
> feeling that running vim or NTEmacs would cause it to
> happen, but I'm not sure.
> 
> 
> =====
> Weiqi Gao
> weiqigao@yahoo.com
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Logging off NT while a bash window is open
  2000-12-22  9:10 Weiqi Gao
@ 2000-12-22  9:18 ` Larry Hall (RFK Partners, Inc)
  2000-12-23 12:51 ` Stephen C. Biggs
  1 sibling, 0 replies; 4+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2000-12-22  9:18 UTC (permalink / raw)
  To: Weiqi Gao, cygwin

At 12:10 PM 12/22/2000, Weiqi Gao wrote:
>Hi,
>
>I have noticed that my bash window (a CMD.EXE window
>running bash) sometimes won't close when I log off my
>NT 4.0 SP6 workstation, causing a dialog to show up
>for me to do a hard kill on the process.
>
>This does not happen all the time.  But it does happen
>under certain circumstances.  I haven't figured out
>what these circumstances are yet.  But I have a
>feeling that running vim or NTEmacs would cause it to
>happen, but I'm not sure.
>
>
>=====
>Weiqi Gao
>weiqigao@yahoo.com



This happens to me since day-one of using Cygwin (at least 4 years ago) so 
if you see it only sometimes, you're lucky!;-)  AFAIK, the reason is because
the Cywgin processes (or is it somehow just related to bash?) don't respond 
to the logoff notification.  I remember talk about this on the mail list 
from long ago.  The result was to leave things "as-is", since there was 
some concern that a change would cause other problems.  If you're interested,
check the mail archives and ferret around in the code a bit to see what you
can come up with.  I find it a small annoyance myself but, as you can see,
I haven't let it slow me down over the years!;-)



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Logging off NT while a bash window is open
@ 2000-12-22  9:10 Weiqi Gao
  2000-12-22  9:18 ` Larry Hall (RFK Partners, Inc)
  2000-12-23 12:51 ` Stephen C. Biggs
  0 siblings, 2 replies; 4+ messages in thread
From: Weiqi Gao @ 2000-12-22  9:10 UTC (permalink / raw)
  To: cygwin

Hi,

I have noticed that my bash window (a CMD.EXE window
running bash) sometimes won't close when I log off my
NT 4.0 SP6 workstation, causing a dialog to show up
for me to do a hard kill on the process.

This does not happen all the time.  But it does happen
under certain circumstances.  I haven't figured out
what these circumstances are yet.  But I have a
feeling that running vim or NTEmacs would cause it to
happen, but I'm not sure.


=====
Weiqi Gao
weiqigao@yahoo.com



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-12-23 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-22  9:31 Logging off NT while a bash window is open John Pollock
  -- strict thread matches above, loose matches on Subject: below --
2000-12-22  9:10 Weiqi Gao
2000-12-22  9:18 ` Larry Hall (RFK Partners, Inc)
2000-12-23 12:51 ` Stephen C. Biggs

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).