Problems with TermCap

Richard Brumpton richard at internetsol.co.uk
Sun Mar 16 15:27:38 GMT 2003


Thanks. I have since managed to trace a termcap file (180k long) which I put
in usr/misc/share. I recompiled the datebase and it is now working fine.

Thanks all the same
Richard

----- Original Message -----
From: "Dominic Mitchell" <dom at happygiraffe.net>
To: "Richard Brumpton" <richard at internetsol.co.uk>
Cc: <freebsd-users at uk.freebsd.org>
Sent: Sunday, March 16, 2003 3:17 PM
Subject: Re: Problems with TermCap


> 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
>
> ------ FreeBSD UK Users' Group  -  Mailing List ------
> http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
>





More information about the Ukfreebsd mailing list