Re: [code] Re: [scinterm] [patch] Debug-builds and NetBSD-curses support

From: Mitchell <>
Date: Thu, 16 Mar 2017 21:21:48 -0400 (EDT)

Hi Robin,

On Wed, 15 Mar 2017, Robin Haberkorn wrote:

> Hello Mitchell,
> very probably you can still apply my patches - they only change single
> lines, but alright alright...
> I will resync my fork and I will also care about wattrget(), It won't be
> harder than for ncurses.

Okay, I've applied them.

> Is there really no native Curses function to get the attributes at some
> coordinate?
> There's mvwinchnstr() - wouldn't it do when we restore the the position
> afterwards with wmove()?

I'm not sure. At the time I thought I exhausted all options and settled on
the current method.

> If not, as I said, you cannot detect netbsd-curses at compile-time. There
> are no macros I would
> count on.
> I wouldn't even know how to detect it using an Autoconf check - there don't
> appear to be
> definite netbsd-curses-only functions. In SciTECO, I thus added a
> --with-interface=netbsd-curses
> site-config option.
> So for Scinterm we'd have to add a Makefile variable, or predefine a C
> macro like NETBSD_CURSES
> which could then be passed in with CURSES_FLAGS.

Okay, I'll wait for a patch from you on however you think is best to
handle this case.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Thu 16 Mar 2017 - 21:21:48 EDT

This archive was generated by hypermail 2.2.0 : Fri 17 Mar 2017 - 06:39:40 EDT