termcap problem

2004-02-08 Thread Vince Sabio
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?

Note: As nice as some of the other editors are, I'm really rather 
attached to vi, and have been so ever since I got my first abacus. ;-)
--

__
Vince Sabio  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: termcap problem

2004-02-08 Thread Jez Hancock
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: termcap problem

2004-02-08 Thread Vince Sabio
** Sometime around 03:51 + 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  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]