From: Alister H. <ali...@sy...> - 2009-07-22 23:11:45
|
(Sorry David for replying direct, not to the list) Great, thanks. So to save from having to start colinux and then a separate terminal, I write a batch script that checks if it is running and if not starts it with -d (using the Cygwin `run` command or some other way of suppressing the now useless terminal), then starts a terminal to connect to the running Colinux session. Seems a little complicated :) I still don't understand the point of having Ctrl-C shut it down if I run without -d :) -----Original Message----- From: David Kaufman [mailto:da...@gi...] Sent: Thursday, 23 July 2009 7:59 a.m. To: col...@li... Subject: Re: [coLinux-users] Can I stop Ctrl-C in the Colinux console from exiting? Hi Alister, Henry: Henry Nestler wrote: > On 20.07.2009 04:00, Alister Hood wrote: >> Does anyone know if it is possible to stop Colinux from exiting when you >> press Ctrl-C in the console? Or is there another way to interrupt a >> program running in the console without shutting Colinux down? > > For me, CTRL-C does not shutting down coLinux. Both consoles (NT and > FLTK) have not such effect. Tested with coLinux 0.7.4 on Windows XP. > > Do you perhaps not use the native CMD.EXE? If I remember correctly Ctrl-C stops coLinux if you ran colinux-daemon.exe without the -d option and colInux was running in the foreground of your DOS shell. To run coLinux in the background include, the -d on the command-line. It's also a good idea to read the whole colinux-daemon.txt file (in your colinux directory, next to colinux-daemon.exe) from top to bottom! It also tells you neat tricks like how to make colinux startup automatically in the backgrouns as a Windows service at boot time, so you dont have to start it each time yourself. -dave ------------------------------------------------------------------------ ------ _______________________________________________ coLinux-users mailing list coL...@li... https://lists.sourceforge.net/lists/listinfo/colinux-users |