cygwin + console2 ctrl-c keyboard interrupt not working
Asked Answered
L

4

10

I'm using console2 as my shell for cygwin and control-C is not working.

I have made sure that control-C is not being used as a hotkey in my console2 settings.

This is how I run cygwin from console2 D:\Programs\Cygwin\bin\bash.exe --login -i

To check for yourself, do ping google.com -t and try to interrupt it with control C.

Here is my console2 console.xml file, http://pastebin.com/mZ3yHe6D

Longer answered 17/7, 2012 at 10:38 Comment(0)
H
5

This was a bug in cygwin, it should be fixed in the upcoming cygwin release (1.7.17), see here


Update: 1.7.17 was released on Oct 20, 2012. The problem is indeed fixed now.

Hannahhannan answered 26/8, 2012 at 16:1 Comment(0)
S
3

So I was running into this issue through the Git Msys install (utilizes MingW32) on Windows too.

The problem was Ctrl + C was bound to the Copy Selection which negates the ability to pass the Ctrl + C interrupt into the actual console. Reassigning that hotkey binding allows you to actually use Ctrl + C again for interrupting server tasks, etc.

Scanties answered 30/10, 2013 at 11:10 Comment(0)
B
1

In Console2, reassign the Hotkey Ctrl + C to other, then the termination will work. Thanks Silva

Bevvy answered 4/6, 2015 at 15:47 Comment(0)
B
1

Instead of reassigning the hotkeys you can also simply press Ctrl-Shift-C for keyboard interruption in Console2

Billhead answered 18/8, 2017 at 8:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.