X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_terminfo.3x;h=df9e09d9f6aff8b7665dd1a9256fefff02bba7d7;hp=d9ddb03af862945f0e21afc79fb46c5aa2b9e84c;hb=71c0306f0824ef2b10c4c5813fb003db48f3012e;hpb=77afe78361875f531dc2bf8d73f2e781c8e76176;ds=sidebyside diff --git a/man/curs_terminfo.3x b/man/curs_terminfo.3x index d9ddb03a..df9e09d9 100644 --- a/man/curs_terminfo.3x +++ b/man/curs_terminfo.3x @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_terminfo.3x,v 1.31 2010/01/09 19:43:39 tom Exp $ +.\" $Id: curs_terminfo.3x,v 1.32 2010/07/31 14:43:29 tom Exp $ .TH curs_terminfo 3X "" .ds n 5 .na @@ -48,7 +48,7 @@ \fBvid_attr\fR, \fBvid_puts\fR, \fBvidattr\fR, -\fBvidputs\fR - \fBcurses\fR interfaces to terminfo database +\fBvidputs\fR \- \fBcurses\fR interfaces to terminfo database .ad .hy .SH SYNOPSIS @@ -156,7 +156,7 @@ means that the terminal could not be found, or that it is a generic type, having too little information for curses applications to run. .TP 5 -.B -1 +.B \-1 means that the \fBterminfo\fR database could not be found. .RE .PP @@ -240,15 +240,15 @@ The \fBtigetflag\fR, \fBtigetnum\fR and \fBtigetstr\fR routines return the value of the capability corresponding to the \fBterminfo\fR \fIcapname\fR passed to them, such as \fBxenl\fR. .PP -The \fBtigetflag\fR routine returns the value \fB-1\fR if +The \fBtigetflag\fR routine returns the value \fB\-1\fR if \fIcapname\fR is not a boolean capability, or \fB0\fR if it is canceled or absent from the terminal description. .PP -The \fBtigetnum\fR routine returns the value \fB-2\fR if +The \fBtigetnum\fR routine returns the value \fB\-2\fR if \fIcapname\fR is not a numeric capability, -or \fB-1\fR if it is canceled or absent from the terminal description. +or \fB\-1\fR if it is canceled or absent from the terminal description. .PP -The \fBtigetstr\fR routine returns the value \fB(char *)-1\fR +The \fBtigetstr\fR routine returns the value \fB(char *)\-1\fR if \fIcapname\fR is not a string capability, or \fB0\fR if it is canceled or absent from the terminal description. .PP @@ -343,10 +343,10 @@ So though it is documented as a terminfo function, \fBmvcur\fR is really a curses function which is not well specified. .PP X/Open states that the old location must be given for \fBmvcur\fP. -This implementation allows the caller to use -1's for the old ordinates. +This implementation allows the caller to use \-1's for the old ordinates. In that case, the old location is unknown. .PP -Extended terminal capability names, e.g., as defined by \fBtic\ -x\fP, +Extended terminal capability names, e.g., as defined by \fBtic\ \-x\fP, are not stored in the arrays described in this section. .SH SEE ALSO \fBcurses\fR(3X),