[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Support advanced shell features in eclipse console window when launching a java program

I may be wrong, but I think the limitations are on the Eclipse console view implementation.  You may want to try posting a message to https://dev.eclipse.org/mailman/listinfo/jdt-debug-devto get details on enabling that for the eclipse console.

Tom





From:        Christian Schneider <chris@xxxxxxxxxxxxxxxxx>
To:        equinox-dev@xxxxxxxxxxx
Date:        08/17/2016 07:15 AM
Subject:        [equinox-dev] Support advanced shell features in eclipse console window when launching a java program
Sent by:        equinox-dev-bounces@xxxxxxxxxxx




My use case is to start an OSGi framework with the gogo shell from eclipse
and have support for all the shell features like in a linux terminal.

There is a new gogo jline console which has very nice features like
completion, history, colors (like in karaf).
Seehttps://github.com/apache/felix/tree/trunk/gogo/jline

When I run my OSGi application outside of eclipse all these features work
nicely.

When I start the application from inside eclipse it is started in a console
window. There the input seems to work completely different. For example if I
type the up key the cursor goes up instead of showing the history.

It seems like the input is first processed for the whole line before it is
given to the application.

Some people hinted me that there might be some raw mode that can be switched
on.

So my question: Is it possible to use such advanced input using the console
window?
If it is not yet possible I would be very interested to get this
implemented. I am also willing to help if I can but I am a bit lost on how
it all works together and where to start.

Christian

--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev