delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/12/20/00:04:59

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6AC1D3861001
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1703048698;
bh=xeWlq8tXXPZvkb6k4PQYm9TDVgYE7gu/fweEVPY/THk=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=s2bWv/xlzZ1Y5O9Wf2PDJprIaTAICi7ApeROsbwyBCLRRmMFwETv17b2j37LjT/Z/
rBHhjoI3ruMSFA7pHNv0yO0i2mMItKBToNHUlF9HGvlJNminqEOeJivIDmJoW7YXNp
0mUtDjs9LrEZGj47Ud48ixhmHNpiC0D05GOGlM3c=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 876D03858439
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 876D03858439
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703048663; cv=none;
b=X1AiDHKfPenXOv+o0BUWNHCY7e2Yi7csSl5LNGLxAKgBRySkB+XAYFgH7j1kwOMhgT267qumISJ6pxy9MzHE70a6mpHYIZ7H/pm/0Bs1gkuIfnhNv2+vRPevmJqGj7vA3tNRGWHJRC4Tua6Ad9pnuM2jbtasWyLRhFMW8JGp3co=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1703048663; c=relaxed/simple;
bh=TXp93DXwCVMoi2Quke6xbeQS6hWQe5a2HjYj4QWOC1E=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=lmL+SYWBrSkPjJfi2kpP0BAdvB97ttpJAkor+6vGeXWPzRfgf5pinBHCn9LNdwkqiqJwdyHtygBoWFjGh0vEq3ak/byNMrbq2Zx3KAFUaYdLzezcx1rucV7HijqNmTrvSumv8TQAneFddrzcdlKnWqlrXTuq7LXvPVdhn27wAic=
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=1703048660; x=1703653460;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=4pkmDocAB5ycra2dG5P8eIcdi1tD13t/s83IwQCn4oM=;
b=EReljf7+0oxUK8SFOVJalWNJ+WQrOzES3Lp8tbfOTeLus73rs3rkfx2ysXE+7c5inV
bmGuA6xoXfZYqIPzGbmucGq/T4Ez8zpC0t6zp1aC0ypWK6Q3d4+4XaYOaQAhvtoSw95a
aFQTd5684dHrYDGG+io4fzLl/SM2solqKH4Gp7yTjU8ovU8HVsLtuCRyTLqmIIOVIGiA
CUlrCrsS/U1yIG58AgPmKWPUQybS3J9uyd1Yn33CjfJZgjyyB8XoVRQoLZ4ZXclgS9U4
6W/0sZGtm+W/iy8zCh9WEUmXn3m+TLe5E6crSiru+FGNAReq53XGTM3XTAHVlOyPKMh8
p8uA==
X-Gm-Message-State: AOJu0YxTDQVK4DcIOxJtFEgxFkKT1qz0eQE2U3Kozvx62psVYWQikxLM
QioyIO8sImHToKNlilBzeDKmmkVen28=
X-Google-Smtp-Source: AGHT+IHKoFICZ27zz0CYAA+s7JfX0p5PPadt5xMzMNa9BJbtmRxbHZ8QID/NxMw97lxqD9HAW2oSWQ==
X-Received: by 2002:a50:9eac:0:b0:552:63bd:4326 with SMTP id
a41-20020a509eac000000b0055263bd4326mr2129349edf.21.1703048659957;
Tue, 19 Dec 2023 21:04:19 -0800 (PST)
Message-ID: <7d0e764a-3f03-42c8-a6f3-63355e218f1e@gmail.com>
Date: Wed, 20 Dec 2023 06:04:21 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: vim: errors launching "/usr/bin/vi
To: cygwin AT cygwin DOT com
References: <da2e8ab5-f0ad-425f-a64d-fbda732fdf0c DOT ref AT pacbell DOT net>
<da2e8ab5-f0ad-425f-a64d-fbda732fdf0c AT pacbell DOT net>
In-Reply-To: <da2e8ab5-f0ad-425f-a64d-fbda732fdf0c@pacbell.net>
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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 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: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 3BK54xUL009714

On 20/12/2023 03:47, Beau James via Cygwin wrote:
> 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.
> 

vi is usually an alias to vim

$ alias | grep vi

  alias vi='vim'

so you are in reality calling vim

$ which vim
/usr/bin/vim


I am investigating the /usr/bin/vi issue



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