X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=man%2Ftput.1;h=0834e44723846d973a88e1695f4915229326c48f;hb=95bcbd4bb8e933c86e6fc4aba9ea1c7fd3d30e3d;hp=f02ec5338d2fda25f162c78d7b8d8b67b18e3eee;hpb=643ec2bf782cd02efafe3ccdeaea8920a404645e;p=ncurses.git diff --git a/man/tput.1 b/man/tput.1 index f02ec533..0834e447 100644 --- a/man/tput.1 +++ b/man/tput.1 @@ -28,7 +28,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: tput.1,v 1.70 2021/09/04 19:02:50 tom Exp $ +.\" $Id: tput.1,v 1.72 2021/10/02 21:41:00 tom Exp $ .TH @TPUT@ 1 "" .ds d @TERMINFO@ .ds n 1 @@ -423,7 +423,7 @@ exit code error message \fB0\fR T{ (\fIcapname\fR is a numeric variable that is not specified in the \fBterminfo\fR(5) database for this terminal type, e.g. -\fB@TPUT@ \-T450 lines\fR and \fB@TPUT@ \-T2621 xmc\fR) +\fB@TPUT@ \-T450 lines\fR and \fB@TPUT@ \-Thp2621 xmc\fR) T} \fB1\fR no error message is printed, see the \fBEXIT CODES\fR section. \fB2\fR usage error @@ -516,6 +516,15 @@ requiring \fB@TPUT@\fP to know which type to use. This implementation uses a table to determine the parameter types for the standard \fIcapname\fR operands, and an internal library function to analyze nonstandard \fIcapname\fR operands. +.IP +Besides providing more reliable operation than AT&T's utility, +a portability problem is introduced by this analysis: +An OpenBSD developer adapted the internal library function from ncurses +to port NetBSD's termcap-based \fBtput\fP to terminfo. +That had been modified to interpret multiple commands on a line. +Portable applications should not rely upon this feature; +ncurses provides it to support applications written +specifically for OpenBSD. .PP This implementation (unlike others) can accept both \fItermcap\fP and \fIterminfo\fP names for the \fIcapname\fP feature,