X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_termcap.3x.html;h=ffbbc765771f24551c84c4dfe041953c387d9592;hp=e1abd8c06be055586c451b4a01faf803638c1e3c;hb=0de8912c1c0746eb37b733e9e6fdf852aab9506a;hpb=06078d3fa68db669ed37178c01873546b4b28745 diff --git a/doc/html/man/curs_termcap.3x.html b/doc/html/man/curs_termcap.3x.html index e1abd8c0..ffbbc765 100644 --- a/doc/html/man/curs_termcap.3x.html +++ b/doc/html/man/curs_termcap.3x.html @@ -1,6 +1,6 @@
- +- The variables PC, UP and BC are set by tgetent to the terminfo entry's + The variables PC, UP and BC are set by tgetent to the terminfo entry's data for pad_char, cursor_up and backspace_if_not_bs, respectively. UP - is not used by ncurses. PC is used in the tdelay_output function. BC - is used in the tgoto emulation. The variable ospeed is set by ncurses + is not used by ncurses. PC is used in the tdelay_output function. BC + is used in the tgoto emulation. The variable ospeed is set by ncurses in a system-specific coding to reflect the terminal speed.
- Except where explicitly noted, routines that return an integer return - ERR upon failure and OK (SVr4 only specifies "an integer value other + Except where explicitly noted, routines that return an integer return + ERR upon failure and OK (SVr4 only specifies "an integer value other than ERR") upon successful completion. Routines that return pointers return NULL on error.
- If you call tgetstr to fetch ca or any other parameterized string, be - aware that it will be returned in terminfo notation, not the older and + If you call tgetstr to fetch ca or any other parameterized string, be + aware that it will be returned in terminfo notation, not the older and not-quite-compatible termcap notation. This will not cause problems if - all you do with it is call tgoto or tparm, which both expand terminfo- - style strings as terminfo. (The tgoto function, if configured to sup- - port termcap, will check if the string is indeed terminfo-style by - looking for "%p" parameters or "$<..>" delays, and invoke a termcap- + all you do with it is call tgoto or tparm, which both expand terminfo- + style strings as terminfo. (The tgoto function, if configured to sup- + port termcap, will check if the string is indeed terminfo-style by + looking for "%p" parameters or "$<..>" delays, and invoke a termcap- style parser if the string does not appear to be terminfo). - Because terminfo conventions for representing padding in string capa- - bilities differ from termcap's, tputs("50"); will put out a literal + Because terminfo conventions for representing padding in string capa- + bilities differ from termcap's, tputs("50"); will put out a literal "50" rather than busy-waiting for 50 milliseconds. Cope with it. - Note that termcap has nothing analogous to terminfo's sgr string. One - consequence of this is that termcap applications assume me (terminfo - sgr0) does not reset the alternate character set. This implementation + Note that termcap has nothing analogous to terminfo's sgr string. One + consequence of this is that termcap applications assume me (terminfo + sgr0) does not reset the alternate character set. This implementation checks for, and modifies the data shown to the termcap interface to ac- commodate termcap's limitation in this respect.
- The XSI Curses standard, Issue 4 describes these functions. However, - they are marked TO BE WITHDRAWN and may be removed in future versions. + These functions are provided for supporting legacy applications, and + should not be used in new programs: + + o The XSI Curses standard, Issue 4 describes these functions. Howev- + er, they are marked TO BE WITHDRAWN and may be removed in future + versions. + + o X/Open Curses, Issue 5 (December 2007) marked the termcap interface + (along with vwprintw and vwscanw) as withdrawn. Neither the XSI Curses standard nor the SVr4 man pages documented the return values of tgetent correctly, though all three were in fact re- @@ -230,7 +240,7 @@
curses(3x), terminfo(5), term_variables(3x), putc(3). - http://invisible-island.net/ncurses/tctest.html + https://invisible-island.net/ncurses/tctest.html