Tag Info

New answers tagged


showkey has no switch for that, but you can always pipe the output to another program to do the conversion. With zsh you can do it like this: stdbuf -oL showkey -s | while read line do if [[ "$line" =~ '^0x' ]] then for code in ${(z)line} do printf "0%o " $code done echo else echo $line fi done stdbuf is part of the GNU ...

Top 50 recent answers are included