A fully working command-line Terminal inside Eclipse (renamed from "TCF Terminals").
Just press Ctrl+Alt+T to open a local command prompt (Terminal). That's all - it just works :) Previous sessions are remembered and auto-reconnected on quit and restart. Supports Windows, Linux and Mac.
For additional options or remote sessions, use Ctrl+Alt+Shift+T or click the "Terminal" toolbar button. Supports SSH, Telnet or Serial line. Full ANSI cursor control, readline and coloring, Use vi, emacs or similar programs on any remote host.
In the Terminal, type Alt+Up to maximize or restore it. Use Alt+Right for quick access to other Eclipse views. Type Ctrl+PgUp/PgDn to switch between multiple Terminal Tabs. See Preferences > Terminal for additional options like registering custom shell environments (like Git Bash, Cygwin, or just custom PATH settings).
Enhancements and Fixes in 4.0 20150430 (Mars M7):
- Restructured from TCF into TM to simplify code, reduce plugins and promote contributions
Enhancements and Fixes in 1.2.1 (Luna SR2) - full list at http://eclip.se/3E
- Faster access to local Terminal: Ctrl+Alt+T works on selection or active editor, while Ctrl+Alt+Shift+T provides an option dialog to use for remote terminals. Also, added "Show In" (Alt+Shift+W) support for many perspectives [435158, 435015]
- New Preference for the default startup directory of the local terminal, and custom "Show-In" menus [454965, 435014]
- Additional xterm emulation support for copy-and-paste across line breaks [453393, 458218, 458398, 458402]
- Reduced dependencies - Terminal pulls in fewer plugins now
- Fixed typing accent, umlaut and other non-English characters in the Terminal [448144]
- Fixed restoring encoding of terminal sessions after restart [443046]
- Fixed race condition that caused initial wrapping at 80 chars sometimes [435107, 460303]
Found an issue? - Please report a bug!
Interested in requesting enhancements, or participating?
Brought to you by the Eclipse TCF and Eclipse TM Committers from Wind River, with help from winpty@github, Mirko Raner, CDT, and many other Community Members.
Reviews Sign in to post reviews
Gradle output spoiled
Submitted by Markus Pscheidt on Tue, 2018-02-06 08:38
Gradle scripts apparently use special characters to e.g. position the cursor. This spoils the output of Gradle scripts in the TM Terminal.
For example:
Re: Gradle output spoiled
Submitted by Martin Oberhuber on Sat, 2018-02-10 06:16
Hi Markus, your output looks like escape characters are swallowed by something outside the Terminal. Is this on Windows? - I suggest you file a bugzilla with details for discusson. See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=529970#c2 with some ideas on analyzing the issue. Thanks!
Does not work in Eclipse Oxygen / Java 9 with High Sierra!
Submitted by François Lejosne on Sat, 2017-11-04 09:41
A White screen when I open it. Oomph reinstall it when I remove it ...
Re: Does not work in Eclipse Oxygen / Java 9 with High Sierra!
Submitted by Paul Verest on Mon, 2018-01-22 01:27
That is OS issue similar to https://github.com/spring-projects/spring-ide/issues/196
and it should gone with OS update
Re: Does not work in Eclipse Oxygen / Java 9 with High Sierra!
Submitted by Martin Oberhuber on Tue, 2017-11-07 15:19
Please report a bug [http://eclip.se/4a] for further discussion. Let us know your config there (exact version of Eclipse and host OS). Ideally attach the output from Help > About > Installation Details > Configuration.
Prompt does not show in Eclipse Oxygen with High Sierra
Submitted by Gabriel Valencia on Thu, 2017-09-21 10:50
Updated to High Sierra and now the prompt or anything I type does not show. Only the result of commands. ANSI escape sequences are also not showing up since I have the plugin to support coloring them.
Re: Prompt does not show in Eclipse Oxygen with High Sierra
Submitted by Martin Oberhuber on Mon, 2017-09-25 12:27
Thanks Gabriel, the issue is fixed by updating the CDT Native Utilities to Oxygen.1 :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522590
neon3 could not use terminator by serial??
Submitted by Sheng Yang on Tue, 2017-09-12 07:40
I use neon3 for embedded development,and i always use serial connect with my board.So i need to download terminator and install,after i installed termintor ,i still couldn't connect with my board,as :i search ,someone said still need install rxtx,and after i install rxtx, i still could not see COM* ???what's wrong maybe??
Character encoding issue in TM terminal plugin in Eclipse
Submitted by Gunjan Aggarwal on Mon, 2017-08-28 12:31
Hi,
I am using TM Terminal to run a Terminal inside Eclipse. I use it to launch afl-fuzzer inside Eclipse. Somehow character encoding in the Terminal in Eclipse is different from when I run the process in Linux terminal itself outside Eclipse.
I am not able to add screenshots here, so I created a stack overflow post about this issue stackoverflow.com/questions/45923342/character-encoding-in-tm-terminal-plugin-in-eclipse
Please suggest how to fix character encoding in Terminal inside Eclipse.
Thanks,
Gunjan
Re: Character encoding issue in TM terminal plugin in Eclipse
Submitted by Martin Oberhuber on Tue, 2017-08-29 12:51
Thanks for your report! - This is discussed on https://www.eclipse.org/forums/index.php/m/1771640/ now.
Newline Handling
Submitted by Steven Johnson on Sat, 2017-04-29 22:47
It appears the serial terminal REQUIRES CR/LF sequences to do a newline.
'\n' Linefeed which is the typical newline for C based systems (Unix and embedded targets) just does a strict linefeed, not a newline. Is there a way to make the serial terminal respect the behaviour of the target and interpret the line ending sequence according to its requirements? Ideally one would be able to choose for a session what Newline sequence is being employed by a target.
using with zsh
Submitted by Sriram Bhami on Sat, 2017-04-08 08:28
Hi, I am trying to use zsh as my terminal on mac. that works. Now when I come to eclipse TM terminal, the zsh configuration is not as it is on zsh. Now I do not know how to reset it back to regular default configuration. Anyone has an idea for using the beautiful zsh color themes in Eclipse TM terminal.
This is how i set it up for my mac using wesbos cobalt2 theme available on github . I was hoping this will come to TM Terminal. But not. In terminal there is a preference to use /bin/bash or /bin/zsh. Can I also somehow bring this colorful zsh into TM terminal ?
Thank you
Re: using with zsh
Submitted by Oliver HD on Mon, 2017-08-07 09:18
as answered below - add --login to arguments in settings
overlapped letters
Submitted by YINGZHOU WU on Thu, 2017-03-09 08:47
I found a little bit delay of showing the letters when typing in the terminal result in overlapped letters. I love this plugin, please help! I am using Neon1 and Mac.
Re: overlapped letters
Submitted by Martin Oberhuber on Mon, 2017-03-13 16:03
If you are on a Macbook with Retina screen perhaps this is your problem: https://bugs.eclipse.org/bugs/show_bug.cgi?id=475422 it's fixed in Neon.2 so you might want to try updating. If your problem is different, please report with more details (maybe screenshot attached) on Eclipse Bugzilla.
Question
Submitted by Tianying Zhao on Sat, 2017-03-25 23:42
Hi all, I'm running Scala IDE within Eclipse. I installed a plugin "sbteclipse" through OSX Terminal so that I can manage Scala libraries. When I use command like "$ sbt run " in OSX Terminal, it works fine, but when I use this command in Eclipse Terminal, it tells me "Command not found". How should I solve this problem? Do I need to re-install all the plugins again within TM Terminal?
Thanks
Re: Question
Submitted by Martin Oberhuber on Mon, 2017-03-27 10:27
Most likely, paths from /etc/paths are missing in the environment of the shell that you launch. To get them, go to Eclipse > Preferences, Terminal > Local Terminal and specify "/bin/bash" as program with "--login" as arguments. See also here:
https://marketplace.eclipse.org/comment/4259#comment-4259
Letter overlapped
Submitted by YINGZHOU WU on Thu, 2017-03-09 08:34
When typing in the TM terminal, there is a little bit delay for showing the letter result in overlapped letters. I am using Neon1 and Mac, I love this plugin and please help!
Question
Submitted by Maciej Bielinski on Wed, 2017-01-11 03:02
Cool and useful plugin!
Anyway i have a question about it. Is there a way to open a TM terminal with environment variables set and command executed (for example running a debug-server)? Is there a way to run this kind of a 'running configuration'? I am trying to add a button for this but I don't where to start searching for the solution.
Greetings,
Re: Question
Submitted by Bob Rockefeller on Tue, 2017-02-14 07:24
From Martin:
"To get what you want, use Preferences > Terminal > Local Terminal , and specify "Arguments" as --login"
Is that what you need?
Missing command paths
Submitted by Giovanni Lovato on Thu, 2016-12-15 03:08
On Mac OS X the terminal is missing `PATH`s, which are listed in `/etc/paths`. An option to open a login shell would be useful to workaround this, since running `bash -l` works.
Yup, there's a Preference for this :)
Submitted by Martin Oberhuber on Tue, 2016-12-20 13:02
To get what you want, use Preferences > Terminal > Local Terminal , and specify "Arguments" as --login
Arguably on Mac OSX, this could perhaps be the default... on Linux I'm not so sure since users may launch Eclipse from an environment already preset with the PATH they desire.
How about remembering directory upon restart?
Submitted by Markus Pscheidt on Mon, 2016-12-12 04:18
The plugin is useful and makes life easier. Thanks!
When restarting Eclipse, the current directory is lost. Any chance that open terminal windows could remember the current directory when closing Eclipse and "cd" to the same directory upon restart?
This would be non-trivial
Submitted by Martin Oberhuber on Tue, 2016-12-20 13:08
I'm afraid it is non-trivial listening to an arbitrary remote system to determine what the current directory actually is. Keep in mind that there could be symbolic links, relative paths, or actually a different program running on the remote that doesn't behave like a shell at all.
That said, we would be open to contributions along these lines, please create a bugzilla enhancement request if you're interested.
I love it!
Submitted by Rene Hermenau on Sat, 2016-11-05 11:02
I switched from netbeans to eclipse because of a serious netbeans bug and this was the missing link which keeps me from switching back!
Btw. the link to the support page is 404
Don't be afraid, i don't need support for it;)
Thanks for this really handy tool.
Thanks for the kind words :)
Submitted by Martin Oberhuber on Mon, 2016-11-28 06:26
Thans for the kind words, I've fixed the support link :)
Custom $PATH
Submitted by Akil Mussa on Mon, 2016-08-29 19:58
Thanks for this great plugin.
I successfully installed on Eclipse Neon.
But I down know how to configure it to add "/usr/local/bin/" to $PATH
How can I do it?
Thank you.
AM.
Set $PATH before launching Eclipse
Submitted by Martin Oberhuber on Mon, 2016-11-28 06:30
Hi Akil, you should set your PATH before launching Eclipse. If you have a use-case where that is not sufficient, please file an enhancement request on bugzilla.
How to open Terminal from Custom server view.
Submitted by Abhishek S on Wed, 2016-07-20 03:13
In my server view, I have some custom remote servers. I want to add same Terminal feature to it through context menu. Can you please share the core API through which if I provide host,username,password,directory then the API opens the Terminal View for given details.
Thanks
See the RSE plugin for example
Submitted by Martin Oberhuber on Fri, 2016-07-22 05:07
What you want to do sounds similar to the Terminal's menu extension for RSE. See the code here:
https://git.eclipse.org/c/tm/org.eclipse.tm.terminal.git/tree/plugins/or...
Great! But why can't I use certain same commands?
Submitted by Doug Beney on Thu, 2016-07-07 15:33
Hello,
Hope this isn't a stupid question. I'm using this plugin inside of Nodeclipse/Enide Studio.
The basic commands work in your terminal plugin (cd, ls, etc), but why can't I run commands such as "node app.js" or anything like that?
You should have it all. Maybe
Submitted by Paul Verest on Wed, 2016-07-13 05:09
You should have it all. Maybe you just need to close and open Eclipse after you installed Node.js
Better place to ask questions is http://stackoverflow.com/questions/tagged/nodeclipse
Can't open new terminal window
Submitted by Paul Steneram Bibby on Wed, 2016-07-06 09:18
Hello!
I've been using the TM Terminal for a while now, and I've been very pleased with it.
Now however, for some reason, I can no longer open new terminal windows. I can see the Terminal View, but when I click on "Open a Terminal" and select "Local Terminal" and Encoding: "UTF-8", and then click on OK... nothing happens. The Terminal View remains gray.
This used to work. I've tried reinstalling it, but no luck. Any help would be appreciated!
Regards
Paul
Hi Paul
Submitted by Martin Oberhuber on Thu, 2016-07-07 14:24
Hi Paul, please file a Bugzilla defect for discussion:
https://bugs.eclipse.org/bugs/enter_bug.cgi?component=Terminal&form_name...
What is your host OS (Windows 10? Any updates done recently?)
Great Plugin!
Submitted by Or Enzer on Mon, 2016-05-23 04:11
Thank you very much for your effort in implementing this great terminal.
Regarding the "auto connecting previous sessions" feature - is it possible to disable it? I would like all sessions to close as soon as I terminate eclipse.
Thank you!
Turning off auto-reconnect
Submitted by Martin Oberhuber on Tue, 2016-05-24 05:49
Turning off auto-reconnect isn't possible today, but shouldn't be hard to add. Would you mind filing a Bugzilla Enhancement Request as a start ?
Nice and Excellent ~
Submitted by Harry Hyeongseok Heo on Thu, 2016-04-14 21:19
Hi~ Martin!
Thanks for your effort for this great Terminal in Eclipse.
One thing I want is the feature of changing background color for Terminal.
Change background color
Submitted by Martin Oberhuber on Fri, 2016-07-22 05:54
As a workaround, you can echo escape sequences on the remote - for details (or contributions) see here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206220#c4
Thanks Harry :) You can
Submitted by Martin Oberhuber on Fri, 2016-04-15 14:01
Thanks Harry :) You can invert the Terminal colors in Preferences > Terminal to get a black background. That's also set automatically with Dark Theme. Setting "any" background color would not quite feel right to me, since the remote side really requests colors through ANSI codes ... on the other hand, the request has come a couple times, so we'd appreciate a contribution along these lines.
Nice Work!
Submitted by Robert S. Liotta on Fri, 2016-03-25 08:53
Hello. I was wondering if you can start a terminal from a run configuration and pass arguments to make a connection?
No Launch Integration (yet)
Submitted by Martin Oberhuber on Fri, 2016-04-15 14:24
Hi Robert, we don't have an integration of Terminal with the Launch Configuration / External Tool Launches as of today. The older RSE Terminal did have that a couple years ago, so maybe some code could be re-used; contributions would be welcome, ideally by first filing an enhancement request on bugzilla to discuss the details :)
Eclipse Enviroment variables
Submitted by Sendery Lutson on Wed, 2016-02-03 02:56
Is there any way to access the Eclipse enviroment variables (such us: LOC_WORKSPACE) trough a shell/local terminal?
Yes, environment variables
Submitted by Martin Oberhuber on Thu, 2016-02-18 12:48
Yes, environment variables ECLIPSE_HOME and ECLIPSE_WORKSPACE are set for you automatically in the "Local Terminal".
Other variables are not exposed by default, but I think that writing code to expose them should not be too hard if you search the existing source code for the string ECLIPSE_WORKSPACE.
Enviroment Variables Eclipse
Submitted by Sendery Lutson on Wed, 2016-02-03 02:53
Is there anyway to acces the Eclipse Variables (such us LOC_WORKSPACE, ...) trough the shell/local terminal opened by Eclipse??
Unhandled event loop exception in terminal plugin
Submitted by Nimo Mayr on Sat, 2015-10-10 22:30
I have a fresh install of eclipse mars sr1 and the terminal plugin does not work out of the box, because of the following error:
https://dev.eclipse.org/recommenders/community/confess/#/incidents/58vEK...
Does anyone know why this error occurs?
This issue, as well as a
Submitted by Martin Oberhuber on Thu, 2015-10-15 12:27
This issue, as well as a workaround, is now tracked on
https://bugs.eclipse.org/bugs/show_bug.cgi?id=479591
It currently looks like due to using eclipse-installer, an old version of cdt.core was picked up from the user's bundlePool. The issue will not happen when downloading a full EPP package, or when installing the terminal from the Marketplace.
Excellent plugin
Submitted by Neil Beddoe on Tue, 2015-09-29 04:21
Your plug in was the final missing piece from my Eclipse set up. You've turned it into the perfect C++ development environment. I can run custom apps and debuggers from within Eclipse now. Thanks.
Excellent plugin!
Submitted by John Daniel on Tue, 2015-07-14 13:29
Martin - Great work here. Really liking this plugin.
Quick question: Is there a way that I can configure the plugin to stretch the width of the terminal screen to match the Eclipse View width? Right now, the terminal allows me to type commands on the first 80 characters and then it wraps (to the front of the same line... ugh). Ideally, what I am looking for is a setting that will allow the terminal to use all of the columns displayed available by the width of the enclosing Eclipse View panel ...~200 characters or more. Is this possible? Thanks for the info. Cheers!
Auto-resize should work fine...
Submitted by Martin Oberhuber on Fri, 2015-09-04 10:38
Hi John, auto-resizing to width of the Eclipse view works fine for me on Linux and Windows local, as well as SSH.
What is your host OS, and what is your terminal connector ? - I suggest filing a bug for what you see. On Linux, typing "resize" in the Terminal may print interesting information.
Martin.
Submitted by John Daniel on Sat, 2015-09-05 17:18
Martin.
Thanks for the response.
Per your request, I have submitted bug #476709
https://bugs.eclipse.org/bugs/show_bug.cgi?id=476709
Let me know if you have questions.
Cheers,
John