Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: jobs -Z example?



Thus spake Atom Smasher (atom@xxxxxxxxxxx):
> On Sun, 15 Mar 2009, Bart Schaefer wrote:
>> } can someone point me to an example of "jobs -Z" in action?
>>
>> torch% ps $$
>>  PID TTY      STAT   TIME COMMAND
>> 5249 pts/4    Ss     0:00 Src/zsh -f
>> torch% jobs -Z "You can't see me"
>> torch% ps $$
>>  PID TTY      STAT   TIME COMMAND
>> 5249 pts/4    Ss     0:00 You can't see me
>> torch% print $(< /proc/$$/cmdline )
>> You can't see me
>> torch%
> =====================
>
> that's pretty much what i expected, but it's not working on freeBSD.
>
> 7.1-STABLE + zsh 4.3.9 (amd64-portbld-freebsd7.1)
> 6.2-RELEASE + zsh 4.3.6 (amd64-portbld-freebsd6.2)
>
> maybe it's a freeBSD/amd64 thing? it seems to work fine on linux (P3).

Works fine on Linux 2.6.26 and OpenBSD 4.4 (both i386)
#v+
(dope@dreckskind) : (~): zsh --version
zsh 4.3.6 (i386-unknown-openbsd4.4)
(dope@dreckskind) : (~): jobs -Z "You can't see me"
(dope@dreckskind) : (~): ps $$
  PID TT  STAT       TIME COMMAND
  29389 p0  Ss      0:00.32 You can't see me (zsh)
(dope@dreckskind) : (~):
#v-



Messages sorted by: Reverse Date, Date, Thread, Author