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

Michael
  • 5,994
  • 7
  • 44
  • 56

4 Answers4

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.

Ingo Kegel
  • 46,523
  • 10
  • 71
  • 102
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.

Branden Silva
  • 1,406
  • 1
  • 11
  • 15
1

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

OhBeWise
  • 5,350
  • 3
  • 32
  • 60
mohanraj
  • 11
  • 1
1

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

Akif
  • 6,018
  • 3
  • 41
  • 44