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

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

[Octave-bug-tracker] [bug #54621] kbhit does not return on non-interacti


From: Andreas von Borany
Subject: [Octave-bug-tracker] [bug #54621] kbhit does not return on non-interactive shell
Date: Wed, 5 Sep 2018 14:23:27 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

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

We have tested octave 4.4.0 and there the given fix is already included. The
problem is that kbhit in an non-interactive shell does not return but waits
for a key pressed.

I think this issue is related to the change you have mentioned, because this
behavior is new in octave 4.4.0 (the mentioned change removed the check 

if (octave::application::interactive ())"


This leads to the effect that you can not rely on the fact that kbhit returns
in non-interactive shells.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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