X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_terminfo.3x;h=3072a2d6ad3aa597912188035b5a7a4ac1e9eab0;hp=9e9dfa43783b84f06fba0e626fdeafd14de88dab;hb=c3b21f65a2687f3894a0d3217006c23f162c893a;hpb=7af63696972b12659832a1c3413d9ace9641c8f6 diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x index 9e9dfa43..3072a2d6 100644 --- a/man/curs_terminfo.3x +++ b/man/curs_terminfo.3x @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_terminfo.3x,v 1.44 2016/08/20 23:26:10 tom Exp $ +.\" $Id: curs_terminfo.3x,v 1.46 2016/10/15 17:27:48 tom Exp $ .TH curs_terminfo 3X "" .ie \n(.g .ds `` \(lq .el .ds `` `` @@ -172,7 +172,7 @@ If \fBERR\fR is returned, examine \fIerrret\fR: means that the terminal is hardcopy, cannot be used for curses applications. .IP \fBsetupterm\fP determines if the entry is a hardcopy type by -checking the \fIhc\fP (\fIhardcopy\fP) capability. +checking the \fBhc\fP (\fBhardcopy\fP) capability. .TP 5 .B 0 means that the terminal could not be found, @@ -180,7 +180,7 @@ or that it is a generic type, having too little information for curses applications to run. .IP \fBsetupterm\fP determines if the entry is a generic type by -checking the \fIgn\fP (\fIgeneric\fP) capability. +checking the \fBgn\fP (\fBgeneric\fP) capability. .TP 5 .B \-1 means that the \fBterminfo\fR database could not be found. @@ -249,10 +249,16 @@ Its numeric parameters are integers (int) rather than longs. .SS Output Functions .PP The \fBtputs\fR routine applies padding information to the string -\fIstr\fR and outputs it. The \fIstr\fR must be a terminfo string +\fIstr\fR and outputs it: +.bP +The \fIstr\fR must be a terminfo string variable or the return value from \fBtparm\fR, \fBtgetstr\fR, or -\fBtgoto\fR. \fIaffcnt\fR is the number of lines affected, or 1 if -not applicable. \fIputc\fR is a \fBputchar\fR-like routine to which +\fBtgoto\fR. +.bP +\fIaffcnt\fR is the number of lines affected, or 1 if +not applicable. +.bP +\fIputc\fR is a \fBputchar\fR-like routine to which the characters are passed, one at a time. .PP The \fBputp\fR routine calls \fBtputs(\fR\fIstr\fR\fB, 1, putchar)\fR.