User`s guide

Using Online Help
11
Using Online Help
The dbx command help has several options:
help shows the supported dbx commands
help keyword shows information pertaining to the given keyword, such as
alias, help, most_used, quit, playback, record, and so on
help all shows the entire dbx help file
When you type help all, dbx displays the file using the command name
given by the dbx $pager variable. The dbx help file is large and can be difficult
to read even if you use a simple paging program like more(1). You can set the
$pager variable to a text editor like vi(1) or to your favorite editor.
For example, just add the following command in your .dbxinit file:
set $pager = vi
When the above entry is in your .dbxinit file, dbx displays the help file in vi.
You can then use the editor’s search commands to look through the help file
quickly. Quit the editor to return to dbx.
Entering Multiple Commands on a Single Line
You can use a semicolon (;) as a separator to include multiple commands on
the same command line. This is useful with commands such as when
(described in “Writing Conditional Commands” on page 68) as it allows you
to include multiple commands in the command block. For example:
(dbx) when at “myfile.c”:37 {print a ; where ; print b}
Spanning a Command Across Multiple Lines
You can use a backslash (\) at the end of a line of input to indicate that the
command is continued on the next line. This can be convenient when
entering complex commands such as an alias definition (aliases are
discussed in “Creating and Removing dbx Aliases” on page 24).