X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 62003386C5A0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1703102182;
	bh=VqRlxX0ttqLTl+toOMcl4HC2EWwJsfmXlFnhgpRCgHU=;
	h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=wjGI4QKQkCI2RvyI0dpcyaw3avrMLOI4G0ckvh4jPK3BmmSY7kzdfvxNYY0l4tmE7
	 AX1AVSD33RS2TZpQwDnHLb/qBiHnd2h54+dc4uZTjRY08Hwb0fv4KCTWOGoTmQQTDO
	 L8t/3UmWYF/fqcoxBhmQcsiyGSW4nAPlAZ5sZDhk=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0345D3861032
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0345D3861032
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703102147; cv=none;
 b=OzPXgtwvfYY824gmU30tpe/SLBEfTDWWHPOYSYn94CNzXYfWdxfXzDtAseUxwg+dDwlj3QMGoTiKl980SnYZa+1taZHlHYrmzgvC2IW9rCodL7Z6WbfAibqBElZ+wQBUWA0Pnjfb4jCAIdpy+iGS1KH8bqy5GEOHx8QvJk42U7g=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1703102147; c=relaxed/simple;
 bh=sSK4xWttkt0w04Qp/gZFA/nS0uW1AVFNDYrOsZ6kS0g=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=uFJhLkg8p/b6veaFCkQ6YcqE5eiSUfK5xwOs2lpgLfLUyg+vVTvlREXbLmJgs7KeKba3lyBvU15lKJ5aezw0FJd0v94+z/MCu5ttbm93rfgbZ7RAoyskM6e6I6/ZvM5N4EFArCR286A1n36+SnKyJjOtANVJiGN+o6VJWwVW19M=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1703102145; x=1703706945;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=ruxwRJCBitR5LEz3/y83OEo6ExJoMlSKbWl7hBOzAO8=;
 b=SWDGa5q7CI8QabjlIwgzkiVybDS447hJU9pwb1WpLOLj0TqukoAzzUWym2PcvEv+p+
 cMMYJSTK874306L+ah688cBYX7Ig3Af09L8uFA3jZhDuvNinpUf1SbE+6vaVNWR8lb2z
 MInPzO2cGP5W5SGCAxq3PyATAhFzeddioWgjMSvQ/CosBU2LdeWsu7m/0ManJA3ZESBH
 Rn+DKVK2xODrRa6nsB3WMbmSh/j8Z3PR2MvPH/QCW0jxTzPSOMw2y7qHwkxhPJA760Sf
 hf2YmGlhXZrNxY0bH+rFvF36A5uj/oC/INAdYn6Q5VxKTRZcuIMxT14GBkP+naZQA03P
 5Jvg==
X-Gm-Message-State: AOJu0Yw2VkQ7WaDYu4xPTlsXZhljCG/rx7U701IjOeTHPz+QL79mPM51
 +9nT47uXkvZh+L2OQNOQkesDzL7oBmGQNTs7Cug=
X-Google-Smtp-Source: AGHT+IGR1QAfuHOxlYQChTJacRf4zUJViibhEN2b3fUBPBCHHQQedWD5sxAp+4fgPH9gk18NSzXJqOvlmApzkEBnJHE=
X-Received: by 2002:a6b:3c09:0:b0:7b4:2909:737 with SMTP id
 k9-20020a6b3c09000000b007b429090737mr2323478iob.14.1703102145128; Wed, 20 Dec
 2023 11:55:45 -0800 (PST)
MIME-Version: 1.0
References: <da2e8ab5-f0ad-425f-a64d-fbda732fdf0c.ref@pacbell.net>
 <da2e8ab5-f0ad-425f-a64d-fbda732fdf0c@pacbell.net>
 <7d0e764a-3f03-42c8-a6f3-63355e218f1e@gmail.com>
 <CAB8Xom-XO0bgH4D49fbMFTpbcTVm0M4BmcUd4V5jhWghvvT6OQ@mail.gmail.com>
 <CAD8GWsv6DiwdVA_ODiK5GYkQoDqfWEyxCOoJvCmmboNJwN_5hA@mail.gmail.com>
 <e238b979-0722-48e5-bd8f-32608cd8b734@cornell.edu>
 <1367406800.2156703.1703100636276@mail.yahoo.com>
In-Reply-To: <1367406800.2156703.1703100636276@mail.yahoo.com>
Date: Wed, 20 Dec 2023 14:55:33 -0500
Message-ID: <CAD8GWsvenxyheYUZHRtiyS6u9NpnXcgmNRpi0foMcsmOsWujHw@mail.gmail.com>
Subject: Re: vim: errors launching "/usr/bin/vi
To: matthew patton <pattonme@yahoo.com>
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
 FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Lee via Cygwin <cygwin@cygwin.com>
Reply-To: Lee <ler762@gmail.com>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Type: text/plain; charset="utf-8"
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3BKJuNgU026937

On Wed, Dec 20, 2023 at 2:30 PM matthew patton  wrote:
>
>  > I'd say vi/vim needs to be put under /etc/alternatives
>
> No, because that's system-wide.

Which is what I want.

> Vi vs Vim is a personal choice.

Which I've made :)
Anyone that doesn't like that decision can make their own work-around,
but me with my normal and admin logins wants 'vi' to always behave the
same way.
I kinda doubt my wife would notice.. except maybe if syntax
hilighting/coloring broke

> Also alternatives is for supporting multiple versions. Say v8.02 versus v9.1 of 'vim' on a system, one being in /usr/bin and the other in /usr/local/bin just as an example. And the sysadmin choosing (for whatever good reason) to preference the v9 software over the v8.

man alternatives
NAME
       alternatives - maintain symbolic links determining default commands

It allows picking among multiple versions but it also allows picking
between different programs.

Regards,
Lee

>
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

