Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-09-20 Thread Valery Ushakov
On Tue, Sep 21, 2021 at 07:43:28 +0930, Brett Lymn wrote: > On Mon, Sep 20, 2021 at 02:44:21PM +0300, Valery Ushakov wrote: > > > > > > Not always. You are right it is ttys that is doing it. The bug was > > > that cursor down with onlcr on always moved the cursor to the first > > > column of

Re: eventfd(2) definition in /usr/include/sys/eventfd.h

2021-09-20 Thread Jason Thorpe
> On Sep 20, 2021, at 8:42 PM, Ryo ONODERA wrote: > > Hi, > > Thanks for your great work!!! > > C++ programs, for example pkgsrc/net/zeromq, use eventfd(2) > however /usr/include/sys/eventfd.h does not support C++ use. > > Could you use __BEGIN_DECLS/__END_DECLS? Oh! Yes, please feel

eventfd(2) definition in /usr/include/sys/eventfd.h

2021-09-20 Thread Ryo ONODERA
Hi, Thanks for your great work!!! C++ programs, for example pkgsrc/net/zeromq, use eventfd(2) however /usr/include/sys/eventfd.h does not support C++ use. Could you use __BEGIN_DECLS/__END_DECLS? My idea is as follows: Index: sys/sys/eventfd.h

daily CVS update output

2021-09-20 Thread NetBSD source update
Updating src tree: P src/sys/arch/arm/cortex/gic_splfuncs.c P src/sys/arch/arm/fdt/fdt_intr.h P src/sys/arch/arm/pic/pic_splfuncs.c P src/sys/arch/arm/pic/picvar.h P src/sys/arch/luna68k/dev/lunaws.c P src/sys/dev/pci/if_mcx.c P src/sys/dev/pci/if_msk.c P src/sys/kern/sys_eventfd.c P

Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-09-20 Thread Brett Lymn
On Mon, Sep 20, 2021 at 02:44:21PM +0300, Valery Ushakov wrote: > > > > Not always. You are right it is ttys that is doing it. The bug was > > that cursor down with onlcr on always moved the cursor to the first > > column of the next line. > > Right, right, and my question is: why do we have

Re: help getting SPI interface to work

2021-09-20 Thread Dave Tyson
On Monday 20 Sep 2021 09:34:21 Michael van Elst wrote: > dty...@anduin.org.uk (Dave Tyson) writes: > >/dev/spi0 is defined which is a good start:: > > > >[ 1.03] sun4ispi0 at simplebus1: SPI > >[ 1.03] sun4ispi0: interrupting on GIC irq 42 > >[ 1.03] spi0 at sun4ispi0: SPI

Re: Help with libcurses and lynx under NetBSD-9 and -current?

2021-09-20 Thread Valery Ushakov
On Mon, Sep 20, 2021 at 07:37:55 +0930, Brett Lymn wrote: > On Fri, Sep 17, 2021 at 02:32:39PM +0300, Valery Ushakov wrote: > > > > Huh?! ^J does NOT have that side effect, ttys onlcr does. Which > > should be turned off for curses output, shouldn't it? > > > > Not always. You are right it

Re: help getting SPI interface to work

2021-09-20 Thread Michael van Elst
dty...@anduin.org.uk (Dave Tyson) writes: >/dev/spi0 is defined which is a good start:: >[ 1.03] sun4ispi0 at simplebus1: SPI >[ 1.03] sun4ispi0: interrupting on GIC irq 42 >[ 1.03] spi0 at sun4ispi0: SPI bus >The board has the SPI mos1/miso/clk together with cs0 and