Table of Contentssetterm - set terminal attributes setterm [ -term terminal_name ] setterm [ -reset ] setterm [ -initialize ] setterm [ -cursor [on|off] ] setterm [ -keyboard pc|olivetti|dutch|extended ] setterm [ -repeat [on|off] ] setterm [ -appcursorkeys [on|off] ] setterm [ -linewrap [on|off] ] setterm [ -snow [on|off] ] setterm [ -softscroll [on|off] ] setterm [ -defaults ] setterm [ -foreground black|red|green|yellow|blue|magenta|cyan|white|default ] setterm [ -background black|red|green|yellow|blue|magenta|cyan|white|default ] setterm [ -ulcolor black|grey|red|green|yellow|blue|magenta|cyan|white ] setterm [ -ulcolor bright red|green|yellow|blue|magenta|cyan|white ] setterm [ -hbcolor black|grey|red|green|yellow|blue|magenta|cyan|white ] setterm [ -hbcolor bright red|green|yellow|blue|magenta|cyan|white ] setterm [ -inversescreen [on|off] ] setterm [ -bold [on|off] ] setterm [ -half-bright [on|off] ] setterm [ -blink [on|off] ] setterm [ -reverse [on|off] ] setterm [ -underline [on|off] ] setterm [ -store ] setterm [ -clear [ all|rest ] ] setterm [ -tabs [tab1 tab2 tab3 ... ] ] where (tabn = 1-160) setterm [ -clrtabs [ tab1 tab2 tab3 ... ] where (tabn = 1-160) setterm [ -regtabs [ 1-160 ] ] setterm [ -blank [ 0-60 ] ] setterm [ -dump [ 1-NR_CONS ] ] setterm [ -append [ 1-NR_CONS ] ] setterm [ -file dumpfilename ] setterm [ -standout [ attr ] ] setterm writes to standard output a character string that will invoke the specified terminal capabilities. Where possibile /etc/termcap is consulted to find the string to use. Some options however do not correspond to a termcap(5) capability. In this case, if the terminal type is "minix-vc", or "minix-vcam" the string that invokes the specified capabilities on the PC Minix virtual console driver is output. Options that are not implemented by the terminal are ignored. Most options are self explanatory. The less obvious options are as follows: - -term
- can be used to override the TERM environment variable.
- -reset
- displays the terminal reset string, which typically resets the terminal to its power on state.
- -initialize
- displays the terminal initialization string, which typically sets the terminal's rendering options, and other attributes to the default values.
- -default
- sets the terminal's rendering options to the default values.
- -store
- stores the terminal's current rendering options as the default values.
tput(1), stty(1), termcap(5), tty(4) Differences between the Minux and Linux versions are not documented. Gordon Irlam (gordoni@cs.ua.oz.au)
Adaption to Linux by Peter MacDonald
Enhancements by Mika Liljeberg (liljeber@cs.Helsinki.FI)
Table of Contents
www.fiveanddime.net