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

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

[Octave-bug-tracker] [bug #52876] interrupt with <Ctrl> C does not termi


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #52876] interrupt with <Ctrl> C does not terminate octave during pause
Date: Thu, 18 Jan 2018 20:21:32 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #8, bug #52876 (project octave):

One additional result of this change is that Octave now sleeps the full amount
it was told to sleep, even when it is put into the background for more than
the remaining time.

In Octave 4.2:


>> pause (5)
^Z
[1]+  Stopped                 octave-cli
$ ... wait around some time in the shell
$ fg
>> ## Octave's prompt returns immediately


Now Octave continues to sleep the full amount that the user requested only
while Octave is active, elapsed time in the background state has no effect.

This may be considered better, just observing that this is a side effect
coming from this change. This is also how Python behaves when it is put into
the background in the middle of a call to time.sleep.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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