HP MC68040 User Manual page 592

Emulator, graphical user interface
Table of Contents

Advertisement

Chapter 13: Setting X Resources
To set up custom action keys
To set up custom action keys
• Modify the "actionKeysSub.keyDefs" resource.
The "actionKeysSub.keyDefs" resource defines a list of paired strings. The first
string defines the text that should appear on the action key pushbutton. The second
string defines the command that should be sent to the command line area and
executed when the action key is pushed.
A pair of parentheses (with no spaces, that is "()") can be used in the command
definition to indicate that text from the entry buffer should replace the parentheses
when the command is executed.
Action keys that use the entry buffer should always include the entry buffer
symbol, "( )", in the action key label as a visual cue to remind you to place
information in the entry buffer before clicking the action key.
Shell commands can be executed by using an exclamation point prefix. A second
exclamation point ends the command string and allows additional options on the
command line.
Also, command files can be executed by placing the name of the file in the
command definition.
Finally, an empty action ("") means to repeat the previous operation, whether it
came from a pulldown, a dialog, a popup, or another action key.
Examples
To set up custom action keys when the graphical interface is used with the 68040
emulator, modify the "*m68040*actionKeysSub.keyDefs" resource:
*m68040*actionKeysSub.keyDefs: \
"Make"
"Load Pgm"
"Run Pgm"
"Trace after ( )"
"Step Source"
"Again"
Refer to "To modify Graphical User Interface resources" earlier in this chapter for
more detailed information on modifying resources.
562
"cd /users/project2/68040; !make! in_browser" \
"load configuration config.EA; load program2" \
"run from reset" \
"trace after (); display trace" \
"set source on; display memory mnemonic; step source" \
""

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec040Lc04064783a64783b

Table of Contents