<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Jterm on Phosphor BBS</title>
		<link>https://phosphorbbs.net/tags/jterm/</link>
		<description>Recent content in Jterm on Phosphor BBS</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Fri, 13 Nov 2026 22:15:00 -0500</lastBuildDate>
		
			<atom:link href="https://phosphorbbs.net/tags/jterm/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>The Cursor-Anchor Law: Why Text No Longer Slides Around</title>
				<link>https://phosphorbbs.net/blog/the-cursor-anchor-law/</link>
				<pubDate>Fri, 13 Nov 2026 22:15:00 -0500</pubDate>
				<guid>https://phosphorbbs.net/blog/the-cursor-anchor-law/</guid>
				<description>&lt;p&gt;A small bug report with a big blast radius came in last week: &lt;em&gt;&amp;ldquo;In jterm text fields and text boxes, the cursor moves text around. It&amp;rsquo;s never on a character. If the cursor goes right, the character to its right goes to the left of the cursor. It should stay where it is and just have a new cursor-colored background. That&amp;rsquo;s the way most applications work.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;That sentence contains the whole bug. This post is about how cursor positioning actually works in a terminal app, what jterm was doing wrong, and the new &lt;strong&gt;cursor-anchor law&lt;/strong&gt; that makes text fields behave like every modern editor.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Case of the Selection That Didn&#39;t Follow Its Row</title>
				<link>https://phosphorbbs.net/blog/the-case-of-the-selection-that-didnt-follow-its-row/</link>
				<pubDate>Fri, 30 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/the-case-of-the-selection-that-didnt-follow-its-row/</guid>
				<description>&lt;p&gt;Every so often a bug report arrives fully-formed — not &amp;ldquo;something&amp;rsquo;s broken,&amp;rdquo; but the exact repro, the exact expectation, and the exact wrongness. This one: &lt;em&gt;in jterm&amp;rsquo;s Table widget, select row 2. Insert a new row above or at row 2. The selection stays on row 2 — but that&amp;rsquo;s now a different row. It should slide down to row 3.&lt;/em&gt; That is a complete bug report, and it shipped in the same session as the fix.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Case of the Vanishing Blink</title>
				<link>https://phosphorbbs.net/blog/the-case-of-the-vanishing-blink/</link>
				<pubDate>Tue, 20 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/the-case-of-the-vanishing-blink/</guid>
				<description>&lt;p&gt;For years, picking an item on the Phosphor main menu did a small, satisfying thing: the row flashed — inverted video for about 150 milliseconds — and then the next screen took over. It&amp;rsquo;s a 65-byte courtesy. Two tiny frames: highlight the row, unhighlight the row, go.&lt;/p&gt;&#xA;&lt;p&gt;Then one day the flash was just gone in Terminal.app&amp;rsquo;s telnet client. Not intermittently. Gone. MuffinTerm still showed it. The web client showed it, but only one flash instead of two. Three different clients, three different answers, one unchanged server. By the time we sat down to hunt it, every standard explanation had already been eliminated: the code was untouched since the feature shipped, the server was provably running the current build, the user&amp;rsquo;s preferences and theme tested innocent, and the same binary rendered the blink perfectly against a test instance. Same client, same server, same account. Different port. Blink on one, gone on the other.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Synchronized Updates and Frame Coalescing: How Phosphor Paints Atomic Screens</title>
				<link>https://phosphorbbs.net/blog/synchronized-updates-and-frame-coalescing/</link>
				<pubDate>Mon, 19 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/synchronized-updates-and-frame-coalescing/</guid>
				<description>&lt;p&gt;A BBS screen is a grid of characters, and for as long as character grids have flown over dial-up lines and TCP sockets alike, they have had one chronic way of embarrassing themselves: tearing. A full-screen repaint travels as a stream of cursor moves and color changes, and a client on a slow link — or a busy one — can catch the middle of it. You&amp;rsquo;ve seen the result: half the old screen with half the new one written over it, a status bar flashing the wrong colors for a tenth of a second, a table redrawn one row at a time like a document slowly printing.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Case of the Invisible Popups</title>
				<link>https://phosphorbbs.net/blog/the-case-of-the-invisible-popups/</link>
				<pubDate>Mon, 05 Oct 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/the-case-of-the-invisible-popups/</guid>
				<description>&lt;p&gt;The session log screen has two popups: [H] on a row pops up that connection&amp;rsquo;s full history, and Enter pops up the session&amp;rsquo;s details. The SysOp account-review screen pops up a confirmation with the temp password when you approve a request. File lists pop up a preview panel. All four had been built the same way — a &lt;code&gt;Window&lt;/code&gt;, a hint list, a &lt;code&gt;Label&lt;/code&gt; shoved into the contents panel — and all four now shared the same bug report: &lt;em&gt;the popup doesn&amp;rsquo;t appear.&lt;/em&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Markdown in a Terminal: Building a MarkdownWidget for jterm</title>
				<link>https://phosphorbbs.net/blog/markdown-in-a-terminal-building-the-markdownwidget/</link>
				<pubDate>Wed, 23 Sep 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/markdown-in-a-terminal-building-the-markdownwidget/</guid>
				<description>&lt;p&gt;Every BBS has the same problem: text that wants to be formatted. Help screens with headings and bullet lists. News articles with paragraphs. Mail that would really use a code block for that error dump. The traditional answers are all bad in the same way — hard-coded ANSI sequences baked into strings, a private wiki-syntax nobody else can read, or walls of plain text with no structure at all.&lt;/p&gt;&#xA;&lt;p&gt;jterm now ships a third answer: a &lt;strong&gt;MarkdownWidget&lt;/strong&gt; that parses real markdown and renders it as styled terminal lines.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Case of the Blended Batches: A Race Hidden Inside a Replace</title>
				<link>https://phosphorbbs.net/blog/the-case-of-the-blended-batches/</link>
				<pubDate>Wed, 23 Sep 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/the-case-of-the-blended-batches/</guid>
				<description>&lt;p&gt;The jterm thread-safety suite exists to answer one question: &lt;em&gt;can a widget survive being redrawn from one thread while another mutates it?&lt;/em&gt; It has run thousands of times across dozens of widgets, mostly to say yes. On the morning we cut the 0.1.1 release, it said no — and the test that failed wasn&amp;rsquo;t even the one that was broken.&lt;/p&gt;&#xA;&lt;h2 id=&#34;two-failures-two-days-apart&#34;&gt;Two failures, two days apart&lt;/h2&gt;&#xA;&lt;p&gt;The release gate runs the whole suite, 2,926 tests. The first full run failed one test: &lt;code&gt;FireworksTest.renderFrameProducesOutput&lt;/code&gt; — the fireworks animation was supposed to paint visible pixels after five frames and, once out of 2,926, it painted nothing. We re-ran the class in isolation: 12/12 green. Read the render path: fresh instance, deterministic math, five calls that each draw a rocket or particles. The failure looked like noise under load — the kind of flake you shrug at and re-run.&lt;/p&gt;</description>
			</item>
			<item>
				<title>The Case of the Very Random Dead Ctrl-T</title>
				<link>https://phosphorbbs.net/blog/the-case-of-the-very-random-dead-ctrl-t/</link>
				<pubDate>Sun, 20 Sep 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/the-case-of-the-very-random-dead-ctrl-t/</guid>
				<description>&lt;p&gt;Two weeks into the popup chat feature, users started reporting the same thing in different words: &lt;em&gt;Ctrl-T is very random.&lt;/em&gt; Sometimes it opened the chat popup instantly. Sometimes it did nothing — not even an error. Same terminal, same screen, same key. First press of the session would work, three presses in a row would work, then a press after closing the popup with ESC would go dead. Then it would work again. There was no pattern, which was the most maddening part — a consistently broken key is a bug report; an inconsistently broken key is a haunting.&lt;/p&gt;</description>
			</item>
			<item>
				<title>A QR Code on a Text Screen: Pairing Phones to a BBS Without a Login</title>
				<link>https://phosphorbbs.net/blog/a-qr-code-on-a-text-screen-pairing-phones-to-a-bbs-without-a-login/</link>
				<pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/a-qr-code-on-a-text-screen-pairing-phones-to-a-bbs-without-a-login/</guid>
				<description>&lt;p&gt;There&amp;rsquo;s a moment in every mobile-client story where the design gets embarrassing. Your BBS just grew a beautiful native iOS app — SwiftUI, an embedded terminal, SSH, the works. And then someone asks the question that matters: &lt;em&gt;how does the phone prove it&amp;rsquo;s you?&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;The boring answer is a login form on a touchscreen. Type your username. Type your password. Maybe paste a token. On a touch keyboard. For a terminal system whose whole identity is that it never needed a GUI.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Lite Emacs in Your BBS: The Key Bindings That Make Phosphor&#39;s Text Fields Work</title>
				<link>https://phosphorbbs.net/blog/lite-emacs-in-your-bbs-the-key-bindings-that-make-phosphors-text-fields-work/</link>
				<pubDate>Mon, 31 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/lite-emacs-in-your-bbs-the-key-bindings-that-make-phosphors-text-fields-work/</guid>
				<description>&lt;p&gt;If you&amp;rsquo;re the kind of person who reaches for Ctrl+A to jump to the beginning of a line, or Ctrl+K to delete everything from the cursor to the end, Phosphor&amp;rsquo;s text fields already speak your language. Every text input in the BBS — username, password, chat message, board post, search query — uses the same set of emacs-inspired key bindings, alongside the arrow keys and Home/End you&amp;rsquo;d expect.&lt;/p&gt;&#xA;&lt;p&gt;This is a reference post. Bookmark it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Live Spellcheck in a Terminal: Yellow Highlights, No Popups</title>
				<link>https://phosphorbbs.net/blog/live-spellcheck-in-a-terminal-yellow-highlights-no-popups/</link>
				<pubDate>Sat, 15 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/live-spellcheck-in-a-terminal-yellow-highlights-no-popups/</guid>
				<description>&lt;p&gt;Every modern editor highlights misspelled words as you type. Squiggly red underlines in Word, yellow backgrounds in Google Docs, dotted lines in VS Code. It&amp;rsquo;s so standard you forget it&amp;rsquo;s there — until it isn&amp;rsquo;t.&lt;/p&gt;&#xA;&lt;p&gt;Terminals don&amp;rsquo;t have spellcheck. The terminal is a character grid. There&amp;rsquo;s no DOM, no CSS, no per-character styling primitive. Or so the conventional wisdom goes.&lt;/p&gt;&#xA;&lt;p&gt;We just shipped live inline spellcheck in jterm and Phosphor BBS. Misspelled words light up in yellow as you type — in chat, board posts, mail compose, any text field. No popups, no pre-submit prompts, no context switches. Just yellow where the typos are.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Ghost Text Completion: Bringing Modern Editor UX to the Terminal</title>
				<link>https://phosphorbbs.net/blog/ghost-text-completion-bringing-modern-editor-ux-to-the-terminal/</link>
				<pubDate>Fri, 14 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/ghost-text-completion-bringing-modern-editor-ux-to-the-terminal/</guid>
				<description>&lt;p&gt;If you&amp;rsquo;ve used VS Code, fish shell, or Google&amp;rsquo;s search bar, you&amp;rsquo;ve seen ghost text — that dim, semi-transparent suggestion that appears ahead of your cursor as you type. You ignore it if it&amp;rsquo;s wrong. You press Tab to accept it if it&amp;rsquo;s right. It never gets in your way, but when it works, it saves you keystrokes.&lt;/p&gt;&#xA;&lt;p&gt;We just shipped ghost text completion in jterm and Phosphor BBS. Every text input — chat messages, board posts, mail compose, even the mail &amp;ldquo;To&amp;rdquo; field — now suggests completions as you type. Press Tab to accept. Press anything else to dismiss.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Animated Borders: Living Frames in a Terminal UI Toolkit</title>
				<link>https://phosphorbbs.net/blog/animated-borders-in-a-terminal-ui-toolkit/</link>
				<pubDate>Wed, 12 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/animated-borders-in-a-terminal-ui-toolkit/</guid>
				<description>&lt;p&gt;A border in a terminal UI is usually a static thing. Four corners, four edges, drawn once and forgotten. Box-drawing characters sit there like a picture frame — functional, boring, dead.&lt;/p&gt;&#xA;&lt;p&gt;jterm&amp;rsquo;s new AnimatedBorder system changes that. Borders can now sparkle, march, rotate, pulse, and scan. The login dialog in Phosphor BBS picks one at random for every new connection, so each user sees a different animated frame when they log in. The terminal isn&amp;rsquo;t a static page anymore — it&amp;rsquo;s alive, even down to the border.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Designing Reusable Config Screens: From Vertical Labels to Table Layout</title>
				<link>https://phosphorbbs.net/blog/designing-reusable-config-screens/</link>
				<pubDate>Wed, 12 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/designing-reusable-config-screens/</guid>
				<description>&lt;p&gt;Every config screen in Phosphor BBS used to be a snowflake. SystemConfigScreen had its own layout. AiConfigScreen had its own layout. They looked different, behaved differently, and shared no code. Adding a new settings screen meant copying one of them, stripping out what you didn&amp;rsquo;t need, and writing the rest from scratch.&lt;/p&gt;&#xA;&lt;p&gt;This is the story of how we fixed that — extracting a reusable &lt;code&gt;TableConfigScreen&lt;/code&gt; parent class and converting every config screen to the same table-based layout, killing about 150 lines of boilerplate in the process.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Declarative UI: Building Terminal Screens with Widgets in Phosphor</title>
				<link>https://phosphorbbs.net/blog/declarative-ui-building-terminal-screens-with-widgets/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/declarative-ui-building-terminal-screens-with-widgets/</guid>
				<description>&lt;p&gt;Most BBS systems render screens the hard way: imperative code that clears the terminal, prints line by line, and redraws on every update. It works, but it&amp;rsquo;s verbose and fragile. One missed redraw and the screen is stale.&lt;/p&gt;&#xA;&lt;p&gt;Phosphor takes a different approach. You describe the screen as a tree of widgets. The runtime handles rendering, re-rendering on data change, and input routing. You only write callbacks for interactive behavior.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Screenshots</title>
				<link>https://phosphorbbs.net/screenshots/</link>
				<pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/screenshots/</guid>
				<description>&lt;h2 id=&#34;the-terminal-aesthetic&#34;&gt;The Terminal Aesthetic&lt;/h2&gt;&#xA;&lt;p&gt;Phosphor doesn&amp;rsquo;t just look retro. It IS retro — a real terminal application running on jterm, a JVM-based terminal framework. ANSI escape codes, cursor positioning, color, the works. But underneath, it&amp;rsquo;s modern Java, Postgres or H2, and a reactive event bus.&lt;/p&gt;&#xA;&lt;h3 id=&#34;ansi-art-gallery&#34;&gt;ANSI Art Gallery&lt;/h3&gt;&#xA;&lt;p&gt;The BBS file archive includes hand-crafted and programmatically generated ANSI art. Here&amp;rsquo;s a taste of what&amp;rsquo;s in the archive.&lt;/p&gt;&#xA;&lt;h4 id=&#34;welcome-banner&#34;&gt;Welcome Banner&lt;/h4&gt;&#xA;&lt;p&gt;The first thing you see on login — generated with the Phosphor ANSI art pipeline:&lt;/p&gt;</description>
			</item>
			<item>
				<title>ANSI Sprites: Animation in a Terminal UI Toolkit</title>
				<link>https://phosphorbbs.net/blog/ansi-sprites-animation-in-a-terminal-ui-toolkit/</link>
				<pubDate>Tue, 28 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/ansi-sprites-animation-in-a-terminal-ui-toolkit/</guid>
				<description>&lt;p&gt;A terminal is a grid of characters. Each cell holds one glyph, one foreground color, one background color. That&amp;rsquo;s it. There are no pixels, no sprites, no animation frames. At least, that&amp;rsquo;s what you&amp;rsquo;d think.&lt;/p&gt;&#xA;&lt;p&gt;jterm&amp;rsquo;s sprite library takes that grid and turns it into a animation engine. ANSI art frames become sprite frames. A sprite sheet — a single ANSI file with a grid of cells — becomes a flipbook. Virtual threads drive the animation loop. And the terminal becomes a screen.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Threading the Flood: How Echomail Learned to Stay in Line</title>
				<link>https://phosphorbbs.net/blog/threading-echomail-uuids-timestamps-routing/</link>
				<pubDate>Sun, 19 Jul 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/threading-echomail-uuids-timestamps-routing/</guid>
				<description>&lt;p&gt;Federation is easy to demo and hard to make boring. The exciting part — a post appears on three servers — takes a weekend. The boring part, where the same post shows up in the right thread, with the right timestamp, exactly once, on every node, takes a month of small fixes. This is that month, told through echomail: Phosphor&amp;rsquo;s flooded, group-addressed message type, the modern replacement for the classic echo areas.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Terminal Animations: Starfields, Warps, and Living Backgrounds</title>
				<link>https://phosphorbbs.net/blog/terminal-animations-starfields-warps-and-living-backgrounds/</link>
				<pubDate>Sun, 21 Jun 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/terminal-animations-starfields-warps-and-living-backgrounds/</guid>
				<description>&lt;p&gt;A BBS login screen used to be a static ASCII banner. You&amp;rsquo;d connect, see a logo made of text characters, type your username and password, and that was it. No motion, no life, no atmosphere.&lt;/p&gt;&#xA;&lt;p&gt;jterm changes that. The login screen in Phosphor BBS has a living, animated background — stars twinkling, plasma flowing, cells dividing. Every time a user connects, the system randomly selects one of six animated backgrounds and renders it behind the login form. The terminal isn&amp;rsquo;t a static page anymore. It&amp;rsquo;s a window into a small, alive world.&lt;/p&gt;</description>
			</item>
			<item>
				<title>jterm: Building a Terminal UI Toolkit in Pure Java</title>
				<link>https://phosphorbbs.net/blog/jterm-building-a-terminal-ui-toolkit-in-pure-java/</link>
				<pubDate>Wed, 17 Jun 2026 00:00:00 +0000</pubDate>
				<guid>https://phosphorbbs.net/blog/jterm-building-a-terminal-ui-toolkit-in-pure-java/</guid>
				<description>&lt;p&gt;Every BBS needs a terminal. But not just any terminal — a fast one, with per-character styling, double-buffered rendering, and a widget library that makes building full-screen applications bearable. That&amp;rsquo;s what jterm is: a pure-Java terminal UI toolkit with zero native dependencies.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-three-layer-architecture&#34;&gt;The Three-Layer Architecture&lt;/h3&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Terminal (raw ANSI/VT100) → Screen (double buffer + diff) → GUI (widgets + layout)&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Each layer has one job:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Terminal&lt;/strong&gt; — raw I/O. Reads keystrokes, writes ANSI escape sequences, handles raw mode and terminal resize events.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Screen&lt;/strong&gt; — double-buffered rendering. Maintains a front buffer (what&amp;rsquo;s on screen) and a back buffer (what&amp;rsquo;s being drawn). On refresh, diffs the two and only sends the changed cells.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;GUI&lt;/strong&gt; — widgets and layout managers. Labels, tables, text boxes, panels, menus. The stuff you actually want to use.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;This separation matters. You can use jterm at any layer — raw terminal access for a door game, screen buffering for a custom renderer, or the full widget library for a typical BBS screen.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
