next up previous contents index
Next: Layers Up: Keyboard Previous: Keyboard   Contents   Index

The !kmap Command: Read Key Mapping File

Syntax: !kmap mapfile
This will read a key mapping file as produced from the Key Map button in the Attributes Menu. The key mapping feature allows non-standard keyboards to be used with Xic without loss of features.

This command allows a mapping to be applied at any time. Older Xic releases would automatically read a mapping file if found at startup. This is no longer true, map files must be read explicitly, either with this command, or with the ReadKeymap script funtion. The operation can be performed from a starcup script if the mapping is expected to always be applied.

If the mapfile is not rooted, it will be searched for in the current directory, the user's home directory, and along the library search path, in that order.

Stephen R. Whiteley 2022-05-28