perl 5.14 ncursesw: calling getbegyx() crashes

2013-04-07 Thread D. Schüler
Hello Mailinglist! i'm using cygwin together with perl 5.14 and the Curses::UI perl module. It uses the ncursesw library bundled with cygwin. Installing the Curses::UI worked well using cpan, but using the ncurses functions like getyx() from the demo-script bundled with the curses module crahes p

Re: perl 5.14 ncursesw: calling getbegyx() crashes

2013-04-08 Thread D. Schüler
Am 07.04.2013 16:46, schrieb Ken Brown: >> ~/Curses-1.28 $ export CURSES_LDFLAGS="-L/usr/lib/ncurses -lncurses" >> ~/Curses-1.28 $ export CURSES_CFLAGS="-I/usr/include/ncurses" > > ...you need -L/usr/lib/ncursesw and -I/usr/include/ncursesw. > > Ken I tried it even with that compiler options.

Re: perl 5.14 ncursesw: calling getbegyx() crashes

2013-04-10 Thread D. Schüler
I got it working! And it's no issue with cygwin. I had to build the Curses library by hand and edit the testsym.c and list.syms. I suppose that the original version will compile fine on Linux, but the compiler in cygwin complains about the "LINES" constant in list.syms. So here's what i've done.