beautypg.com

Adding a new key, Example softkey files, Example of main (.kbrd) softkey file – Visara Master Console Center Administration Guide User Manual

Page 67

background image

Chapter 4 MCC Configuration File Management

Administration Guide

67

action=KP_Enter

However, because the action= is unchanged, KP_Enter is still sent to the host.

Adding a New Key

To add one of the keys listed in Table 12 Key Mnemonics Supported by MCC
Software
to
the available softkeys, edit the relevant .bank file to include the
required key mnemonic and the label for the key. For example, to add a caret
(circumflex) key to the VT100 keypad softkeys, make the following entry in the
keypad.bank file:

[key]

location=2,6

label=^

action=Caret

The key location selected must be unique, and is typically the next unused
location.

Example Softkey Files

For each softkey “keyboard” layout, several softkey files are necessary, including
a main definition file and one or more files defining available keys.
Each [key] section in a .bank file defines the label or symbol on a key in the Soft
Keys window, and the corresponding action that is sent when the key is selected
in keypad or non-keypad mode.

Example of Main (.kbrd) Softkey File

An example of a main softkey file is shown below, in this case the default file for
VT100 called vt100.kbrd.
Note that this file points to three .bank files that define the operation of the
function keys, arrow keys, and numeric keypad respectively.

[bank function]

keys=config/softkeys/vt100_function.bank

top=form

left=form

right=form

[bank arrows]

keys=config/softkeys/vt100_arrows.bank

top=function

left=form

#right=form

bottom=form

[bank keypad]

keys=config/softkeys/vt100_keypad.bank