Drawing incorrectly with rows of different sizes
Closed this issue · 4 comments
I cannot reproduce this behavhiour on Linux, the outputs are the same as yours for version 0.9.9.
Dis you try with another terminal emulator (xterm by ex.)?
Can you join a tar containing your files so that I can be sure that they have not been altered?
Can you also give me the version of FreeBSD and of the libraries used so that I can try to reproduce your environment?
TERM=xterm-256color
FreeBSD current 1200053
I think I found the problem, I will try it on FreeBSD 10.4 and 11 as well.
The problem was that smenu
was linking with ncurses
from the base system (NCURSES_VERSION "5.9").
$ ldd /usr/local/bin/smenu
/usr/local/bin/smenu:
libncurses.so.8 => /lib/libncurses.so.8 (0x800839000)
libc.so.7 => /lib/libc.so.7 (0x800a8e000)
Linking with a new version fixed this (NCURSES VERSION "6.0").
$ ldd /usr/local/bin/smenu
/usr/local/bin/smenu:
libtinfo.so.6 => /usr/local/lib/libtinfo.so.6 (0x800839000)
libc.so.7 => /lib/libc.so.7 (0x800a74000)
Regards.
Great,
Notice that smenu only needs libtinfo if it is available and not a part or (n)curses.
Tell me if it is also fixed in FreeBSD 10.4 and 11. I'll close this issue if it is the case.
Regards.
Hi, closing this issue, it worked.
There is an old bug to separate libncurses and libtinfo in FreeBSD base https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197317
I am building now with ncurses from ports and I'll push this update in FreeBSD.
Thanks for your time.