Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 09:04:58 -0400
From:      "Marty Landman" <martster@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   shell retrieve history (up arrow) not working
Message-ID:  <70063950607110604m46ad84fcscbd2027d962ed1a9@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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/



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