From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by sourceware.org (Postfix) with ESMTPS id 876D03858439 for ; Wed, 20 Dec 2023 05:04:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 876D03858439 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 876D03858439 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::535 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 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-55359dc0290so676472a12.1 for ; Tue, 19 Dec 2023 21:04:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703048660; x=1703653460; darn=cygwin.com; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4pkmDocAB5ycra2dG5P8eIcdi1tD13t/s83IwQCn4oM=; b=LN+w33ecctNFDTioKrqEz3jwPl17+FQ3uSIwp13dQZCPX8BzNZFrvWuVxht2GBLJ7c 3yNzR7TCYipO+V2elRcR7emgScWed3Nc06mX2lgsD1Ly7soLVPeIBCv48vDrKY6pDrX1 UX4Iz9W9RFjk9rYIsT0iMBTMLbHKMu1xxknz2WNkWcG6UbM9+sQiZK7HJj07Ge4y/UdW qKxP5fT316+9PSLuNNM+K5F/JvYyYPYqbF0+cJ3aaD+w0wRytKh1gamD9+5RvJNOsU0f oUqA4hS9iUHEohDLRgOu+Oiqq9OzJ+KdAlP+LpHQhCiKYcipdJPNzVJ5B5MxKM+C5/FM gO+w== 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) Received: from ?IPV6:2001:a61:128d:7901:257a:54eb:e80d:b2d6? ([2001:a61:128d:7901:257a:54eb:e80d:b2d6]) by smtp.gmail.com with ESMTPSA id fi8-20020a056402550800b005528001d5c6sm5868326edb.62.2023.12.19.21.04.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); 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 Content-Language: en-US To: cygwin@cygwin.com References: From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: 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