termcap problem

Jez Hancock jez.hancock at munk.nu
Sun Feb 8 19:51:04 PST 2004


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


More information about the freebsd-questions mailing list