Date: Tue, 26 May 2020 21:54:10 +0100 From: Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> To: "Derek (freebsd lists)" <482254ac@razorfever.net> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: nvi expandtab - tabs to spaces Message-ID: <CAEJNuHy=5TvqDSo880na%2B0my5T_y1fmtF4ebtp_%2Br0UB0J24MQ@mail.gmail.com> In-Reply-To: <0c30ebf7-e5b1-6fcb-d81e-2a039415f8a1@chezmarcotte.ca> References: <0c30ebf7-e5b1-6fcb-d81e-2a039415f8a1@chezmarcotte.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 May 2020 at 14:48, Derek (freebsd lists) <482254ac@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: http://mail-index.netbsd.org/tech-userlevel/2008/12/10/msg001482.html 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: https://pkgsrc.se/editors/nvi 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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJNuHy=5TvqDSo880na%2B0my5T_y1fmtF4ebtp_%2Br0UB0J24MQ>