Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Contributing local terminal support for Windows

Dear CDT Committers,


There is a long-standing request to support a fully working local terminal inside an Eclipse view (that is, including tab completion, cursor-up history, and Ctrl+C signal handling).


For Linux, this is already working through the TM Local Terminal [1], or its clone the Google ELT plugin [2];

For Windows, this has always been blocked by the lack of a Windows PTY emulation (bug 360517 [3]).


At WindRiver, we have now gotten this to work by using the Open Source WinPTY library [4], which is under MIT license.

This means, we can now open a fully working CMD prompt inside an Eclipse view (history, tab completion and signal handling).

Bash-like shells like MSYSGIT also fully work in this Eclipse view.


We would like to contribute this to the Eclipse CDT as part of CDT’s PTY handling in org.eclipse.cdt.core/utils [5].

Part of the code would be contributed from us (Wind River) under EPL, but part of the code must be the MIT-Licensed winpty code.

We need to provide a pre-built executable based on winpty, as well as a pre-built DLL, and link against that dll using Java native code.


We suggest redistributing the MIT licensed source code with the CDT, along with the exe and DLL built from it through CDT fragments.


Does the CDT community agree with this approach in principle ?

If yes, then how shall we proceed entering the respective CQ for adopting the MIT code into the CDT ?












Martin Oberhuber, SMTS / Product Architect – Development Tools, Wind River

direct +43.662.457915.85  fax +43.662.457915.6


Back to the top