From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RDNS_DYNAMIC autolearn=no autolearn_force=no version=4.0.0 Received: from pd3mo1so.prod.shaw.ca (h24-71-223-10.cg.shawcable.net [24.71.223.10]) by chiba.3jane.net (Postfix) with ESMTP id 6B9551A817 for ; Sun, 9 Dec 2001 16:03:31 -0600 (CST) Received: from pd3mr4so.prod.shaw.ca (pd3mr4so-ser.prod.shaw.ca [10.0.141.180]) by l-daemon (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GO300ANGJRA9P@l-daemon> for gentoo-dev@gentoo.org; Sun, 09 Dec 2001 14:59:34 -0700 (MST) Received: from pn2ml4so (pn2ml4so-qfe0.prod.shaw.ca [10.0.121.148]) by l-daemon (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GO3008WRJRBHZ@l-daemon> for gentoo-dev@gentoo.org; Sun, 09 Dec 2001 14:59:35 -0700 (MST) Received: from shaw.ca ([24.68.91.28]) by l-daemon (iPlanet Messaging Server 5.0 Patch 2 (built Dec 14 2000)) with ESMTP id <0GO300HQZJR8T0@l-daemon> for gentoo-dev@gentoo.org; Sun, 09 Dec 2001 14:59:33 -0700 (MST) Date: Sun, 09 Dec 2001 14:03:06 -0800 From: Zach Forrest To: gentoo-dev@gentoo.org Message-id: <3C13DF9A.2090909@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011130 References: <200112092010.ACU39946@thor.inter.net.il> <1103.24.38.252.76.1007931574.squirrel@thinktank.mediafarm.ch> Subject: [gentoo-dev] Re: [gentoo-ebuild] Bash 2.05a with bash_completion Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Developer discussion list List-Unsubscribe: , List-Archive: X-Archives-Salt: 403226d5-263d-405e-a576-bb7fc77de6ab X-Archives-Hash: ba8169bf5af482f80bbb77c72b6f6bc3 1) The best way to get a better idea of what the patch does is to look through the patch file, but basically it allows you to complete on services in init.d followed by the scripts available commands. After looking at bash_completion a little more closely, it seems that service completion is a little RedHat specific at the moment, but I'll try to come up with a more generic one. More precisely, it adds bash_servicename_completion_function (text, state) and related code to bashline.c/h. Maybe I should just forget the patch and make a separate package. 2) This may have something to do with the following condition: if [ -z "`use build`" ] This is from Daniels Bash 2.04 ebuild. In make.conf, it says not to set the 'build' USE flag and it looks like this flag is used to build the docs in this particular ebuild. So, can't answer this very well. Any help? You're right that bash does have example completion code and bash_completion is based on this. 3) Again, this was the homepage defined in the previous ebuild. I did check out the site you mentioned and it does seem to be the homepage. It does say though, that it is a GNU project so I'm inclined to leave it as is for now. Finale) Yes, I've made a decision: I'm going to make a separate package without the service completion patch. This seems to be the simple and straight forward approach for now. Zach Tom von Schwerdtner wrote: > Hey, > > A few questions: > > 1) What do these 'service completions' provide over the programmable > copletions in the current bash in portage? > > 2) Why arent the example docs that come with the curren bash installed? > There is some completion code in there... > > 3) The bash homepage isnt http://www.gnu.org/software/bash/bash.html, its > http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html > > > -Tom > > > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev > >