-
Notifications
You must be signed in to change notification settings - Fork 847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
showkey couldn't get a file descriptor referring to the console #1806
Comments
Thanks for reporting the issue. Based on the strace above, this is due to WSL not supporting the virtual console device (i.e. /dev/tty0). This is an interesting device for WSL since there isn't a direct mapping of virtual console, though one idea would be to use the top most bash console window. Please help us prioritize this scenario by giving feedback on user voice - https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/. |
stdbuf -oL showkey -s | while read line I was trying to work some key-press issues in some scripts and ran into this also. |
This UserVoice instance is no longer available. Is there any voting replacement instead of the discontinued UserVoice instance? |
Same as @vbrozik |
Works with
|
showkey
doesn't work with--scancodes
or--keycodes
(default) options. Saying that itWindows build 14393.953
The text was updated successfully, but these errors were encountered: