<?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>Martin Pitt &#187; shell</title>
	<atom:link href="http://www.piware.de/tag/shell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piware.de</link>
	<description>addicted to Ubuntu development</description>
	<lastBuildDate>Fri, 03 Feb 2012 07:03:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Presentations of shell commands</title>
		<link>http://www.piware.de/2009/04/presentations-of-shell-commands/</link>
		<comments>http://www.piware.de/2009/04/presentations-of-shell-commands/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 02:28:56 +0000</pubDate>
		<dc:creator>pitti</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://martinpitt.wordpress.com/?p=59</guid>
		<description><![CDATA[Today I was sitting in the plane from Dresden to San Francisco, and worked on my DKMS demo for the Linux Foundation summit. DKMS is a command line tool for managing device driver packages. I wondered how to present this. The commands and features I wanted to show are quite complex, and typing all of [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was sitting in the plane from Dresden to San Francisco, and worked on my <a href="http://linux.dell.com/dkms/">DKMS</a> demo for the Linux Foundation summit. DKMS is a command line tool for managing device driver packages.</p>
<p>I wondered how to present this. The commands and features I wanted to show are quite complex, and typing all of them during the presentation is too cumbersome. Besides, I&#8217;m just a lousy typer when someone else is watching. On the other hand, pasting them into classical slides is too static; I find it much easier to understand something that reveals itself step by step.</p>
<p>So what I needed is to prepare the chain of commands in advance, and then send them through an interactive &#8220;step by step&#8221; interpreter. A quick apt-cache search did not reveal any readymade solution, thus I hacked together a small script <a href="http://piware.de/tools/shellpresent">&#8220;shellpresent&#8221;</a> which does exactly that:</p>
<ul>
<li>a line with a command gets echoed, then it waits for a keypress, then runs the command and waits for another keypress (so that you can explain the output)</li>
<li>a comment line starting with # is printed in green, and doesn&#8217;t wait for a keypress</li>
<li>a blank line clears the screen</li>
<li> commands are prepended by a red &#8220;$&#8221; sign to indicate a command prompt</li>
</ul>
<p>It now does exactly what I want. Perhaps it is useful for someone else out there as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.piware.de/2009/04/presentations-of-shell-commands/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

