Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Suggestion for _killall
- X-seq: zsh-workers 8676
- From: Alexandre Duret-Lutz <alexandre.duret@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Suggestion for _killall
- Date: 19 Nov 1999 10:10:50 +0000
- Cc: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
- In-reply-to: Falk Hueffner's message of "18 Nov 1999 22:24:48 +0100"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <87zowbbihr.fsf@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: aduret@xxxxxxxxxxx
>>> "FH" == Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx> writes:
[...]
FH> Unfortunately, ps behaves different on each platform, so I don't know
FH> if this is really portable.
It isn't. Perhaps it could be done the same way as _kill?
One other issue is that killall also behaves differently :
- On Debian (and probably most Linux distribution) it kill
process by names;
- On Solaris, Digital Unix, RISC/os and maybe others, it kills
*all* actives process and thus completing with process name is
inappropriate.
Maybe there could be two _killall in Zsh ? Let's say one in
Completion/User/_killall and one in Completion/Linux/_killall. Then
./configure and Makefile would be hacked to install Linux/* only on
Linux system and in such a way that Linux/* functions would overwrite
previously installed User/* completions. Look quite ugly :(
--
Alexandre Duret-Lutz
Messages sorted by:
Reverse Date,
Date,
Thread,
Author