Spock's command line syntax is:
spock [options] [[-pdb] pdbfiles] [otherfiles]
Possible options are:
-ng or -nographics: text-only mode
-s: silent mode, do not echo history commands to console
-pdb: force next file to be treated as a PDB file
-stdout: use the terminal instead of Motif output window
-h[istory] name: use name for history log instead of .spockhist
More rare options:
-debug: include debugging information
-noquadstereo: disable quad-buffered stereo
-idesk: optimize for ImmersaDesk operation
-nofork: don't fork from the controling terminal (fixes hang
with older nVidia drivers)
When spock first starts, it looks for a Spockrc initialization file in the $SPOCK/ directory. This file is a spock history file (See §7) that may be customized by the system administrator to perform certain operations each time spock is started. Spock next looks for a .spockrc file in the user's home directory and executes this file, allowing user customizations to override system defaults.
If spock is started with no command-line arguments, it displays a banner message before turning control over to the user.
Spock keeps a history log file of all user action (in $SP_HISTORY/.spockhist by default). If you wish to run two spock sessions at the same time, you should use the "-h[istory] option in order to keep the second process from clobbering the history file of the first. Additionally, you may want to run each process from a different directory, as some of the temporary files may interfere with each other, but that's generally not as much of a problem as the history file collision.