Re: Sysctl(3) man page

2012-03-09 Thread Otto Moerbeek
On Fri, Mar 09, 2012 at 05:08:43PM -0500, Donald Allen wrote: > On Fri, Mar 9, 2012 at 4:40 PM, Ted Unangst wrote: > > On Fri, Mar 09, 2012, Donald Allen wrote: > >> OpenBSD's pride in its man pages is justified, for the most part. But > >> having recently decided to come back to OpenBSD after a

Re: Sysctl(3) man page

2012-03-09 Thread Donald Allen
On Fri, Mar 9, 2012 at 4:40 PM, Ted Unangst wrote: > On Fri, Mar 09, 2012, Donald Allen wrote: >> OpenBSD's pride in its man pages is justified, for the most part. But >> having recently decided to come back to OpenBSD after a long hiatus, I >> found myself completely baffled by how to get battery

Re: Sysctl(3) man page

2012-03-09 Thread Donald Allen
Jason McIntyre: hi donald. i'm not sure i exactly know what you want to do, but if i run your program it gives me (almost) identical output to that given by running "systat sensors" or "sysctl hw.sensors". i guess that takes care of the idea of providing find-sensor-mibs in userland, or making wha

Re: Sysctl(3) man page

2012-03-09 Thread Ted Unangst
On Fri, Mar 09, 2012, Donald Allen wrote: > OpenBSD's pride in its man pages is justified, for the most part. But > having recently decided to come back to OpenBSD after a long hiatus, I > found myself completely baffled by how to get battery status > information via sysctl(3). I use suckless.org's

Re: Sysctl(3) man page

2012-03-09 Thread Jason McIntyre
tion via sysctl(3). I use suckless.org's dwm and there's a > little chunk of C called dwmstatus that you can use to provide a > periodic display of whatever you'd like (battery info, load averages, > date/time) in the window manager's bar. While the sysctl(3) man page >

Sysctl(3) man page

2012-03-09 Thread Donald Allen
unk of C called dwmstatus that you can use to provide a periodic display of whatever you'd like (battery info, load averages, date/time) in the window manager's bar. While the sysctl(3) man page gives you a start on getting sensor data, it is not sufficient, in my opinion; I think an example is