[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55185] KBHIT(1) should return immediately. It
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #55185] KBHIT(1) should return immediately. It takes 8+ hours instead: |
Date: |
Mon, 10 Dec 2018 08:01:12 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #3, bug #55185 (project octave):
To make sure the I got the issue properly, the report is that under xfce4 with
locked screen, kbhit(1) does not return immediately and waits until the screen
is unlocked?
If that's so, then this script:
function time_kbhit
tic();
kbhit (1);
printf ('took %f', toc ());
endfunction
pause(5);
## then look screen and wait a long time
time_kbhit ()
should display a very large number. I locked my screen (gnome 3.30) between
the pause (5) and time kbhit and got 0.000403 so I can't reproduce it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55185>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/