From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18755 invoked from network); 23 Jul 2004 15:09:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 23 Jul 2004 15:09:51 -0000 Received: (qmail 516 invoked from network); 23 Jul 2004 15:09:45 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 23 Jul 2004 15:09:45 -0000 Received: (qmail 26892 invoked by alias); 23 Jul 2004 15:09:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20181 Received: (qmail 26883 invoked from network); 23 Jul 2004 15:09:36 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 23 Jul 2004 15:09:36 -0000 Received: (qmail 99470 invoked from network); 23 Jul 2004 15:07:47 -0000 Received: from caraldi.com (HELO oxyd.caraldi.com) (195.137.249.52) by a.mx.sunsite.dk with SMTP; 23 Jul 2004 15:07:46 -0000 Received: from anyware12.anyware (unknown [84.96.21.10]) by oxyd.caraldi.com (Postfix) with ESMTP id 5338B206C for ; Fri, 23 Jul 2004 17:08:37 +0200 (CEST) Received: by anyware12.anyware (Postfix, from userid 615) id 761696A25; Fri, 23 Jul 2004 17:07:44 +0200 (CEST) Date: Fri, 23 Jul 2004 17:07:44 +0200 From: Jean-Baptiste Quenot To: zsh-workers@sunsite.dk Subject: Re: [PATCH] killall completion for FreeBSD Message-ID: <20040723150742.GB97816@anyware12.anyware> Mail-Followup-To: Jean-Baptiste Quenot , zsh-workers@sunsite.dk References: <20040721211529.GA2406@watt.intra.caraldi.com> <25025.1090591714@trentino.logica.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <25025.1090591714@trentino.logica.co.uk> User-Agent: Mutt/1.5.6i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 * Oliver Kiddle: > Jean-Baptiste Quenot wrote: > > > I noticed that killall completion does not work on FreeBSD. This > > patch addresses the issue, as the completion was originally only > > intended for GNU/Linux. Indeed, FreeBSD uses a slightly different > > syntax for expressing ps output options. > > That doesn't seem to work on the sourceforge FreeBSD 4.8 machine. You're right, it doesn't work on FreeBSD 4.x. My patch addresses FreeBSD 5.x only, sorry for that. As you say, using command would be more appropriate. It does include command arguments, but apparently the zsh _killall script already cuts them, so this is not an issue. Apparently, the « command » option is also supported on GNU/Linux's ps. Note that if the _killall script is run by root, the arguments « ax » and « ho » must stick together for optimal interoperability, this is compatible with all systems I tried. Best regards, -- Jean-Baptiste Quenot http://caraldi.com/jbq/