Software home Web Tools UNIX and VMS Tools  
Overview Programming Diagnostics Details

SHOTCLOCK         
Simulation of the Shot Clock. Currently only available on VMS

SHOTCLOCK [ "/qualifiers-in-quotes" ]          !Spawns subprocess

SHOTCLOCK_EXE [ /qualifiers ]                  !Runs executable image


BIG shotclock with TITLE

Compatible with both X-windows and VT100. The commands are the same for X-terminal and VT100 use; an X window will appear if you have defined an X display. If running in VT100 mode, your best bet is to start it up in its own window and leave it alone.

Usage:
$ SETUP SHOTCLOCK
$
$ SHOTCLOCK [ "/qualifiers-in-quotes" ]
or
$ SHOTCLOCK_EXE [ /qualifiers ]

BroadcastMessages

*NOTE* Broadcast Messages: running SHOTCLOCK in VT100 mode automatically issues the DCL command

$ SET BROADCAST=(NONE,MAIL) To re-enable other broadcast messages:
$ SET BROADCAST=ALL

Examples

Example 1: dedicated terminal

$ setup shotclock
$ set broadcast=(none,general,user1) !(optional)
$ shotclock_exe /title/big/history/bell=(-60:2, 0:4)

This dedicates your terminal to running SHOTCLOCK.
CTL-C will stop the program and re-set your screen for full scrolling.

Example 2: SHOTCLOCK as a subprocess

$ setup shotclock
$ shotclock "/title/big/history/bell=(-60:2, 0:4)"

SHOTCLOCK runs as spawned subprocess. You can use the lower portion of your terminal for interactive typing, though this can be annoying.
To terminate SHOTCLOCK (and reset terminal to full scrolling)
$ stopclock
Qualifiers

    /TITLE

/TITLE
/TITLE=txt

X windows mode:
Title of display window. Default txt is "mmm Shot Clock", where mmm is the name of the experimental machine.

VT100 mode:
Title (first line) of the display. Default is /NOTITLE.


    /BIG_LETTERS

/BIG [ = n ]

X windows mode:
Make display bigger. Default "n" is 1, which makes display twice as big as the "small" size. Larger "n"s make display (n+1) times small size.

VT100 mode:

Title line and "clock" line appear double-high / double-wide. The "n" is meaningless in VT100 mode.

Default is /SMALL_LETTERS.


    /SMALL_LETTERS

The default. Use /BIG_LETTERS to get title and "clock" line in double-high / double-wide letters.
    /HISTORY

VT100 only: A little parade of shot-clock "events" appears at bottom of display.
    /BELL

/BELL
/BELL=time
/BELL=(time1,...,timeN)

Ring bell(s) at specified times. If no event is specified, 1 bell rings at t==0.

MULTIPLE BELLS: follow bell time with ":nbells" For example:
/BELL=(-60:4,-10:2,0)


/VOLUME /VOLUME=n (n = 0 to 100)
0 ==> default volume for X-terminal X windows only:
Set volume of the bell, in percent of full volume.
NOTE: not all X-terminals pay attention to the volume setting. It *does* seem to work on Tektronix X-terminals.
Soft: Try pct of 5 to 20 pct.
Default level on X-terminals is usually 50%. You get the default level with /VOLUME=0.