Skip to main content

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

Hi Jonah,

I have also found TM terminal and as a normal terminal it works great. If I start my application in TM terminal by hand it fully works.
So I agree connecting the Console with TM terminal should be able to solve the problem. I need some conceptual advice though.

I would appreciate very much if someone could explain how launchers are connected to the current console and how TM terminal could offer this functionality.
I also guess that I then somehow will have to disable the current console so eclipse will not accidently call it.

Christian

2016-08-18 5:22 GMT+02:00 Jonah Graham <jonah@xxxxxxxxxxxxxxxx>:

Hi Christian,

(I see you have been very patient reposting on new lists as your case is narrowed down by different people.)

What I think you are after can be done by the console used by JDT launches perhaps being based on TM Terminal (http://www.eclipse.org/tm/). TM Terminal suppprts all the normal terminal stuff, but was born out of connecting to remote clients.

What may work is bringing these two worlds together.

HTH
Jonah

~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 17 Aug 2016 08:41, "Christian Schneider" <chris@xxxxxxxxxxxxxxxxx> wrote:
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

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


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



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

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

Back to the top