Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2020 21:54:10 +0100
From:      Ottavio Caruso <>
To:        "Derek (freebsd lists)" <>
Cc:        FreeBSD Mailing List <>
Subject:   Re: nvi expandtab - tabs to spaces
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 26 May 2020 at 14:48, Derek (freebsd lists)
<> 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

Want to link to this message? Use this URL: <>