bugGNU Octave - Bugs: bug #56776, Pause function doesn't respond to...

 
 

bug #56776: Pause function doesn't respond to key press

Submitted by:  None
Submitted on:  Sun 18 Aug 2019 11:04:59 PM UTC  
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error
Status:  None Assigned to:  None
Originator Name:  Adrian Jewell Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  5.1.0
Operating System:  Mac OS

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 20 Aug 2019 08:37:57 AM UTC, comment #2: 

In fact bug #55029 was due to a change in glibc. So unless you are using a version of Octave that was built using gcc, this is probably not exactly the same bug. I'll CC Andrew Janke who may have a dev version for testing.

Pantxo Diribarne <pantxo>
Project Member
Mon 19 Aug 2019 01:41:36 AM UTC, comment #1: 

I'm not very sure whether this is a duplicate of bug #55029

In GNU/Linux, this bug has been fixed on the upcoming version 5.2.0, but I don't know about Mac OS.

Anonymous
Sun 18 Aug 2019 11:04:59 PM UTC, original submission:  

Octave's pause function doesn't respond to key presses when executed without arguments.

Rather, it simply pauses the program indefinitely, with no way to resume program execution. I discovered this while working through Andrew Ng's ML course using Octave, where I had to simply comment out the pause commands in order to run the scripts.

Other test cases:

1. "r = [1;2;3]; pause; f=[3;4;5]" in the repl will freeze indefinitely

2. "r = [1;2;3]; pause(0.05); f=[3;4;5]" will freeze until key press if the time determined by the argument has passed. Else, it will not respond to key press.

3. using "pause (0.05)" in Ng's ML scripts will work as expected.

By key press, I hold the same definition defined in the documentation.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by pantxo
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-20 pantxo Carbon-Copy- => Added apjanke

    Back to the top


    Powered by Savane 3.5