<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Tput</id>
		<title>Tput - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.christophchamp.com/index.php?action=history&amp;feed=atom&amp;title=Tput"/>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Tput&amp;action=history"/>
		<updated>2026-04-30T13:28:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://wiki.christophchamp.com/index.php?title=Tput&amp;diff=5589&amp;oldid=prev</id>
		<title>Christoph: New page: This article will explore the '''tput''' command in Linux. It is a standard Unix operating system command, which is used to set terminal features.  Depending on the system, &lt;code&gt;tput&lt;...</title>
		<link rel="alternate" type="text/html" href="http://wiki.christophchamp.com/index.php?title=Tput&amp;diff=5589&amp;oldid=prev"/>
				<updated>2012-05-30T21:34:03Z</updated>
		
		<summary type="html">&lt;p&gt;New page: This article will explore the &amp;#039;&amp;#039;&amp;#039;tput&amp;#039;&amp;#039;&amp;#039; command in &lt;a href=&quot;/index.php?title=Linux&quot; title=&quot;Linux&quot;&gt;Linux&lt;/a&gt;. It is a standard Unix operating system command, which is used to set terminal features.  Depending on the system, &amp;lt;code&amp;gt;tput&amp;lt;...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This article will explore the '''tput''' command in [[Linux]]. It is a standard Unix operating system command, which is used to set terminal features.&lt;br /&gt;
&lt;br /&gt;
Depending on the system, &amp;lt;code&amp;gt;tput&amp;lt;/code&amp;gt; uses the [[wikipedia:terminfo|terminfo]] or [[wikipedia:termcap|termcap]] database, as well as looking into the environment for the terminal type.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; margin:0px 20px 20px 0px;&amp;quot;&amp;gt;&lt;br /&gt;
{| align=&amp;quot;center&amp;quot; style=&amp;quot;border: 1px solid #999; background-color:#FFFFFF&amp;quot;&lt;br /&gt;
|-align=&amp;quot;center&amp;quot; bgcolor=&amp;quot;#1188ee&amp;quot;&lt;br /&gt;
!Action&lt;br /&gt;
!Parameters&lt;br /&gt;
|-&lt;br /&gt;
| Set background color || tput setab [1-7] &lt;br /&gt;
|--bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| Set foreground color || tput setaf [1-7]&lt;br /&gt;
|-&lt;br /&gt;
| Set bold mode || tput bold&lt;br /&gt;
|--bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| Set half-bright mode || tput dim&lt;br /&gt;
|-&lt;br /&gt;
| Set underline mode || tput smul&lt;br /&gt;
|--bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| Exit underline mode || tput rmul&lt;br /&gt;
|- &lt;br /&gt;
| Reverse mode || tput rev&lt;br /&gt;
|--bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| Set standout mode || tput smso&lt;br /&gt;
|-&lt;br /&gt;
| Exit standout mode || tput rmso&lt;br /&gt;
|--bgcolor=&amp;quot;#eeeeee&amp;quot;&lt;br /&gt;
| Reset all attributes || tput sgr0&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
{{Clear}}&lt;br /&gt;
;Colors : 0=black; 1=red; 2=green; 3=yellow; 4=blue; 5=purple; 6=cyan; 7=white&lt;br /&gt;
&lt;br /&gt;
For an example, to make the terminal font colour green, execute&lt;br /&gt;
 tput setaf 1&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*Tansley DSW (2000). &amp;quot;Creating screen output&amp;quot;. ''Linux and UNIX shell programming''. Safari Tech Books Online. Addison-Wesley. ISBN 978-0-201-67472-9.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
*[http://invisible-island.net/ncurses/man/tput.1.html tput man page] (includes example usage)&lt;br /&gt;
*[[wikipedia:tput]]&lt;br /&gt;
*[http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x405.html ''Colours and Cursor Movement With tput'' in Bash Prompt HOWTO]&lt;br /&gt;
*[http://www.ibm.com/developerworks/aix/library/au-learningtput/?S_TACT=105AGY06&amp;amp; ''Discover tput'' on IBM DeveloperWorks]&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Command Line Tools]]&lt;/div&gt;</summary>
		<author><name>Christoph</name></author>	</entry>

	</feed>