To set up custom action keys
•
Modify the "actionKeysSub.keyDefs" resource in the
$HP64000/lib/X11/app-defaults/HP64_Softkey file.
The "actionKeysSub.keyDefs" resource defines a list of paired strings. The first
string defines the text to appear on the action key pushbutton. The second string
defines the command that will be sent to the command line area and executed when
the action key is pressed.
Command files can be executed by placing the name of the command file in the
command definition.
A pair of parentheses with no spaces (that is "()") in the command definition
indicates that text from the entry buffer will 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 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.
An empty action ("") causes the emulator to repeat the previous operation, whether
it came from a pulldown, a dialog, a pop-up, or another action key.
Examples
To set up custom action keys when the graphical interface is used with a 68360
emulator, modify the "actionKeysSub.keyDefs" resource:
*m68360*actionKeysSub.keyDefs: \
"Make" "cd /users/project2/68360; !make! in_browser" \
"Load Pgm" "load configuration config.EA; load program2" \
"Run Pgm" "run from reset" \
"Trace after ( )" "trace after (); display trace" \
"Step Source" "set source on; display memory mnemonic; step source" \
" Display Special" "mycommandfilename"
"Again" ""
Refer to the previous "To modify Graphical User Interface resources" section for
more detailed information on modifying resources.
Chapter 10: Setting X Resources
To set up custom action keys
286
Summary of Contents for 64780A
Page 1: ...Graphical User Interface User s Guide MC68360 68EN360 Emulator Analyzer HP 64780A ...
Page 20: ...xx ...
Page 21: ...Part 1 Quick Start Guide 1 ...
Page 23: ...1 Getting Started 3 ...
Page 45: ...Part 2 Using The Emulator 25 ...
Page 47: ...2 Plugging into a Target System 27 ...
Page 55: ...Chapter 2 Plugging into a Target System Plugging into the Motorola QUADS Target System 35 ...
Page 59: ...3 Starting and Exiting HP 64700 Interfaces 39 ...
Page 69: ...4 Entering Commands 49 ...
Page 103: ...5 Configuring the Emulator 83 ...
Page 122: ...102 ...
Page 123: ...6 Using the Emulator 103 ...
Page 193: ...7 Using the Emulation Bus Analyzer How to record program execution in real time 173 ...
Page 249: ...8 Making Software Performance Measurements 229 ...
Page 279: ...9 Making Coordinated Measurements 259 ...
Page 295: ...Part 3 Reference 275 ...
Page 297: ...10 Setting X Resources 277 ...
Page 312: ...292 ...
Page 313: ...11 Emulator Analyzer Interface Commands 293 ...
Page 391: ...set Chapter 11 Emulator Analyzer Interface Commands set 371 ...
Page 405: ... SYMB Chapter 11 Emulator Analyzer Interface Commands SYMB 385 ...
Page 422: ...402 ...
Page 460: ...440 ...
Page 461: ...Part 4 Concept Guide 441 ...
Page 463: ...13 Concepts of the EMSIM and EMRAM 443 ...
Page 471: ...Part 5 Installation and Service Guide 451 ...
Page 473: ...14 Installation 453 ...
Page 491: ...Chapter 14 Installation Verifying the Installation 471 ...
Page 493: ...15 Installing Updating Emulator Firmware 473 ...
Page 500: ...480 ...
Page 516: ...496 ...
Page 540: ...520 ...