<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux~ized &#187; wirelay</title>
	<atom:link href="http://www.linuxized.com/tag/wirelay/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxized.com</link>
	<description>wired&#039;s /dev/urandom space</description>
	<lastBuildDate>Fri, 03 Sep 2010 18:47:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>switching from gnu screen to tmux (updated)</title>
		<link>http://www.linuxized.com/2010/05/switching-from-gnu-screen-to-tmux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxized.com/2010/05/switching-from-gnu-screen-to-tmux/#comments</comments>
		<pubDate>Wed, 05 May 2010 09:45:02 +0000</pubDate>
		<dc:creator>wired</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[gnu screen]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[tmux]]></category>
		<category><![CDATA[wirelay]]></category>

		<guid isPermaLink="false">http://www.linuxized.com/?p=517</guid>
		<description><![CDATA[update #1: upstream accepted my patch, so the next tmux release will provide window-status-alert-{attr,fg,bg} Only difference is the use of alert instead of flagged. It sounds better anyway I&#8217;ll adjust my patch on 1.2 as well update #2 [2010/05/17]: uploaded my updated config file, now using ` as my prefix key I gave tmux a [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">update #1</span></strong>: upstream accepted my patch, so the next tmux release will provide <strong>window-status-alert-{attr,fg,bg}</strong> <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Only difference is the use of <strong>alert</strong> instead of <strong>flagged</strong>. It sounds better anyway <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I&#8217;ll adjust my patch on 1.2 as well <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong><span style="color: #ff0000;">update #2 [2010/05/17]</span></strong>: uploaded my updated config file, now using ` as my prefix key</p>
<p>I gave tmux a try yesterday.</p>
<p>Clean config file, thorough documentation and a few nice touches here and there (i.e. better, persistent window splitting) make it a nice alternative to screen, but the biggest difference lies in memory usage. Screen can easily eat up to 40-50mb with just a few windows open, but tmux has yet to reach the 10mb mark!</p>
<p>You may argue that ram is cheap these days, but <strong>when you&#8217;re on a 360mb VPS ram matters</strong> <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I did find a few bugs/annoyances, for instance if you add <strong>set-option -g default-terminal &#8220;screen-256color&#8221;</strong> in your config file, <del datetime="2010-05-17T07:59:13+00:00">tmux stops evaluating the #T variable.</del></p>
<p>I hacked my way out of this one by adding the following in my <strong>.bash_profile</strong> instead:</p>
<blockquote><p><code>[[ $TERM == "screen" ]] &amp;&amp; export -p TERM="screen-256color"</code></p></blockquote>
<p><strong>Turns out that&#8217;s not tmux&#8217;s fault but bash&#8217;s, I&#8217;ll have to create a patch for that as well <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If you have the same issue, you can use the above hack as a temporary fix.</strong></p>
<p>Also version 1.2 does not provide a way for you to customize the colors used on window titles with alerts (either monitored or when the bell is active), but I <a href="http://sourceforge.net/tracker/?func=detail&amp;aid=2996871&amp;group_id=200378&amp;atid=973264" target="_blank">patched that and sent it upstream</a> <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>You can <a href="http://github.com/wired/wirelay/tree/master/app-misc/tmux/" target="_blank">find an ebuild with the patch</a> in my overlay, <a href="http://github.com/wired/wirelay/" target="_blank">wirelay</a> (<strong>layman -a wirelay</strong> <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p>
<p>The patch was accepted upstream so it&#8217;ll be in the next release.</p>
<p>My tmux looks like this:</p>
<p><a href="http://www.linuxized.com/wp-content/uploads/2010/05/tmux1.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank"><img class="alignnone size-medium wp-image-529" title="tmux" src="http://www.linuxized.com/wp-content/uploads/2010/05/tmux1-300x202.jpg" alt="" width="300" height="202" /></a></p>
<p>and with some split panes:</p>
<p><a href="http://www.linuxized.com/wp-content/uploads/2010/05/tmux2.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank"><img class="alignnone size-medium wp-image-530" title="tmux split" src="http://www.linuxized.com/wp-content/uploads/2010/05/tmux2-300x202.jpg" alt="" width="300" height="202" /></a></p>
<p>finally, below is my (<strong>updated on 2010/05/17</strong>) <strong><a href="http://dev.gentoo.org/~wired/conf/tmux.conf" target="_blank">tmux.conf</a></strong> config file, used in the above screenshots.</p>
<p>I decided to use ` as my prefix key, its really better than hitting ctrl-a all the time <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<blockquote><p><code># ` is an interesting key for a prefix<br />
set-option -g prefix `<br />
# set-option -g prefix C-a<br />
<br />
unbind-key C-b<br />
bind-key C-a last-window<br />
bind-key ` last-window<br />
bind-key a send-prefix<br />
<br />
# we might need ` at some point, allow switching<br />
# we can also send the prefix char with `-a<br />
bind-key F11 set-option -g prefix C-a<br />
bind-key F12 set-option -g prefix `<br />
<br />
# 0 is too far from ` <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
set -g base-index 1<br />
<br />
# set-option -g default-terminal "screen-256color"<br />
set-option -g mouse-select-pane on<br />
set-option -g status-keys vi<br />
set-option -g bell-action any<br />
set-option -g set-titles on<br />
set-option -g set-titles-string '#H:#S.#I.#P #W #T' # window number,program name,active (or not)<br />
set-option -g visual-bell on<br />
<br />
setw -g mode-keys vi<br />
setw -g mode-mouse on<br />
setw -g monitor-activity on<br />
<br />
bind e previous-window<br />
bind f next-window<br />
bind j up-pane<br />
bind k down-pane<br />
<br />
set-option -g status-utf8 on<br />
# set-option -g status-justify centre<br />
set-option -g status-justify left<br />
set-option -g status-bg black<br />
set-option -g status-fg white<br />
set-option -g status-left-length 40<br />
<br />
set-option -g pane-active-border-fg green<br />
set-option -g pane-active-border-bg black<br />
set-option -g pane-border-fg white<br />
set-option -g pane-border-bg black<br />
<br />
set-option -g message-fg black<br />
set-option -g message-bg green<br />
<br />
#setw -g mode-bg black<br />
<br />
setw -g window-status-bg black<br />
setw -g window-status-current-fg green<br />
setw -g window-status-alert-attr default<br />
setw -g window-status-alert-fg yellow<br />
<br />
set -g status-left '#[fg=red]#H#[fg=green]:#[fg=white]#S #[fg=green]][#[default]'<br />
<br />
# set -g status-right '#[fg=green]][#[fg=white] #T #[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'<br />
set -g status-right '#[fg=green]][ #[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]'<br />
<br />
set -g history-limit 4096<br />
<br />
# `+r reloads the configuration, handy<br />
bind r source-file ~/.tmux.conf</code></p></blockquote>
<p> <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxized.com/2010/05/switching-from-gnu-screen-to-tmux/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>new awesome version 3.3 rc3 &#8211; [gentoo] in wirelay</title>
		<link>http://www.linuxized.com/2009/05/new-awesome-version-33-rc3-gentoo-in-wirelay/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxized.com/2009/05/new-awesome-version-33-rc3-gentoo-in-wirelay/#comments</comments>
		<pubDate>Fri, 22 May 2009 08:10:30 +0000</pubDate>
		<dc:creator>wired</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[awesome 3.3]]></category>
		<category><![CDATA[ebuild]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[overlays]]></category>
		<category><![CDATA[wirelay]]></category>

		<guid isPermaLink="false">http://www.linuxized.com/?p=127</guid>
		<description><![CDATA[a new rc version of awesome, 3.3 rc3, has been released. lots of bugfixes and it also feels faster I&#8217;ve created an ebuild based on the one in portage. You can find it in my overlay, wirelay, masked. for instructions on how to add wirelay to layman, check the Documentation in the overlay or this [...]]]></description>
			<content:encoded><![CDATA[<p>a new rc version of <a href="http://awesome.naquadah.org/" target="_blank">awesome</a>, <a href="http://awesome.naquadah.org/download/" target="_blank">3.3 rc3</a>, has been released. lots of bugfixes and it also feels faster <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ve created an ebuild based on the one in portage.</p>
<p>You can find it in my overlay, <a href="http://github.com/wired/wirelay/tree/master/Documentation" target="_blank">wirelay</a>, <strong>masked</strong>.</p>
<p>for instructions on how to add wirelay to layman, check the Documentation in the overlay or this post:</p>
<blockquote><p><a class="linkification-ext" title="Linkification: http://www.linuxized.com/2009/04/private-overlay-eyes-only/" href="http://www.linuxized.com/2009/04/private-overlay-eyes-only/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed">http://www.linuxized.com/2009/04/private-overlay-eyes-only/</a></p></blockquote>
<p>Unfortunately this version requires stuff not in the main portage tree, so you&#8217;ll have to add the &#8220;x11&#8243; overlay</p>
<blockquote><p><strong>layman -a x11</strong></p></blockquote>
<p>I&#8217;ve also opened a bug in Gentoo&#8217;s bugtracker with the ebuild:</p>
<blockquote><p><a href="http://bugs.gentoo.org/show_bug.cgi?id=270794" target="_blank">bug #270794 [ebuild] awesome-3.3_rc3</a></p></blockquote>
<p>Lots of config changes in this version, so in my <strong>upcoming awesome+conky how-to</strong> I&#8217;ll give you two seperate config files =]</p>
<div id="attachment_145" class="wp-caption alignnone" style="width: 310px"><a href="http://www.linuxized.com/wp-content/uploads/2009/05/awesome-33.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="size-medium wp-image-145" title="awesome-33-rc3" src="http://www.linuxized.com/wp-content/uploads/2009/05/awesome-33-300x187.jpg" alt="awesome 3.3_rc3 with conky-updated panels" width="300" height="187" /></a><p class="wp-caption-text">awesome 3.3_rc3 with conky-updated panels</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxized.com/2009/05/new-awesome-version-33-rc3-gentoo-in-wirelay/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Private overlay&#8230; Eyes only!</title>
		<link>http://www.linuxized.com/2009/04/private-overlay-eyes-only/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxized.com/2009/04/private-overlay-eyes-only/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 18:10:44 +0000</pubDate>
		<dc:creator>wired</dc:creator>
				<category><![CDATA[gentoo]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[overlays]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[wirelay]]></category>

		<guid isPermaLink="false">http://www.linuxized.com/?p=6</guid>
		<description><![CDATA[I now have my personal gentoo overlay over at github. For those not familiar with overlays, they are something like a &#8220;repository&#8221;. They allow you to add and use ebuilds out of the official portage tree. In my overlay, called &#8220;wirelay&#8221;, I usually add fixes from bugs.gentoo.org that I need which haven&#8217;t reached the tree [...]]]></description>
			<content:encoded><![CDATA[<p>I now have my personal gentoo overlay over at github.</p>
<p>For those not familiar with overlays, they are something like a &#8220;repository&#8221;. They allow you to add and use ebuilds out of the official portage tree.</p>
<p>In my overlay, called &#8220;wirelay&#8221;, I usually add fixes from bugs.gentoo.org that I need which haven&#8217;t reached the tree yet (and maybe never will). I also keep ebuilds of the latest nvidia drivers and other stuff <img src='http://www.linuxized.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To browse the overlay, visit <a class="linkification-ext" title="Linkification: http://github.com/wired/wirelay/tree/master" href="http://github.com/wired/wirelay/tree/master">http://github.com/wired/wirelay/tree/master</a></p>
<p>To add the overlay, install layman ( emerge -av layman ) then run:</p>
<blockquote><p><strong>layman -f -o <a href="http://github.com/wired/wirelay/raw/master/Documentation/wirelay.list">http://github.com/wired/wirelay/raw/master/Documentation/wirelay.list</a> -a wirelay</strong></p></blockquote>
<p>=]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxized.com/2009/04/private-overlay-eyes-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
