The Regis Terminal Device
Device Keywords Accepted by the REGIS Device:
AVERAGE_LINES, CLOSE_FILE, FILENAME, PLOTTER_ON_OFF, SET_CHARACTER_SIZE, TTY, VT240, VT340
IDL provides Regis graphics output for the DEC VT240, VT330, and VT340 series of terminals. To output graphics to such terminals, issue the IDL command:
This causes IDL to use the Regis driver for producing graphical output.
Defaults for Regis Devices
The default setting for Regis output is: VT340, 16 colors, 4 bits per pixel.
Regis Limitations
- Four colors are available with VT240 and VT241 terminals, sixteen colors are available with the VT330 and VT340.
- Thick lines are emulated by filling polygons. There may be a difference in linestyle appearance between thick and normal lines.
- Image output is slow and is of poor quality, especially on the VT240 series. The VT240 is only able to write pixels on even numbered screen lines. IDL offers two methods of writing images to the 240:
- Even and odd pairs of rows are averaged and written to the screen. An n, m image will occupy n columns and m screen rows. If this method is selected, graphics and image coordinates coincide. This method is the default (
AVERAGE_LINES = 1). Routines that rely on a uniform graphics and image coordinate system, such as SHADE_SURF, work only in this mode. - Each line of the image is written to the screen, displaying every image pixel. An n, m image occupies 2m lines on the screen. (
AVERAGE_LINES = 0). Graphics and image coordinates coincide only at the lower left corner of the image. - Pixel values cannot be read back from the terminal, rendering the TVRD function inoperable.