bash: character code and keyboard input question
Hi,
Does someone know if I can get a character code out of a string in a bash script?
(like 65 out of "A"...)
In general I search a way to react to single keyboard key-press - (at the moment i am using "read -n 1"), so the next question would be - what about F1..F12 and special keys like [home] [tab] aso.
Is there a better way to trigger and get keyboard input?
Greetings,
BlishBlash :-)
Last edited by blish_blash; 04-08-2004 at 06:17 PM.
|