Using Keyboard Functions

Certain keys can be used in an X Window or VT100/220 session to control the screen. For example, you can apply the keypad - (minus) key to display the previous screen. This section provides instructions for substituting other keys and for modifying your keyboard mapping in case your keyboard does not have the appropriate function keys.


Using the Control Key for Special Key Substitution

NetWare maps keyboard functions to the IBM PC Enhanced 101-key keyboard. However, XConsole supports an additional set of key functions based on use of the left <Ctrl> key.

Table B-1 shows the functions mapped to various <Ctrl> key combinations. The key combinations are not case sensitive.


Table B-1. Control Key Functions Supported by XConsole

Key Combination

Specialty key or function

<Ctrl-?>

Print XConsole control key help page for X-Windows or VT100/VT220 mode

<Ctrl-w>

Print XConsole control key help page for VT100/VT220 mode

<Ctrl-a>

<Alt>

<Ctrl-a> <1>

<F1>

<Ctrl-a> <2>

<F2>

<Ctrl-a> <3>

<F3>

<Ctrl-a> <4>

<F4>

<Ctrl-a> <5>

<F5>

<Ctrl-a> <6>

<F6>

<Ctrl-a> <7>

<F7>

<Ctrl-a> <8>

<F8>

<Ctrl-a> <9>

<F9>

<Ctrl-a> <a>

<F10>

<Ctrl-a> <b>

<F11>

<Ctrl-a> <c>

<F12>

<Ctrl-a> <d>

<F13>

<Ctrl-a> <e>

<F14>

<Ctrl-a> <f>

<F15>

<Ctrl-b>

<Begin> (<Home>)

<Ctrl-d>

<Down-arrow>

<Ctrl-e>

<End>

<Ctrl-f>

Switch screen forward

<Ctrl-g>

<Delete>

<Ctrl-h>

<Backspace>

<Ctrl-l>

<Left-arrow>

<Ctrl-n>

<PageDown> (Next)

<Ctrl-o>

<Insert>

<Ctrl-p>

<PageUp> (Prior)

<Ctrl-r>

<Right-arrow>

<Ctrl-u>

<Up-arrow>

<Ctrl-x>

<Exit> (Quit session)

<Ctrl-z>

Select a screen

<Ctrl-[>

<Esc>

plus (+ on numeric keypad)

Next screen

minus (- on numeric keypad)

Previous screen


Using the Modifier Keys to Substitute for Function Keys

XConsole recognizes the following modifier keys:

Left <Shift> , Left <Ctrl> , and Right <Shift> are X Window System defaults and are preset in the keyboard modifier map. You can add the other three keys (Left <Alt> , Right <Ctrl> , and Right <Alt> ) to the modifier map using the X utility xmodmap .


Adding the Modifier Keys

Add Right <Ctrl> to xmodmap as modifiername Control. Add Left <Alt> or Right <Alt> as modifiernames Mod 1, Mod 2, Mod 3, Mod 4, or Mod 5.

For example, to add Left <Alt> as Mod 1, type

xmodmap -e add Mod1 = Alt_L <Enter>

Refer to your X Window System documentation for additional information.


Using the Modifier Keys

You can use <Alt> in combination with hexadecimal equivalent keys 1 through 9 and a through f to substitute for function keys. Use <Alt > as modified by xmodmap (as described above) or use the substitute Alt key ( <Ctrl-a> combination). Table B-2 shows the possible combinations. The combinations are not case sensitive.

To use the <Ctrl-a> key combination, press and hold <Ctrl> , press <a> , release both keys, and then press the hexadecimal equivalent key. To use the <Alt> combinations, press <Alt> and the hexadecimal equivalent key simultaneously.


Table B-2. Alt Key Combinations Supported by XConsole

Function key

Ctrl Key (VT100/220, X-terminal)

Modified Alt Key (X terminal only)

<F1>

<Ctrl-a><1>

<Alt-1>

<F2>

<Ctrl-a><2>

<Alt-2>

<F3>

<Ctrl-a><3>

<Alt-3>

<F4>

<Ctrl-a><4>

<Alt-4>

<F5>

<Ctrl-a><5>

<Alt-5>

<F6>

<Ctrl-a><6>

<Alt-6>

<F7>

<Ctrl-a><7>

<Alt-7>

<F8>

<Ctrl-a><8>

<Alt-8>

<F9>

<Ctrl-a><9>

<Alt-9>

<F10>

<Ctrl-a><a>

<Alt-a>

<F11>

<Ctrl-a><b>

<Alt-b>

<F12>

<Ctrl-a><c>

<Alt-c>

<F13>

<Ctrl-a><d>

<Alt-d>

<F14>

<Ctrl-a><e>

<Alt-e>

<F15>

<Ctrl-a><f>

<Alt-f>