www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/05/31/12:33:05

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 54VGX4bf1787772
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 54VGX4bf1787772
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=MjUvySOZ
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 036B03858C31
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1748709183;
bh=q3cbrVNsxhEK47uDfi2w550xMxm9jIY000yUzFiqNxM=;
h=References:In-Reply-To:Date:Subject:To:Cc:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=MjUvySOZv4K7mmOax8jFWEwjBzFg6WHS9L5R/WaXcUprF7jDUkjo/9mWn1MEBBQNL
a4w4sF5ttHmiQhnB5k1tu+4vDxu56keDHuCGoYgfcwqoFA1ylyG4or/1vclDWQkRMz
mKzcl6SNz61oRMpNzm3cLnCfYIOkzKyAcyawAdU4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 008863858D20
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 008863858D20
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1748709119; cv=none;
b=H8HPwZW01n8MnWuQMCMqH6XTtmnT0H+wBnaQLWhd4YHpdMJ3iuo3K8UqplT5QmAsaOvzohqdWvW74IdsPJhhpAIG5qDqQn/RMF8vBa9pL1HS3qavg+2MQY/mnRoTPEdT6qi7yw5Gj980cs/pyO6ZPlCa8eXLxqGEPcC6rv7WFf0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1748709119; c=relaxed/simple;
bh=jj/gUZwL+5b5ScmjmsdQa8xqKfHsuxqU5YoC6OEuWYU=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=inctVAz5broceVws8k6BBLcYnkHd3i44vDbZT10IqwWNeROazZGyed+DeKBlyJHBI4v05fMbXA0md4Ex7ZJmHLS92keZvVHY/jkK6HAtlQQBh+w5TG6YKrrJWbvNEBXbmHpYwvjCkEzMIYbjJqqKM76G/fnUlSvYamWjCHHu1YE=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 008863858D20
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1748709118; x=1749313918;
h=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=kaCGNk4U5iP+tlrY+TFlMIydV2j4ADGMbb96uYc1Cps=;
b=HPLP2J2m4ebBQyqdjPL9OsoyON7PskhC04VOyJFwJ4BjDvWfO3+e8FdOT7nC9u5W4P
bpDZ3qIlZk2CO72+0Qs3kpvWNosad2Dpd/RT7pu2juMV7cfpSTx1gLdJgbQlRW0lhnVc
IfQGcFM2+Epn9YlxTJglTWjy3pPZnZgXpsJq+OK3COjns4a0xpD+fJ7OtS05Y8ZQAYKd
zqqOmDaQif2oqzfL3yERnOlOejMBKZctc03pQNHa1dagrG/N5Csizca/NzELB0yvCxgV
xtmzfmJhxOYXLu6ZbTO5WO8za6fCG/HrVIEyhaMMC1BIKifRu1tM5d9RG/GxuG8z814j
c4CA==
X-Gm-Message-State: AOJu0Yx7O/TBz1eyR/u9mAZRroaeIBrjtZxT/t0psNMibBpyysStZKQO
i55m+BAeEF9/9zLOSXWau1DrfPo6qoICFtt2xbX3nLHku+HVIoBIy0RjSaveaIwk/sdiKzPBH7X
Qi0S7eyDI8LaHtGTmIDkGETw3YOvgzio=
X-Gm-Gg: ASbGncsk9FTjUYtiEWBMY/mL6/EajZ8X52QXOPmxOn33j42NDjxNXcQSwTArzkJZins
66gUP2lCcXyZ/cMMmgNvWQGxl1ZldMCaF/THiXvcBPa6/PQ639wd9Ey4mHp82f4Gvo72LIVdgFo
Bxj2OllLfLaB+lFagMrZB1uJZdElO9rB30aw==
X-Google-Smtp-Source: AGHT+IHwrIhg7XstDGogMSyHajKIla1t3r25zCJq5NjvlQpK0SeJ+qq+hH4NoFf/xV1PmP3P6AFsyt6yyZOlGUeaAoI=
X-Received: by 2002:a17:902:e747:b0:234:bc92:a986 with SMTP id
d9443c01a7336-23539657b9dmr85995025ad.52.1748709117726; Sat, 31 May 2025
09:31:57 -0700 (PDT)
MIME-Version: 1.0
References: <1748706593-e6e8e2345fb4a6cfe6de0a61d93ff230__andkin773 AT fanclub DOT pm>
In-Reply-To: <1748706593-e6e8e2345fb4a6cfe6de0a61d93ff230__andkin773@fanclub.pm>
Date: Sat, 31 May 2025 09:31:45 -0700
X-Gm-Features: AX0GCFuI-w3WEuIUzUmIVg_15qXdDJGvJbnvefWykGycwGGP2F-9-iqY3pxWIMg
Message-ID: <CAJtSMgtFza+RGaAJ-wceHhaHkhnoZLPBA2477fPOdbTXh_5RaA@mail.gmail.com>
Subject: Re: Cygwin package vim breaks the command 'view'
To: andkin773 AT fanclub DOT pm
Cc: cygwin AT cygwin DOT com
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: David Dyck via Cygwin <cygwin AT cygwin DOT com>
Reply-To: David Dyck <david DOT dyck 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 54VGX4bf1787772

Thank you for your research, and proposed fix
I had noticed this to from time to time.

did
alias view  >/dev/null 2>&1 || alias view=vim -R
need quotes also ?

On Sat, May 31, 2025 at 8:50 AM andkin773--- via Cygwin <cygwin AT cygwin DOT com>
wrote:

> Hi,
>
> Oops, I forgot the quotes for the aliases.
> It should be:
>
>     alias ex    >/dev/null 2>&1 || alias ex="vim -e"
>     alias rvi   >/dev/null 2>&1 || alias rvi="vim -Z"
>     alias rview >/dev/null 2>&1 || alias rview="vim -RZ"
>     alias view  >/dev/null 2>&1 || alias view="vim -R"
>
> Regards,
> Coen
>
> --
> 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

- Raw text -


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