Re: relayd and PUT

2017-12-15 Thread Rivo Nurges
Hi! On Wed, 2017-12-13 at 07:42 +0100, Claudio Jeker wrote: > I have seen something similar and came to the conclusion that the > timeout > handling of relayd is not correct. As long as traffic is flowing the > timeout should be reset (at least that is what every other > implementation > does).

sunxi RSB implementation

2017-12-15 Thread Mark Kettenis
Some of the Allwinner SoCs have a so-called Reduces Serial Bus that is used to communicate with peripheral chips (mostly power management ICs). The diff below adds a driver for the RSB conntroller, named sxirsb(4), and a driver for the RTC component of the X-Powers AC100 audio codec. I

Re: uniq: add -i option

2017-12-15 Thread Todd C. Miller
On Fri, 15 Dec 2017 03:41:25 -0800, Claus Assmann wrote: > I use uniq for some log file analysis and it contained "duplicate" > lines which only differ in lower/upper case (user input). Hence I > added an -i flag which also exists on FreeBSD at least. > Maybe it's useful to add to OpenBSD? Linux

Re: C mutex impl. for x86

2017-12-15 Thread Mateusz Guzik
On Thu, Dec 14, 2017 at 04:06:41PM +0100, Martin Pieuchot wrote: > Diff below moves amd64 and i386 mutex to the common C implementation. > > The differences are: > - membar_enter_after_atomic(9) instead of membar_enter(9), and > - membar_exit_before_atomic(9) instead of membar_exit(9) > > I'd

Re: Python connect to MS SQL Server Databases

2017-12-15 Thread Сергей Тарасов
Thank you, but I do not work with Tree of Ports yet. I will try to install package "py-odbc" and try it. Sergey Tarasov

Re: fix a typo in roff(7)

2017-12-15 Thread Jason McIntyre
On Fri, Dec 15, 2017 at 11:47:36PM +0600, Alexander Kuleshov wrote: > Hello, > > I've just noticed a little typo in the roff(7) man page (s/agument/argument). > The diff is below. > fixed, thanks. jmc > Index: roff.7 > === > RCS

fix a typo in roff(7)

2017-12-15 Thread Alexander Kuleshov
Hello, I've just noticed a little typo in the roff(7) man page (s/agument/argument). The diff is below. Index: roff.7 === RCS file: /cvs/src/share/man/man7/roff.7,v retrieving revision 1.74 diff -u -p -r1.74 roff.7 --- roff.7 5

Re: Python connect to MS SQL Server Databases

2017-12-15 Thread Stuart Henderson
On 2017/12/15 17:09, Сергей Тарасов wrote: > How can I connect in Python program to MS SQL Server Databases in OpenBSD? > > > Sergey Tarasov > It should work with py-odbc and FreeTDS.

Re: Python connect to MS SQL Server Databases

2017-12-15 Thread Remi Pointel
Le 15-12-2017 15:09, Сергей Тарасов a écrit : How can I connect in Python program to MS SQL Server Databases in OpenBSD? Hi, attached is the port of py-mssql for OpenBSD. I don't have a MS SQL server to test, so please test and if it works fine I will import it. Cheers, Remi.

Python connect to MS SQL Server Databases

2017-12-15 Thread Сергей Тарасов
How can I connect in Python program to MS SQL Server Databases in OpenBSD? Sergey Tarasov

pf divert raw sockets

2017-12-15 Thread Alexander Bluhm
Hi, With pf divert raw sockets behave differently than TCP or UDP. TCP and UDP first make an exact match without divert in_pcbhashlookup(). Then they do the divert-to match in in_pcblookup_listen(). This diff makes it consistent. Search for bound and connected sockets in raw_input() also if

Re: Add "-c command" option to script(1)

2017-12-15 Thread Job Snijders
On Thu, Dec 14, 2017 at 09:23:29AM +0100, Paul de Weerd wrote: > Another use I personally find very convenient is this: > > [weerd@pom] $ script -c "vmctl start test -c" > > Hope others see value here too :) That is a great use case. Kind regards, Job

Re: Add reset option to boot command of ddb(4)

2017-12-15 Thread Martin Pieuchot
On 14/12/17(Thu) 17:19, Artturi Alm wrote: > On Thu, Dec 14, 2017 at 02:05:36PM +0100, Martin Pieuchot wrote: > > On 14/12/17(Thu) 13:37, Florian Riehm wrote: > > > [...] > > > If the command could lead to DMA issues, I agree that we should not > > > introduce it. > > > > The problem is not only

uniq: add -i option

2017-12-15 Thread Claus Assmann
I use uniq for some log file analysis and it contained "duplicate" lines which only differ in lower/upper case (user input). Hence I added an -i flag which also exists on FreeBSD at least. Maybe it's useful to add to OpenBSD? Index: uniq.1

Re: Add "-c command" option to script(1)

2017-12-15 Thread Paul de Weerd
On Thu, Dec 14, 2017 at 08:49:18AM +, Jason McIntyre wrote: | On Thu, Dec 14, 2017 at 09:23:29AM +0100, Paul de Weerd wrote: | > Another use I personally find very convenient is this: | > | > [weerd@pom] $ script -c "vmctl start test -c" | | you could add this as an EXAMPLES section, since

Re: jot: make DOU format strings behave like ld, lo, lu

2017-12-15 Thread Theo Buehler
On Sun, Dec 10, 2017 at 03:49:21PM +0100, Theo Buehler wrote: > On Sun, Dec 10, 2017 at 03:29:51PM +0100, Theo Buehler wrote: > > The printf(3) manual says that DOU are deprecated but are supposed to > > behave the same way as ld, lo and lu. > > I forgot to say that I found this while looking

csh: NULL checks before free()

2017-12-15 Thread Michael W. Bombardieri
Hello, Previously in csh(1) the xfree() function was removed in favour of regular free(). This patch removes a couple of NULL checks before free(). - Michael PS: Thanks for putting hostname in the default prompt! Index: csh.c ===

Re: w: don't print any header with -h

2017-12-15 Thread Martijn van Duren
On 12/15/17 09:15, Sebastian Benoit wrote: > Martijn van Duren(openbsd+t...@list.imperialat.at) on 2017.12.14 14:03:24 > +0100: >> On 12/14/17 13:56, Jasper Lievisse Adriaanse wrote: >>> On Thu, Dec 14, 2017 at 01:35:18PM +0100, Martijn van Duren wrote: Hello Jasper, On 12/14/17

Re: w: don't print any header with -h

2017-12-15 Thread Sebastian Benoit
Martijn van Duren(openbsd+t...@list.imperialat.at) on 2017.12.14 14:03:24 +0100: > On 12/14/17 13:56, Jasper Lievisse Adriaanse wrote: > > On Thu, Dec 14, 2017 at 01:35:18PM +0100, Martijn van Duren wrote: > >> Hello Jasper, > >> > >> On 12/14/17 13:22, Jasper Lievisse Adriaanse wrote: > >>> Hi, >

Re: w: don't print any header with -h

2017-12-15 Thread Sebastian Benoit
ok Jasper Lievisse Adriaanse(jas...@openbsd.org) on 2017.12.14 13:22:48 +0100: > Hi, > > currently w(1) on OpenBSD differs from other implementations > (GNU/Darwin/FreeBSD/SmartOS) in that 'w -h' does print the > 'USER TTY FROM ...' header whereas the others don't. > > Is there a specific