Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Target Communication Framework » TCF Terminals Luna BETA
TCF Terminals Luna BETA [message #1365208] Sun, 18 May 2014 21:35 Go to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Hi,

I gave the 'TCF Terminals Luna BETA' from the marketplace a try and
thought I'd pass on the things that I noticed.

The Eclipse 3.8 IDE I wanted to install the feature into does not have a
marketplace client and thus I copied the p2 URL from [1] and pasted it
into the 'Install New Software' dialog. Unfortunately the p2 repository
lists 20 or so features - but which one should I choose? The Target
Communication Framework? TCF Target Explorer? ... Core? ... SDK?
Installing the feature through the marketplace client went smooth.

Once installed, I tried the 'Local Terminal' (running on Win7 x64). The
first thing I noticed is that tab-completion does not work. I assume
that this isn't possible through a generic terminal? The same accounts
for Ctrl+C. I wasn't able to interrupt a long-running command.

Pasting text from the clipboard into the 'Local Terminal' did not work.
After pressing Shift+Insert or clicking the tool item nothing happened.
Only after I hit Return, the to-be-pasted text appeared.

I find it unfortunate to arrange the terminals in tabs. There is already
a row of tabs of the part stack and the Terminals view adds another row
of tabs within that. Wouldn't it be easier to distinguish them if they
were at least placed at the bottom (like in multi-page editors)?

After starting a Gygwin bash, things got weird. Every keystroke I
entered was doubled. E.g. typing 'ls' resulted in 'llss'. Is this a
known problem?

The key binding to switch between terminals (Ctrl+PgUp/PgDown) overrides
the workbench key binding to switch between views within the same part
stack. Other workbench parts (e.g. multi-page editors) define
Alt+PgUp/PgDown to switch between tabs within a part.

My attempt to open a second 'Local Terminal' led me to the already open
terminal. Is the restriction to a single local terminal on purpose or
did I miss something?

Regards
Rüdiger

[1] http://marketplace.eclipse.org/content/tcf-terminals
Re: TCF Terminals Luna BETA [message #1365291 is a reply to message #1365208] Sun, 18 May 2014 22:26 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1006
Registered: July 2009
Senior Member
Hello Rüdiger,

Many thanks for your detailed feedback !

The "complex" p2 repository is due to the solution itself being complex. We aggregate functionality from the TM project, CDT project and TCF project. That's why we made a marketplace entry in the first place ... in order to simplify the install. I'm glad that you finally got the install to work.

Regarding the issues you see (Tab completion not working, duplicate characters, Shift+Insert not working) I think these are all due to the same root cause: missing CDT native code fragments. These fragments are needed for the Pseudoterminal (PTY) support which require a native DLL. When we first published the Terminal BETA there was a missing dependency which we didn't notice since we all had full CDT installed.

We fixed the problem for the BETA site, so if you just reinstall (drag-and-drop marketplace icon into Eclipse) you should be good. Alternatively you could also install the full CDT Platform feature as workaround. Details are on https://bugs.eclipse.org/bugs/show_bug.cgi?id=435016 . I validated that with the CDT fragments installed on Win64, I cannot reproduce any of the issues you mentioned (tab completion, Shift+Insert, Duplicate characters).

Thanks for your note on the tabs. We'll consider the idea moving them to the bottom. But we'd also like to collect more user feedback before doing so.

The Ctrl+PgUp/PgDn shortcut isn't actually overridden by us. It's the standard shortcut for tabbing through a PageBook ... just in our case we have the nested PageBook inside the Viewstack. You can still tab through the view stack with Ctrl+F7 / Shift+Ctrl+F7 (Standard CUA shortcuts). Or you use Alt+Right in the Terminal, which maps to Ctrl+3 (Quick access) for accessing any view.

The missing ability to open multiple local terminals is already tracked in https://bugs.eclipse.org/bugs/show_bug.cgi?id=434940 and should be addressed soon.

Thanks again very much for your feedback ! We really value the time you have taken to summarize your experiences. Please keep the feedback coming ! (And favorite us onthe Marketplace and Stackoverflow if you like the plugin Smile )

Thanks,
Martin
Re: TCF Terminals Luna BETA [message #1366758 is a reply to message #1365291] Mon, 19 May 2014 13:05 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Thanks Martin, for your prompt response.

the tab completion and related issues got resolved after updating. This
solves my primary use case - having a Cygwin Bash within a view. Apart
from the annoyance that I have to start the Cygwin shell from within
after an Eclipse restart, but that to solve is probably outside the
scope of TCF.

I think for an uninitiated user, the repository that is listed in the
marketplace entry fails to simplify things when installing into Eclipse
3.x (where there is no built-in marketplace client). At least I couldn't
guess from the feature names which one to choose. I would have expected
to see a single feature that provides what the marketplace entry stands for.

The PageBook doesn't bring in the Ctrl+PgUp/PgDn binding, it is just a
Composite with a specific layout. The CTabFolder has this behavior 'out
of the box'. But apart from the technical details I still think the
Terminal view should not break common workbench behavior in that it
'interrupts' the user while he/she cycles through views. Maybe this is a
sign to not use tabs within a view altogether...

Best,
Rüdiger

On 19.05.2014 00:26, Martin Oberhuber wrote:
> Hello Rüdiger,
>
> Many thanks for your detailed feedback !
>
> The "complex" p2 repository is due to the solution itself being complex.
> We aggregate functionality from the TM project, CDT project and TCF
> project. That's why we made a marketplace entry in the first place ...
> in order to simplify the install. I'm glad that you finally got the
> install to work.
>
> Regarding the issues you see (Tab completion not working, duplicate
> characters, Shift+Insert not working) I think these are all due to the
> same root cause: missing CDT native code fragments. These fragments are
> needed for the Pseudoterminal (PTY) support which require a native DLL.
> When we first published the Terminal BETA there was a missing dependency
> which we didn't notice since we all had full CDT installed.
>
> We fixed the problem for the BETA site, so if you just reinstall
> (drag-and-drop marketplace icon into Eclipse) you should be good.
> Alternatively you could also install the full CDT Platform feature as
> workaround. Details are on
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=435016 . I validated that
> with the CDT fragments installed on Win64, I cannot reproduce any of the
> issues you mentioned (tab completion, Shift+Insert, Duplicate characters).
>
> Thanks for your note on the tabs. We'll consider the idea moving them to
> the bottom. But we'd also like to collect more user feedback before
> doing so.
>
> The Ctrl+PgUp/PgDn shortcut isn't actually overridden by us. It's the
> standard shortcut for tabbing through a PageBook ... just in our case we
> have the nested PageBook inside the Viewstack. You can still tab through
> the view stack with Ctrl+F7 / Shift+Ctrl+F7 (Standard CUA shortcuts). Or
> you use Alt+Right in the Terminal, which maps to Ctrl+3 (Quick access)
> for accessing any view.
>
> The missing ability to open multiple local terminals is already tracked
> in https://bugs.eclipse.org/bugs/show_bug.cgi?id=434940 and should be
> addressed soon.
>
> Thanks again very much for your feedback ! We really value the time you
> have taken to summarize your experiences. Please keep the feedback
> coming ! (And favorite us onthe Marketplace and Stackoverflow if you
> like the plugin :) )
>
> Thanks,
> Martin
Previous Topic:TCF with Windows CE 6.0
Next Topic:Compile error in cpudefs-mdep.c
Goto Forum:
  


Current Time: Sat Sep 22 05:13:11 GMT 2018

Powered by FUDForum. Page generated in 0.02992 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top