Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 14:23:20 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        addymin@pacbell.net
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Beginner's question about csh/tcsh
Message-ID:  <200404151823.i3FINKY19136@clunix.cl.msu.edu>
In-Reply-To: <407ED13F.1060209@pacbell.net> from "Mike" at Apr 15, 2004 11:15:27 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Greetings:
> 
> I have a FreeBSD 4.9-stable server up and running and I ran across an 
> error (most likely mine) while using csh.
> 
> I normally use the UP and DOWN arrow keys to access the command history. 
>    However, this morning instead being able to go through the .history 
> file with the arrow keys (the arrow keys that are not part of the 
> numeric keypad), I get a "^[[A"  when using the up arrow key and a 
> "^[[B" when using the down arrow key.
> 
> I've tried to clear the .history file but I still get it.  I've also 
> tired to google through about 50 doc's and tutorials and through the 
> freebsd-questions archive but... no joy.
> 
> Any hints or questions would be appreciated.  Thank you.

Are you sure your shell was csh/tcsh?
Which account were ou logged in under?   Were you SUed to root?

It sounds like you are using an account with /bin/sh as a shell
or some other one that doesn't know about the tcsh history editing.

For example, unless you change it, root uses sh for a shell.

////jerry

> 
> Michael Chinn
> _______________________________________________



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404151823.i3FINKY19136>