delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/12/19/21:47:43

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 53292385E019
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1703040461;
bh=Yc0di7njYsghPv8ksZYz8ZNm3ZI0GpAmqXI4+gAWSK4=;
h=Date:To:Subject:References:List-Id:List-Unsubscribe:List-Archive:
List-Post:List-Help:List-Subscribe:From:Reply-To:From;
b=hW6bwiT0tm4V/3bXDhOYgtzptdeT64RlDewf37lPjvIO/wSXaYkqeWuVxKqBGJCmC
FjuL8iqxCd27UsUvBPOT642n6zK6Kvj00EslVmKqQNIvaP7zUaDJohfkX+D0AS2UA0
I1FxAsaIZEdiJqt9bIBLYuvkoPDTQvdku8il1/0c=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3E8003858439
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3E8003858439
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703040448; cv=none;
b=i8sy3NPNtz7Kfs8wTPgApe64j0q3ZRPLelsKcoUygMxnen5aa5bokSDaAISYTpnpzarzeh+05CtThsMD7mRrJu5kmhn1FEIQFKtLItmnN3Lk77WTiZOcu9/7K09CiV5S9fXmqxCPubM0vINOlYTF5GQAFtnap6Doy8Y7yFiJRT8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1703040448; c=relaxed/simple;
bh=fF/weE8kR0efMHvSE1e+cQjTqu76PtyIRFbRXJ2Met0=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;
b=COG8x0qocFGdteur5TOjRNzafGNCpMqVeWV0P2b1Q+XmBBH599TZpIJeg2VQsmlUdhUN7qSqhicPS+w4GputK304ITvbGlfCbVYRdYg2OOPocGrWtS+b+pvIAiP2y3eDPia5Y0Wf8Dw+Ow+6skEQnKAPL+ch+XUwE1oDHd/+hZQ=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1703040443; bh=FkmlF6JsijsasTHbbMT0ljG7oSoO4Yn1P6QfGKOtdcq=;
h=X-Sonic-MF:Date:To:From:Subject:From:Subject;
b=CsLTYEMUijLCUFsH8LYHqA5tEfyBG7+I9YIi6T7MNN9NcxFfwmfF4gAmLgNsTPY8zKq1T0vWwaYfQU2L8ZAGkMrs72WJUuHurpUoVtaIvcaP+QWx35GMsUmNa2VrGFfXiyDnEeVPw1YcuffCvPsBTQBx7HWBkkmwUV5TImbnG9IBg70zFKO2gsdsCZBBWoKAOIzJ4IGzvF9lTzvLBCAE5ttS8Yrra2kubxb3uFt17H7ZOryJFVP64ZYCK899W+3SVsjJ7yNBK4u4cZWfgH4Ld0VjxsRS2bZbmfY9b0w+cCR+Gkj9uU0yGGftiTwmpU7bwgQOSe/JCxn5FskVWm+DGA==
X-YMail-OSG: HdFDAAEVM1lgM5imm4OSrk2gjCyoPhGRnoXIEAN.nlKm5Id3DXn7RRKqNuV0N2M
4TkTkRVRLNmKm77xd1n5xlJTUt2S.CUKrGzJ0tnyggiAQIRTU2cnSHFUY3laPJZrsD.GSr.GZ9RE
wLtd5AvGM2J5ViVZsUfcYE2H75GNXb9MW3M2pimezE1GSDvtEVjyyg2crFZDzICMtXacexbQi3oy
.evJ.TpfwkpinD2yT9Cq0V27TV0dnxCAwmkuENL9mPJ6LH_tznbHFlPrQYbcfk.1nowpoWUR0.xO
0WcQYuvAZhrl7nGW9d8ajLCD4cA7ZdjW8aylvioDLwsAGeM.yoakdofYH7b2W.3_IAynpUzE.tmu
w3AV9iQGlkOuueupZIproNuKPgOzTwusnJyHcPaTjsQIxGu0zgxaz93FOUsN_O7d9HHM4R.6UuBg
mmoKiQ2zdXN43H4TitKlfi6T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yf1rdc3zVgfZMuDqH5YlyGaq0rBzYm0cA_go1RQcDZMw9tB8
XHHzqf2YeRtsAmiarfUkiohU9TOHNfB8Vq9LoRoECyN7SkNJQUXooYSI9qdahoiFup8ZoL4tsPKH
bYyiUTvpF2eeswiIDhSac5UrDQcmtBr4bDBHtF0VA7h3INnbgQXt6kdnjRbAOVuDdT7tUaVtCC_W
K7f8LqN8KsIS5QF_gApHhdw7gRKio5w26AYn_h443FYh.VzQhD6vkAQiV8ElGWiHDyr5qQSw6Byp
rf.33ooenjRDeBe2Br.2jmAAwUNltfDJ3Jg7.4HEW4mONVemcjfx1NBolREiTdPSyPK9CFgnXgyT
FM.fD9htcqFMQyr7Ns1goar0J_Sqjt1yRUhE.Fz9p77EQRJEHb2JROdOI3lb7lKKemDXoZNoDvy2
5sSrilPx.nvApnSQFzM9c8x339gjyFHzQDOshiSSuFWzVIa0QLL1yzUCvmawjTCkPhW1pB.ipcXs
ZjSpYaojMLIbbVgO5_ZVzOKpoHYD6dCiWxcTVgxPfa_k9q3g.Jw3CLDM3qCITeW8t3HZ61J.hGXu
dGHfjfNdM_A6K_mKwBWUhtRigDX7EzUPqEPJ8SNMvNx__4ydO2GfGhFcHTIbWxyQzbHZIGrCt8Xp
zrw2he9mBo4BmZmL7IWqZ_jCDa4Vy.cyb683uai.p9BuDuP8J_LiV6gJG4Zl7xeVLZLSi1yDFP3t
VQru11oVvKspexDkZJmmeJ_J4oj3ZWI8WxpIR2HrnaojCBeCd0wbYt3_9.BBNZc9tUFN8kABswSy
EK0pGjw--
X-Sonic-MF: <b_james AT pacbell DOT net>
X-Sonic-ID: 9a4413dc-49e9-4aed-b74f-7333a63b1fd6
Message-ID: <da2e8ab5-f0ad-425f-a64d-fbda732fdf0c@pacbell.net>
Date: Tue, 19 Dec 2023 18:47:17 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Cygwin General + Problem Reports <cygwin AT cygwin DOT com>
Subject: vim: errors launching "/usr/bin/vi
References: <da2e8ab5-f0ad-425f-a64d-fbda732fdf0c DOT ref AT pacbell DOT net>
X-Mailer: WebService/1.1.21952
mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_NONE, 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-Content-Filtered-By: Mailman/MimeDel 2.1.30
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-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: Beau James via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Beau James <b_james AT pacbell DOT net>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3BK2lhqV011807

This problem appeared with my most recent Cygwin update that included an 
update to "vim".

My Cygwin installation now show vim version 9.0.2115.

Launching VIM from the shell running in a mintty window using the full 
pathname "/usr/bin/vim" works fine.

But launching "/usr/bin/vi" (which has worked fine for many years, until 
the most recent update), results in a long string of startup E319 errors:

>     $ /usr/bin/vi
>     Error detected while processing /usr/share/vim/vim90/filetype.vim:
>     line   11:
>     E319: Sorry, the command is not available in this version: let
>     did_load_filetypes = 1
>     line   14:
>     E319: Sorry, the command is not available in this version: let
>     s:cpo_save = &cpo
>     line   48:
>     E319: Sorry, the command is not available in this version: func
>     s:StarSetf(ft)
>     line   52:
>     E319: Sorry, the command is not available in this version: endfunc
    etc. etc.

Note that the startup errors appear only when using the full pathname 
"/usr/bin/vi". Using the command name alone ("vi") relying on the search 
path does not trigger the startup errors; using either the full pathname 
"/usr/bin/vim" or the command name alone "vim" relying on the search 
path does not trigger the startup errors.

I encountered this because some of my longtime 'convenience' Windows 
desktop links were launching a mintty window using "vi":

>     Target: C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico
>     /usr/bin/vi /<targetfile>/

Easily fixed for me by changing "vi" to "vim". But don't know whether 
this change in behavior has any other implications?

Beau




-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019