xterm 256 colours after migration to terminfo in -current
by Gerard Lally from LinuxQuestions.org on (#4PZNJ)
I'm sorry to bother you all with this again. I can't find my terminal setup notes, and I've been fairly religious about keeping notes for years now. Although I'm not even sure I ever solved this particular issue.
What is the correct way to set xterm-256color, now that Slackware has moved from termcap to terminfo? I used to add xterm-256color to /etc/termcap.
Even adding XTerm*termName:xterm-256color to ~/.Xresources doesn't work: tput colors still gives me only 8. And echo $TERM reports xterm, not even xterm-new.


What is the correct way to set xterm-256color, now that Slackware has moved from termcap to terminfo? I used to add xterm-256color to /etc/termcap.
Even adding XTerm*termName:xterm-256color to ~/.Xresources doesn't work: tput colors still gives me only 8. And echo $TERM reports xterm, not even xterm-new.