Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] killall completion for FreeBSD
- X-seq: zsh-workers 20181
- From: Jean-Baptiste Quenot <jb.quenot@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: [PATCH] killall completion for FreeBSD
- Date: Fri, 23 Jul 2004 17:07:44 +0200
- In-reply-to: <25025.1090591714@xxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Jean-Baptiste Quenot <jb.quenot@xxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040721211529.GA2406@xxxxxxxxxxxxxxxxxxxxxx> <25025.1090591714@xxxxxxxxxxxxxxxxxxxxx>
* 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/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author