<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
		<title>gdp's Comments</title>
		<language>en-us</language>
		<link>https://www.intensedebate.com/users/689601</link>
		<description>Comments by Brian_Arita</description>
<item>
<title>Ubuntu Tutorials : Dapper - Gutsy - Hardy - Intrepid : .screenrc</title>
<link>http://ubuntu-tutorials.com/2009/10/09/screenrc/#IDComment39157008</link>
<description>I use this hard status because frequently I have a lot of windows open. I added comments for clarity # Output green [] with the hostname colored brown in the middle # %{= kG}[ %{y}%H %{g}] # Output a [ thats green  # [ # Leave a gap  for the hostname # %15= # Mark that spot for truncation # %&amp;gt; # Print all the other windows prior to the current one up to 40% width # %-Lw%40&amp;gt; # Print out a red ( # %{r}( # Print out White Bold Text Of the Window Number, a *, flags, title  # %{W}%n*%f %t # Print out other users on that screen (if some exist) # %?(%u)%? # Print out a red ) and then switch back to green # %{r})%{g} # Print out all the other windows after the current one # %+Lw # Leave some room on the end for the date and time and mark that as the other truncation point # %-22&amp;lt; # Print the closing bracket, the opening bracket for the final section, a cyan marker, the date and time, and a green ] # ][%{c} %Y-%m-%d %c %{g}] hardstatus alwayslastline &amp;#039;%{= kG}[ %{y}%H %{g}][%15= %&amp;gt;%-Lw%40&amp;gt;%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{g}%+Lw%-22&amp;lt; ][%{c} %Y-%m-%d %c %{g}]&amp;#039;   Another nice thing is to use this: bind e stuff &amp;#039;echo -en &amp;quot;\\ekU@H\\e\\\\&amp;quot;|sed -e &amp;quot;s/H/`hostname`/&amp;quot; -e &amp;quot;s/U/`whoami`/&amp;quot;&amp;#039;  So that when you ssh into a new computer you can have the title of the screen be User@hostname  If you use vim to edit your screenrc file you can press Ctrl+v ctrl+m before the last &amp;#039; on the echo command, then a return key will be added to that command.    </description>
<pubDate>Sun, 18 Oct 2009 07:47:35 +0000</pubDate>
<guid>http://ubuntu-tutorials.com/2009/10/09/screenrc/#IDComment39157008</guid>
</item>	</channel>
</rss>