[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45654] Ctrl-C quits all editor windows

From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #45654] Ctrl-C quits all editor windows
Date: Mon, 25 Jan 2016 10:57:23 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #2, bug #45654 (project octave):

The attached patch fixes the problem under Linux.  The problem is that ^C
sends SIGINT to the whole process group, not just the process that would
receive the keystroke.

The patch changes system() calls to put any emacs process (any only emacs)
into its own process group.

It uses setpgid() which is presumably not portable, but I lack the m4
knowledge to generate the HAVE_SETPGID macro.

If anyone else things this approach is promising, could they please either
finish it or give me some tips?  Thanks

(file #36162)

Additional Item Attachment:

File name: bug_45654.cset                 Size:1 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]