02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

serial(7)<br />

2<br />

UIOCDTRFLOW<br />

serial(7)<br />

the signal SIGHUP will be generated to<br />

processes with the port as their controlling<br />

terminal (usually resulting in the<br />

death of the processes <strong>and</strong> the subsequent<br />

closing of the port). In this<br />

mode, the HSKi input functions as the<br />

RS232 function Data Carrier Detect<br />

(DCD). The following stty(1) comm<strong>and</strong><br />

can be used to put a port into<br />

such a mode:<br />

stty modem < /dev/ttyO<br />

To tum this option off, stty(1) needs<br />

to first open the port; <strong>and</strong> because it<br />

can't open the port until the HSKi<br />

(DCD) line is asserted, the following<br />

form of the s t t y(1) should be used to<br />

tum off this option:<br />

stty -n /dev/ttyO -modem<br />

DTR flow control. This mode is used<br />

to communicate with printers such as<br />

the Apple Image Writer II. The HSKo<br />

output performs in the same manner as<br />

above. The HSKi input is used to enable<br />

or disable output by a a device<br />

(such as a printer) that wishes to flow<br />

control it When HSKi is asserted<br />

characters may be output, when it is<br />

negated output will stop. Note that<br />

when an A/UX device is closed, the<br />

process that is closing it will be<br />

suspended until all waiting characters<br />

have been transmitted, such a process<br />

will wait until flow control is asserted.<br />

Either of the following stty(1) comm<strong>and</strong>s<br />

can be used to tum on DTR flow<br />

control:<br />

stty dtrflow < /dev/ttyO<br />

stty hxctl < /dev/ttyO<br />

February, 1990<br />

RevisionC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!