I'm using new ncurses dialog (devel/cdialog) in a shell script to show the port tree and automate some port-related tasks. In solving some ncurses issues (UTF-8 display), I installed the port devel/ncurses then rebuild devel/cdialog.
Now when run an cdialog application it display in b/w, and all ports that make use of ncurses library turn display in b/w after recompilation (midnight commander, screen, tmux, etc.).
I set the env var TERMINFO
and then copied /usr/local/share/misc/terminfo.db to /usr/share/misc
I also set TERM as xterm, xterm-256color, vt100 (normally in b/w) and screen, with no changes.
Anyone installed devel/ncurses and use with success?
Update
Recompiling the port devel/p5-Curses color works.
Now when run an cdialog application it display in b/w, and all ports that make use of ncurses library turn display in b/w after recompilation (midnight commander, screen, tmux, etc.).
I set the env var TERMINFO
Code:
setenv TERMINFO /usr/local/share/misc
and then copied /usr/local/share/misc/terminfo.db to /usr/share/misc
I also set TERM as xterm, xterm-256color, vt100 (normally in b/w) and screen, with no changes.
Anyone installed devel/ncurses and use with success?
Update
Recompiling the port devel/p5-Curses color works.