Disabling Quit On Telnet
Bill Campbell
bill at celestial.com
Sat Apr 29 15:57:24 PDT 2006
On Sat, Apr 29, 2006, Fairlight wrote:
>Confusious (John Esak) say:
>>
>> As you know... Alt-F4 closes any active window... you and I both use this,
>> preferring keystrokes to mouse clicking... Would getting rid of the 3
>> controls at the top right of the window *also* obviate the Alt-F4? That
>> *world* be kind of cool.... just curious.
>
>>From the discussions I saw, no. It's specific to the window decoration
>modes and would not affect key bindings. Good catch--I use it many times
>an hour and never thought of it. Things would be just as bad in that case.
>
>There's got to be a Windows event that is trappable with an event handler,
>similar to catching SIGINT with signal(). You can't trap SIGKILL in
>*nix, but I -believe- that the event generated by ALT-F4 and the X icon
>is different than the one that kills an app totally drastically like
>SIGKILL--otherwise you'd never hit that "unresponsive program...end now?"
>dialogue which -will- kill it no matter what. I just don't know the event
>name.
How do you trap the normal Windows crashes?
I was thinking about this since this thread started, and it
almost makes we wish for the days of hard-wired dumb terminals
that didn't automatically drop the connection when the power was
turned off without properly logging out.
Using screen on a *nix host sounds like a sane approach if it
permits holding sessions open when Windows dies.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
More information about the Filepro-list
mailing list