|'Ctrl-C' in a console [message #113533]
||Tue, 01 November 2005 17:41
Originally posted by: jcwilson001.nym.hush.com|
I have managed to get Cygwin to run as an external tool through Eclipse.
Upon running, it opens a new console session. I'd like to be able to send
'Ctrl-C' events through the console to this Cygwin session, however the
Eclipse GUI intercepts the event and interprets it as the Windows 'copy'
command. I'm using XP, in case that info helps.
I have noticed that there is a way to send an EOF event by setting up a
special keybinding in the Run/Debug category. Is the EOF event just a way
of sending ASCII code 0x04 or 0x26? If so, shouldn't there be a similar
way to send 0x03 (ETX (which is what 'Ctrl-C' normally does in the Cygwin
environment, I think))?
The reason I need to do this is that I'm running a Python interpreter in
the Cygwin session and need to be able to interrupt it by hand. 'Ctrl-C'
works in a plain Cygwin session, but not in Eclipse.
Thanks for any suggestions,
Powered by FUDForum
. Page generated in 0.03667 seconds