<?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>Weird rocketry &#187; nano</title>
	<atom:link href="http://webapp.org.ua/tag/nano/feed" rel="self" type="application/rss+xml" />
	<link>https://webapp.org.ua</link>
	<description>Flights to outer code</description>
	<lastBuildDate>Sat, 16 Jul 2016 11:12:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Syntax highlighting for Nano on Mac OS X</title>
		<link>https://webapp.org.ua/dev/syntax-highlighting-for-nano-on-mac-os-x/</link>
		<comments>https://webapp.org.ua/dev/syntax-highlighting-for-nano-on-mac-os-x/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 14:12:07 +0000</pubDate>
		<dc:creator>bananos</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[syntax highlighting]]></category>

		<guid isPermaLink="false">http://webapp.org.ua/?p=109</guid>
		<description><![CDATA[Nano is one of my favorite text editors, for a couple of reasons It&#8217;s very simple (as campared to Vim, which I was not able to quickly grasp on) It&#8217;s available by default on almost any *nix distro out there It has syntax highlighting (always turned off by default for some reason) It this post [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://webapp.org.ua/wp-content/uploads/2011/07/colorsyntax.png" alt="" /><br />
<a href="http://www.nano-editor.org/">Nano</a> is one of my favorite text editors, for a couple of reasons</p>
<ul>
<li>It&#8217;s very simple (as campared to Vim, which I was not able to quickly grasp on)</li>
<li>It&#8217;s available by default on almost any *nix distro out there</li>
<li>It has syntax highlighting (always turned off by default for some reason)</li>
</ul>
<p>It this post I&#8217;ll show you how to install latest Nano to your Mac OS X environment with syntax highlighting turned on for most of programming&amp;markup languages.</p>
<p><span id="more-109"></span><br />
For managing my OSX packages I&#8217;m using <a href="https://github.com/mxcl/homebrew">brew</a>, but unfortunately it does not have nano formula yet. Built-in version of nano is pretty outdated (2.0.6), and there is no binaries available exclusively for mac. So we&#8217;re going to do  a classic configure-make-install dance.</p>
<h2>Step1. Download nano sources</h2>
<p><code>wget http://www.nano-editor.org/dist/v2.2/nano-2.2.6.tar.gz<br />
</code></p>
<p>&nbsp;</p>
<h2>Step2. Download syntax highlighting configs for nano</h2>
<pre><code class="bash">wget http://webapp.org.ua/wp-content/uploads/2011/07/nanorc.tar</code></pre>
<p>These are compiled from different sources over the internet with some small mods made by myself.</p>
<h2>Step3. Compile &amp; install</h2>
<pre><code class="bash">
tar -xvvf nano-2.2.6.tar.gz
cd nano-2.2.6
sudo ./configure --prefix=/usr/
sudo make install
cd /
sudo tar -xvvf nanorc.tar
</code></pre>
<p>At this point you&#8217;re done. Latest nano with syntax highlighting will be installed at your system paths.</p>
]]></content:encoded>
			<wfw:commentRss>https://webapp.org.ua/dev/syntax-highlighting-for-nano-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
