.BG
.VE $Header: /usr/s/current/s/.help/RCS/tek4112,v 1.4 86/10/07 15:45:27 rab Exp $
.FN tek4112
.FN TEK4112
.TL
tek4112: Tektronix 4112 Raster Scope
.CS
tek4112(ask)
!S TEK4112    # UNIX command to set up function keys
.PP
.AG ask
logical, should device driver print the message "GO?"
to ask permission to clear the screen?
Default TRUE.
.PP
On `tek4112' scopes, graphics is drawn in a "graphics area" while
interaction with the computer is carried out in the "dialog area".
The "Dialog" key on the terminal is a switch which controls visibility of the
dialog area.
The `S TEK4112' utility routine sets up function keys to provide control
over the graphics/dialog areas.  Function keys 1 through 4 are set up as
"View Graph", "No Graph", "Small Dialog (2 lines)", and
"Large Dialog (full screen)".
In addition, the shifted version of function key 1 
is "Erase Graph".
.PP
Graphics drawn on the screen are stored in a "segment"
in local memory in the 4112.
When the page button is pressed, the segment is re-drawn.
Use can also be made of the pan and zoom keys on the terminal to view parts
of the graphics in finer detail.  Although the terminal only displays
640 by 480 rasters of information at any time, the terminal receives data
to a 4096 by 3072 resolution, and the pan and zoom operations cause
finer detail to be made available.
.PP
Refer to the 4112 Operators Manual for a description of how to execute the
following "setup commands" which set non-default options:
DAENABLE yes; FLAGGING input; BYPASSCANCEL null.
.PP
If `ask' is TRUE,
whenever a new plot is about to be produced the message "GO?" appears
in the lower left corner of the screen.  This allows further viewing,
making a hard copy, etc., before the screen is erased.  When ready for
plotting to proceed, simply hit carriage return.
The function `hardcopy' can be used to generate a copy
of the information on the screen.
To produce unattended plots, use
the `hardcopy' function with the `ask=FALSE' to this device function.
.PP
When graphic input (`identify', `rdpen') is requested from this
terminal, the cursor lines appear horizontally and vertically across
the entire screen.  The thumb wheels should be adjusted to position
the intersection of the cursors at the desired point, and then any
single character should be typed.
A carriage return alone will terminate graphic input
without transmitting the point.
.PP
Character size, rotation, and line type may be changed.
Characters may appear in any size or rotation angle.
There are 8 line types (1
through 8) giving solid, dotted, dot dash, short dash, long dash,
dash 3-dot, long dash dot, and dash space.
The terminal uses the `col' parameter to control gray scale
and patterns in polygon fills.  During ordinary line drawing, `col'
should be set to 1, since other colors adversely affect line drawing.
In particular, beware of automatic color changes due to functions
such as `matplot'; make sure you explicitly use `col=1'.
.PP
A device must be specified before any graphics functions can be used.
.KW device*
.WR
