relayd http post body

2013-08-14 Thread Alexander Bluhm
Hi, I think handling of HTTP requests with bodys in relayd is currently broken. cd /usr/src/regress/usr.sbin/relayd && make run-regress-args-http-filter-put.pl shows this. Instead of checking for RELAY_DIR_RESPONSE, set toread = 0 if we don't expect a body. ok? bluhm Index: usr.sbin/relayd/re

warnings in arp, rarp, ndp

2013-08-14 Thread Alexander Bluhm
Hi, I would like to reduce the warnings when arp, rarp, ndp are compiled with WARNINGS=yes. Let's start with this one. warning: declaration of 'time' shadows a global declaration No binary change. ok? bluhm Index: usr.sbin/arp/arp.c ===

rtsold ioctl sysctl

2013-08-14 Thread Alexander Bluhm
Hi, I would like to replace the obsolete ioctl(SIOCGDRLST_IN6) interface with sysctl(net.inet6.icmp6.nd6_drlist) in rtsold. Code copied from ndp. ok? bluhm Index: usr.sbin/rtsold/probe.c === RCS file: /data/mirror/openbsd/cvs/src/

Re: mandoc term width

2013-08-14 Thread Ingo Schwarze
Hi Ted, Ted Unangst wrote on Sun, Aug 11, 2013 at 10:32:42AM -0400: > One machine I use has terminals that happen to be very nicely sized at > 75 columns wide. Day to day, this is almost perfect, except when trying > to view a man page, because just a little too much text goes on each > line. >

Re: mandoc term width

2013-08-14 Thread Martin Pieuchot
On 21/07/13(Sun) 10:32, Ted Unangst wrote: > One machine I use has terminals that happen to be very nicely sized at > 75 columns wide. Day to day, this is almost perfect, except when trying > to view a man page, because just a little too much text goes on each > line. > > I think mandoc should adj

Re: Merge uhts(4) into ums(4).

2013-08-14 Thread Edd Barrett
On Sat, Aug 10, 2013 at 12:33:12PM +0100, Edd Barrett wrote: > On Fri, Aug 09, 2013 at 08:35:49AM +0200, Matthieu Herrb wrote: > > And you can also do the next step and tedu uhts > > The following diff "tedus" uhts(4). This is the first driver I have > "tedued", so please check carefully. Anyone

Re: add lid status sensor to acpibtn

2013-08-14 Thread Vadim Zhukov
2013/8/14 Landry Breuil : > On Wed, Aug 14, 2013 at 01:55:27PM +0400, Vadim Zhukov wrote: >> 2013/8/13 Landry Breuil : >> > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: >> >> On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil >> >> wrote: >> > * _LID method. 0 means

Re: add lid status sensor to acpibtn

2013-08-14 Thread Landry Breuil
On Wed, Aug 14, 2013 at 01:55:27PM +0400, Vadim Zhukov wrote: > 2013/8/13 Landry Breuil : > > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: > >> On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil > >> wrote: > > * _LID method. 0 means the lid is closed and we > >

Re: add lid status sensor to acpibtn

2013-08-14 Thread Vadim Zhukov
2013/8/13 Landry Breuil : > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: >> On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil wrote: >> > Hi, >> > >> > this diff adds a sensor for acpibtn to show lid status. This allows >> > userland to monitor/react on lid close/open events, in case

Re: add lid status sensor to acpibtn

2013-08-14 Thread Landry Breuil
On Tue, Aug 13, 2013 at 12:00:19AM +0200, Landry Breuil wrote: > On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: > > On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil > > wrote: > > > Hi, > > > > > > this diff adds a sensor for acpibtn to show lid status. This allows > > > userland to m