X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Ada95%2Fhtml%2Fman%2Fcurs_terminfo.3x.html;fp=Ada95%2Fhtml%2Fcurs_terminfo.3x.html;h=2f90578c67cff8f033ce00bab26e82c5a6645e24;hp=85d536f449f4c7b37b940aee2fb5310cf5466b33;hb=refs%2Ftags%2Fv5.0;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1 diff --git a/Ada95/html/curs_terminfo.3x.html b/Ada95/html/man/curs_terminfo.3x.html similarity index 86% rename from Ada95/html/curs_terminfo.3x.html rename to Ada95/html/man/curs_terminfo.3x.html index 85d536f4..2f90578c 100644 --- a/Ada95/html/curs_terminfo.3x.html +++ b/Ada95/html/man/curs_terminfo.3x.html @@ -1,5 +1,5 @@ -
+setupterm, setterm, set_curterm, del_curterm, restartterm, tparm, tputs, putp, vidputs, vidattr, mvcur, tigetflag, @@ -9,8 +9,8 @@
- #include <curses.h> - #include <term.h> + #include+ #include int setupterm(const char *term, int fildes, int *errret); int setterm(const char *term); @@ -144,32 +144,34 @@ name passed to them, such as xenl. The tigetflag routine returns the value -1 if capname is - not a boolean capability. + not a boolean capability, or 0 if it is cancelled or + absent from the terminal description. - The tigetnum routine returns the value -2 if capname is - not a numeric capability. + The tigetnum routine returns the value -2 if capname is + not a numeric capability, or -1 if it is cancelled or + absent from the terminal description. The tigetstr routine returns the value (char *)-1 if cap- - name is not a string capability. + name is not a string capability, or 0 if it is cancelled + or absent from the terminal description. The capname for each capability is given in the table col- - umn entitled capname code in the capabilities section of + umn entitled capname code in the capabilities section of terminfo(5). char *boolnames, *boolcodes, *boolfnames - char *numnames, *numcodes, *numfnames - char *strnames, *strcodes, *strfnames - termcap codes, and the full C names, for each of the ter- + These null-terminated arrays contain the capnames, the + termcap codes, and the full C names, for each of the ter- minfo variables.
- Routines that return an integer return ERR upon failure - and OK (SVr4 only specifies "an integer value other than - ERR") upon successful completion, unless otherwise noted + Routines that return an integer return ERR upon failure + and OK (SVr4 only specifies "an integer value other than + ERR") upon successful completion, unless otherwise noted in the preceding routine descriptions. Routines that return pointers always return NULL on error. @@ -177,9 +179,9 @@
- The setupterm routine should be used in place of setterm. - It may be useful when you want to test for terminal capa- - bilities without committing to the allocation of storage + The setupterm routine should be used in place of setterm. + It may be useful when you want to test for terminal capa- + bilities without committing to the allocation of storage involved in initscr. Note that vidattr and vidputs may be macros. @@ -187,12 +189,12 @@
- The function setterm is not described in the XSI Curses - standard and must be considered non-portable. All other + The function setterm is not described in the XSI Curses + standard and must be considered non-portable. All other functions are as described in the XSI curses standard. - In System V Release 4, set_curterm has an int return type - and returns OK or ERR. We have chosen to implement the + In System V Release 4, set_curterm has an int return type + and returns OK or ERR. We have chosen to implement the XSI Curses semantics. In System V Release 4, the third argument of tputs has the @@ -204,7 +206,7 @@
- curses(3X), curs_initscr(3X), curs_kernel(3X), curs_term- + curses(3X), curs_initscr(3X), curs_kernel(3X), curs_term- cap(3X), putc(3S), terminfo(5) @@ -219,8 +221,6 @@ - -