From owner-freebsd-questions@freebsd.org Tue May 26 15:08:50 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 044612CA499 for ; Tue, 26 May 2020 15:08:50 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic313-56.consmr.mail.ne1.yahoo.com (sonic313-56.consmr.mail.ne1.yahoo.com [66.163.185.31]) (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 49Wcmc4vJwz4KCs for ; Tue, 26 May 2020 15:08:48 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: _Tx0vgEVM1nikgqMM6OErcKyh7qQEYoQ5bs7o5Hb8TGNSXpNSmmjyy.JRhMtRll V9Z0.JLhV8nGARk77jhaVXqPrGl5iLJ9EkTMjkE.F6FJpd0BAT7anrPLOka0x3ajuUPgB_FIO0KV qOaBwS5w.5vY8cdu9PWtrJiAtHQ88t63Bu_FzoVHXv3pUD7CA.GCSSQG6scAiCDX5xHzyC2G29A2 bZ8z91ZuvAhgvSjVCqDQd4qeubjjKJo_Z63aHwxPVcNdEkx3kNMKDfU4DEE2kLY.hodPkkKQhCOC 5S_pWGMblEO5.f8lTdOXzehEQr_Ch5O_8HFB1RWxlH.oNzekeSOMIQd_ezYKWbpLMiSbRjANy_L7 wcZVAJY7NbgrtWhvoxva.VfnpixqbH6lzoPVT.Wl.TLccBbR5OGXZiYm4UlU_pzLxalWPhTwn4Ws mcNKnmvpV_XvqviNJ8XHEVxukGFv6nE943rlEbQJhwIcltrXwA.irG4Fazd9qZ9B46t42bJnSZil CRW7LByMAlalEx9Nvqk9.ee70kv0L50J7TzwF9.BY4dRnbNbpjwE134kwa0IjMHDIXyCXZGyt6sO DOIG9IX4Mthq4MZIzn3H3t8yOWEFNanCXO1Vy2TpU829dimYk1QcnBb0IsrZ1U9G62Kdq6SdROt3 kQkWihjplxGJDz2sStRXsW_kjqtn9ryQ2IkRt4J55fBi4XLg8xok4NfHqcwVyD088wtu4IamsV.k sCa_c7aY6fyduZbLIxu9bVRWe6NMDfTYi0Hcn3poDlZpO2niDkLkxNtKS1zksYkauOsHZqb6doII bZD28NSOaT4c5q1D93C5VSd6.61p1TWUW9nUm4RQERM3X8WaqA2CvLt.x.m5F7W0udL6A1V.YsZL owcq1XCHKdehWA.eCGZ3kwH8HSXh_egsEYu8JIZOO5.KvlhQNMh47gIiZL53YwslMpq09CfVIO8e 02WpGHttBq6vuCdgpD0cLW1Mzp_Kcwxk6sR5rBD5pwV8Phiogzj80VcA6tWghf2E9ymJfla0Ft_7 t67yio0j8931ykzYrCIuMUfbi9WSWRXIDetH3LZwWh49DUVQhvEtTqHOkjoNmE0brcxHepIhbIFB ZmjhJrbwHEgHwXktsLbaRhUAYG1ijFzr9qCvapEEQ2mYu0aGoOPrmsPo_S5IvRh4dVkc_wSe52kk sCoBffXGW2jW7mTiXENhijwF44fxZKI1LOgy6uuEE_7pm3njh8d1TbIfO1sUW3t3bTfbvL8WO_tH 6z4eBmMJBCJDHpuEE7m5w9GetEs3lHbya0Dl4x2sYx09iuXx6S.E7fjp7yS.5OXqa6vdKCiQqB6X jg7h2eooqshnEZmzZLP3wtnEAdShs4hVjTDZ8SraOmsXBd6WCUReZkqguMc0wZHK1MuSdBcIVtP7 n4PYHHhKOjBEMdtdkCmTBvA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Tue, 26 May 2020 15:08:47 +0000 Received: by smtp414.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 57aa1e6a21a3dd284f5f87d2a4938cef; Tue, 26 May 2020 15:08:46 +0000 (UTC) Received: by mail-pj1-f48.google.com with SMTP id ci23so1451663pjb.5 for ; Tue, 26 May 2020 08:08:46 -0700 (PDT) X-Gm-Message-State: AOAM5316Poa8q5M2MVGrvUhdRVQy5R/ZPMCZ2Z2RRteR4fH0AtKNMumw Ii4uleLCiNLqIAKipne+fzYn9HrU8jR8NUQ62qY= X-Google-Smtp-Source: ABdhPJxmiLG46NxINs8nGw7v/ZBdLpHH0lY8bsWadpUmb/CSB7ukcL/ZiT8pUILRdCjtmJpwzUBrhZ5Z3XThaA1rU1E= X-Received: by 2002:a17:902:7596:: with SMTP id j22mr1466560pll.226.1590505725768; Tue, 26 May 2020 08:08:45 -0700 (PDT) MIME-Version: 1.0 References: <0c30ebf7-e5b1-6fcb-d81e-2a039415f8a1@chezmarcotte.ca> In-Reply-To: <0c30ebf7-e5b1-6fcb-d81e-2a039415f8a1@chezmarcotte.ca> From: Ottavio Caruso Date: Tue, 26 May 2020 16:08:29 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: nvi expandtab - tabs to spaces To: "Derek (freebsd lists)" <482254ac@razorfever.net> Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Mailer: WebService/1.1.15960 hermes_yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) X-Rspamd-Queue-Id: 49Wcmc4vJwz4KCs X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.18 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-0.98)[-0.978]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.97)[-0.974]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[66.163.185.31:from]; NEURAL_HAM_SHORT(-1.53)[-1.528]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.185.31:from]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] 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: Tue, 26 May 2020 15:08:50 -0000 On Tue, 26 May 2020 at 14:48, Derek (freebsd lists) <482254ac@razorfever.net> wrote: > > Hiya, > > After all these years, I'm finally wanting to switch tabs to spaces for > certain documents (yaml comes to mind, python another), but I'm finding > the FreeBSD nvi lacks expandtab, yet OpenBSD's (as of 6.7) supports this > option. > > What is the canonical way to use space indentation in FreeBSD's nvi? > > Is there any appetite (from committers) for a patch/import of the > feature from OpenBSD? What version of vi is on OpenBSD 6.7? On my 6.6 [Version 1.79 (10/23/96)] the expandtab is not available, but on NetBSD 9.0 [Version (1.81.6-2013-11-20nb4], it is. Be careful importing features from the 1.xx branch to the 2.x.x., the one in FreeBSD. -- Ottavio Caruso