Date: Wed, 4 Jun 2008 06:50:16 +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: <20080604055016.GA71002@melon.esperance-linux.co.uk> In-Reply-To: <11167f520806032044w4556c94aq1fa5ccfc15ea5218@mail.gmail.com> References: <11167f520806011526v438bc9f1j8ccf4c174ea35761@mail.gmail.com> <11167f520806020317t223d2725y905b07b8ab3541dd@mail.gmail.com> <20080604031013.GA70615@melon.esperance-linux.co.uk> <200806040320.35720.lists-fbsd@shadypond.com> <11167f520806032044w4556c94aq1fa5ccfc15ea5218@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 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?20080604055016.GA71002>