> -----Original Message----- > From: Mads Kiilerich [mailto:m...@kiilerich.com] > Sent: 02 February 2010 11:33 > To: Colin Caughie > Cc: tortoisehg-discuss@lists.sourceforge.net > Subject: Re: [thg] Ctrl-C kills open TortoiseHG windows > > Colin Caughie wrote, On 02/02/2010 12:00 PM: > > Hi, > > > > One thing I've been finding really annoying about TortoiseHG at > the moment (one of the only things in fact) is the fact that if you > launch hgtk from a command prompt, and then some time later hit > Ctrl-C in that command prompt, it kills all of your hgtk windows. I > just lost a very long commit message that way. > > > > Is there a way to disable this behaviour, or should I raise an > issue in the bug tracker? > > > > Ctrl-C in a unix command prompt is meant to stop the running > program. It > would be annoying if it didn't. It is unfortunate that Ctrl-C also > is > one of the most common gui shortcuts, but tortoisehg is not the > place to > get a revolution of this started.
Sorry I should have said I'm running on Windows. I agree that on Linux, where hgtk blocks the shell while the window is open, it makes perfect sense for Ctrl-C to kill the window. But on Windows, hgtk forks off a background process to run the window so that you can continue to use the command prompt for other things. If you then use that command prompt to run something else, completely unrelated to TortoiseHG, and have to kill it using Ctrl-C, it kills the hgtk window as well. I would consider this a bug as it is completely unexpected. I know I can avoid it by always using "start" to start hgtk, it's not that easy to remember to do that. Colin Latest News at: http://www.indigovision.com/news2009.php ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss