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
Содержание 64780A
Страница 1: ...Graphical User Interface User s Guide MC68360 68EN360 Emulator Analyzer HP 64780A ...
Страница 20: ...xx ...
Страница 21: ...Part 1 Quick Start Guide 1 ...
Страница 23: ...1 Getting Started 3 ...
Страница 45: ...Part 2 Using The Emulator 25 ...
Страница 47: ...2 Plugging into a Target System 27 ...
Страница 55: ...Chapter 2 Plugging into a Target System Plugging into the Motorola QUADS Target System 35 ...
Страница 59: ...3 Starting and Exiting HP 64700 Interfaces 39 ...
Страница 69: ...4 Entering Commands 49 ...
Страница 103: ...5 Configuring the Emulator 83 ...
Страница 122: ...102 ...
Страница 123: ...6 Using the Emulator 103 ...
Страница 193: ...7 Using the Emulation Bus Analyzer How to record program execution in real time 173 ...
Страница 249: ...8 Making Software Performance Measurements 229 ...
Страница 279: ...9 Making Coordinated Measurements 259 ...
Страница 295: ...Part 3 Reference 275 ...
Страница 297: ...10 Setting X Resources 277 ...
Страница 312: ...292 ...
Страница 313: ...11 Emulator Analyzer Interface Commands 293 ...
Страница 391: ...set Chapter 11 Emulator Analyzer Interface Commands set 371 ...
Страница 405: ... SYMB Chapter 11 Emulator Analyzer Interface Commands SYMB 385 ...
Страница 422: ...402 ...
Страница 460: ...440 ...
Страница 461: ...Part 4 Concept Guide 441 ...
Страница 463: ...13 Concepts of the EMSIM and EMRAM 443 ...
Страница 471: ...Part 5 Installation and Service Guide 451 ...
Страница 473: ...14 Installation 453 ...
Страница 491: ...Chapter 14 Installation Verifying the Installation 471 ...
Страница 493: ...15 Installing Updating Emulator Firmware 473 ...
Страница 500: ...480 ...
Страница 516: ...496 ...
Страница 540: ...520 ...