Search Results

Search: Posts Made By: Asafe
23,788
Posted By Asafe
echo -n "Press key:" stty -echo raw c=$(dd...
echo -n "Press key:"
stty -echo raw
c=$(dd bs=1 count=1 2>/dev/null )
stty echo -raw
echo " key:$c"
It interpreters ctrl-c and ctrl-d literally... Is there a way to make it to be aborted by a...
23,788
Posted By Asafe
Bash replacement to getchar
There's a replacement in bash for getchar or get functions of C and C++?Those functions read the next char avaliable in the input stream.
I've tried something like:
OLD_STTY=`stty -g`
stty...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy