How to send ctrl-C to gdb ?

249 views
Skip to first unread message

DutchStone

unread,
Jul 10, 2008, 2:30:43 AM7/10/08
to scite-interest
Hi all,

As a newby, I use Scite with gdb and gdb-proxy on Win XP to remotely
debug an MSP430 microcontroller.

I need to be able to send ctrl-c to the program in the output pane,
and gdb should receive it (to stop the program in my case). However if
I type Ctrl-C, the selected part of the output pane is copied to the
clipboard, and gdb does not receive the keystroke.

Does anybody know a way to send Ctrl-C to the program in the output
pane? Maybe by defining a shortcut key?

Thanks in advance!

Best regards,

Marco

Neil Hodgson

unread,
Jul 10, 2008, 6:11:25 AM7/10/08
to scite-i...@googlegroups.com
DutchStone:

> Does anybody know a way to send Ctrl-C to the program in the output
> pane? Maybe by defining a shortcut key?

There isn't any way to do this. The keyboard interaction support
added was just enough to allow running CVS. The input handle of the
subprocess (hWriteSubProcess) can be written to if you want to modify
the code.

Neil

DutchStone

unread,
Jul 10, 2008, 6:25:11 AM7/10/08
to scite-interest
Hi Neil,

Thanks for your quick and clear reply!
So if I understand you correctly I would need to edit the c-sourcecode
of Scite.

Is there some place where I can request this behaviour as a feature in
a future version of scite?

Best regards,
Marco

Neil Hodgson

unread,
Jul 11, 2008, 9:17:40 AM7/11/08
to scite-i...@googlegroups.com
DutchStone:

> So if I understand you correctly I would need to edit the c-sourcecode
> of Scite.

Yes.

> Is there some place where I can request this behaviour as a feature in
> a future version of scite?

There is a feature request tracker at
https://sourceforge.net/tracker/?group_id=2439&atid=352439
but I don't think there is anyone looking for features to add.
Pretty much everything that gets added is because the person
implementing the feature wants it themselves.

Neil

Reply all
Reply to author
Forward
0 new messages