HP 64767 User Manual page 317

Emulation/analysis
Table of Contents

Advertisement

2 Create the demo or tutorial index file.
Each line in the index file contains first a quoted string that is the name of the topic
which appears in the index popup and second the name of the file that is raised
when the topic is selected. For example:
"About demos"
"Loading programs"
"Running programs"
You can use absolute paths (for example, /users/guest/topic1), paths relative to the
directory in which the interface was started (for example, mydir/topic2), or paths
relative to the product directory (for example, ./Xdemo/general where the product
directory is something like /usr/hp64000/inst/emul/64767A).
3 Set the "*enableDemo" or "*enableTutorial" resource to "True".
4 Define the demo index file by setting the "*demoPopupSub.indexFile" or
"*tutorialPopupSub.indexFile" resource.
For example:
*demoPopupSub.indexFile:
You can use absolute paths (for example, /users/guest/Index), paths relative to the
directory in which the interface was started (for example, mydir/indexfile), or paths
relative to the product directory (for example, ./Xdemo/Index-topics where the
product directory is something like /usr/hp64000/inst/emul/64767A).
5 If you wish to define a default topic to be selected, set the "*demoTopic" or
"*tutorialTopic" resource to the topic string.
For example:
*demoTopic:
"About demos"
Refer to the previous "To customize Graphical User Interface resources" section for
more detailed information on modifying resources.
Chapter 11: Setting X Resources
/users/guest/gui_demos/general
/users/guest/gui_demos/loadprog
/users/guest/gui_demos/runprog
/users/guest/gui_demos/index
To set up demos or tutorials
317

Advertisement

Table of Contents
loading

This manual is also suitable for:

80186/8/xl/ea/eb

Table of Contents