X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Ftput.1.html;h=a7e1c8356b8f0f7c10fe63db91007a0270bbdc9a;hp=ad00b2358c2def4f48c0a920710bde0385dd2db3;hb=8e397cccba0aad135cb9a8a353756f4273a7cdf6;hpb=f344f8539c1543f8cd65a5bb142dbaf23b9421d2 diff --git a/doc/html/man/tput.1.html b/doc/html/man/tput.1.html index ad00b235..a7e1c835 100644 --- a/doc/html/man/tput.1.html +++ b/doc/html/man/tput.1.html @@ -27,7 +27,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: tput.1,v 1.51 2017/01/14 20:49:40 tom Exp @ + * @Id: tput.1,v 1.54 2017/01/29 00:51:08 tom Exp @ --> @@ -114,16 +114,22 @@
+ A few commands (init, reset and longname) are special; + they are defined by the tput program. The others are the + names of capabilities from the terminal database (see ter- + minfo(5) for a list). Although init and reset resemble + capability names, tput uses several capabilities to per- + form these special functions. + capname - indicates the capability from the terminfo data- - base. When termcap support is compiled in, the - termcap name for the capability is also accepted. + indicates the capability from the terminal data- + base. If the capability is a string that takes parame- ters, the arguments following the capability will be used as parameters for the string. - Most parameters are numbers. Only a few terminfo + Most parameters are numbers. Only a few terminal capabilities require string parameters; tput uses a table to decide which to pass as strings. Normally tput uses tparm(3x) to perform the substitution. @@ -131,7 +137,7 @@ writes the string without performing the substitu- tion. - init If the terminfo database is present and an entry + init If the terminal database is present and an entry for the user's terminal exists (see -Ttype, above), the following will occur: @@ -203,7 +209,7 @@ Otherwise, reset acts identically to init. longname - If the terminfo database is present and an entry + If the terminal database is present and an entry for the user's terminal exists (see -Ttype above), then the long name of the terminal will be put out. The long name is the last name in the first line of @@ -411,6 +417,16 @@ Both of these appeared in 4.4BSD, becoming the "modern" BSD implementation of tput. + This implementation of tput began from a different source + than AT&T or BSD: Ross Ridge's mytinfo package, published + on comp.sources.unix in December 1992. Ridge's program + made more sophisticated use of the terminal capabilities + than the BSD program. Eric Raymond used the tput program + (and other parts of mytinfo) in ncurses in June 1995. + Using the portions dealing with terminal capabilities + almost without change, Raymond made improvements to the + way the command-line parameters were handled. +
This implementation of tput differs from AT&T tput in two @@ -449,6 +465,22 @@ an internal library function to analyze nonstandard capname operands. + This implementation (unlike others) can accept both term- + cap and terminfo names for the capname feature, if termcap + support is compiled in. However, the predefined termcap + and terminfo names have two ambiguities in this case (and + the terminfo name is assumed): + + o The termcap name dl corresponds to the terminfo name + dl1 (delete one line). + The terminfo name dl corresponds to the termcap name + DL (delete a given number of lines). + + o The termcap name ed corresponds to the terminfo name + rmdc (end delete mode). + The terminfo name ed corresponds to the termcap name + cd (clear to end of screen). + The longname and -S options, and the parameter-substitu- tion features used in the cup example, were not supported in BSD curses before 4.3reno (1989) or in AT&T/USL curses @@ -498,7 +530,7 @@ clear(1), stty(1), tabs(1), tset(1), terminfo(5), curs_termcap(3x). - This describes ncurses version 6.0 (patch 20170114). + This describes ncurses version 6.0 (patch 20170429).