Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8CD944B5B for ; Mon, 9 May 2011 14:29:58 +0000 (UTC) Received: (qmail 60642 invoked by uid 500); 9 May 2011 14:29:58 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 60617 invoked by uid 500); 9 May 2011 14:29:58 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 60610 invoked by uid 99); 9 May 2011 14:29:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 14:29:58 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [148.87.113.121] (HELO rcsinet10.oracle.com) (148.87.113.121) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2011 14:29:49 +0000 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p49ETQGa025282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 9 May 2011 14:29:28 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p49ETPXD024903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 May 2011 14:29:25 GMT Received: from abhmt021.oracle.com (abhmt021.oracle.com [141.146.116.30]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p49ETJps016359 for ; Mon, 9 May 2011 09:29:19 -0500 Received: from localhost (/10.175.2.128) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 May 2011 07:29:18 -0700 From: Knut Anders Hatlen To: derby-user@db.apache.org Subject: Re: IJ-tool getting cursor-keys work on Solaris (bash) References: <0773A3CE9DAC7B42B8F564C52805678D037A49E8@EVS01.intern.interpay.nl> <4DC7F802.2040809@gmail.com> Mail-Followup-To: derby-user@db.apache.org Date: Mon, 09 May 2011 16:29:19 +0200 In-Reply-To: <4DC7F802.2040809@gmail.com> (Bryan Pendleton's message of "Mon, 09 May 2011 07:19:46 -0700") Message-ID: User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4DC7FA48.00BA:SCFMA922111,ss=1,fgs=0 Bryan Pendleton writes: >> I am using *ij-tool* just for look up. It works great on windows. >> When I use it on a bash-shell (Solaris) the *cursor-keys* do >> not work, but I get some strange letters typed like this: >> >> *"ij> select ^[[A^[[B^[[C^[[D* >> >> It seems that those keys are not defined in some way. They work with >> in the bash shell itself though. >> >> What has to be done, so it works, including history of the commands >> used within ij-session? > > I don't know if anyone has ever solved this. I have heard some > discussions in the > past about trying to use JLine (http://jline.sourceforge.net/), but I > don't think > I ever heard whether those attempts were successful or not. There's a wiki page describing various approaches, including how to set up JLine: http://wiki.apache.org/db-derby/CommandHistoryInIj I usually run ij in a comint buffer in Emacs, and that works pretty well. -- Knut Anders