From owner-freebsd-questions@FreeBSD.ORG Wed Jun 4 05:50:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 675A91065679 for ; Wed, 4 Jun 2008 05:50:23 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from mailout.zetnet.co.uk (mailout.zetnet.co.uk [194.247.47.231]) by mx1.freebsd.org (Postfix) with ESMTP id 189418FC18 for ; Wed, 4 Jun 2008 05:50:22 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from irwell.zetnet.co.uk ([194.247.47.48] helo=zetnet.co.uk) by mailout.zetnet.co.uk with esmtp (Exim 4.63) (envelope-from ) id 1K3lt7-0002CY-Sv; Wed, 04 Jun 2008 06:50:21 +0100 Received: from melon.esperance-linux.co.uk (54-144.adsl.zetnet.co.uk [194.247.54.144]) by zetnet.co.uk (8.14.1/8.14.1/Debian-9) with ESMTP id m545oLWU019897; Wed, 4 Jun 2008 06:50:21 +0100 Received: by melon.esperance-linux.co.uk (Postfix, from userid 1001) id 28B32FCA4AF; Wed, 4 Jun 2008 06:50:16 +0100 (BST) Date: Wed, 4 Jun 2008 06:50:16 +0100 From: Frank Shute To: "Sam Fourman Jr." Message-ID: <20080604055016.GA71002@melon.esperance-linux.co.uk> Mail-Followup-To: "Sam Fourman Jr." , freebsd-questions@freebsd.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11167f520806032044w4556c94aq1fa5ccfc15ea5218@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 6.3-RELEASE-p2 i386 X-Organisation: 'Esperance Linux' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (zetnet.co.uk [194.247.46.1]); Wed, 04 Jun 2008 06:50:21 +0100 (BST) Cc: freebsd-questions@freebsd.org Subject: Re: Cannot open /etc/termcap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2008 05:50:23 -0000 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