2 Short description

Contents of this section

The Linux virtual terminal and keyboard drivers assume default keyboard mapping as defined in the drivers/char/defkeymap.c file of the kernel source. The 12 PC keyboard function keys may get strings assigned to their action. After pressing any of those function keys, perhaps modified with the Alt or Ctrl keys, the current virtual terminal adds the specific string to its input and output buffers, in effect emulating entry of this string as typed in from the keyboard.

Setting an appropriate string for chosen function key, we can simplify execution of selected command, for example calling a Shell-script /usr/local/bin/key_macro, which we can create and modify as desired.

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter