Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 08:20:58 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Alex Push <naberegu@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: termcap problems
Message-ID:  <441wspr905.fsf@be-well.ilk.org>
In-Reply-To: <E3B00604-C394-46E7-96AA-7B14BD9BF1FC@gmail.com> (Alex Push's message of "Tue, 11 Jul 2006 10:51:36 -0400")
References:  <E3B00604-C394-46E7-96AA-7B14BD9BF1FC@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alex Push <naberegu@gmail.com> writes:

> Hi All,
>
> I recently got FreeBSD 6.1-RELEASE on my server, and a couple of days
> ago I started getting this message when I ssh in:
> csh: Cannot open /etc/termcap
> csh: using dumb terminal settings
>
> This yields a very limited terminal -- I can execute basic commands,
> but can't open vi/vim ("vi: No terminal database found"), etc.
>
> I checked  /etc/termcap, and it is a symlink to /usr/share/misc/
> termcap, and that file *does* exist. I don't think it's a permissions
> problem since both termcap and termcap.db are readable to all users (- 
> r--r--r--). I rebuilt the termcap.db file (in /usr/share/misc/
> termcap)  by running "cap_mkdb termcap", but this didn't fix the
> terminal.
>
> I also tried rebuilding and reinstalling the termcap source from /usr/
> src/share/termcap, but I am still getting this error, and it's making
> my box pretty unusable.
>
> Any thoughts? Thanks a lot in advance.

Any chance that the sshd or user shell are chroot'd?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?441wspr905.fsf>