# keys / jkeys

Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)

Tags: ascii equivallent

# Description

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.

An example would be to 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 ~ -->
1
2
3
4
5
6
7
8

Back to Tools and Utilities