X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_terminfo.3x;h=9cdbbddf5c07f25202265537eeb49c7b7b7f2b78;hp=9120a04b9a9820406ddb77b8edd25beb81665e9a;hb=21b36e89c00f2188954d680bf9fea60328b4538c;hpb=3934889cc6b0f45cf218c88df7f35634d250c9e5 diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x index 9120a04b..9cdbbddf 100644 --- a/man/curs_terminfo.3x +++ b/man/curs_terminfo.3x @@ -27,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_terminfo.3x,v 1.72 2021/01/02 23:50:04 tom Exp $ +.\" $Id: curs_terminfo.3x,v 1.74 2021/03/06 16:05:19 tom Exp $ .TH curs_terminfo 3X "" .ie \n(.g .ds `` \(lq .el .ds `` `` @@ -280,6 +280,12 @@ the prototype expects \fBlong\fP (integer) values. .bP Aside from the \fBset_attributes\fP (\fBsgr\fP) capability, most terminal capabilities require no more than one or two parameters. +.bP +Padding information is ignored by \fBtparm\fP; +it is interpreted by \fBtputs\fP. +.bP +The capability string is null-terminated. +Use \*(``\\200\*('' where an ASCII NUL is needed in the output. .PP \fBtiparm\fP is a newer form of \fBtparm\fP which uses \fI\fP rather than a fixed-parameter list. @@ -287,7 +293,10 @@ Its numeric parameters are integers (int) rather than longs. .\" *************************************************************************** .SS Output Functions .PP -The \fBtputs\fR routine applies padding information to the string +The \fBtputs\fR routine applies padding information +(i.e., by interpreting marker embedded in the terminfo capability +such as \*(``$<5>\*('' as 5 milliseconds) +to the string \fIstr\fR and outputs it: .bP The \fIstr\fR parameter must be a terminfo string