alexkarle.com

Source for alexkarle.com
git clone git://git.alexkarle.com/alexkarle.com.git
Log | Files | Refs | README | LICENSE

commit 209c805a1943cecb7e45e765d2a8e223a038b815 (patch)
parent cd1030a242a7b194921a17faf4df2ee6f6e892a8
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun, 27 Feb 2022 23:59:56 -0500

gopher: Add notes on acme(1) usage

This is my first commit written from within acme(1).
Am I doing this right? Is this thing on?

Diffstat:
Agopher/notes/all/acme-notes.txt | 50++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+), 0 deletions(-)

diff --git a/gopher/notes/all/acme-notes.txt b/gopher/notes/all/acme-notes.txt @@ -0,0 +1,50 @@ +Acme Notes +========== + +Day 1: Getting plumbing via mouse3 to work +------------------------------------------ +Sun Feb 27 23:17:12 EST 2022 + +I've been mucking around with acme(1) recently and.. it's really +cool. The plumber is next-level awesome and I've been trying +to emulate it in tmux(1). + +Of course, I've been using acme(1) via plan9port too as I go. While +I don't love the mouse usage, it's an interesting exercise in +simplicity. + +The main reason I'm writing this note is that out-of-the-box on +OpenBSD the plumber *didn't work*! So I wanted to document +how I got it set up. + +TL;DR: the plumber(4) is it's own service. Make sure to start it +before you start acme(1): + + $ 9 plumber + $ 9 acme + +And that's it! Took me 20+ minutes to figure it out :/ Without it +mouse-3 is limited to file names, which is much less useful than +man-pages, URLs, etc... + + +Day 1: Getting a monospace font +------------------------------- +Sun Feb 27 23:52:47 EST 2022 + +This one was more of a plan9port quirk. So acme(1) very clearly +has a `-f` flag for fonts... and a bit of poking around the +internet showed that if `fontsrv` is running, I _should_ be able +to render system fonts (in this case GoMono). However, the big +catch was that while fontsrv(4) presents itself to the host at +/tmp/ns.cpt.:0/font, acme(1) wants to access it via /mnt (which +is odd, but I'm sure there's a reason for it). So, monospace fonts +like so: + + $ 9 fontsrv # one time only + $ 9 acme -f /mnt/font/GoMono/12a/font + +The `a` version of 12 is nice (without it it looks ragged). + +(p.s. the reason I noticed this was that I couldn't align the --- +underscores for the headers!)