X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Ftput.1.html;h=d380a282b953cd7574196ffe5d992a1a77dcad94;hp=159df350456eb7ef0fd9cd778c8330b4e581f54f;hb=77afe78361875f531dc2bf8d73f2e781c8e76176;hpb=82a087c4c47679fcfa59bb6d7bdbe587355ba3f6 diff --git a/doc/html/man/tput.1.html b/doc/html/man/tput.1.html index 159df350..d380a282 100644 --- a/doc/html/man/tput.1.html +++ b/doc/html/man/tput.1.html @@ -99,8 +99,8 @@ be queried for the actual screen size. capname - indicates the capability from the terminfo - database. When termcap support is compiled in, the + indicates the capability from the terminfo data- + base. When termcap support is compiled in, the termcap name for the capability is also accepted. parms If the capability is a string that takes parame- @@ -112,8 +112,8 @@ table to decide which to pass as strings. Normally tput uses tparm (3x) to perform the substitution. If no parameters are given for the capability, tput - writes the string without performing the - substitution. + writes the string without performing the substitu- + tion. -S allows more than one capability per invocation of tput. The capabilities must be passed to tput from @@ -204,16 +204,16 @@ bold=`tput smso` offbold=`tput rmso` Set the shell variables bold, to begin stand-out mode sequence, and offbold, to end standout mode sequence, - for the current terminal. This might be followed by - a prompt: echo "${bold}Please type in your name: + for the current terminal. This might be followed by + a prompt: echo "${bold}Please type in your name: ${offbold}\c" tput hc - Set exit code to indicate if the current terminal is + Set exit code to indicate if the current terminal is a hard copy terminal. tput cup 23 4 - Send the sequence to move the cursor to row 23, col- + Send the sequence to move the cursor to row 23, col- umn 4. tput cup @@ -221,8 +221,8 @@ parameters substituted. tput longname - Print the long name from the terminfo database for - the type of terminal specified in the environmental + Print the long name from the terminfo database for + the type of terminal specified in the environmental variable TERM. tput -S <<! @@ -231,10 +231,10 @@ > bold > ! - This example shows tput processing several capabili- - ties in one invocation. It clears the screen, moves - the cursor to position 10, 10 and turns on bold - (extra bright) mode. The list is terminated by an + This example shows tput processing several capabili- + ties in one invocation. It clears the screen, moves + the cursor to position 10, 10 and turns on bold + (extra bright) mode. The list is terminated by an exclamation mark (!) on a line by itself. @@ -245,8 +245,8 @@ /usr/share/tabset/* tab settings for some terminals, in a format appro- - priate to be output to the terminal (escape - sequences that set margins and tabs); for more + priate to be output to the terminal (escape + sequences that set margins and tabs); for more information, see the "Tabs and Initialization" sec- tion of terminfo(5) @@ -254,16 +254,16 @@
If the -S option is used, tput checks for errors from each - line, and if any errors are found, will set the exit code - to 4 plus the number of lines with errors. If no errors - are found, the exit code is 0. No indication of which + line, and if any errors are found, will set the exit code + to 4 plus the number of lines with errors. If no errors + are found, the exit code is 0. No indication of which line failed can be given so exit code 1 will never appear. - Exit codes 2, 3, and 4 retain their usual interpretation. + Exit codes 2, 3, and 4 retain their usual interpretation. If the -S option is not used, the exit code depends on the type of capname: boolean - a value of 0 is set for TRUE and 1 for FALSE. + a value of 0 is set for TRUE and 1 for FALSE. string a value of 0 is set if the capname is defined for this terminal type (the value of capname @@ -294,7 +294,6 @@ tput prints the following error messages and sets the cor- responding exit codes. - exit code error message --------------------------------------------------------------------- 0 (capname is a numeric variable that is not specified in @@ -318,9 +317,9 @@ reset. In this implementation, clear is part of the cap- name support. Other implementations of tput on SVr4-based systems such as Solaris, IRIX64 and HPUX as well as others - such as AIX and Tru64 provide support for capname - operands. A few platforms such as FreeBSD and NetBSD rec- - ognize termcap names rather than terminfo capability names + such as AIX and Tru64 provide support for capname oper- + ands. A few platforms such as FreeBSD and NetBSD recog- + nize termcap names rather than terminfo capability names in their respective tput commands. @@ -328,7 +327,7 @@SEE ALSO
clear(1), stty(1), tabs(1), terminfo(5). - This describes ncurses version 5.6 (patch 20070303). + This describes ncurses version 5.7 (patch 20100109).