Comment by MonkeyClub
5 hours ago
OpenBSD also has an Emacs-y non-extensible editor, mg(1):
Just noting for completeness, as I didn’t catch any mention of it.
5 hours ago
OpenBSD also has an Emacs-y non-extensible editor, mg(1):
Just noting for completeness, as I didn’t catch any mention of it.
I've used mg and find it generally useful. It's my default editor pretty much everywhere.
However, the code is a mess, with deliberately cryptic identifiers (e.g., `w_doto` for `cursorOffset`), redundant functions (e.g., `vtputc()` is a strict subset of the behavior of `vtpute()`) and a bunch of other weird choices (e.g., deeply-baked assumptions that one byte == one char == one column, even thought Big5 and ShiftJIS were already a thing when it was written).
I tried adding UTF-8 support to mg a couple years ago and basically gave up.
I'll probably be an atto convert.
> `w_doto` for `cursorOffset`
Well, sometimes we call the cursor "the dot."
Literally never heard that prior to hacking on the mg codebase.
Also available for most linux distros as a package.