SETDEMO Procedure

Standard Library procedure that defines key bindings and system variables to run the PV‑WAVE demonstration gallery for the system on which PV‑WAVE is started.

Usage

SETDEMO

Parameters

None.

Keywords

None.

Discussion

SETDEMO is called when PV‑WAVE is started, and defines the key bindings and system variables used to run the demonstration system. The message that appears at the start of a session identifying the key bindings is written by this procedure.

Note:

Some key definitions may not be possible on all platforms.

Note:

For UNIX users, the SETDEMO procedure is called by the PV‑WAVE startup file:

(UNIX)    <wavedir>/bin/wavestartup

Where <wavedir> is the main PV‑WAVE directory.

During startup, SETDEMO sets up the key bindings for the PV‑WAVE demonstration, accesses the Help system, outputs the PV‑WAVE status, and creates a subprocess on your system. It then displays a message indicating that the key bindings were set.

Use SETDEMO to customize your keys for commonly used commands (through DEFINE_KEY), to change the message printed to the screen when you invoke PV‑WAVE, or to change the default key bindings.

See Also

DEFINE_KEY, SETUP_KEYS