vi(1) and ISO 8859-1

Matthias Apitz guru at unixarea.de
Fri Apr 5 07:43:38 UTC 2019


El día Friday, April 05, 2019 a las 07:18:35AM +0200, Matthias Apitz escribió:

> El día Thursday, April 04, 2019 a las 11:59:24PM +0200, Rocky Hotas escribió:
> 
> > It completes successfully, exit status is 0. You can easily create such a
> > file and reproduce this: just open vi(1), set the encoding with
> > `:se fe=iso-8859-1', and just type a letter with an accent, like:
> 
> ...
> 
> This is with vim 8.1.555 on 
> 
> $ uname -a
> FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC  amd64

I now realized that you were talking about vi(1) while I was talking
about vim (from the ports). If you compare it with vim on Linux, you
should better compare this port because on Linux vi is vim:

ls -li /usr/bin/vi /usr/bin/vim
19353386 lrwxrwxrwx 1 root root 8 23. Apr 2018  /usr/bin/vi -> /bin/vim
19353388 lrwxrwxrwx 1 root root 8 23. Apr 2018  /usr/bin/vim -> /bin/vim

	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