<?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>Shadows of epiphany &#187; Zen</title>
	<atom:link href="http://blog.bodhizazen.net/category/zen/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bodhizazen.net</link>
	<description>A LAMP in the Samsara</description>
	<lastBuildDate>Fri, 27 Jan 2012 05:58:11 +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>Zen Koans</title>
		<link>http://blog.bodhizazen.net/linux/zen-koans/</link>
		<comments>http://blog.bodhizazen.net/linux/zen-koans/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 08:02:13 +0000</pubDate>
		<dc:creator>bodhi.zazen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Zen]]></category>

		<guid isPermaLink="false">http://blog.bodhizazen.net/?p=1635</guid>
		<description><![CDATA[I have been using display-dhammapada for some time now but I have always wanted a similar program for zen koans. I came across a perl module on CPAN , &#8220;Zen Koans&#8221; and it was a nice start. From there I &#8230; <a href="http://blog.bodhizazen.net/linux/zen-koans/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="picture" style="margin: 15px 0 15px 5px;">
<img src="http://bodhizazen.net/img/Screenshot-buddha_thumb.jpg" alt="Buddha screen shot"style="margin-right: 5px;" class="image"  />
 </div>
<div class="picture" style="margin: 15px 0 15px 5px;">
<img src="http://bodhizazen.net/img/Screenshot-YinYang_thumb.jpg" alt="Yin Yang screen shot"style="margin-right: 5px;" class="image"  />
 </div>
<p>I have been using <a href="http://packages.debian.org/unstable/misc/display-dhammapada">display-dhammapada</a> for some time now but I have always wanted a similar program for zen koans.</p>
<p>I came across a perl module on <a href="http://search.cpan.org/">CPAN</a> , &#8220;<a href="http://search.cpan.org/~lukec/Zen-Koans-0.04/">Zen Koans</a>&#8221; and it was a nice start.</p>
<p>From there I added 2 more koan collections, The Gateless Gate and The Blue Cliff Record, and wrote a wrapper script for these collections.</p>
<p>The wrapper script, &#8220;zen&#8221; has several options including printing to the terminal (similar to fortune or display-dhammapada), formatting the output to html, to be included in a web page, and printing the output to ~/koan.html to be viewed in firefox (or other browser).</p>
<p>For an example of the script on a web page see : <a href="http://tenach.net/koan/">tenach&#8217;s blog</a> (thank you tenach for putting this up).</p>
<p>When printing to ~/koan.html , there are several themes.</p>
<p>To use these koans, you will need to download <a href="http://bodhizazen.net/tweaks/zen-koans.tar.gz">zen-koans.tar.gz</a><br />
     <a href="http://bodhizazen.net/tweaks/zen-koans.tar.gz.md5">md5sum</a>     <a href="http://bodhizazen.net/tweaks/zen-koans.tar.gz.sha1">sha1sum</a>.</p>
<p>Assuming you have downloaded zen-koans.tar.gz to ~/Downloads, you can either extract the file with a graphical tool (Archive Manager) or the command line.</p>
<p class="code">cd ~/Downloads<br />
tar xzvf zen-koans.tar.gz</p>
<p>Detailed instructions, and a description of the options, are included in the README.</p>
<p class="code">gedit ~/Downloads/Zen-Koans/README</p>
<p>To install on Ubuntu (Instructions for Fedora are in the README):</p>
<p class="code">cd ~/Downloads<br />
<br />#copy the perl modules<br />
sudo mkdir -p /usr/local/share/perl/5.10.1<br />
sudo cp -R Zen-Koans/Zen /usr/local/share/perl/5.10.1<br />
<br />#copy the images<br />
sudo mkdir /usr/local/share/images<br />
sudo cp Zen-Koans/images/* /usr/local/share/images<br />
<br />#copy the wrapper script<br />
sudo cp Zen-Koans/bin/zen /usr/local/bin<br />
sudo chmod +x /usr/local/bin/zen</p>
<p>To try out the application try:</p>
<p class="code">zen -ab &#038;&#038; firefox ~/koan.html</p>
<p>For additional options , help is available with the -h flag:</p>
<pre>bodhi@maverick:~$ zen -h

This program prints a random koan form one of 3 collections
of koans :

Shaseki-shu (Collection of Stone and Sand) - Default
The Gateless Gate
The Blue Cliff Record

The Shaseki-shu koans are easiest to comprehend,
The Gateless Gate are intermediate,
and The Blue Cliff are most difficult.

The default behavior is to print to the terminal

usage: zen [options]

 -h | --help     : this (help) message.
 -c | --cliff    : Use the Blue Cliff Record.
 -g | --gate     : Use the Gateless Gate.
 -a | --about    : Print information about the collection (first koan).
 -i | --include  : Prints the koan with (basic) html formatting.
 -b | --buddha   : Prints the koan to ~/koan.html , view with firefox.
 -f | --forest   : Same as -b, forest BG image.
 -s | --stones   : Same as -b, zen_stones BG image.
 -y | --yinyang  : Same as -b, yin-yang BG image.
 -d | --dark     : Prints to ~/koan.html , dark BG, no image.
 -l | --light    : Prints to ~/koan.html , light BG, no image.
 -o | --gold     : Prints to ~/koan.html , gold BG, no image.
 -r | --random   : Prints to ~/koan.html , random koan/theme.</pre>
<p>I hope you enjoy them =)</p>
<p>Be careful, I am afraid they can be addicting.</p>
<p>If anyone would like to offer improvements or help package them into a ppa , assistance would be appreciated (pm me on the Ubuntu Forms). Otherwise I will try to package them into a ppa as time allows.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bodhizazen.net/linux/zen-koans/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>The Zen of Linux</title>
		<link>http://blog.bodhizazen.net/zen/the-zen-of-linux/</link>
		<comments>http://blog.bodhizazen.net/zen/the-zen-of-linux/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 23:51:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Zen]]></category>

		<guid isPermaLink="false">http://bodhizazen.net/bzblog/?p=6</guid>
		<description><![CDATA[The rabbit hole is indeed deep.]]></description>
			<content:encoded><![CDATA[<p>The rabbit hole is indeed deep.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bodhizazen.net/zen/the-zen-of-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

