386
Using spec on the AT&T System V/386 operating system
DESCRIPTION
When using the pcfilt high-resolution graphics filter, you should have the environment variable GTERM set to cga, ega, vga, herc or x11, as appropriate for your graphics hardware. Alternatively, you can assign a value to GTERM to set the graphics type after spec has started running.
You can have the high resolution graphics appear on a different virtual terminal than the one you are using for the text screen. For example, by setting the GTERM environment variable to vga_vt07, spec's high resolution graphics will be placed on virtual terminal /dev/vt07. The virtual terminal must not be in use by another process. The advantage to using a different virtual terminal for graphics is that you can switch between the high resolution plot and the text display while a scan is running. The disadvantage is that you must switch to the text display to enter commands. You must set GTERM to include the virtual terminal in your environment before you start spec for this feature to work.
For spec to operate properly when using the DSP 6001/2 CAMAC Crate Controller in interrupt mode on operating systems derived from AT&T System V/386 UNIX, the crate controller must be modified to give it programmable interrupt-enable capability. Detailed instructions on making this modification are included in the spec manual. Starting with spec release 3.00.07, this CAMAC controller can also be used in a driverless, polled mode, in which case no modifications are necessary.
Starting with spec release 2.15, the special nap driver must be installed to make clock tick (fractional second) sleeps available.
When using devices that directly access I/O ports (such as the Scientific Solutions GPIB or the Labmaster counter boards), the ports must be specially enabled for I/O. (See KDENABIO in the display(7) section of the System V/386 System Administrator's Reference Manual.) It is only necessary for the ports to be enabled once after rebooting the computer. A program called io_enable performs this function and is supplied with spec. The program will be automatically run with the proper arguments when you start spec.