|
|
coherent
ttystat Command ttystat
Get
/eettcc/ttttyyssttaatt [ -dd ] _p_o_r_t
ttystat checks the status of the specified asynchronous port in
directory /dev. It normally just returns an exit status that in-
dicates the status of the port. The option -d tells ttystat to
print the status of the port on the standard output.
Only the superuser root can execute ttystat.
***** Example *****
The following example prints the status of port /dev/com2r:
/etc/ttystat -d com2
If /dev/com2r is enabled, ttystat prints:
com2r is enabled
ttystat finds the port status from the /etc/ttys file.
***** Files *****
/eettcc/ttttyyss -- Terminal characteristics file
***** See Also *****
commands, disable, enable, ttys
***** Diagnostics *****
ttystat returns one if the port is enabled and zero if the port
is disabled. It returns -2 if an error occurs.
COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.