feat: xterm easter egg; lazy X clients; twm Delete Window #13

Merged
bnied merged 0 commits from refs/pull/13/head into main 2026-07-06 22:21:30 +00:00
bnied commented 2026-07-06 22:20:42 +00:00 (Migrated from codeberg.org)

The X session now boots with only Netscape. xterm, xclock, and xeyes
launch on demand from the twm root menu, matching how sparse a real
twm session started.

xterm is a working shell: commands run through the same pipe engine as
the main terminal via a new pure dispatcher (js/xterm-shell.js, node-
tested), so fortune, neofetch, cat resume, figlet | lolcat and friends
all work. exit closes the window, xterm spawns another, arrow keys walk
per-window history, and startx/xinit inside it fail with the period-
correct 'Server is already active for display 0'. Console-only programs
(doom, cmatrix, ...) refuse to run under X. X clients launch or raise
their windows; Netscape nods to its infamous lock file.

Delete Window (f.delete) joins the root menu: it arms an XC_pirate
skull cursor and the next click kills the topmost window or icon under
it; root click or Esc aborts. Deleted singletons (Netscape, xclock,
xeyes, View Source) resurrect from the menu with closure state intact
via reopenWin().

The X session now boots with only Netscape. xterm, xclock, and xeyes launch on demand from the twm root menu, matching how sparse a real twm session started. xterm is a working shell: commands run through the same pipe engine as the main terminal via a new pure dispatcher (js/xterm-shell.js, node- tested), so fortune, neofetch, cat resume, figlet | lolcat and friends all work. exit closes the window, xterm spawns another, arrow keys walk per-window history, and startx/xinit inside it fail with the period- correct 'Server is already active for display 0'. Console-only programs (doom, cmatrix, ...) refuse to run under X. X clients launch or raise their windows; Netscape nods to its infamous lock file. Delete Window (f.delete) joins the root menu: it arms an XC_pirate skull cursor and the next click kills the topmost window or icon under it; root click or Esc aborts. Deleted singletons (Netscape, xclock, xeyes, View Source) resurrect from the menu with closure state intact via reopenWin().
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
spaceduck/site!13
No description provided.