delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/10/20/13:05:04

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=yntg/etJRyj9du8iTlLdsxOTuSizzx
Gf9uMy/9SOP2lLl4wgUJlP2hrH1eSdwV9+LoeWZ+3uzdsm2pQ0YH9ShX5Lk/TlJ0
UKCpTpIAUWJm7mOXdOlGP3pYi/IoQorE0dZYlYpfhFYw38F/jnDyIBN2ff7DAPwB
telGabeZ2OO+o=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=WLUK9bCHhwjFKz99Ln25+yS/vQI=; b=lgyE
NXUJMzX4BrMOPpcGu4d5CnKcXEhxYuCx+2t/u64ySODG3oCoj7O/FcLvUXwEWbRh
fnQhDkmYKalaW9UVsq/bCXyTneEPDx14hRiP6vvMsGO2xdOwn0iyOOSDbCAQQ8PO
Yv+3q6MEE0RUVpKicSxNxRDgnQvxc4cDm76wGkE=
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=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2 autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: perl -d causes completion to fail
Date: Mon, 20 Oct 2014 10:04:31 -0700
Lines: 42
Message-ID: <m23fb0$v3s$1@ger.gmane.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>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To: <20141020112344.GF9828@dinwoodie.org>
X-IsSubscribed: yes

On 10/20/2014 4:23 AM, Adam Dinwoodie wrote:
> On Wed, Oct 15, 2014 at 03:08:42PM -0700, Andrew DeFaria wrote:
>> On 10/15/2014 2:30 PM, Andrew DeFaria wrote:
>> Adefaria-lt:ls /etc/bash_completion.d/perl
>> ls: cannot access /etc/bash_completion.d/perl: No such file or directory
>> Adefaria-lt:ls /usr/share/bash-completion/completions/perl
>> /usr/share/bash-completion/completions/perl
>> Adefaria-lt:
>>
>> I think you mean /usr/share/bash-completion/completions/perl... I
>> think the problem is that it's parsing the next token after -d and
>> -dt looking for :debugger and never things that maybe there's no
>> debugger name (see perldoc perldebug).
>
> 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.

Additionally:

$ ls /usr/share/bash_completion.d/perl
ls: cannot access /usr/share/bash_completion.d/perl: No such file or 
directory
$ ll /usr/share/bash-completion/completions/perl
-rw-r--r-- 1 adefaria Domain Users 3569 Feb  9  2014 
/usr/share/bash-completion/completions/perl
$ cygcheck -f /usr/share/bash-completion/completions/perl
bash-completion-2.1-1
$

-- 
Andrew DeFaria
http://defaria.com


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