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: Sun, 20 Jan 2019 14:28:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

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

No, this patch only makes things worse on my system.

On stable (ada14ef3067f), I still have the original behavior described here.

With this patch applied, pause now seems to swallow characters randomly and
still does not return on the first or any key press, only on Ctrl+C.

If I run 'pause' with no args and then enter 'asdf' followed by Ctrl+C, first
without the patch:


>> pause
asdf^C
>> kbhit
ans =
>> 


And with the patch applied:


>> pause
sd
>> kbhit
ans = 


It now sometimes requires 2 or more Ctrl+C to break out of pause, the first
one is sometimes discarded/ignored.

    _______________________________________________________

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]