[forge-dev] jreadline instead of jline?

Julien Viet julien at julienviet.com
Fri May 11 02:57:53 EDT 2012


I had similar issues with crash using jline, never had time to investigate, if you find out tell me :-)

On May 10, 2012, at 6:49 PM, George Gastaldi wrote:

> Wonder if  any of them can solve https://issues.jboss.org/browse/FORGE-553.
> 
> jreadline seems simpler, but that´s just my opinion.
> 
> 2012/5/10 Julien Viet <julien at julienviet.com>:
>> is it available on maven central ?
>> 
>> On May 10, 2012, at 5:54 PM, Lincoln Baxter wrote:
>> 
>>> Copying the forge Dev list and Julien, since he may also be interested.
>>> 
>>> ----- Original Message -----
>>> From: "Lincoln Baxter" <lbaxter at redhat.com>
>>> To: "Ståle W. Pedersen" <spederse at redhat.com>
>>> Cc: "Mike Brock" <cbrock at redhat.com>, "Alexey Loubyansky" <alexey.loubyansky at redhat.com>
>>> Sent: Thursday, May 10, 2012 11:26:46 AM
>>> Subject: Re: jreadline
>>> 
>>> Awesome! I'd love to start trying to integrate this instead of jline. What are some key benefits that you can think of?
>>> 
>>> Where can I get the code and get started playing around?
>>> 
>>> ~Lincoln
>>> 
>>> ----- Original Message -----
>>> From: "Ståle W. Pedersen" <spederse at redhat.com>
>>> To: "Lincoln Baxter" <lbaxter at redhat.com>
>>> Cc: "Mike Brock" <cbrock at redhat.com>, "Alexey Loubyansky" <alexey.loubyansky at redhat.com>
>>> Sent: Thursday, May 10, 2012 8:15:26 AM
>>> Subject: Re: jreadline
>>> 
>>> hi, not sure if you follow the jboss-as7-dev list so i just wanted to
>>> inform you that we're in the process of switching to jreadline for
>>> jboss-cli.
>>> 
>>> im not sure if you think it would be a good fit for forge too? i know
>>> that you've almost "forked" jline into forge and done some extensions to
>>> it.
>>> - for jreadline i took the code mike wrote for console input to more
>>> easily support different keystrokes etc.
>>> 
>>> ill happily make extensions/changes to jreadline if you have any requests.
>>> 
>>> regards, ståle
>>> 
>>> On 11/30/2011 05:08 PM, Lincoln Baxter wrote:
>>>> Hey Ståle,
>>>> 
>>>> This is interesting timing, because Mike Brock actually just forked JLine because we could no longer achieve what we needed to within the constraints of their framework (again, not responding to pull requests or releasing new versions.)
>>>> 
>>>> I'm certainly interested in this! What kinds of bugs have you fixed?
>>>> 
>>>> However, mike has made some significant enhancements (such as full double-buffering) that you might be interested in as well, and I would definitely like to see convergence in this space within JBoss. Perhaps it is worth creating a new module for the "JBoss Shell" fork? We were already planning on doing this as part of Forge 2.0, but we could accelerate if needed.
>>>> 
>>>> I'd propose that Forge itself is the right project to "own" this combined sub-project, because it is a fully-blown shell implementation, as that is of of its primary functions. This way it would also get lots of attention from the community in a top-level project.
>>>> 
>>>> Mike, would you be interested in that? This would mean a much quicker realization of our shell/forge conceptual split. I think it could be done relatively easily with your help.
>>>> 
>>>> What do you think? We should include Aleksei in this thread if you feel it would be appropriate.
>>>> 
>>>> ~Lincoln
>>>> 
>>>> ----- Original Message -----
>>>> From: "Ståle W. Pedersen"<spederse at redhat.com>
>>>> To: lbaxter at redhat.com
>>>> Sent: Monday, November 28, 2011 2:18:48 PM
>>>> Subject: jreadline
>>>> 
>>>> hi, ive been working on a little "evening" project for some time called
>>>> jreadline (https://github.com/stalep/jreadline). it started as an
>>>> attempt to add vi bindings to jline, but they never applied any of the
>>>> patches i sent them so i eventually started my own little project.
>>>> 
>>>> it is starting to be mature enough to consider it for actual use so im
>>>> wondering what kind of requirements you have for jline and if you would
>>>> consider using jreadline for forge?
>>>> to be "compatible" with jline ive used similar api, but if you have any
>>>> special requests im glad for any input.
>>>> 
>>>> ive talked a bit with aleksey and he's considering using it for jboss cli.
>>>> 
>>>> ive tested jreadline on linux/osx and windows and some of the "known"
>>>> issues with jline/jline2 are not present in jreadline (although im not
>>>> saying it bug free :)
>>>> 
>>>> ståle
>>> 
>>> 
>>> --
>>> JBoss Performance Team Lead
>>> JBoss by Red Hat
>> 
>> 
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
> 
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev




More information about the forge-dev mailing list