Appendix 2, Sentry key bindings – HP Sentry User Manual

Page 111

Advertising
background image

SENTRY User’s Guide

Appendix 2 - 1



Fitzgerald & Long

APPENDIX 2

SENTRY KEY BINDINGS



A record called "KEY.BINDINGS" in the SENTRY.CONTROL file is used to control the keystrokes used
to activate special functions within the SENTRY data entry screens. For example, the "normal" way to
exit from a data entry screen is by entering the <escape> character followed by <return>. This may create
a conflict for sites using certain communications packages. By modifying the KEY.BINDINGS record, the
user may customize his version of SENTRY to use whatever series of keystrokes is desired for each of the
functions.

The record contains three multi-valued fields. Field one is the name of the function to be controlled -- the
names should not be changed, as SENTRY depends upon them appearing as expected. Field two is the
series of characters to be entered to activate the corresponding function -- note that it is assumed that a
<RETURN> will be entered and the <RETURN> does not have to appear within the series of characters.
Field three of the record contains the text which is used to describe the keystrokes (e.g. <ESC> for the
escape key).

The default KEY.BINDINGS record is shown below:


FUNCTION NAME

KEYSTROKES

DESCRIPTION


XREF.OPTION

"@"

"@"

PREV.FIELD

"^"

"^"

DEL.FIELD

SPACE

<SPACE>

REPAINT

"^^"

"^^"

CANCEL

ESC

<ESC>

HELP

"HELP"

"HELP"



Note that under KEYSTROKES, the words SPACE and ESC are meant to represent the simple characters
produced by pressing the space bar and the escape key.

To modify the set of keystrokes used for any of the functions, simply modify the appropriate value in field
two of the record, using the database editor. Place the description of the keystrokes into the corresponding
value of field three. After modifying the record the user must quit to UNIX, reenter the database

Advertising