If you’re interested in trying v6 ed, I maintain a light port to modern systems.
Haha, wow. You forward-ported it to conform to K&R C. That puts the timeframe in perspective. :)
You may not get the full v6 experience, but it’s also bundled in every *NIX I’ve ever seen.
It’s even on z/OS Unix System Services on IBM mainframes, which means it’s probably everywhere.
I think every technologist should know how to use ed. You never know when you'll need to be able to edit a critical
configuration file over a super slow connection or in conditions where curses/termcap is either not working or out of the
question for some other reason.
It’s also the only editor that is available in NetBSD’s and OpenBSD’s RAM disk images making it an invaluable rescue tool for me. It has saved my during the need of manually editing disklabels to fix a broken hard disk etc.
Everyone should be able to do basic editing in it. For a nicer UI version one should have a look at plan9’s sam or it’s newer incarnation at github.
I’ve been looking for a Sam port to run, thanks! I’m interested in comparing it to Acme. I like that it can edit remote files with a UI. Giving up the ability to invoke programs to transform the contents of the buffers might be hard though.
Sam really is closer to ed as to acme. Acme does not come with its own control language (well, a bit, but not as powerful as sam’s) and is completely mouse centric, like mouse chording, as this version of sam also includes.
In my experience sam is faster when dealing with 1000s of open files, something that’s a bit tedious in acme due to the limited screen estate.
However I have used ACME-SAC for years as my primary editor. This is an acme written in limbo running on the inferno/dis VM. Runs on Mac OS X and Windows flawlessly and comes with its whole inferno OS :)
Acme on Inferno is the Acme I’ve used too. I wrote a bit about it here: https://bluishcoder.co.nz/2013/06/11/editing-remote-files-with-acme-in-inferno-os.html
Inferno is another piece of technology that could do with more love.
That was the final push I needed and I am actually declaring Wednesday my ed day, so I am going to use ed exclusively as my editor on Wednesdays wherever possible. And I was actually enjoying it today :-)
And being an OpenBSD user I already had some moments where knowledge of ed would have been very handy.