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

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

[Octave-bug-tracker] [bug #55029] pause causes hang


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55029] pause causes hang
Date: Fri, 16 Nov 2018 16:09:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

Follow-up Comment #34, bug #55029 (project octave):

I also observe the following on Fedora 29. When Octave starts, the 'kbhit'
function behaves correctly. However, after calling 'pause' with no arguments,
and breaking out of it with Ctrl+C, the 'kbhit' function now returns an empty
string immediately for the remainder of the Octave session. This agrees with
the change that Dmitri bisected to, which uses 'octave::kbhit' inside of an
infinite loop. The 'octave::kbhit' function continues to return -1 inside that
loop, no matter how many keys are pressed, so the loop is never broken until
the user issues an interrupt.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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