X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CC20663.6080805@redhat.com>
Date: Fri, 22 Oct 2010 15:47:15 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Bash problems, strace, performance, etc.
References: <4CBE119C.9070504@veritech.com>	<4CBE179C.7020008@veritech.com>	<4CBFCE23.3010706@laposte.net>	<4CC0AF02.1090600@veritech.com> <AANLkTinxqkPFWgOQkXBcAyuDK_vbqxxWAfg7g-EiEU7=@mail.gmail.com> <4CC204F7.1030603@cornell.edu>
In-Reply-To: <4CC204F7.1030603@cornell.edu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 10/22/2010 03:41 PM, Ken Brown wrote:
> On 10/22/2010 12:32 AM, Andy Koppe wrote:
>> On 21 October 2010 22:22, Lee D. Rothstein wrote:
>>>> do you have bash-completion, if yes, get rid of it and try again.
>>>
>>> Bash completion is installed on my system but never loaded; i.e.,
>>> /etc/bash_completion is not sourced in '~/.bashrc', or
>>> '~/.profile', or anywhere else.
>>
>> It gets loaded by /etc/profile.d/bash_completion.sh, which is sourced
>> by /etc/profile.
>
> I wonder if this was a packaging bug in bash-completion. Eric's
> announcement
> (http://sourceware.org/ml/cygwin-announce/2010-06/msg00061.html) said
> the following:
>
> You MUST edit your bash startup files to load bash-completion into
> memory:

Hmm - maybe this is a case of a copy and paste bug on my part. 
Certainly, before bash-completion 1.0, you had to manually enable 
things.  But it looks like 1.0 and later (first cygwin build in Apr 
2009) inherit the upstream default of automatic enabling.

I'll have to revisit that next time I package bash-completion, and 
either fix the release notes to match reality, or alter the packaging to 
restore the manual enabling (but note that other distros like Fedora do 
automatic enabling if you install the package, so that's the direction 
I'm leaning in).

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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

