This help topic describes the keypad definitions in the debugger's command interface. For information on keypad definitions in the graphical user interface (GUI), type HELP Keypad_Definitions_GUI. On Digital VT-series terminals and MicroVAX workstations, you can use the numeric keypad to enter debugger commands provided you are in "keypad mode." Keypad mode is enabled by default, but can be disabled and enabled by the SET MODE [NO]KEYPAD commands. In keypad mode, keypad keys are bound to commonly used debugger commands such as STEP, GO and EXAMINE. Most keys are bound to screen mode commands, to help you manipulate the predefined screen displays efficiently. Some keys are "terminated": the corresponding command is executed immediately. Others are not: you can enter additional parameters to the command before terminating it with a carriage return or the ENTER key. Also, some keys echo on the terminal while others do not, depending on the key. You can define your own keypad definitions with the DEFINE/KEY command.
1 – DEFAULT
Keypad definitions when +--------+--------+--------+--------+ you do not use the GOLD | | Help | Set | | or BLUE key. | GOLD | Keypad | Mode | BLUE | | | Default| Screen | | For more information +--------+--------+--------+--------+ see help on: | Src LH1| | | Disp | |Inst RH1| Scroll | Disp | next | KEYPAD BLUE | Out S45| Up | next | S12345 | KEYPAD GOLD +--------+--------+--------+--------+ KEYPAD STATE_KEYS | Exam | | | | | Scroll | Source | Scroll | Go | Ctrl/W does a | Left | .0\%PC | Right | | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. | | | Select | | | Exam | Scroll | Scroll | E | | | Down | next | N | +--------+--------+--------+ T | | | | E | | Step | Reset | R | | | | | +-----------------+--------+--------+
2 – GOLD
Keypad definitions when +--------+--------+--------+--------+ you press the GOLD key. | | Help |Set Mode| | | GOLD | Keypad | No | BLUE | Reset cancels the | | Gold | Screen | | GOLD key. +--------+--------+--------+--------+ |Inst LH1| | Set | | For more information, | Reg RH1| Scroll | Process| | see help on: | Out S45| Top | next | | +--------+--------+--------+--------+ KEYPAD BLUE | Scroll | | Scroll | Select | KEYPAD DEFAULT | Left | Show | Right | Source | KEYPAD STATE_KEYS | 255 | Calls | 255 | next | +--------+--------+--------+--------+ Ctrl/W does a | Exam | | Select | | DISPLAY/REFRESH | prev | Scroll | Output | E | in screen mode. | | Bottom | next | N | +--------+--------+--------+ T | | | | E | | Step/Into | Reset | R | | | | | +-----------------+--------+--------+
3 – BLUE
Keypad definitions when +--------+--------+--------+--------+ you press the BLUE key. | | Help | | | | GOLD | Keypad | Disp | BLUE | "..." means you must | | Blue | Gener | | type more input after +--------+--------+--------+--------+ pressing the key. |2 SRC Qn| Scroll | 2 SRC | Disp | | 2 INST | Up | at | Src H1 | Reset cancels the | at RQn | ... | Q1,Q2 | Out S45| BLUE key. +--------+--------+--------+--------+ | Scroll | Show | Scroll | Select | For more information, | Left | Calls | Right | Inst | see help on: | ... | 3 | ... | next | +--------+--------+--------+--------+ KEYPAD DEFAULT |3 SRC Sn| Scroll | 3 SRC | | KEYPAD GOLD | 3 INST | Down | at | E | KEYPAD STATE_KEYS | at RSn | ... |S1,S2,S3| N | +--------+--------+--------+ T | Ctrl/W does a | | | E | DISPLAY/REFRESH | Step/Over | Reset | R | in screen mode. | | | | +-----------------+--------+--------+
4 – MOVE
Keypad definitions in +--------+--------+--------+--------+ the MOVE state when you | | Help | Set | | do not use GOLD or BLUE. | GOLD | Keypad | Mode | BLUE | | | Move | Screen | | For more information, +--------+--------+--------+--------+ see help on: | Src LH1| | | Disp | |Inst RH1| Move | Disp | next | KEYPAD BLUE | Out S45| Up | next | S12345 | KEYPAD GOLD +--------+--------+--------+--------+ KEYPAD STATE_KEYS | | Exam | | | | Move | Source | Move | Go | Ctrl/W does a | Left | .0\%PC | Right | | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. | | | Select | | | Exam | Move | Scroll | E | | | Down | next | N | +--------+--------+--------+ T | | | | E | | Step | Reset | R | | | | | +-----------------+--------+--------+
5 – EXPAND
Keypad definitions in +--------+--------+--------+--------+ the EXPAND state when | | Help | Set | | you do not use the GOLD | GOLD | Keypad | Mode | BLUE | or BLUE key. | | Expand | Screen | | +--------+--------+--------+--------+ For more information, | Src LH1| | | Disp | see help on: |Inst RH1| Expand | Disp | next | | Out S45| Up | next | S12345 | KEYPAD BLUE +--------+--------+--------+--------+ KEYPAD GOLD | | Exam | | | KEYPAD STATE_KEYS | Expand | Source | Expand | Go | | Left | .0\%PC | Right | | Ctrl/W does a +--------+--------+--------+--------+ DISPLAY/REFRESH | | | Select | | in screen mode. | Exam | Expand | Scroll | E | | | Down | next | N | +--------+--------+--------+ T | | | | E | | Step | Reset | R | | | | | +-----------------+--------+--------+
6 – CONTRACT
Keypad definitions in +--------+--------+--------+--------+ the CONTRACT state when | | Help | Set | | you do not use the GOLD | GOLD | Keypad | Mode | BLUE | or BLUE key. | |Contract| Screen | | +--------+--------+--------+--------+ For more information, | Src LH1| Expand | | Disp | see help on: |Inst RH1| Up= | Disp | next | | Out S45| -1 | next | S12345 | KEYPAD BLUE +--------+--------+--------+--------+ KEYPAD GOLD | Expand | Exam | Expand | | KEYPAD STATE_KEYS | Left= | Source | Right= | Go | | -1 | .0\%PC | -1 | | Ctrl/W does a +--------+--------+--------+--------+ DISPLAY/REFRESH | | Expand | Select | | in screen mode. | Exam | Down= | Scroll | E | | | -1 | next | N | +--------+--------+--------+ T | | | | E | | Step | Reset | R | | | | | +-----------------+--------+--------+
7 – MOVE_GOLD
Keypad definitions in +--------+--------+--------+--------+ the MOVE state when | | Help |Set Mode| | you press the GOLD key. | GOLD | Keypad | No | BLUE | | |MoveGold| Screen | | For more information, +--------+--------+--------+--------+ see help on: |Inst LH1| Move | Set | | | Reg RH1| Up= | Process| | KEYPAD BLUE | Out S45| 999 | next | | KEYPAD DEFAULT +--------+--------+--------+--------+ KEYPAD STATE_KEYS | Move | | Move | Select | | Left= | Show | Right= | Source | Ctrl/W does a | 999 | Calls | 999 | next | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. | Exam | Move | Select | | | prev | Down= | Output | E | | | 999 | next | N | +--------+--------+--------+ T | | | | E | | Step/Into | Reset | R | | | | | +-----------------+--------+--------+
8 – EXPAND_GOLD
Keypad definitions in +--------+--------+--------+--------+ the EXPAND state when | | Help |Set Mode| | you press the GOLD key. | GOLD | Keypad | No | BLUE | | |ExpaGold| Screen | | For more information, +--------+--------+--------+--------+ see help on: |Inst LH1| Expand | Set | | | Reg RH1| Up= | Process| | KEYPAD BLUE | Out S45| 999 | next | | KEYPAD DEFAULT +--------+--------+--------+--------+ KEYPAD STATE_KEYS | Expand | | Expand | Select | | Left= | Show | Right= | Source | Ctrl/W does a | 999 | Calls | 999 | next | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. | Exam | Expand | Select | | | prev | Down= | Output | E | | | 999 | next | N | +--------+--------+--------+ T | | | | E | | Step/Into | Reset | R | | | | | +-----------------+--------+--------+
9 – CONTRACT_GOLD
Keypad definitions in +--------+--------+--------+--------+ the CONTRACT state when | | Help |Set Mode| | you press the GOLD key. | GOLD | Keypad | No | BLUE | | |CntrGold| Screen | | For more information, +--------+--------+--------+--------+ see help on: |Inst LH1| Expand | Set | | | Reg RH1| Up= | Process| | KEYPAD BLUE | Out S45| -999 | next | | KEYPAD DEFAULT +--------+--------+--------+--------+ KEYPAD STATE_KEYS | Expand | | Expand | Select | | Left= | Show | Right= | Source | Ctrl/W does a | -999 | Calls | -999 | next | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. | Exam | Expand | Select | | | prev | Down= | Output | E | | | -999 | next | N | +--------+--------+--------+ T | | | | E | | Step/Into | Reset | R | | | | | +-----------------+--------+--------+
10 – MOVE_BLUE
Keypad definitions in +--------+--------+--------+--------+ the MOVE state when | | Help | | | you press the BLUE key. | GOLD | Keypad | Disp | BLUE | | |MoveBlue| Gener | | For more information +--------+--------+--------+--------+ see help on: |2 SRC Qn| | 2 SRC | Disp | | 2 INST | Move | at | Src H1 | KEYPAD DEFAULT | at RQn | Up=5 | Q1,Q2 | Out S45| KEYPAD GOLD +--------+--------+--------+--------+ KEYPAD STATE_KEYS | | Show | | Select | | Move | Calls | Move | Inst | Ctrl/W does a | Left=10| 3 |Right=10| next | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. |3 SRC Sn| | 3 SRC | | | 3 INST | Move | at | E | | at RSn | Down=5 |S1,S2,S3| N | +--------+--------+--------+ T | | | | E | | Step/Over | Reset | R | | | | | +-----------------+--------+--------+
11 – EXPAND_BLUE
Keypad definitions in +--------+--------+--------+--------+ the EXPAND state when | | Help | | | you press the BLUE key. | GOLD | Keypad | Disp | BLUE | | |ExpaBlue| Gener | | For more information +--------+--------+--------+--------+ see help on: |2 SRC Qn| | 2 SRC | Disp | | 2 INST | Expand | at | Src H1 | KEYPAD DEFAULT | at RQn | Up=5 | Q1,Q2 | Out S45| KEYPAD GOLD +--------+--------+--------+--------+ KEYPAD STATE_KEYS | | Show | | Select | | Expand | Calls | Expand | Inst | Ctrl/W does a | Left=10| 3 |Right=10| next | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. |3 SRC Sn| | 3 SRC | | | 3 INST | Expand | at | E | | at RSn | Down=5 |S1,S2,S3| N | +--------+--------+--------+ T | | | | E | | Step/Over | Reset | R | | | | | +-----------------+--------+--------+
12 – CONTRACT_BLUE
Keypad definitions in +--------+--------+--------+--------+ the CONTRACT state when | | Help | | | you press the BLUE key. | GOLD | Keypad | Disp | BLUE | | |CntrBlue| Gener | | For more information, +--------+--------+--------+--------+ see help on: |2 SRC Qn| Expand | 2 SRC | Disp | | 2 INST | Up= | at | Src H1 | KEYPAD DEFAULT | at RQn | -5 | Q1,Q2 | Out S45| KEYPAD GOLD +--------+--------+--------+--------+ KEYPAD STATE_KEYS | Expand | Show | Expand | Select | | Left= | Calls | Right= | Inst | Ctrl/W does a | -10 | 3 | -10 | next | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. |3 SRC Sn| Expand | 3 SRC | | | 3 INST | Down= | at | E | | at RSn | -5 |S1,S2,S3| N | +--------+--------+--------+ T | | | | E | | Step/Over | Reset | R | | | | | +-----------------+--------+--------+
13 – State Keys
You can use the four scrolling keys (KP8, KP2, KP4, and KP6) to expand, contract, and move displays, depending on the keypad state in effect. Thus, the keys do a SCROLL/UP, /DOWN, /LEFT, or /RIGHT, or a corresponding MOVE. You can press the GOLD key to make the operation to advance more than one line or column. The commands apply to the current scrolling display. Pressing KP3 selects the current scrolling display from the display circular list. Four keys on the LK201 keyboard let you set the keypad state to DEFAULT, MOVE, EXPAND, or CONTRACT. The keypad state changes the definitions of KP8, KP2, KP4, and KP6. The meaning of all other keys remains unchanged. If you do not have an LK201 keyboard with the F17-F20 keys on it, you can get the same effect by typing the corresponding command: F17 F18 F19 F20 SET KEY/STATE=DEFAULT or +--------+--------+--------+--------+ SET KEY/STATE=MOVE | | | | | SET KEY/STATE=EXPAND | DEFAULT| MOVE | EXPAND |CONTRACT| SET KEY/STATE=CONTRACT | | | | | +--------+--------+--------+--------+ For example, in the MOVE state (key F18), pressing KP2 moves the default scrolling display down by one character position, and pressing GOLD-KP2 moves the display down by a larger increment. The keypad remains in the MOVE state until you select another state, such as the DEFAULT state (key F17).
14 – Summary
Summary of debugger +--------+--------+--------+--------+ keypad definitions. | | | | | | GOLD | Help | Screen | BLUE | For more information, | | | Mode | | see help on: +--------+--------+--------+--------+ | Select | | | Disp | KEYPAD BLUE | Screen | Up | Disp | next | KEYPAD DEFAULT | Layout | | next | at FS | KEYPAD GOLD +--------+--------+--------+--------+ KEYPAD STATE_KEYS | | | | | | Left | Where | Right | Go | Ctrl/W does a | | am I? | | | DISPLAY/REFRESH +--------+--------+--------+--------+ in screen mode. | | | | | | Exam | Down | Select | E | | | | next | N | +--------+--------+--------+ T | | | | E | | Step | Reset | R | | | | | +-----------------+--------+--------+