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: anonymous
Subject: [Octave-bug-tracker] [bug #48541] kbhit returns "undefined" when starting script from terminal
Date: Sun, 17 Jul 2016 11:34:26 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

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

                 Summary: kbhit returns "undefined" when starting script from
terminal
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sun 17 Jul 2016 11:34:24 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Marc
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I use kbhit for user interaction.

For example (cf. attached showcase.m):

a = kbhit()


When I run the script from within octave everything is fine.
But when I run the same script from the terminal by issuing

octave-cli showcase.m

I get the following error: "error: value on right hand side of assignment is
undefined"











    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 17 Jul 2016 11:34:24 AM UTC  Name: showcase.m  Size: 13B   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=37920>

    _______________________________________________________

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]