Problems with TermCap

Dominic Mitchell dom at happygiraffe.net
Sun Mar 16 15:17:58 GMT 2003


On Sat, Mar 15, 2003 at 10:35:37PM -0000, Richard Brumpton wrote:
>  am quite new to FreeBSD (a month!). I have just rebuilt my machine to
> FreeBSD 5-Release
> 
> Everything was working okay and I could connect via SSH to the machine...
> 
> Accidently, I delted the /usr/misc/share/termcap file.
> I grabbed the termcap.small from freebsd.org (only one I could find) and
> installed it and then ran the cap_mkdb util.
> 
> The console seems to be ok, but when I telnet in or ssh into the system I
> get an error.
> 
> Telnet says cannot read termcap database, using dumb terminal settings and
> ssh says csh: cannot open etc/termcap
> 
> Etc/termcap is a symbolic link to /usr/misc/share/termcap.
> 
> I am sure it is something simple I have missed, but would appreciate help

Sounds like you need to rerun cap_mkdb.  Try running "cap_mkdb termcap"
in /usr/share/misc, or possibly /etc.

Just a wild guess.

The other alternative might be permissions.

Actually, if you have /usr/src all installed, the best way is to go into
/usr/src/share/termcap and run "make install etc-install".

-Dom




More information about the Ukfreebsd mailing list