Hi,

On Sun, Aug 11, 2013 at 12:33 PM, Hugh McMaster
<hugh.mcmas...@masterindexing.com> wrote:
> Jason Edmeades and I have developed a patch that handles Ctrl-C and 
> Ctrl-Break events in wineconsole's cmd.exe.
>
> The patch supports interactive mode, batch contexts and both the cmd /c and 
> cmd /k modes, meaning that pressing Ctrl-C no longer closes cmd.exe.
I've tried applying your both patches, and it appears that Ctrl+C at
cmd prompt still closes cmd, although pressing it while "dir /s /w" is
running works as expected.
>
> For loops, commands such as 'dir /s /w' and other such commands can be 
> stopped. Batch scripts prompt the user whether the current batch execution 
> should end.
>
> ---
>  programs/cmd/builtins.c |   95 
> ++++++++++++++++++++++++++++++++++++++++++-----
>  programs/cmd/cmd.rc     |    2 +
>  programs/cmd/wcmd.h     |    7 ++++
>  programs/cmd/wcmdmain.c |   65 +++++++++++++++++++++++++++++++-
>  4 files changed, 158 insertions(+), 11 deletions(-)
>
>
>

Regards,
Ruslan


Reply via email to