Download Debugging with DDD - ftp

Transcript
66
Debugging with DDD
Ddd*fixedWidthFont: times-medium
in your ‘~/.ddd/init’ file.
variableWidthFontSize (class FontSize)
Resource
The size of the variable width ddd font, in 1/10 points. This resource overrides any font
size specification in the ‘variableWidthFont’ resource (see above). The default value
is 120 for a 12.0 point font.
fixedWidthFont (class Font)
Resource
The fixed width ddd font to use for source code, the debugger console, text fields, data
displays, and the execution window. The font is specified as an X font spec, where the initial
Foundry specification may be omitted, as well as any specification after Family.
Default value is to ‘lucidatypewriter-medium’.
To set the fixed width ddd font family to, say, ‘courier’, insert a line
Ddd*fixedWidthFont: courier-medium
in your ‘~/.ddd/init’ file.
fixedWidthFontSize (class FontSize)
Resource
The size of the fixed width ddd font, in 1/10 points. This resource overrides any font size
specification in the ‘fixedWidthFont’ resource (see above). The default value is 120 for
a 12.0 point font.
As all font size resources have the same class (and by default the same value), you can easily
change the default ddd font size to, say, 9.0 points by inserting a line
Ddd*FontSize: 90
in your ‘~/.ddd/init’ file.
Here’s how to specify the command to select fonts:
fontSelectCommand (class FontSelectCommand)
Resource
A command to select from a list of fonts. The string ‘@FONT@’ is replaced by the current
ddd default font; the string ‘@TYPE@’ is replaced by a symbolic name of the ddd font to
edit. The program must either place the name of the selected font in the PRIMARY selection
or print the selected font on standard output. A typical value is:
Ddd*fontSelectCommand: xfontsel -print
See Section 2.1.2 [Options], page 16, for options to set these resources upon ddd invocation.
3.6.4.4 Toggling Windows
In the default stacked window setting, you can turn the individual ddd windows on and off
by toggling the respective items in the ‘View’ menu (see Section 3.1.3 [View Menu], page 42).
When using separate windows (see Section 3.6.4.2 [Window Layout], page 63), you can close the
individual windows via ‘File ⇒ Close’ or by closing them via your window manager.
Whether windows are opened or closed when starting ddd is controlled by the following resources, immediately tied to the ‘View’ menu items: