www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 47C23386EC2D |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1703101550; | |
bh=zEAR6XM5lONHgbkmFpJN6tI5wE0GBZF+9AZPaq/JUEc=; | |
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=oUZyjsIu/HHUHjIYCqMX0I8WsZpVoxos9LGMRU/p3RtyxlAVDpi8QBvOYDQkjsWDF | |
bCTSXLBiFvpUYLrs4U/BVWG3H7WVJU+5x0u1euiBEoOlAF+XIc4VLSDYvMgcWijhFw | |
i6j0/ckLcfhSfSJxzyh/MwaxW1YwDHzU/NmT0oZU= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org E03D03861878 |
ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org E03D03861878 |
ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703101515; cv=none; |
b=nSxYRkoJwfZpuHEGEr/aK7d/doFdU3YdEDTRPzsFdWiGssc87O88Cy4A5hjkTXWVJPDfQTNzJ4BVYB1E6erOMOs9vRRI2db1XdLauea7ax0qYnRQsZd0jZ5I3DQ1NuBVG4pp+z6U5uF/PUPFTGB1uxeMV98eg6ybkanLb3g22DI= | |
ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
t=1703101515; c=relaxed/simple; | |
bh=xXCpOMfWu4OJImH+Vior+Wp8dVXzh3OqWKnhkYznVZ4=; | |
h=Date:From:To:Subject:Message-ID:Mime-Version; | |
b=uaSDSJ2xz8/FaTqP+zNfweJOdjVzURhKP1h2nvv0+k2I+ig/JtD9iZttKE93JdpjcnF3Hxm1lVKmk1/8vHZMltsc8xPZ17vQ4qqJZ2RuWWLvZK0X8RQEZ4oGTd4Lij97hjh++DspkTvW9b1w7dEv7SIq65Qn3JJ+pDvorOvWYjo= | |
ARC-Authentication-Results: | i=1; server2.sourceware.org |
X-Spam-Checker-Version: | SpamAssassin 3.4.6 (2021-04-09) on |
server2.sourceware.org | |
X-Spam-Language: | en |
X-Spam-Relay-Country: | |
X-Spam-DCC: | B=www.nova53.net; R=smtp1.atof.net 1206; Body=1 Fuz1=1 Fuz2=1 |
X-Spam-RBL: | |
X-Spam-PYZOR: | Reported 0 times. |
Date: | Wed, 20 Dec 2023 14:45:08 -0500 |
To: | Lee <ler762 AT gmail DOT com> |
Subject: | Re: vim: errors launching "/usr/bin/vi |
Message-ID: | <ZYNERJVf0yNjSIQ6@xps13> |
References: | <da2e8ab5-f0ad-425f-a64d-fbda732fdf0c DOT ref AT pacbell DOT net> |
<da2e8ab5-f0ad-425f-a64d-fbda732fdf0c AT pacbell DOT net> | |
<7d0e764a-3f03-42c8-a6f3-63355e218f1e AT gmail DOT com> | |
<CAB8Xom-XO0bgH4D49fbMFTpbcTVm0M4BmcUd4V5jhWghvvT6OQ AT mail DOT gmail DOT com> | |
<CAD8GWsv6DiwdVA_ODiK5GYkQoDqfWEyxCOoJvCmmboNJwN_5hA AT mail DOT gmail DOT com> | |
<13058478 DOT 2154617 DOT 1703098667904 AT mail DOT yahoo DOT com> | |
<CAD8GWsu7hFAgAZQBzDf5_YO_GfWCxn=6dNMtg092Bq9XUFQDyw AT mail DOT gmail DOT com> | |
Mime-Version: | 1.0 |
In-Reply-To: | <CAD8GWsu7hFAgAZQBzDf5_YO_GfWCxn=6dNMtg092Bq9XUFQDyw@mail.gmail.com> |
X-Spam-Status: | No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
SPF_HELO_NONE, SPF_PASS, TXREP, | |
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | "gs-cygwin.com--- via Cygwin" <cygwin AT cygwin DOT com> |
Reply-To: | gs-cygwin DOT com AT gluelogic DOT com |
Cc: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
On Wed, Dec 20, 2023 at 02:23:49PM -0500, Lee via Cygwin wrote: > If anyone has access to a redhat linux system, do they 'alias vi=vim' > or put vi under /etc/alternatives? FYI: neither. $ cat /etc/fedora-release Fedora release 39 (Thirty Nine) $ cat /usr/bin/vi #!/usr/bin/sh # run vim if: # - 'vi' command is used and 'vim' binary is available # - 'vim' command is used # NOTE: Set up a local alias if you want vim -> vi functionality. We will not # do it globally, because it messes up with available startup options (see # ':help starting', 'vi' is not capable of '-d'). The introducing an environment # variable, which an user must set to get the feature, will do the same trick # as setting an alias (needs user input, does not work with sudo), so it is left # on user whether he decides to use an alias: # # alias vim=vi # # in bashrc file. if test -f /usr/bin/vim then exec /usr/bin/vim "$@" fi # run vi otherwise exec /usr/libexec/vi "$@" -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |