File:  [CSRG BSD Unix] / 43BSD / contrib / icon / man / man3 / ttyctl.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

.so tmac.ilib
.TH TTYCTL 3.icon "The University of Arizona \- 8/16/84"
.SH NAME
ttyctl \- primitive control of terminal attributes
.SH SYNOPSIS
.nf
.sp
\*Mstty(x1,\*bx2, \*(El, xn)\fR
\*Mrestty()\fR
\*Mkeyin()\fR
.fi
.SH DESCRIPTION
\*Mstty\fR sets or clears the terminal attributes given as arguments.
Positive attributes are set and negative attributes are cleared.
\*Mrestty\fR attempts to restore terminal attributes to their original
condition.
A reasonable guess is made if the original attributes cannot
be determined.
\*Mkeyin\fR succeeds if there is any input waiting
to be read from standard input but fails otherwise.
.PP
Attributes for \*Mstty\fR may be any legitimate bit pattern.
However, if the procedure \*Mttyinit\fR in \fIttyinit(2)\fR has been executed, the
following global identifiers are available as arguments:
.DS
TANDEM
CBREAK
LCASE
ECHO
CRMOD
RAW
ODDP
EVENP
.DE
.SH REQUIREMENTS
The function \*Mkeyin\fR assumes Berkeley
extensions.
.SH SEE ALSO
ttyinit(2)
.SH AUTHOR
Stephen B. Wampler

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.