<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on TextMode Demo</title><link>https://mgomersbach.github.io/textmode/posts/</link><description>Recent content in Posts on TextMode Demo</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 04 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mgomersbach.github.io/textmode/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Hello World</title><link>https://mgomersbach.github.io/textmode/posts/hello-world/</link><pubDate>Sat, 04 Apr 2026 00:00:00 +0000</pubDate><guid>https://mgomersbach.github.io/textmode/posts/hello-world/</guid><description>&lt;p>This is the first post on the TextMode demo site.&lt;/p>
&lt;h2 id="code-examples">Code Examples&lt;/h2>
&lt;p>Here is some &lt;code>inline code&lt;/code> and various highlighted blocks:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-basic" data-lang="basic">&lt;span style="display:flex;">&lt;span>10 &lt;span style="color:#268bd2">PRINT&lt;/span> &lt;span style="color:#2aa198">&amp;#34;HELLO WORLD&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>20 &lt;span style="color:#268bd2">GOTO&lt;/span> 10
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">def&lt;/span> &lt;span style="color:#268bd2">greet&lt;/span>(name):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#2aa198">&amp;#34;&amp;#34;&amp;#34;A simple greeting function.&amp;#34;&amp;#34;&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#719e07">for&lt;/span> i &lt;span style="color:#719e07">in&lt;/span> &lt;span style="color:#b58900">range&lt;/span>(&lt;span style="color:#2aa198">3&lt;/span>):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#b58900">print&lt;/span>(&lt;span style="color:#2aa198">f&lt;/span>&lt;span style="color:#2aa198">&amp;#34;Hello, &lt;/span>&lt;span style="color:#2aa198">{&lt;/span>name&lt;span style="color:#2aa198">}&lt;/span>&lt;span style="color:#2aa198">! #&lt;/span>&lt;span style="color:#2aa198">{&lt;/span>i &lt;span style="color:#719e07">+&lt;/span> &lt;span style="color:#2aa198">1&lt;/span>&lt;span style="color:#2aa198">}&lt;/span>&lt;span style="color:#2aa198">&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">if&lt;/span> &lt;span style="color:#268bd2">__name__&lt;/span> &lt;span style="color:#719e07">==&lt;/span> &lt;span style="color:#2aa198">&amp;#34;__main__&amp;#34;&lt;/span>:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> greet(&lt;span style="color:#2aa198">&amp;#34;DOS&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;div class="highlight">&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-c" data-lang="c">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">#include&lt;/span> &lt;span style="color:#719e07">&amp;lt;stdio.h&amp;gt;&lt;/span>&lt;span style="color:#719e07">
&lt;/span>&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#dc322f">int&lt;/span> &lt;span style="color:#268bd2">main&lt;/span>(&lt;span style="color:#dc322f">void&lt;/span>) {
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#dc322f">char&lt;/span> &lt;span style="color:#719e07">*&lt;/span>msg &lt;span style="color:#719e07">=&lt;/span> &lt;span style="color:#2aa198">&amp;#34;Hello from C&amp;#34;&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#268bd2">printf&lt;/span>(&lt;span style="color:#2aa198">&amp;#34;%s&lt;/span>&lt;span style="color:#cb4b16">\n&lt;/span>&lt;span style="color:#2aa198">&amp;#34;&lt;/span>, msg);
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#719e07">return&lt;/span> &lt;span style="color:#2aa198">0&lt;/span>;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>}
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="typography">Typography&lt;/h2>
&lt;p>Regular text looks like this. &lt;strong>Bold text&lt;/strong> is highlighted in white. &lt;em>Emphasized text&lt;/em> gets slash decorators.&lt;/p>
&lt;h3 id="lists">Lists&lt;/h3>
&lt;ul>
&lt;li>First item&lt;/li>
&lt;li>Second item&lt;/li>
&lt;li>Third item&lt;/li>
&lt;/ul>
&lt;ol>
&lt;li>Numbered one&lt;/li>
&lt;li>Numbered two&lt;/li>
&lt;li>Numbered three&lt;/li>
&lt;/ol>
&lt;blockquote>
&lt;p>This is a blockquote. It has a left border in gray.&lt;/p></description></item><item><title>Building a DOS Theme for Hugo</title><link>https://mgomersbach.github.io/textmode/posts/building-a-theme/</link><pubDate>Fri, 03 Apr 2026 00:00:00 +0000</pubDate><guid>https://mgomersbach.github.io/textmode/posts/building-a-theme/</guid><description>&lt;p>This post documents the process of creating a text-mode Hugo theme from scratch - no Bootstrap, no npm, just Hugo and SCSS.&lt;/p>
&lt;h2 id="design-decisions">Design Decisions&lt;/h2>
&lt;p>The key insight was that a DOS text-mode interface is actually &lt;em>simpler&lt;/em> than modern web design. No gradients, no rounded corners, no subtle shadows. Just:&lt;/p>
&lt;ol>
&lt;li>A fixed-width monospace font&lt;/li>
&lt;li>A 16-color palette&lt;/li>
&lt;li>Box-drawing borders (single and double)&lt;/li>
&lt;li>Drop shadows made of solid color blocks&lt;/li>
&lt;/ol>
&lt;h2 id="the-cga-palette">The CGA Palette&lt;/h2>
&lt;p>The entire theme uses only 16 colors from the original CGA adapter:&lt;/p></description></item><item><title>The Golden Age of Retro Computing</title><link>https://mgomersbach.github.io/textmode/posts/retro-computing/</link><pubDate>Thu, 02 Apr 2026 00:00:00 +0000</pubDate><guid>https://mgomersbach.github.io/textmode/posts/retro-computing/</guid><description>&lt;p>The 1980s gave us some of the most iconic computing interfaces ever designed. From the Borland Turbo Pascal IDE to Norton Commander, these text-mode interfaces proved that you don&amp;rsquo;t need a GUI to be productive.&lt;/p>
&lt;h2 id="the-machines">The Machines&lt;/h2>
&lt;p>The IBM PC 5150 launched in 1981 and changed everything. Here&amp;rsquo;s what it looked like:&lt;/p>
&lt;figure class="dos-figure ">
 &lt;div class="dos-window">
 &lt;div class="dos-window-header">ASCII.PNG&lt;/div>
 &lt;div class="dos-window-body dos-figure-body">&lt;img src="https://mgomersbach.github.io/textmode/posts/retro-computing/ascii_hu_41d9d8ef5f080037.png" alt="MS-DOS ASCII characters"
 loading="lazy">&lt;/div>
 &lt;/div>
 &lt;figcaption>MS-DOS ASCII character set - the building blocks of text-mode interfaces&lt;/figcaption>
&lt;/figure>

&lt;p>The original IBM PC came with just 16KB of RAM and a cassette port. No hard drive. The operating system fit on a single floppy disk.&lt;/p></description></item><item><title>Essential DOS Commands</title><link>https://mgomersbach.github.io/textmode/posts/dos-commands/</link><pubDate>Sat, 28 Mar 2026 00:00:00 +0000</pubDate><guid>https://mgomersbach.github.io/textmode/posts/dos-commands/</guid><description>&lt;p>A quick reference for the commands every DOS user should know.&lt;/p>
&lt;h2 id="file-management">File Management&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-batch" data-lang="batch">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">DIR&lt;/span> List files in current directory
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">DIR&lt;/span> /W Wide format listing
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">DIR&lt;/span> /P Pause after each screen
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">COPY&lt;/span> file1 file2 Copy a file
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">MOVE&lt;/span> file1 dir\ Move a file
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">DEL&lt;/span> file Delete a file
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">REN&lt;/span> old new Rename a file
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">TYPE&lt;/span> file Display file contents
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="directory-navigation">Directory Navigation&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-batch" data-lang="batch">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">CD&lt;/span> \ Go to root
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">CD&lt;/span> .. Go up one level
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">CD&lt;/span> dirname Enter directory
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">MD&lt;/span> dirname Make directory
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">RD&lt;/span> dirname Remove directory
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>TREE Show directory tree
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="system-commands">System Commands&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-batch" data-lang="batch">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">CLS&lt;/span> Clear screen
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#719e07">VER&lt;/span> Show DOS version
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>MEM Show memory usage
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>CHKDSK Check disk
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>FORMAT A: Format floppy
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>FDISK Partition hard drive
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="batch-file-example">Batch File Example&lt;/h2>
&lt;p>Here&amp;rsquo;s a simple batch file that creates a menu:&lt;/p></description></item></channel></rss>