openbsd-tech mailing list

FromSubjectsort iconDate
Lean and Green
Nike's Darcy Winslow to Address Lean and Green Summit
Darcy Winslow of Nike to Present Organizers of the first annual Lean and Green Summit announced the completion of the conference agenda. This "next generation" event will feature keynote presenter Darcy Winslow of Nike. Darcy is head of Nike's Women's Footwear Division and is a champion for the company's sustainability efforts. Attendees of the Summit will learn from industry professionals who display a high degree of business acumen as they address their company's impact on the world around ...
Feb 21, 12:27 pm 2008
Unix Fan
Re: pkill.c warn when "no such process"
$ pkill bob; echo $? 1 $ Just live with it.. ;) Breaking compatibility just to convenience you... is not an option. -Nix Fan.
Feb 21, 12:28 pm 2008
Your Friend Feb 21, 8:51 am 2008
tutorial4u140 Feb 21, 4:49 am 2008
Stuart Henderson
armish nd6_ns_output Alignment fault 3
My armish is doing odd things with ipv6. Using normal addresses if I ping6 most addresses on my subnet things work fine, but if I ping6 my router I haven't been getting any response back. This is not always consistent, some boots it's working fine... At this point the ndp cache shows the address as being incomplete, tcpdump on the router shows the outgoing neighbor sol, tcpdump on the armish does not show any incoming (promiscuous mode doesn't help). If I ping6 the link-local address of the ...
Feb 21, 3:15 am 2008
Mark Kettenis Feb 21, 9:19 am 2008
Han Boetes
Re: pkill.c warn when "no such process"
I've put this in my profile: if type -p printf > /dev/null 2>&1; then red=$(printf '\e[31m') export PS1='\[\e[0;36m\]\w\[\e[01m\]\[\e[30m\]$([ $? -eq 0 ]||printf $red)\$\[\e[0m\] ' else export PS1='\[\e[0;36m\]\w\[\e[01m\]\[\e[30m\]\$\[\e[0m\] ' fi Which makes the promptstring turn red on non-zero exit of the previous command. Which catches all those programms that give zero output on error. # Han
Feb 21, 4:29 am 2008
Heinrich Rebehn
Re: pkill.c warn when "no such process"
Would be good opportunity to better than Solaris and Linux :-) I am really missing this feature too. Interactive programs should always output an error message in case of an error IMHO. -Heinrich
Feb 21, 6:11 am 2008
Ted Unangst
Re: pkill.c warn when "no such process"
Does grep print out "Oops, I didn't find anything. Did you check your spelling?"? Or does it exit 1?
Feb 21, 12:51 pm 2008
Mark Kettenis
Re: pkill.c warn when "no such process"
Since pkill(1) doesn't do that on Solaris and Linux, I don't think we
Feb 21, 3:36 am 2008
Paul de Weerd
Re: pkill.c warn when "no such process"
Who says it's an error ? pkill sent the specified signal to all (in this case, none) processes matched. Compare with pgrep .. it doesn't output anything if there's nothing to output. More interesting (I think) would be to have something similar to linux's killall -v option (not to be confused with pkill's -v option). This will give output for every process signalled (and makes your problem obviously non-existant). Paul 'WEiRD' de ...
Feb 21, 6:51 am 2008
Iruata Souza
Re: pkill.c warn when "no such process"
On Thu, Feb 21, 2008 at 10:11 AM, Heinrich Rebehn this is not an interactive program. have you ever heard of return values? iru
Feb 21, 10:45 am 2008