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

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

[Octave-bug-tracker] [bug #48541] kbhit returns "undefined" when startin


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48541] kbhit returns "undefined" when starting script from terminal
Date: Mon, 18 Jul 2016 18:17:22 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #3, bug #48541 (project octave):

Oh, now I see that the kbhit function is simply looking at Octave's
"interactive" flag.

That flag is set to false when running batch commands. So what should kbhit
return when run in a batch context? Should kbhit behave differently when
piping input to Octave via stdin versus using --eval?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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