Cannot open /etc/termcap
frank at shute.org.uk
Wed Jun 4 03:10:24 UTC 2008
On Mon, Jun 02, 2008 at 05:17:28AM -0500, Sam Fourman Jr. wrote:
> > > csh: Cannot open /etc/termcap.
> > > csh: using dumb terminal settings.
> > Are you sure /usr/share/misc/termcap isn't empty and accesible
> > on the target machine?
> > lrwxr-xr-x 1 root wheel 23B May 31 2007 /etc/termcap@ ->
> > /usr/share/misc/termcap
> I receive the following
> %cp /usr/share/misc/termcap /etc/termcap
> cp: /etc/termcap and /usr/share/misc/termcap are identical (not copied).
> is there a quick fix to this?
A quick fix would be to scp /usr/share/misc/termcap from your home
machine to ~/.termcap on the remote host.
Then ssh into remote host and:
$ echo "TERMCAP=$HOME/.termcap" >> ~/.ssh/environment
Log out and ssh in again.
Contact info: http://www.shute.org.uk/misc/contact.html
More information about the freebsd-questions