Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-23 Thread Nicholas Marriott
Hi You need to explicitly configure upstream ncurses with --enable-sigwinch so many other platforms do not enable it either. They must also have been affected when ncurses made USE_SIZECHANGE depend on it. We have never had USE_SIGWINCH on. On Fri, Apr 22, 2011 at 08:24:34PM +0100, Mikolaj

Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-23 Thread Nicholas Marriott
Sorry, I'm lying, it is on by default without --enable-sigwinch. Still, that doesn't mean it's a good idea. On Sat, Apr 23, 2011 at 08:07:00AM +0100, Nicholas Marriott wrote: Hi You need to explicitly configure upstream ncurses with --enable-sigwinch so many other platforms do not enable it

ncurses 5.7 update and define USE_SIGWINCH

2011-04-22 Thread Mikolaj Kucharski
Hi, I was troubleshooting issue with window resize in net/ekg. In the past it was working properly, but stopped. I figured out that breakage happened between OpenBSD 4.6 and 4.7, when ncurses was updated. I've recompiled ncurses with -DTRACE and and used it with very simple program to test (see

Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-22 Thread Mikolaj Kucharski
On Fri, Apr 22, 2011 at 01:33:14PM -0600, Theo de Raadt wrote: Is there any reason why USE_SIGWINCH is not defined to 1 in current OpenBSD (in ncurses_cfg.h)? Yes. Libraries should not use signals like that. We could start off by pointing out that the code it enables in curses is NOT

Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-22 Thread Matthias Kilian
Hi, On Fri, Apr 22, 2011 at 08:55:35PM +0100, Mikolaj Kucharski wrote: Ok. What options do I have to fix net/ekg? Compare it with mutt or irssi (they aren't affected by USE_SIGWINCH define) and leave libcurses as it is or is there any way to bring back behaviour from ncurses 5.2 to 5.7? You

Re: ncurses 5.7 update and define USE_SIGWINCH

2011-04-22 Thread Mikolaj Kucharski
On Fri, Apr 22, 2011 at 10:08:59PM +0200, Matthias Kilian wrote: Hi, On Fri, Apr 22, 2011 at 08:55:35PM +0100, Mikolaj Kucharski wrote: Ok. What options do I have to fix net/ekg? Compare it with mutt or irssi (they aren't affected by USE_SIGWINCH define) and leave libcurses as it is or