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

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

[Octave-bug-tracker] [bug #44661] The "pause" command with no parameter:


From: Giorgio De Nunzio
Subject: [Octave-bug-tracker] [bug #44661] The "pause" command with no parameter: strange behavior
Date: Sun, 29 Mar 2015 18:28:38 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36

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

Hi Dan, thanks for your reply.
Trying with any other keys (say "p" just to fix ideas) confirms imho that
pause() really has buffering problems.

Pause() should return immediately after typing "p", but it doesn't. The key is
buffered and pause() returns only when I press <enter>.

Here is what happens:
pause <enter> [octave waits as it has to]
p [octave still waits]
<enter> [octave returns, possibly for the "p"]
pause <enter> [octave returns immediately, possibly for the CR]
pause <enter> [octave returns immediately, possibly for the LF]
pause <enter> [octave waits and finally does its duty]

and so on.

If I enter more letters (e.g. "pp" instead of only one "p") and begin the same
game, one more pause() will return immediately after being given.
Thanks
Best regards
Giorgio
 
 

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




reply via email to

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