SCCS-vsn: lib/libterm/termcap.3 5.1
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.\" @(#)termcap.3 4.1 (Berkeley) %G%
+.\" @(#)termcap.3 5.1 (Berkeley) %G%
+.TH TERMCAP 3X "9 February 1983"
.UC 4
.SH NAME
tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs \- terminal independent operation routines
.UC 4
.SH NAME
tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs \- terminal independent operation routines
.IR termcap (5).
These are low level routines;
see
.IR termcap (5).
These are low level routines;
see
for a higher level package.
.PP
.I Tgetent
for a higher level package.
.PP
.I Tgetent
if necessary to avoid placing \fB\en\fR, \fB^D\fR or \fB^@\fR in
the returned string.
(Programs which call tgoto should be sure to turn off the XTABS bit(s),
if necessary to avoid placing \fB\en\fR, \fB^D\fR or \fB^@\fR in
the returned string.
(Programs which call tgoto should be sure to turn off the XTABS bit(s),
-since tgoto may now output a tab.
+since
+.I tgoto
+may now output a tab.
Note that programs using termcap should in general turn off XTABS
anyway since some terminals use control I for other functions,
such as nondestructive space.)
Note that programs using termcap should in general turn off XTABS
anyway since some terminals use control I for other functions,
such as nondestructive space.)
.PP
.I Tputs
decodes the leading padding information of the string
.PP
.I Tputs
decodes the leading padding information of the string
.I affcnt
gives the number of lines affected by the operation, or 1 if this is
not applicable,
.I affcnt
gives the number of lines affected by the operation, or 1 if this is
not applicable,
The external variable
.I ospeed
should contain the output speed of the terminal as encoded by
The external variable
.I ospeed
should contain the output speed of the terminal as encoded by
The external variable
.B PC
should contain a pad character to be used (from the \fBpc\fR capability)
The external variable
.B PC
should contain a pad character to be used (from the \fBpc\fR capability)
/etc/termcap data base
.DT
.SH SEE ALSO
/etc/termcap data base
.DT
.SH SEE ALSO
-ex(1), curses(3), termcap(5)
+ex(1), curses(3X), termcap(5)