keys / jkeys


The keys utility displays the ASCII equivalent as well as the hex and octal representation for keyboard input. On Windows, this utility is called jkeys.

 

EXAMPLE

Use the keys utility to show the values emitted from the left arrow key.

jsh cindy ~ -->keys
keys: exits if no input in 10 seconds
hit a key : esc 0x1b 0033 (Ctrl-[)
hit a key : [ 0x5b 0133
hit a key : D 0x44 0104
hit a key :
bye
jsh cindy ~ -->


Tools