<?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>The Troll-Range &#187; cli</title>
	<atom:link href="http://blog.trollgod.org.uk/tag/cli/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.trollgod.org.uk</link>
	<description>Ghworg&#039;s wibblings and geek projects.</description>
	<lastBuildDate>Mon, 26 Apr 2010 19:31:11 +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>I need an idiot-proof shell</title>
		<link>http://blog.trollgod.org.uk/2009/04/i-need-an-idiot-proof-shell/</link>
		<comments>http://blog.trollgod.org.uk/2009/04/i-need-an-idiot-proof-shell/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 15:24:55 +0000</pubDate>
		<dc:creator>Ghworg</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://blog.trollgod.org.uk/?p=266</guid>
		<description><![CDATA[<p>After decades of never losing any significant data, last night I deleted my Video dir for the second time in six months, along with my Music this time. Fortunately I had learned my lesson and had a complete backup this time. The first time I lost a large amount of non-critical videos I had <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.trollgod.org.uk/2009/04/i-need-an-idiot-proof-shell/">I need an idiot-proof shell</a></span>]]></description>
			<content:encoded><![CDATA[<p>After decades of never losing any significant data, last night I deleted my Video dir for the second time in six months, along with my Music this time.  Fortunately I had learned my lesson and had a <strong>complete</strong> backup this time.  The first time I lost a large amount of non-critical videos I had downloaded off the internet (okay, it was porn.  I said it, happy now?).  This time I just lost a couple of episodes of <a href="http://thisweekintech.com/twif">This Week in Fun</a> I hadn&#8217;t watched.  If I can be bothered I can easily re-grab them from <a href="http://odtv.me/category/twif/">ODTV</a>.</p>
<p>I&#8217;m not sure how I accidently deleted the stuff, I was moving my config files from being stored in Subversion to git, using <a href="http://robescriva.com/2009/01/manage-your-home-with-git/">this method</a>.  I must have accidently rm -rf them somehow.  This is my problem, it&#8217;s incredibly easy to shoot yourself in the foot from the command-line.</p>
<p>I&#8217;ve always used a combination of the GUI and shell, my first <em>proper</em> computer was an <a href="http://en.wikipedia.org/wiki/Amiga_500_Plus">Amiga 500+</a> which, while it had an amazing modern GUI while Windows was still stuck with 3.1, also had a pretty good shell interface.  Not quite up to unix standards, but <strong>much better</strong> than DOS.  So I&#8217;ve always used both, depending on what was easiest for the task.</p>
<p>When I switched to Windows (after my last Amiga died on me), I started using the GUI much more heavily since DOS is so underpowered.  When a short time later I switched to Linux though that got reversed since the Linux GUI at the time wasn&#8217;t so hot and the shell was incredibly powerful.  So I currently default to using the shell, which makes me nice and productive but also means I&#8217;m working without a safety net.</p>
<p>If recent experience is anything to go by, I either need to start relying on the GUI much more or I need to find myself an idiot-proof shell.  Since I don&#8217;t think the latter is possible it looks like I&#8217;ll be GUI-focused from now on.  This is going to be a hard transition for me, much like giving up a narcotic, but I think it is necessary.</p>
<p>I&#8217;m going to start this transition at the same time as I install KDE 4, which is looking excellent in my tests on my EeePC by the way.  I could almost transition now, there are just a couple of things (that are in the works) that I need before I can convert.  A <a href="http://en.wikipedia.org/wiki/NetworkManager">Network-Manager</a> controlling <a href="http://vizzzion.org/?blogentry=839">plasmoid</a> being the main one.</p>
<p>That way I only have to relearn how to do things in one GUI, rather than learning how to do it in KDE 3.5 and then a new way in 4.  I&#8217;m not going to give up the shell completely mind, just change my balance so it is 80/20 in favour of the GUI instead of the other way round.</p>
<p>Wish me luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trollgod.org.uk/2009/04/i-need-an-idiot-proof-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screen hardstatus</title>
		<link>http://blog.trollgod.org.uk/2006/04/screen-hardstatus/</link>
		<comments>http://blog.trollgod.org.uk/2006/04/screen-hardstatus/#comments</comments>
		<pubDate>Fri, 14 Apr 2006 21:21:32 +0000</pubDate>
		<dc:creator>Ghworg</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cli]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://blog.trollgod.org.uk/?p=61</guid>
		<description><![CDATA[<p>GingerDog saw my screen and was curious about the status line I have. The entire screenrc I use.</p> <p> </p> <p>(the thingy at the bottom of the image) It&#8217;s achieved using the following magic incantation in my .screenrc</p> hardstatus on hardstatus lastline &#34;%c:%s &#8211; %-Lw%{=BW}%50&#62;%n%f*t%{-}%+Lw%&#60;&#34; &#160; <p>Oh, and each window gets automatically named after <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.trollgod.org.uk/2006/04/screen-hardstatus/">Screen hardstatus</a></span>]]></description>
			<content:encoded><![CDATA[<p>GingerDog saw my <a href="http://www.gnu.org/software/screen/">screen</a> and was curious about the status line I have. The entire <a href="/wp-content/uploads/2006/04/screenrc">screenrc</a> I use.</p>
<p><a class="imagelink" href="/wp-content/uploads/screenrc.png" title="Screen snapshot"><br />
<img id="image65" src="/wp-content/uploads/screenrc.thumbnail.png" alt="Screen snapshot" /></a></p>
<p>(the thingy at the bottom of the image) It&#8217;s achieved using the following magic incantation in my<br />
.screenrc</p>
<div class="dean_ch" style="white-space: nowrap;">
hardstatus on hardstatus lastline <span class="st0">&quot;%c:%s &#8211; %-Lw%{=BW}%50&gt;%n%f*t%{-}%+Lw%&lt;&quot;</span><br />
&nbsp;</div>
<p>Oh, and each window gets<br />
automatically named after the program running in it using the<br />
following.</p>
<div class="dean_ch" style="white-space: nowrap;">
shelltitle <span class="st0">&quot;$ |bash&quot;</span><br />
&nbsp;</div>
<p>(Update 17/04/2006:<br />
This appears to only work in a linux terminal, not any of the<br />
X-terms. The X-terms seem to set the window title instead and I&#8217;m<br />
not sure how to change this at the moment. I&#8217;m going to carry on<br />
looking in to it though.) (Update 18/04/2006: Got it, for gui<br />
terminals instead of &#8220;lastline&#8221; use &#8220;alwayslastline&#8221;)</p>
<div class="dean_ch" style="white-space: nowrap;">
hardstatus on hardstatus alwayslastline <span class="st0">&quot;%c:%s &#8211; %-Lw%{=BW}%50&gt;%n%f*%t%{-}%+Lw%&lt; &quot;</span><br />
&nbsp;</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.trollgod.org.uk/2006/04/screen-hardstatus/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
