nvi expandtab - tabs to spaces

Ottavio Caruso ottavio2006-usenet2012 at yahoo.com
Tue May 26 20:54:31 UTC 2020

On Tue, 26 May 2020 at 14:48, Derek (freebsd lists)
<482254ac at razorfever.net> wrote:
> Hiya,
> After all these years, I'm finally wanting to switch tabs to spaces for
> certain documents (yaml comes to mind, python another), but I'm finding
> the FreeBSD nvi lacks expandtab, yet OpenBSD's (as of 6.7) supports this
> option.
> What is the canonical way to use space indentation in FreeBSD's nvi?
> Is there any appetite (from committers) for a patch/import of the
> feature from OpenBSD?

After careful checking, the expandtab option was introduced to NetBSD first:

by Luke Mewburn and probably backported to OpenBSD later. This has
never gone (I think) into FreeBSD base. If one wants to make a port
out of it, they can look at the pkgsrc port:

and adjust Makefile, etc.

Note that the $HOMEPAGE is 404 and the distfile is cached somewhere on
the NetBSD servers.

Ottavio Caruso

More information about the freebsd-questions mailing list