<?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>Schadenfreude &#187; vim</title>
	<atom:link href="http://www.ralree.com/tag/vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ralree.com</link>
	<description>Malicious enjoyment derived from observing someone else's misfortune</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:49:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OpenIndiana Jones</title>
		<link>http://www.ralree.com/2011/08/09/openindiana-jones/</link>
		<comments>http://www.ralree.com/2011/08/09/openindiana-jones/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 07:04:33 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[freenas]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nas]]></category>
		<category><![CDATA[nexentastor]]></category>
		<category><![CDATA[openindiana]]></category>
		<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.ralree.com/?p=23143</guid>
		<description><![CDATA[So, after a bunch of research about building a DIY NAS, I decided to buy a whole bunch of hardware to do so. But, the real question was which software to use. FreeNAS seems to be the most popular solution, and I heard it was better than something called OpenFiler. Then I stumbled across NexentaStor, which is free for any NAS less than 18TB in size, which is fine for me. I was basically ready to go with that, but [...]]]></description>
			<content:encoded><![CDATA[<p>So, after a bunch of research about building a DIY NAS, I decided to buy a whole bunch of hardware to do so. But, the real question was which software to use. FreeNAS seems to be the most popular solution, and I heard it was better than something called OpenFiler. Then I stumbled across NexentaStor, which is free for any NAS less than 18TB in size, which is fine for me. I was basically ready to go with that, but then I heard about OpenIndiana and the napp-it web gui. Basically, OpenIndiana is the result of OpenSolaris getting closed by Oracle. Since Oracle shut down the openness, the last open version of the operating system has been &#8220;sporked&#8221; into OpenIndiana. I just installed it in a VM, and I&#8217;m impressed, especially with the pool management of zfs.</p>
<p>But, being a hardcore Linux user for about 8 years, I&#8217;ve gotten used to certain things working a certain way. This post is just a little note to myself, and to others potentially, about what I didn&#8217;t like about the base install, and how I fixed it.</p>
<h2>vim</h2>
<p>So, nicely, the machine comes with vim 7.2 installed, which is fantastic.  The problem is it&#8217;s in compatible mode by default.  Gotta shut that down.  Solaris apparently keeps the vimrc file hidden away in /usr, so we have to do this:</p>
<pre><code>echo "set nocompatible" | sudo tee -a /usr/share/vim/vimrc
</code></pre>
<p>I also added the following lines for good measure to the same file using vim:</p>
<pre><code>syntax on
set bg=dark
set ts=4
set sw=4</code></pre>
<p>Now I have a real working copy of my favorite editor. That&#8217;s more than half-way to happiness for me. More to come.</p>
<h2>Update: grep</h2>
<p>So, now that I&#8217;m getting settled, I&#8217;ve been doing a bunch of shell work, and there&#8217;s something I noticed:</p>
<pre><code>root@nyu:/etc # grep -R 2,2 *
grep: illegal option -- R
Usage: grep -hblcnsviw pattern file . . .</code></pre>
<p>That&#8217;s right &#8211; the default grep is <strong>crappy Solaris grep</strong>, not good old GNU grep!  So, I checked it out, and the way to solve this is to use <strong>ggrep</strong>, which I will alias to <strong>grep</strong>, of course.</p>
<pre><code>root@nyu:/etc # alias grep="ggrep"
root@nyu:/etc # grep
Usage: ggrep [OPTION]... PATTERN [FILE]...
Try `ggrep --help' for more information.</pre>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2011/08/09/openindiana-jones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Vimpress</title>
		<link>http://www.ralree.com/2009/02/28/test-post-using-vimpress/</link>
		<comments>http://www.ralree.com/2009/02/28/test-post-using-vimpress/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 21:34:32 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[mephisto]]></category>
		<category><![CDATA[posting]]></category>
		<category><![CDATA[typo]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimpress]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://www.ralree.com/2009/02/28/test-post-using-vimpress/</guid>
		<description><![CDATA[I&#8217;m regaining some functionality I haven&#8217;t had for a long time today. Back in the old days, I used to use [Flog](http://www.ralree.com/2006/09/02/changing-up-the-flogging/&#8221;) to post to Typo, but that all went away with Mephisto (I couldn&#8217;t get XMLRPC to work properly). So, I&#8217;m trying [Vimpress](http://friggeri.net/blog/2007/07/13/vimpress). Hopefully, I won&#8217;t need to hack together Ultimate Tag Warrior into WordPress 2.8 to get tagging from vim to work. ##Update It looks like it&#8217;s working, as a matter of fact. I installed the [Markdown for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m regaining some functionality I haven&#8217;t had for a long time today.  Back in the old days, I used to use [Flog](http://www.ralree.com/2006/09/02/changing-up-the-flogging/&#8221;) to post to Typo, but that all went away with Mephisto (I couldn&#8217;t get XMLRPC to work properly).  So, I&#8217;m trying [Vimpress](http://friggeri.net/blog/2007/07/13/vimpress).  Hopefully, I won&#8217;t need to hack together Ultimate Tag Warrior into WordPress 2.8 to get tagging from vim to work.</p>
<p>##Update<br />
It looks like it&#8217;s working, as a matter of fact.  I installed the [Markdown for WordPress and bbpress](http://mitcho.com/code/) plugin, and immediately my post was fixed up with nice new syntax.  Tags work without any additional plugins using WordPress 2.8.  Go Vimpress!</p>
<p>##Update 2<br />
As you can probably see on the sidebar, I added a vimpress repository to GitHub, since it was lacking one before.  You can now use vimpress simply by performing a <code>git clone git://github.com/hank/vimpress.git .vim</code>.  I went ahead and patched it with the custom slug options mentioned in the main vimpress site&#8217;s comments.  Both versions are available as [tags on GitHub](http://github.com/hank/vimpress/downloads).</p>
<p>##Update 3<br />
I happened to get to wonder how secure XML-RPC was, so I did a nice little wireshark packet capture, and lo-and-behold, there was my password in plaintext HTTP.  I was aghast &#8211; why couldn&#8217;t they do a little HTTP-Digest authentication or something at least?  Anyway, after researching what people think of this, and finding only past vulnerabilities in WordPress, not complaints that it&#8217;s just a **bad idea to use insecure XML-RPC for blog posting**, I tried putting an <b>s</b> in front of my HTTP.  Guess what &#8211; ***It Worked!***  I have to give props to Python for having that all built in.</p>
<p>So now, thanks to Site5&#8242;s free-to-use server certificates, I can now use XML-RPC securely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2009/02/28/test-post-using-vimpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Awesome Linux Utilities</title>
		<link>http://www.ralree.com/2007/04/16/awesome-linux-utilities/</link>
		<comments>http://www.ralree.com/2007/04/16/awesome-linux-utilities/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 01:24:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/awesome-linux-utilities</guid>
		<description><![CDATA[DevastatorIIC happened to link me to this today, which I found to be extremely helpful. It&#8217;s a collection of small perl scripts that make doing very complicated things very easy. My personal favorite is vipe, which lets you edit a pipeline with vi in the middle of its execution. Another is vidir, which lets you edit the contents of a directory with vi. Beautiful.]]></description>
			<content:encoded><![CDATA[<p>DevastatorIIC happened to link me to <a href="http://debaday.debian.net/2007/04/15/moreutils-a-collection-of-useful-command-line-tools/">this</a> today, which I found to be extremely helpful.  It&#8217;s a collection of small perl scripts that make doing very complicated things very easy.  My personal favorite is <code>vipe</code>, which lets you edit a pipeline with <code>vi</code> in the middle of its execution.  Another is <code>vidir</code>, which lets you edit the contents of a directory with <code>vi</code>.  Beautiful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/04/16/awesome-linux-utilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not a sandwich, but a Vim Which!</title>
		<link>http://www.ralree.com/2007/03/26/not-a-sandwich-but-a-vim-which/</link>
		<comments>http://www.ralree.com/2007/03/26/not-a-sandwich-but-a-vim-which/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 18:40:00 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/not-a-sandwich-but-a-vim-which</guid>
		<description><![CDATA[I often find myself going to find scripts I&#8217;ve written that I want to edit, but I decided today I&#8217;d make things easier on myself: hank@rura-penthe ~ $ cat bin/vimwhich #!/bin/bash vim `which $1` All this does is shorten vim `which myscript` to vimwhich myscript. Helpful for just a couple lines of code.]]></description>
			<content:encoded><![CDATA[<p>I often find myself going to find scripts I&#8217;ve written that I want to edit, but I decided today I&#8217;d make things easier on myself:</p>
<pre><code>
hank@rura-penthe ~ $ cat bin/vimwhich
#!/bin/bash
vim `which $1`
</code></pre>
<p>All this does is shorten <code>vim `which myscript`</code> to <code>vimwhich myscript</code>.  Helpful for just a couple lines of code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2007/03/26/not-a-sandwich-but-a-vim-which/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I&#8217;m on O&#8217;Reilly Radar</title>
		<link>http://www.ralree.com/2006/07/25/im-on-oreilly-radar/</link>
		<comments>http://www.ralree.com/2006/07/25/im-on-oreilly-radar/#comments</comments>
		<pubDate>Tue, 25 Jul 2006 12:35:10 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fame]]></category>
		<category><![CDATA[oscon]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.ralree.info/2007/10/13/im-on-oreilly-radar</guid>
		<description><![CDATA[Heh &#8211; check this out. Apparently, i was quoted as saying: hardwarehank: ahhh the vim tut is friggin aawesome. This is hilarious. Look at my terrible spelling. it might was well read &#8230;aawesome LOL!!1!1oen!!!one.]]></description>
			<content:encoded><![CDATA[<p>Heh &#8211; <a href="http://radar.oreilly.com/archives/2006/07/oscon_tutorial_day_2.html">check this out</a>.  Apparently, i was quoted as saying:</p>
<blockquote><p><i>hardwarehank: ahhh the vim tut is friggin aawesome.</i></p></blockquote>
<p>This is hilarious.  Look at my terrible spelling.  it might was well read <em>&#8230;aawesome LOL!!1!1oen!!!one</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ralree.com/2006/07/25/im-on-oreilly-radar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

