shell retrieve history (up arrow) not working
Marty Landman
martster at gmail.com
Tue Jul 11 13:05:06 UTC 2006
I have a 4.8 installation with a root account and one user account. The root
account up-arrow history retrieve feature works fine, while on my user
account it doesn't, displaying instead
$ ^[[A^[[C^[[B^[[D
when I press the arrow keys in order (up, right, down, left)
What is missing to have the shell interpret these keys? I notice that when
on the user acct entering the Mysql cmd shell retrieve does work buy not on
the 'main' shell.
Here are the dir contents for each account:
mrwilhelm# ls -al /root
total 24
drwxr-xr-x 5 root wheel 512 Jul 9 04:04 .
drwxr-xr-x 17 root wheel 512 May 7 16:00 ..
drwxr-xr-x 5 root wheel 512 Jul 9 04:12 .cpan
-rw-r--r-- 2 root wheel 802 Apr 3 2003 .cshrc
-rw------- 1 root wheel 2573 Jul 9 04:50 .history
-rw-r--r-- 1 root wheel 142 Apr 3 2003 .klogin
-rw-r--r-- 1 root wheel 297 Apr 3 2003 .login
-rw------- 1 root wheel 42 May 12 16:12 .mysql_history
-rw-r--r-- 2 root wheel 251 Apr 3 2003 .profile
drwx------ 2 root wheel 512 May 11 09:13 .ssh
drwxr-xr-x 2 root wheel 512 May 26 17:08 scripts
mrwilhelm# ls -al /home/marty
total 24
drwxr-xr-x 3 marty users 512 Jul 8 21:13 .
drwxr-xr-x 4 root wheel 512 May 12 13:28 ..
-rw-r--r-- 1 marty users 771 May 7 16:00 .cshrc
-rw-r--r-- 1 marty users 0 May 11 09:28 .history
-rw-r--r-- 1 marty users 255 May 7 16:00 .login
-rw-r--r-- 1 marty users 165 May 7 16:00 .login_conf
-rw------- 1 marty users 371 May 7 16:00 .mail_aliases
-rw-r--r-- 1 marty users 331 May 7 16:00 .mailrc
-rw------- 1 marty users 811 Jul 8 21:13 .mysql_history
-rw-r--r-- 1 marty users 801 May 7 16:00 .profile
-rw------- 1 marty users 276 May 7 16:00 .rhosts
-rw-r--r-- 1 marty users 852 May 7 16:00 .shrc
drwx------ 2 marty users 512 May 9 08:56 .ssh
mrwilhelm#
Marty
--
Web Installed Formmail - http://face2interface.com/formINSTal/
Webmaster's BBS - http://bbs.face2interface.com/
More information about the freebsd-questions
mailing list