octave-bug-tracker
[Top][All Lists]
Advanced

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

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


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45654] Ctrl-C quits all editor windows
Date: Sun, 3 Mar 2019 19:29:19 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36

Update of bug #45654 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 3 - Low                
                  Status:               Need Info => Patch Submitted        
             Assigned to:                 lachlan => None                   

    _______________________________________________________

Follow-up Comment #8:

This bug is still present in Octave 5.1 if the editor is emacs and is run in
"async" mode (the defaults for octave-cli users).

As discussed a while ago, the cleanest solution is probably to add a new
(possibly internal-use-only) way for Octave to create child processes such
that they are not bound to the terminal that Octave is running in and do not
receive the same signals that Octave does when running in a terminal
emulator.

For example, an easy workaround is setting the EDITOR environment variable to
"setsid emacs".

The attached patch adds a "detach" option to the 'system' function, I have not
reviewed it or tested it yet.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?45654>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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