Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2008 04:10:13 +0100
From:      Frank Shute <frank@shute.org.uk>
To:        "Sam Fourman Jr." <sfourman@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cannot open /etc/termcap
Message-ID:  <20080604031013.GA70615@melon.esperance-linux.co.uk>
In-Reply-To: <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com>
References:  <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> <86iqwsh1rh.fsf@gmail.com> <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Might work.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 




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