[Geany-devel] VTE Ctrl-C to kill

David Gomes davidrafagomes at xxxxx
Sat Dec 31 10:43:39 UTC 2011


Hello,

The way you handle it is funny, I'll check Gnome Terminal, and then I'll
post the code here in case you want to improve your method.

Thanks!

On Saturday, December 31, 2011, Matthew Brush wrote:

> On 12/30/2011 10:26 AM, David Gomes wrote:
>
>> Hey guys,
>>
>> I'm working on a project that uses VTE, and since GNOME crew wasn't so
>> helpful, I was wondering if you did anything particular to allow Ctrl-C
>> to kill the current process in the terminal of Geany. Was it default or
>> did you have to create that custom key binding?
>>
>> Thanks.
>>
>>
> Use the source[1] Luke!
>
> P.S. Geany is probably the only VTE program for me (including my own)
> where Ctrl+C doesn't do what it's supposed, instead it clears the VTE
> (which is wrong) and then freezes (which is especially wrong).  So you
> might have better luck looking at the source for GNOME-terminal or
> Xfce-terminal which both just kill the processes and return immediately to
> the same prompt.
>
> Cheers,
> Matthew Brush
>
> [1] https://github.com/geany/**geany/blob/master/src/vte.c#**L322<https://github.com/geany/geany/blob/master/src/vte.c#L322>
> ______________________________**_________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-**bin/mailman/listinfo/geany-**devel<https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel>
>


-- 
David Gomes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20111231/1c027f51/attachment.html>


More information about the Devel mailing list