db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <knut.hat...@oracle.com>
Subject Re: IJ-tool getting cursor-keys work on Solaris (bash)
Date Mon, 09 May 2011 14:29:19 GMT
Bryan Pendleton <bpendleton.derby@gmail.com> 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

Mime
View raw message