Technical data
stc(7D) Devices SunOS 5.5
cflow_flush- flush any data beingheld off by remote flow control on close().
cflow_msg- display a message on the console if data transmission is stalled due to
remote flow control blocking the transfer in close().
instantflow- if transmission is stopped by software flow control and the flow control
is disabled via an ioctl( ) call, the transmitter will be enabled immedi-
ately.
display- displays all serial port parameters.
Valid tokens requiring values are:
drain_size- The size of STREAMS buffers allocated when passing data from the
receive interrupt handler upstream
hiwater, lowwater-
The high water and low water thresholds in the receive interrupt
handler 1024 byte buffer
rtpr- The inter-character receive timer
rxfifo- The UART receive fifo threshold.
For the value-carrying tokens for serial ports:
token default value min value
hiwater 1010 bytes 2 bytes
lowwater 512 bytes 2 bytes
drain_size 64 bytes 4 bytes
rtpr 18 millisecs 1 millisecs
rxfifo 4 bytes 1 bytes
Tokens for Parallel
Ports
Valid boolean tokens for parallel ports are
paper_out- If set, the PAPER OUT signal from the port is monitored. If clear, the
signal is ignored.
error- Monitor the ERROR signal from the port. Ignore the signal if clear.
busy- Monitor the BUSY signal from the port. Ignore the signal if clear.
select- Monitor the SELECT, or ON LINE, signal from the port. Ignore the sig-
nal if clear.
pp_message- If this token is clear, a console message will be printed when any of the
above four enabled conditions are detected, and another when the con-
dition is cleared. If set, a console message will be printed every 60
seconds until the condition is cleared.
pp_signal- If this token is set, the parallel port’s controlling process will get a
PP_SIGTYPE signal whenever one of the above four conditions is
detected. PP_SIGTYPE is defined in stcio.h, which is available to the
user.
7D-318 modified 2 Aug 1993










