Using the Debugger With the X Window System
2-9
Installing the Simulator and C Source Debugger With SunOS
2.5 Using the Debugger With the X Window System
If you’re using the X Window System to run the ’C2xx debugger, you need to
know about the keyboard’s special keys, the debugger fonts, and using the de-
bugger on a monochrome monitor.
Using the keyboard’s special keys
The debugger uses some special keys that you can map differently from your
particular keyboard. Some keyboards, such as the Sun Type 5 keyboard, may
have these special symbols on separate keys. Other keyboards, such as the
Sun Type 4 keyboard, do not have the special keys.
The special keys that the debugger uses are shown in the following table with
their corresponding keysym. A
keysym
is a label that interprets a keystroke;
it allows you to modify the action of a key on the keyboard.
Key Keysym
F1
to
F10
F1 to F10
PAGE UP
Prior
PAGE DOWN
Next
HOME
Home
END
End
INSERT
Insert
→
Right
←
Left
↑
Up
↓
Down
Use the X utility xev to check the keysyms that are associated with your key-
board. If you need to change the keysym definitions, use the xmodmap utility.
For example, you could create a file that contains the following commands and
use that file with xmodmap to change a Sun Type 4 keyboard to match the keys
listed above:
keysym R13 = End
keysym Down = Down
keysym F35 = Next
keysym Left = Left
keysym Right = Right
keysym F27 = Home
keysym Up = Up
keysym F29 = Prior
keysym Insert = Insert
Refer to your X Window System documentation for more information about
using xev and xmodmap.