3 ms·
If you ever wind up booting the OpenBSD ramdisk kernel (typically used for installation and system rescue), the only editor available is ed. Luckily, if you're
by groovy2shoes 11y ago
If you ever wind up booting the OpenBSD ramdisk kernel (typically used for installation and system rescue), the only editor available is ed. Luckily, if you're reasonably comfortable with vi, you'll find that most of the 'colon commands' work, and the other commands are pretty familiar ('i' for insert, 'a' for append, etc.). If you're an OpenBSD power user, it behooves you to have a hardcopy of the ed manpage handy ;)
- blueblob 11y agoThe OpenBSD ramdisk doesn't provide busybox vi?
- na85 11y agoBut ed is the standard Unix text editor.
- groovy2shoes 11y agoNope. The OpenBSD ramdisk doesn't provide busybox anything. I just double-checked on 5.8. I also doubt that they'd ever switch to using busybox given their aversion to the GPL. They also have their own tool (crunchgen) that packs a bunch of binaries into a single "Swiss army knife" executable.