>   void
>   setup_cancel_handler(void)
>   {
> +     static bool done = false;
> +
> +     if (!done)
>               SetConsoleCtrlHandler(consoleHandler, TRUE);
> +     done = true;
>   }
> 

That works, I tried ctrl-c various ways including from within \i copy.
Problem solved!

Merlin

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to