Subject: RE: arrow keys revisited
To: 'Stefan Jeglinski' <jeglin@4pi.com>
From: Noah Dunker <ndunker@jccc.net>
List: port-mac68k
Date: 03/21/2001 16:57:39
I found that if you compile and use the bash-2.04 port for netbsd,
the arrow keys work fine.  I can't remember if they work in
environments like vi or not.  Many shells do not support the arrow
keys.

-----Original Message-----
From: Stefan Jeglinski [mailto:jeglin@4pi.com]
Sent: Wednesday, March 21, 2001 4:51 PM
To: port-mac68k@netbsd.org
Subject: arrow keys revisited


This exact question appears to have only been in the mac68k archives, 
but I never saw a solution, or maybe I saw the answer but the files 
that had to be modified were never explicitly named and I'm not 
familiar enough with NetBSD to know those by default.

My arrow keys don't work, instead sending escape sequences like ^[[A 
for the up-arrow. Rather, the arrow keys -are- working as this 
appears to be the correct escape sequence, but they may not be being 
interpreted correctly by the shell. The default shell appears to be 
csh. Where should I put or check a TERM or tty setting to try to get 
this to work? It happens in both console mode and also in any remote 
terminal window I bring up.

Another one for the mac68k FAQ that I'll contribute when I get it
resolved...


Stefan Jeglinski