From owner-freebsd-questions@freebsd.org Sat May 16 15:49:32 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4BD272F5875 for ; Sat, 16 May 2020 15:49:32 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49PV8C68ZKz4f9t for ; Sat, 16 May 2020 15:49:31 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 885925C0080; Sat, 16 May 2020 11:49:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 16 May 2020 11:49:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=/ vhAaArh6xFTfjd2osrwXd4OmkY14fXbPxSEGBkkHS0=; b=H7up9BLDPhEiGGXIB eg/0LlvNXGQXV/828QeLPOTnP1dghiJQtiT+PvISpcWj+Z2oZyzJBL+8MozpgX8U AUA03v9QdDo7d6NzogeqTwrv0J14naN6WaDUu7J1ntR548fDmfuwQK9Ll82XbBz+ 7kk5rD7QDMZEOv8i1qjTFIjXs0H6lz9PnUcv8olqDS4MuqQd18ESmS5jILas+IVM 4AXVsHaJbbacyJpR0ZCjHmKUbvMHRHawVdTZb1EgSapa1E310S4mGVvkspTpmQ2y YjvroawjAsvQpQYgPiZK14TsPnmZrTZ1iazEzpT4eXxmiV3rwtrJ+45444zIdEnE guUwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=/vhAaArh6xFTfjd2osrwXd4OmkY14fXbPxSEGBkkH S0=; b=lIo1INDRdjK65XQo3bt0CBOo1Cbfz4ONDPktQ41ROOgBPSxONSqlZYz87 MvLIXcOIt9xU0L904XACwOBGBKmmxUSDDDCHayuSpzDhJTgHsjQgMLauEI5yUrtW WDts0lfxiwpsDC1oRcXGITS9LIvuiVrUy+Li0C9H7vz0k8AhTU8OlgRT3JnMcwe2 nvZhA8wr9rMGZph7bZkK9nvfj72aVCOugUzqNiyviHfbOjO0qza3Cv5pmX+XNj5W CUcLDuAKS1Ke9HVOiuJ1XrnmO1rhyqR6Tdq7AqyND/xe0rXgSgCZPJr2ZVrNYjXC GyQfzhNN33AdRDzXK/md2ic6BxjxQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddttddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpegjuhhrihcurfgrnhhkohhvuceohihprghnkhhovhesfhgr shhtmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeevteeilefghfffgeffteefie dttdfgudetgeduvddtgffguefftdeiteelhfegteenucfkphephedrudefledrudekhedr ieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephi hprghnkhhovhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from [192.168.1.6] (unknown [5.139.185.64]) by mail.messagingengine.com (Postfix) with ESMTPA id 1918A3280059; Sat, 16 May 2020 11:49:29 -0400 (EDT) Subject: Re: (character) Conversion error (in vi) ? To: "Ronald F. Guilmette" , freebsd-questions@freebsd.org References: <67158.1589577502@segfault.tristatelogic.com> From: Yuri Pankov Message-ID: <06696e14-e7e5-f212-4ef0-b89e7e78cde5@fastmail.com> Date: Sat, 16 May 2020 18:49:28 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <67158.1589577502@segfault.tristatelogic.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49PV8C68ZKz4f9t X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm2 header.b=H7up9BLD; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=lIo1INDR; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 66.111.4.26 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [-2.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[26.4.111.66.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26]; FREEMAIL_FROM(0.00)[fastmail.com]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; RCVD_IN_DNSWL_LOW(-0.10)[26.4.111.66.list.dnswl.org : 127.0.5.1]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[64.185.139.5.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(0.00)[ip: (-9.82), ipnet: 66.111.4.0/24(-4.89), asn: 11403(-2.69), country: US(-0.05)]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2020 15:49:32 -0000 Ronald F. Guilmette wrote: > Ever since my last system upgrade, some months ago now, vi has been > behaving badly/differently. Sometimes it gets a bee in its bonnet > over something that, I guess, it is trying to interpret as a (malformed?) > Unicode or utf-8 character or something, and in such cases it refuses > to allow me to edit the file in question. > > How can I return it to the old/prior behavior, under which it could > tolerate any old sequence of eight bit bytes without having a hissy > fit? > > There must be some option to tell it "don't do that", yes? (For the > life of me, I don't know why the old/prior behavior wasn't maintained > as the default behavior. But I wonder the same thing about a *lot* > of different software "upgrades".) I'm interested in more details on this as I could be somewhat involved (see PR 202290). What release did you upgrade from/to? Could you provide a simple test case that shows the issue?