<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Some Crux ports for console clocks</title>
	<atom:link href="http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/feed/" rel="self" type="application/rss+xml" />
	<link>http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/</link>
	<description>K.Mandla's blog of Linux experiences</description>
	<lastBuildDate>Mon, 11 Feb 2013 18:19:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: scott</title>
		<link>http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44227</link>
		<dc:creator><![CDATA[scott]]></dc:creator>
		<pubDate>Mon, 12 Jul 2010 19:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44227</guid>
		<description><![CDATA[Sorry for rambling.  I&#039;m still learning about tput.  Using this

tput setf 1

would be a more portable way to set the text color to blue instead of using echo as I did above.

Also since the cursor is distracting and unnecessary, your script could use tput to hide the cursor with

tput civis

(You can un-hide the cursor again with &quot;tput cnorm&quot;)]]></description>
		<content:encoded><![CDATA[<p>Sorry for rambling.  I&#8217;m still learning about tput.  Using this</p>
<p>tput setf 1</p>
<p>would be a more portable way to set the text color to blue instead of using echo as I did above.</p>
<p>Also since the cursor is distracting and unnecessary, your script could use tput to hide the cursor with</p>
<p>tput civis</p>
<p>(You can un-hide the cursor again with &#8220;tput cnorm&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scott</title>
		<link>http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44226</link>
		<dc:creator><![CDATA[scott]]></dc:creator>
		<pubDate>Mon, 12 Jul 2010 18:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44226</guid>
		<description><![CDATA[I am truly honored to have &quot;ticker&quot; mentioned in one of your articles :)  You mentioned wishing it could do color.  I was tempted to start adding special codes to add color, or pause, or vary the speed.  But then I thought, keep it simple, you can do those things from the shell.

So, for example, you could use a while loop to update the time every 20 seconds or so (like ticker-clock does), but then every 15 times through the loop (5 mins) you could call

echo -e &quot;\x1b[0;34m&quot;

to turn the color blue (vt100), then pipe the output of some other script (like a weather forecast, or remind) to a new invocation of ticker to scroll the message.  You could change the color to reflect the content of the message.  Likewise, you can vary the speed by invoking ticker multiple times with different -d parameters.  You can &quot;pause&quot; by calling sleep(1) between calls to ticker.  If you know the height of your screen (e.g. use LINES=`tput lines`) you can scroll a message completely off the screen with

ticker -l $LINES &quot;&quot;

I tried to make it as light as possible so you could string together multiple calls to it in a script with minimal drain on resources.  That&#039;s why I embedded the glyphs right in the source, rather than loading them from a file.  But I will think about adding an option to load an alternate &quot;font&quot; from a file someday.  In the meantime, if you know some C it is really pretty easy to tweak the look of a glyph.  There are no dependencies, so its dead simple to recompile (see the Makefile).]]></description>
		<content:encoded><![CDATA[<p>I am truly honored to have &#8220;ticker&#8221; mentioned in one of your articles <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   You mentioned wishing it could do color.  I was tempted to start adding special codes to add color, or pause, or vary the speed.  But then I thought, keep it simple, you can do those things from the shell.</p>
<p>So, for example, you could use a while loop to update the time every 20 seconds or so (like ticker-clock does), but then every 15 times through the loop (5 mins) you could call</p>
<p>echo -e &#8220;\x1b[0;34m&#8221;</p>
<p>to turn the color blue (vt100), then pipe the output of some other script (like a weather forecast, or remind) to a new invocation of ticker to scroll the message.  You could change the color to reflect the content of the message.  Likewise, you can vary the speed by invoking ticker multiple times with different -d parameters.  You can &#8220;pause&#8221; by calling sleep(1) between calls to ticker.  If you know the height of your screen (e.g. use LINES=`tput lines`) you can scroll a message completely off the screen with</p>
<p>ticker -l $LINES &#8220;&#8221;</p>
<p>I tried to make it as light as possible so you could string together multiple calls to it in a script with minimal drain on resources.  That&#8217;s why I embedded the glyphs right in the source, rather than loading them from a file.  But I will think about adding an option to load an alternate &#8220;font&#8221; from a file someday.  In the meantime, if you know some C it is really pretty easy to tweak the look of a glyph.  There are no dependencies, so its dead simple to recompile (see the Makefile).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K.Mandla</title>
		<link>http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44197</link>
		<dc:creator><![CDATA[K.Mandla]]></dc:creator>
		<pubDate>Sun, 11 Jul 2010 21:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44197</guid>
		<description><![CDATA[I sort of did, a couple of years ago. If you follow the Projects link at  the top of the page, you&#039;ll find Ubuntu GTK1.2 Remix, which was something  I set up for myself, and later shared. 

I don&#039;t really support it any longer, mostly because my own philosophy on  software setups has changed. But it&#039;s still there and will still be usable  for as long as the Hardy repos are online. You could give it a try if you  like; I still seed the ISO and sometimes still get questions about it. 

Aside from that though, I don&#039;t have any plans to mastermind my own  distro. I feel like the system I would build is already available, in the  form of Arch or Crux or a console-only Debian system. I would just be  duplicating efforts, and I have so little time as it is. 

Nope, no KMandlux in the future. Sorry. :( ]]></description>
		<content:encoded><![CDATA[<p>I sort of did, a couple of years ago. If you follow the Projects link at  the top of the page, you&#8217;ll find Ubuntu GTK1.2 Remix, which was something  I set up for myself, and later shared. </p>
<p>I don&#8217;t really support it any longer, mostly because my own philosophy on  software setups has changed. But it&#8217;s still there and will still be usable  for as long as the Hardy repos are online. You could give it a try if you  like; I still seed the ISO and sometimes still get questions about it. </p>
<p>Aside from that though, I don&#8217;t have any plans to mastermind my own  distro. I feel like the system I would build is already available, in the  form of Arch or Crux or a console-only Debian system. I would just be  duplicating efforts, and I have so little time as it is. </p>
<p>Nope, no KMandlux in the future. Sorry. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prinzzchavo</title>
		<link>http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44180</link>
		<dc:creator><![CDATA[Prinzzchavo]]></dc:creator>
		<pubDate>Sun, 11 Jul 2010 10:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2010/07/10/some-crux-ports-for-console-clocks/#comment-44180</guid>
		<description><![CDATA[As far as the comments go, we all have more real-life-commitments on summertime.

As always, a very inspiring post(I&#039;m starting to have CLI dreams, really), but my question is:

Have you ever considered creating your own Distro?

As far as I can see, from the way you almost always achieve your goal (Building up instead of tearing down, Porting from AUR to Crux...), you might actually have, by now, a complete OS of your own, something like a Kmandlux...hehehe]]></description>
		<content:encoded><![CDATA[<p>As far as the comments go, we all have more real-life-commitments on summertime.</p>
<p>As always, a very inspiring post(I&#8217;m starting to have CLI dreams, really), but my question is:</p>
<p>Have you ever considered creating your own Distro?</p>
<p>As far as I can see, from the way you almost always achieve your goal (Building up instead of tearing down, Porting from AUR to Crux&#8230;), you might actually have, by now, a complete OS of your own, something like a Kmandlux&#8230;hehehe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
