#ecma48 — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #ecma48, aggregated by home.social.
-
Why DEC modifiers less 1? Because adding 1 was a bodge for the days when missing parameters defaulted to 1. Default to 0 has been in ECMA-48 since the 1990s.
Why keyboard⇒DEC-like? Because the keyboard page is where the old non-DEC terminal keys like ExSel, Oper and Again live, and this can easily encompass those in sort-of-DEC-VT manner.
Why consumer⇒SCO-like? Because SCO's extensions tend to deal in PC-like stuff that isn't like old terminals, like AL/AC keys.
-
Here's what I invented:
It's the #ECMA48 FNK control sequence with leading parameter characters for private extensions:
USB keyboard page keys have a leading '?' (modelled after DEC extensions).
USB consumer page keys have a leading '=' (modelled after SCO extensions).
Key numbers are the USB usage codes in those pages. Modifiers are encoded as a sub-parameter, DEC values minus 1, allowing multiple keys per control sequence. Sub-parameters default to 0.