Changes basically consist of adding: --------------- cd xc/programs/xterm xmkmf sed 's/_WIDE_CHARS/_WIDE_CHARS -DOPT_256_COLORS -DDFT_TERM_TYPE=xterm-256color/' \ Makefile > Makefile~ mv Makefile~ Makefile make ---------------- to the xfree ebuild...and maybe wrapping it in a xterm256 USE test. I'd submit a patch but I figured the changes were small enough that the maintainer would likely rather find a place for them...
terminfo support is installed, but termcap isnt. Adding: xterm-256color|xterm with 256 colors like aixterm:\ :tc=xterm-16color: to /etc/termcap seems to work fine (it just behaves as a 16 color xterm in most respects). Without this, things break.
Tom, Would you try to emerge x11-terms/xterm and check please? (note, you may have to move the /usr/X11R6/bin/xterm binary out of the way, since that is first in PATH usually, and x11-term/xterm ebuild installs to /usr/bin/xterm). Note that you will also need to emerge the masked utempter ebuild.
closing