"busybox vi" is another option in these situations when that's available. It will happily run in a blank chroot.
Everybody should know a little ed though, it's not that hard.
It was on a server that didn't have busybox installed. Also, can busybox vi work without access to termcap or terminfo?
Re:Nano 5.7
by yjftsjthsd-h on Thursday April 29, 2021 @01:37PM
(#26984092)
Honestly at that point, unless your fstab is really big, I'd just `cat /etc/fstab` and then `cat >/etc/fstab <<EOF` and very carefully retype it (I mean take a backup first of course).
I wouldn't wanna use it every day, but it has its time and place.