Keyboard Modification Examples

Following are examples of some common modifications to the default keyboard settings.

In the default keyboard, the Tab key is used to move from one field to the next. The Return key is used to terminate the ACCEPT. If you want the Return key to move the user to the next field instead of immediately terminating the ACCEPT, the following entry in the runtime configuration file will cause that to happen:

KEYSTROKE    EDIT=Next    TERMINATE=13    ^M

Alternately, you might want the Return key to clear the part of the field that follows the cursor. If you want to do this along with the previous modification, you can use either of these entries:

KEYSTROKE    EDIT=Erase-Next     TERMINATE=13    ^M
KEYSTROKE    EDIT=Default-Next   TERMINATE=13    ^M

These two lines have slightly different methods of handling how the field is cleared. The first version always erases the field from the current cursor location to the end. The second form does this only if the cursor is not in the home position of the field. You can also use the actions Erase-to-End or Default-Entry if you do not want the Return key to act as a next field key.