Command: scankbd
  SCANKBD scans current keyboard layout (XKEYB or other keyboard driver)
  into the configuration file, generating a .KEY compatible file. 
Syntax:
  scankbd
Options:
  - none -
Comments:
  LISTXDEF lists the XKEYB layout and all the macro definitions to the console.
  Most probably you would like to do:
    LISTXDEF > MYFILE.KEY
  to save all your macro definitions.
Examples:
  scankbd
  listxdef > german.key
See also:
  keyb
  keyman
  listxdef
  mkeyb
  xkeyb
File:
  Please read this command's lsm file also.
  You will find the updated version (internet) here and
  the version described in this manual page here.
  The lsm file contains information about the name of the programmer,
  the download site, and some other command related information.
  Copyright © 2002-2003 Aitor SANTAMARIA MERINO, updated 2008
  by W. Spiegl.
  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.