From owner-freebsd-questions@FreeBSD.ORG Tue Jul 11 13:05:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9351F16A4DD for ; Tue, 11 Jul 2006 13:05:06 +0000 (UTC) (envelope-from martster@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 673D943D66 for ; Tue, 11 Jul 2006 13:04:59 +0000 (GMT) (envelope-from martster@gmail.com) Received: by wx-out-0102.google.com with SMTP id h30so1515114wxd for ; Tue, 11 Jul 2006 06:04:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=G7qT3rXABAa1vw8XR8d9/QSOLz8tDt44p33mS7BiWShcnpF7GqyOfydIm0sajpgMF+A834IEtGwIhB1h9rqFTEPt8LMaDTDCi496kOF/dZP/pH8lOFs0FugxgDN8RX+u3PL08uAmgxSdzamXq15ndG8prMMMNtq54BaA2r3gK50= Received: by 10.70.40.13 with SMTP id n13mr7405720wxn; Tue, 11 Jul 2006 06:04:58 -0700 (PDT) Received: by 10.70.117.3 with HTTP; Tue, 11 Jul 2006 06:04:58 -0700 (PDT) Message-ID: <70063950607110604m46ad84fcscbd2027d962ed1a9@mail.gmail.com> Date: Tue, 11 Jul 2006 09:04:58 -0400 From: "Marty Landman" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: shell retrieve history (up arrow) not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 13:05:06 -0000 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/