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

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

[Octave-bug-tracker] [bug #37672] CTRL+C interrupt processing causes seg


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #37672] CTRL+C interrupt processing causes segfaults
Date: Fri, 10 Jun 2016 05:01:57 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #68, bug #37672 (project octave):

I haven't seen this problem, because apparently the following line causes this
to start working (explicitly shown here to cause a change in the way the
terminal interrupts are handled):


./run-octave -qfH --no-gui
>> pause (10);
^C ## no effect, pause runs to completion
>> 
>> [a,b] = system ("true");
>> pause (10);
^C
>> ## interrupt works now


My ~/.octaverc actually calls gnuplot, but the program that is called in
system() doesn't seem to matter, what matters is that the output is captured
with nargout == 2. This is enough to apparently restore terminal interrupt
handling enough so that this works.

May have something to do with the octave-gui executable and doing something to
the terminal attributes when it starts up.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37672>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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