delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/22/10:51:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=tZfG
6OOMZpF+oSxkuADYx+evxQyekUTPEMUklyi9M1Q3hXhZpd9Xu59v+sTgnIKFgNBn
MzBI48mUogfQ8xWG7JDxuZTWGd4Ub1D2vvw63jHS3HnWODJNAxOp6xYnfKeg0Hfa
GtjuxlWU5zfi/yRQjJ7GyB0ZWiU1d1adsl/RXLM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=fLkHXaJpcs
dOyb5tp9P4tPN7pRQ=; b=s07M4Zb/xUrZYPrQOL3JVVD0H/R85AuD0Zrxc70x4a
WgjvlgzARAc18ulT3RboT2KFjkjjRyv+r2MbFnPx97CTENQR4VPKU34weNQ2lVw1
ZHjswRnBn2ynBn7cug0alDpN4yoq/ESOF+5xcAM/fBNHHOQ1fXclS3Jmx/3P6xNY
s=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f177.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=2oHEVm3rLVIdvtSjEfFJVrhjc2kbK0d0+pmkG5PZVII=; b=lZ0XzW26HRXOzkE/2cpd1yBpUz9+eV3FwUcO6dXQF7Pw/ltPeoBMynCX3ZzUgMIbKN G3gybeVCADain4VjAYkSWg/M6+vHTRtA9Ah2r/AHMa3YeNjGYSbZHKY0ZrwOi5N/Ng8d jh8g4teE5YrKhudwW8XggPj/GbyKyu6zCCzmhYyogg3pr5E6jWhl7BP/i1dUCVkhEUlD arY0e1k+8uEu9vwDl7xKsDNluxlDM7Yw0oXG9029S3Og1rO7PmBvxmvQT9KtYCbOJQeZ xS1/S9Ox1kqKxNOp0Bo+AAni21gRrUOqCbhHnheH2eVPVyf1YB+XcinLisijYsa6nHjJ LVXg==
X-Gm-Message-State: ALoCoQndlrmEzkQlyQboiGFQjG7efBzba143E7o1dDgFJiM4tmanCUWLvkfoHIT/plJ1qlwVOaAE
X-Received: by 10.180.212.78 with SMTP id ni14mr6238490wic.2.1413989453255; Wed, 22 Oct 2014 07:50:53 -0700 (PDT)
Date: Wed, 22 Oct 2014 15:50:51 +0100
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: perl -d causes completion to fail
Message-ID: <20141022145051.GG9828@dinwoodie.org>
References: <m1kb7c$rko$1 AT ger DOT gmane DOT org> <20141015184735 DOT GE9828 AT dinwoodie DOT org> <m1mp2b$l79$1 AT ger DOT gmane DOT org> <m1mr9b$gjg$1 AT ger DOT gmane DOT org> <20141020112344 DOT GF9828 AT dinwoodie DOT org> <m23fb0$v3s$1 AT ger DOT gmane DOT org> <54456AFF DOT 3070306 AT cornell DOT edu> <m23tcj$emr$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <m23tcj$emr$1@ger.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes

On Mon, Oct 20, 2014 at 02:04:18PM -0700, Andrew DeFaria wrote:
> On 10/20/2014 1:05 PM, Ken Brown wrote:
> >On 10/20/2014 1:04 PM, Andrew DeFaria wrote:
> >>On 10/20/2014 4:23 AM, Adam Dinwoodie wrote:
> >>>Whatever you're using doesn't seem to be the Cygwin bash-completion
> >>>package.  Both x86 and x86_64 install /etc/bash_completion.d/perl:
> >>>
> >>>https://cygwin.com/packages/x86/bash-completion/bash-completion-1.3-1
> >>>https://cygwin.com/packages/x86_64/bash-completion/bash-completion-1.3-1
> >>>
> >>>Before we go any further with anything else, I think your next step
> >>>should probably be to install the Cygwin bash-completion package and
> >>>check what the behaviour is there.
> >>
> >>I ran setup and I see a "Keep" for 2.1-1 of bash-completion. I believe
> >>that means it's already installed.
> >
> >It means you installed it from some source (Cygwin Ports maybe?) other
> >than a Cygwin mirror.  As Adam said, Cygwin provides version 1.3-1.
> 
> I've never installed any Cygwin stuff from anything other than
> setup.exe.  The Cygwin mirror I typically use is
> http://mirrors.kernal.org. Oddly enough, looking at it now, I see
> Current as 2.1-1 and "new" as 1.3-1. Huh? OK... Installing "new"...

Cygwin Ports uses setup-*.exe for installing its packages.  It's also
currently distributing bash-completion 2.1-1, so I strongly suspect that
at some point -- intentionally or not -- you installed the Cygwin Ports
version.

Incidentally, almost everything in this mail trail so far could have
been skipped if you'd included `cygcheck -srv` output in your initial
email, as we'd have been able to tell straight away that you weren't
using the official Cygwin version of bash-completion.

> Well now I do have 1.3-1 and I have an /etc/bash_completion.d/perl,
> but it behaves the same... :-(

The next step I'd suggest is to check if the upstream bash-completion
package has the behaviour you're looking for.

If upstream does have this behaviour, you can (a) install it yourself,
separately from the Cygwin install (but be aware the list won't support
problems you hit unless/until you can identify the Cygwin-distributed
component that's causing the problem), and/or (b) request the Cygwin
bash-completion maintainer upgrade to a more recent version.

If upstream doesn't have this behaviour, I can see a bunch of options:

a) Write a plugin yourself to do it.  The obvious place to put this
   would be ~/.bash_completion, which is automatically included by the
   bash_completion scripts if it exists.  Optionally submit it upstream
   then follow all the previous instructions about getting it included
   in Cygwin.
b) Find the mailing list/equivalent for upstream and ask them to add the
   feature.  See above if they actually do so.
c) Find a third-party plugin that provides this feature.  Install it
   manually or ITP it and have it included in Cygwin properly.
d) Live without it.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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