_lkeymap.utl Utility - Load Keymap

Syntax

call "_lkeymap.utl"{,application_code$,arguments$}

Description

The _lkeymap.utl utility initializes the global data area with the following information:

  • The function key translation table as specified by the keymap entry.

  • The !INPUT.TPL template, which is required by the input processing program.

  • The !MENU_ITEM.TPL template, which is required by the menu processing programs.

  • Current keyboard values are saved as (!OLD_EDIT), (!OLD_FKEYS), and (!OLD_EKEYS).

  • Parameter

    Description

    application_code$

    Application code (up to 10 characters). This allows a different keymap to be defined for each application that uses the Input Subsystem.

    arguments$

    Optional flags:
    "d" Load current default values.

    "f" Load factory default settings.

    For additional information, see Input Subsystem.

Examples

REM " Initialize Toolkit environment
REM " Initialize Keymap environment
REM " Note : BBEXT has been initilized
CALL "_acu.utl"
LET BBEXT$=STBL("BBEXT")

Case #1:

REM " Use Standard Keymap
REM " This invocation will locate the keymap based
REM " upon the discussed rules, or will create a
REM " standard keymap file named BBKMAP in the
REM " current directory.
CALL BBEXT$+"_lkeymap.utl"

Case #2:

REM " Use Standard Keymap with an application
REM " defined key record
REM " This invocation will locate the standard
REM " keymap and then locate an entry with the
REM " following key :
REM " USERID + TERM_TYPE + "orders"
CALL BBEXT$+"_lkeymap.utl", "orders"

Case #3:

REM " Use Standard Keymap
REM " This invocation will locate the standard keymap
REM " and load the "factory default" values.
CALL BBEXT$+"_lkeymap.utl","", "f"

See Also

Alphabetical EUS Utilities

Functional Listing of EUS Utilities

_ekeymap.utl

_ninput.utl

_rsteus.utl

_rstold.utl