Follow-up Comment #2, bug #54556 (project screen): I think I've tracked this down to the TERMCAP variable being larger than the max allowed -- 1023 bytes according to tic(1M).
As a workaround, you need to re-create the terminfo file for screen.xterm-256color using the legacy ncurses5 tic command, and place it in your local ~/.terminfo (since /usr/share/terminfo is protected on OSX). If you're using (eg ncurses6 on macports), /opt/local/bin/infocmp screen.xterm-256color should give you a nice terminfo source, which you can then compile with the legacy tic, eg: # /opt/local/bin/infocmp screen.xterm-256color > /tmp/screen.terminfo # /usr/bin/tic /tmp/screen.terminfo That will give you a working (local) terminfo file that ncurses5 command-line tools can use over the TERMCAP fallback. I decided to fix the issue in screen - so that I could use a more modern terminfo file for ncurses6 apps (eg 65536 color pairs, having a local ncurses5 terminfo would limit me to 32767 :), by patching screen to create a valid (<1023 byte) TERMCAP entry. I've posted my patch in bug#55482 if you want to try it out. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54556> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/