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.
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
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#**L322https://github.com/geany/geany/blob/master/src/vte.c#L322 ______________________________**_________________ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-**bin/mailman/listinfo/geany-**develhttps://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Fri, Dec 30, 2011 at 7:26 PM, David Gomes davidrafagomes@gmail.com wrote:
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?
I've been beaten by this in the past (see [1]). It should suffice to check 'Override Geany keybindings' in Prefs > Terminal. Apparently Nick made it default in recent versions [2].
Happy Holidays Liviu
[1] http://lists.uvena.de/geany-devel/2010-October/003343.html [2] http://lists.uvena.de/geany-devel/2010-October/003347.html
Actually, never mind everybody. I was using Gtk.Stock.COPY and that was overriding the Control+C key shortcut to kill processes.
Sorry for bothering, but thanks a lot!
On Sunday, January 1, 2012, Liviu Andronic wrote:
On Fri, Dec 30, 2011 at 7:26 PM, David Gomes <davidrafagomes@gmail.comjavascript:;> wrote:
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?
I've been beaten by this in the past (see [1]). It should suffice to check 'Override Geany keybindings' in Prefs > Terminal. Apparently Nick made it default in recent versions [2].
Happy Holidays Liviu
[1] http://lists.uvena.de/geany-devel/2010-October/003343.html [2] http://lists.uvena.de/geany-devel/2010-October/003347.html _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de javascript:; https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel