vi(1) and ISO 8859-1
Rocky Hotas
rockyhotas at post.com
Sat Apr 6 08:49:34 UTC 2019
> Sent: Friday, April 05, 2019 at 9:43 AM
> From: "Matthias Apitz" <guru at unixarea.de>
> To: freebsd-questions at freebsd.org
> Subject: Re: vi(1) and ISO 8859-1
[...]
> > This is with vim 8.1.555 on
> >
> > $ uname -a
> > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64
Thanks for your test and for the version check.
> I now realized that you were talking about vi(1) while I was talking
> about vim (from the ports).
Exactly: they are not the same.
> If you compare it with vim on Linux, you
> should better compare this port because on Linux vi is vim:
Yes, on Linux vi(1) is a symlink to vim. It's good that at least the vim on
Linux and the one in FreeBSD ports behave similarly.
Even without a comparison between them, my doubt is another one. I wonder if
it is normal and expected that FreeBSD's vi(1) (which actually is nvi/nex)
does not automatically switch its encoding according to the current file,
despite the `fileencoding, fe [auto detect]' in the manpage.
Again, `auto detect' lets me wonder about this.
I am using vi(1) Version 2.1.3 (2015-04-08) on FreeBSD 12-RELEASE amd64.
Bye!
Rocky
> matthias
> --
> Matthias Apitz, ✉ guru at unixarea.de, http://www.unixarea.de/ +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> 70 years of NATO - 70 years of wars (Jugoslavia, Afghanistan, Syria, ...) and 70 years
> of war preparation against Russia. -- PEACE instead of NATO !
More information about the freebsd-questions
mailing list