Elektrine lite

← Feed

@simontatham@hachyderm.io

Post #4398560

2026-08-05 11:58 UTC

A bit of teenage-programmer nostalgia: I recently remembered about, and dug out, the basic WYSIWYG word processor which I wrote in my teens, for my own use and the rest of my family if they wanted it. It ran in VGA text mode, because I had a manual telling me all the obscure control bits you can set in a VGA to make it do less usual things. You can make one of the colour bits in a character cell do double duty to select between two 256-char fonts, so that you can have 512 distinct glyphs. I decided the right way to use those was as 128 logical characters × 4 combinations of underline and italic. (Drawing an italic font in a VGA 9×16 cell isn't much fun.) This limited the colour support, because now I only had 3 bits left for colours, so I was only able to support black, white and (arbitrarily) red and green, plus bold versions of each. Because I had a collection of documents written in this system, I ported it to run in an X window shortly after I became a Linux user. The rendering is identical to the VGA version, however (except for the lack of a flashing cursor). 1/3

Replies (1)

  • @simontatham@hachyderm.io 2026-08-05 11:59

    Wordbench was pure symbiosisware: its only features were ones that I wanted, or someone else in my family wanted. Nothing else. Just look at this collection of printer drivers! These are _exactly_ the printers that I or my family owned during the lifetime of the software. 2/3

    Open ##4398559