Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2019 10:49:15 +0200
From:      "Rocky Hotas" <rockyhotas@post.com>
To:        "FreeBSD Questions" <freebsd-questions@freebsd.org>
Cc:        guru@unixarea.de
Subject:   Re: vi(1) and ISO 8859-1
Message-ID:  <trinity-79727a05-8f1d-44c9-8a52-c312829a1be8-1554540555440@3c-app-mailcom-lxa14>
In-Reply-To: <20190405074332.GA22920@sh4-5.1blu.de>
References:  <trinity-f25766ad-e745-4e70-98d1-52c0ba83fe56-1554398089214@3c-app-mailcom-lxa05> <20190404190642.GA4609@sh4-5.1blu.de> <trinity-377d302a-8822-473a-b563-ce9cc7238ad5-1554415164891@3c-app-mailcom-lxa08> <20190405051835.GA18093@sh4-5.1blu.de> <20190405074332.GA22920@sh4-5.1blu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> Sent: Friday, April 05, 2019 at 9:43 AM
> From: "Matthias Apitz" <guru@unixarea=2Ede>
> To: freebsd-questions@freebsd=2Eorg
> Subject: Re: vi(1) and ISO 8859-1

[=2E=2E=2E]

> > This is with vim 8=2E1=2E555 on=20
> >=20
> > $ uname -a
> > FreeBSD c720-r342378 13=2E0-CURRENT FreeBSD 13=2E0-CURRENT GENERIC  am=
d64

Thanks for your test and for the version check=2E

> I now realized that you were talking about vi(1) while I was talking
> about vim (from the ports)=2E

Exactly: they are not the same=2E

> 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=2E It's good that at least the vim=
 on
Linux and the one in FreeBSD ports behave similarly=2E

Even without a comparison between them, my doubt is another one=2E I wonde=
r 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=2E

Again, `auto detect' lets me wonder about this=2E

I am using vi(1) Version 2=2E1=2E3 (2015-04-08) on FreeBSD 12-RELEASE amd6=
4=2E

Bye!

Rocky


> 	matthias=20
> --=20
> Matthias Apitz, =E2=9C=89 guru@unixarea=2Ede, http://www=2Eunixarea=2Ede=
/ +49-176-38902045
> Public GnuPG key: http://www=2Eunixarea=2Ede/key=2Epub
> 70 years of NATO - 70 years of wars (Jugoslavia, Afghanistan, Syria, =2E=
=2E=2E) and 70 years
> of war preparation against Russia=2E  -- PEACE instead of NATO !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-79727a05-8f1d-44c9-8a52-c312829a1be8-1554540555440>