[Ilugc] One Day One GNU/Linux Command (SHOWKEY)

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Wed Jul 30 13:11:02 2008

One Day One GNU/Linux Command
=============================

showkey -- Examine the codes sent by the keyboard

Summary :

showkey prints to standard output either the scan codes or the keycode
or the `ascii' code of each key pressed. It can be used to check the 
keyboard driver and key mappings.

Example:

$ showkey -- Show the interpreted keycode.

$ showkey -k -- Same as above (Default Option).

$ showkey -s -- Show the raw scan-codes of the keys.

$ showkey -a -- Show the Decimal/Octal/Hex values of the keys.

Note:
If Showkey is in keycode/scancode mode, then you have to wait 10 
Sec to exit. In Ascii mode, Press Ctrl+D to exit.

Read: man showkey

HTH :)
--
Bharathi S

Other related posts:

  • » [Ilugc] One Day One GNU/Linux Command (SHOWKEY) - Bharathi Subramanian