Interpreting keypresses in shell
Daniel Perelman
The problem# Last time, I presented a script read_keypress.sh which would read any single keypress in a shell script. For printable characters, it's straightforward what this means, but for keys like left arrow (🠈), it's not obvious how to deal with them. The solution# keytest.sh demonstrates...