Hello. I'm running 13.1-RELEASE. Last night I was trying to enable colors for my Windows client (PuTTY) and when trying to run anything, I got the message about putty-256color not being a valid terminal. So I tried adding it to /etc/termcap and running cap_mkdb, and after that, my system is ruined.
Pretty much every program I want to run (over ssh) says it can't access the termcap database. For example, zsh says:
bash, csh, and others say similar messages.
echo $TERM says "xterm"
I tried the following:
Pretty much every program I want to run (over ssh) says it can't access the termcap database. For example, zsh says:
Code:
Cannot read termcap database;
using dumb terminal settings.
bash, csh, and others say similar messages.
echo $TERM says "xterm"
I tried the following:
- removed the putty-256color entry
- ran cap_mkdb /etc/termcap
- deleted /etc/termcap.db
- cd /usr/local/share/misc && cap_mkdb termcap
- chmod 666 termcap*
- cd /usr/src/share/termcap && make install
- recreated the link from /usr/local/share/misc/termcap to /etc/termcap
- installing ncurses
- uninstalling ncurses
- installing screen, tmux, bash, zsh, csh to see if they try to cap_mkdb properly