From owner-freebsd-questions@FreeBSD.ORG Sun Feb 8 20:32:57 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 6620916A4D1 for ; Sun, 8 Feb 2004 20:32:57 -0800 (PST) Received: from mail.vjs.org (achilles.vjs.org [209.163.107.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3881F43D1F for ; Sun, 8 Feb 2004 20:32:57 -0800 (PST) (envelope-from vince@vjs.org) Received: from [192.168.0.2] (209.163.107.229) by mail.vjs.org with ESMTP (Eudora Internet Mail Server 3.1.4) for ; Sun, 8 Feb 2004 23:32:57 -0500 Mime-Version: 1.0 Message-Id: X-Mailer: Eudora 8.0b19 for Cray SV-2 (beta release), unregistered Date: Sun, 8 Feb 2004 23:33:05 -0500 To: freebsd-questions@freebsd.org From: Vince Sabio Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 04:32:57 -0000 ** Sometime around 03:51 +0000 02/09/2004, Jez Hancock said: >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)? That did it -- thanks! (TERM=xterm-color; export TERM) in ~/.profile. -- __________________________________________________________________________ Vince Sabio vince@vjs.org