From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 19:51:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43B1716A4CE for ; Sun, 8 Feb 2004 19:51:04 -0800 (PST) Received: from munk.nu (mail.munk.nu [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03DCF43D1D for ; Sun, 8 Feb 2004 19:51:04 -0800 (PST) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.30; FreeBSD) id 1Aq2Rq-0005nX-JB; Mon, 09 Feb 2004 03:51:02 +0000 Date: Mon, 9 Feb 2004 03:51:02 +0000 From: Jez Hancock To: Vince Sabio Message-ID: <20040209035102.GA8842@users.munk.nu> Mail-Followup-To: Vince Sabio , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: Jez Hancock cc: freebsd-questions@freebsd.org Subject: Re: termcap problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 03:51:04 -0000 On Sun, Feb 08, 2004 at 10:35:59PM -0500, Vince Sabio wrote: > I have a relatively new installation of FreeBSD v5.1, and the machine > has just been staged at my co-lo site. So far, everything works well, > except for a minor vi problem: I cannot navigate using the arrow > keys. I can navigate using control keys, but not via the arrow keys. > > I'm now accessing the server over ssh via a terminal window on a Mac > laptop running OS X (a new & distant relative of FreeBSD, FWIW). I > access lots of machines this way, including a Solaris machine, a > couple of Linux boxen, and at least one other FreeBSD machine (not > mine), and I don't have this problem on any of them. I assume it's a > termcap problem, but I don't know how to fix it. Any ideas? Have you tried setting the TERM env variable to 'xterm' or 'xterm-color' in your .cshrc file (or the rc file for the shell you use)? -- Jez Hancock - System Administrator / PHP Developer http://munk.nu/ http://jez.hancock-family.com/ - Another FreeBSD Diary http://ipfwstats.sf.net/ - ipfw peruser traffic logging