<?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>WebFramp &#187; unix</title>
	<atom:link href="http://www.webframp.com/tag/unix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webframp.com</link>
	<description>passing thoughts on the web</description>
	<lastBuildDate>Thu, 17 Sep 2009 19:34:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Back to Basics</title>
		<link>http://www.webframp.com/2008/07/07/back-to-basics/</link>
		<comments>http://www.webframp.com/2008/07/07/back-to-basics/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 06:06:20 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[funny stuff]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.webframp.com/?p=35</guid>
		<description><![CDATA[In an effort to improve usability for me (and as my wife says, make it less usable for others) I&#8217;ve recently switched from using gnome+compiz to a much leaner wmii configuration for day to day use. I tried ruby-wmii and python-wmii and settled on python for now. ruby-wmii was lacking too much to be useful [...]]]></description>
			<content:encoded><![CDATA[<p>In an effort to improve usability for me (and as my wife says, make it less usable for others) I&#8217;ve recently switched from using <a title="gnome.org" href="http://www.gnome.org/">gnome</a>+<a href="http://www.compiz-fusion.org/">compiz</a> to a much leaner <a title="wmii - suckless" href="http://wmii.suckless.org/">wmii</a> <a title="python+wmii" href="http://downgra.de/articles/python-wmii/">configuration</a> for day to day use. I tried <a title="ruby+wmii" href="http://eigenclass.org/hiki/ruby-wmii-for-wmii-3.6">ruby-wmii</a> and python-wmii and settled on python for now. ruby-wmii was lacking too much to be useful to me right away. although the <a title="bookmark manager, nice work mfp" href="http://eigenclass.org/hiki/ruby+wmii+bookmark+manager">bookmark manager</a> is one amazing piece of software, I&#8217;ll probably still play around with it since I&#8217;d prefer ruby configuration, although python-wmii is excellent in itself.</p>
<p>In the process of switching I&#8217;ve been reviewing many a startup file and rc file, tweaking things to be just right. Every detail is important when using a minimalistic window manager. Lot&#8217;s of things have been useful, urlview combined with <a title="mozer" href="http://becki.skiclub-mitwitz.de/mozer/">this handy script</a>, the firefox <a title="vimperator" href="https://addons.mozilla.org/en-US/firefox/addon/4891">vimperator plugin</a> and my .vimrc and .zshrc. Out of everything one of the easiest overlooked, and yet most helpful, is setting a sensible environment.</p>
<p>Three variables are used by a wide variety of programs to display or edit your data, PAGER, EDITOR and BROWSER. Choices here are obviously a matter a preference, but these are the settings I&#8217;ve found to be most useful.</p>
<p><code><br />
{a,ba,da,k,z}sh syntax:</p>
<p>PAGER="less -MS"<br />
EDITOR="vim"<br />
BROWSER="/usr/bin/firefox"<br />
export PAGER EDITOR BROWSER<br />
</code><br />
or<br />
<code><br />
{t}csh syntax:</p>
<p>setenv PAGER "less -MS"<br />
setenv EDITOR vim<br />
setenv BROWSER /usr/bin/firefox<br />
</code></p>
<p>all pretty standard stuff, goes in your shell initialization file or <em>/etc/environment</em> to make it global. Substitute <em>emacs</em> for <em>vim</em> if you want, and <em>more</em> for <em>less</em>. <em>less</em> seems to be faster for larger files which is why I use it. the <em>-MS</em> options for less provide extra features. <em>-M</em> provides browsing information about the current file and <em>-S</em> disables line wrapping. <em>-N</em> is also useful occasionally to display line numbers for a file, maybe not for every file, which is why I leave it out. My exploration continues, so that&#8217;s really it for now but on a side note: If anyone out there can get ruby-wmii to control mpd drop me a line, I couldn&#8217;t seem to get it working among other things. Of course some python bindings to do the same would work equally well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webframp.com/2008/07/07/back-to-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
