In This Book

Editing the Command Line

Choose Options:Command Input Mode to select an edit mode for the debugger command input box. The two choices are:

Use Ksh Mode. This invokes a KornShell-lik e edit mode, which emulates either vi or emacs depending on the value of the EDITOR environment variable.

Use Motif Mode . This invokes a simpli￿ed Motif edit mode, in which basic editing keys (Backspace, arrows) are active.

Using the Command History Facility

When the debugger is in Motif edit mode (see \Editing the Command Line") a history bu￿er appears above the Debugger Input box. Click on an item in the history bu￿er to copy it into the input box, or double-click on it to re-execute the command.

When the debugger is in Ksh edit mode, you can use key commands to scroll through the command history. For example:

If EDITOR is set to emacs, 4CTRL5-4P5 accesses the previous command and 4CTRL5-4N5 accesses the next command.

If EDITOR is set to vi and you are in vi command mode, 4k5 accesses the previous command and 4j5 accesses the next command.

Command history is stored in a ￿le called .ddehist in the directory where the debugger is started, and is preserved between debugging sessions.

5

Using Debugger Commands 5-5