[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot open /etc/termcap
- To: "Sam Fourman Jr." <sfourman_(_at_)_gmail_(_dot_)_com>
- Subject: Re: Cannot open /etc/termcap
- From: Frank Shute <frank_(_at_)_shute_(_dot_)_org_(_dot_)_uk>
- Date: Wed, 4 Jun 2008 06:50:16 +0100
- Cc: freebsd-questions_(_at_)_freebsd_(_dot_)_org
- Mail-followup-to: "Sam Fourman Jr." <sfourman_(_at_)_gmail_(_dot_)_com>, freebsd-questions_(_at_)_freebsd_(_dot_)_org
- Reply-to: Frank Shute <frank_(_at_)_shute_(_dot_)_org_(_dot_)_uk>
On Tue, Jun 03, 2008 at 10:44:57PM -0500, Sam Fourman Jr. wrote:
> I had a friend help me with this. the trouble is my TERM was set to
> wsvt25 somehow. and all I had to do was set it to env TERM cons25
> and vim would compile.
You would have expected to get an error message from csh along the
lines of "$TERM not found in /etc/termcap" not "Cannot find
/etc/termcap" wouldn't you?
> I am not even sure what I did to make wsvt25 happen, other than that
> is the terminal setting I use on my OpenBSD firewall (that I have to
> ssh into first before I ssh into my samba server (the one that has
> the termcap problem)
I don't know why it would take OpenBSD's $TERM. ssh should take $TERM
from the target machine (according to the openssh manpage) which is
cons25 by default. Is there a ~/.ssh/environment with $TERM set on
your Samba server?
You might want to set it there for future use to cons25.
> Thank you for all your help
Contact info: http://www.shute.org.uk/misc/contact.html
freebsd-questions_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe_(_at_)_freebsd_(_dot_)_org"