From owner-freebsd-questions@freebsd.org Fri Apr 5 07:43:38 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82FBE156DA14 for ; Fri, 5 Apr 2019 07:43:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A27983B6A for ; Fri, 5 Apr 2019 07:43:36 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1hCJVd-0004Wm-2J for freebsd-questions@freebsd.org; Fri, 05 Apr 2019 09:43:33 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1hCJVc-0006zT-W8 for freebsd-questions@freebsd.org; Fri, 05 Apr 2019 09:43:32 +0200 Date: Fri, 5 Apr 2019 09:43:32 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: vi(1) and ISO 8859-1 Message-ID: <20190405074332.GA22920@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org References: <20190404190642.GA4609@sh4-5.1blu.de> <20190405051835.GA18093@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190405051835.GA18093@sh4-5.1blu.de> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: 0A27983B6A X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-3.45 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-1.38)[ipnet: 178.254.0.0/19(-3.82), asn: 42730(-3.06), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2019 07:43:38 -0000 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@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 !