It is currently Tue, 07 Dec 2021 01:50:08 GMT



 
Author Message
 Arrow keys in tcsh don't work
Hello

I have a problem with the arrow keys on the console. It is
not possible to scroll through the command history using the
up-arrow.

Though under certain conditions it works. When running under
X no problem, I guess that's  because X takes care of the
keyboard itself. When scrolling man pages, the arrow keys
work. When using bash they work as well.

I am running RedHat 6.0 which I updated from 5.2. Any idea
what's the problem?

Thank you very much,

Tobias

--
*********************************************************************
Tobias Vancura                  Email: tvancura at solid.phys.ethz.ch



 Tue, 25 Dec 2001 03:00:00 GMT   
 Arrow keys in tcsh don't work
And they don't work either when I am logged in via ssh or
rlogin from another computer.


 Tue, 25 Dec 2001 03:00:00 GMT   
 Arrow keys in tcsh don't work
tcsh is a c-shell clone isn't it?  In c-shell, the "arrow keys" don't do
anything.  There is a history command that works similarly.

type:
set history=50
to tell c shell how long to maintain your history

type:
history
to see what's in your history buffer.  It'll show you something like:

     1  20:07   set history=50
     2  20:08   ls -al
     3  20:08   history
     4  20:08   cd /my_{*filter*}-pictures
     5  20:08   WOWEE
to repeat command number 2 enter:
!2

csh was written in the days when terminals could not be assumed to be
standard.  Arrow keys didn't necessarily exist and when they did no one
could guess what they mapped to.

Has this changed?  Does tcsh implement some non-standard c-shell
behavior in this regard?



 Wed, 26 Dec 2001 03:00:00 GMT   
 Arrow keys in tcsh don't work

then it's a problem with your terminal description (what do you have $TERM
set to, and is tcsh linked against termcap or ncurses).

--
Thomas E.{*filter*}ey
dic...@clark.net
http://www.**-**.com/



 Wed, 26 Dec 2001 03:00:00 GMT   
 Arrow keys in tcsh don't work
: Tobias Vancura <tvanc...@tresor.ethz.ch> wrote:
:> I have a problem with the arrow keys on the console. It is
:> not possible to scroll through the command history using the
:> up-arrow.

: then it's a problem with your terminal description (what do you have $TERM
: set to, and is tcsh linked against termcap or ncurses).

echo $TERM
gives xterm

how do I find out about the second question? It's the standard RedHat 6.0
distribution.

: --
: Thomas E.{*filter*}ey
: dic...@clark.net
: http://www.**-**.com/

Thanks, Tobas



 Sun, 30 Dec 2001 03:00:00 GMT   
 Arrow keys in tcsh don't work

        ldd `which tcsh`

should show either libtermcap.so or libncurses.so

(I'm not using Redhat)

--
Thomas E.{*filter*}ey
dic...@clark.net
http://www.**-**.com/



 Sun, 30 Dec 2001 03:00:00 GMT   
 Arrow keys in tcsh don't work

It is linked againt libtermcap.so.2.

I dont know what I changed, but in any case the problem is
gone now. I think it  was connected to the xterm I was
using. It is KDE's konsole.

Thanks a lot for the help.

Tobias

--
*********************************************************************
Tobias Vancura                  Email: tvancura at solid.phys.ethz.ch



 Sun, 06 Jan 2002 03:00:00 GMT   
 
   [ 7 post ] 

Similar Threads

1. TCSH - arrow keys don't work

2. Arrow keys don't work in CDE

3. Arrow Keys don't work in Java Applet on Netscape on SunOS

4. numeric keypad arrow keys don't work in XFree 3.1.1

5. arrow keys don't work in KDE

6. hpterm arrow keys not working in tcsh

7. XFree32: up/down arrow keys and mouse cut/paste don;t work

8. Mandrake 6.5 - tcsh & arrow keys

9. Arrow keys in tcsh


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software