Skip to content

Commit 188a3d8

Browse files
committed
Add N&N for ne terminal console support
1 parent 1bf713e commit 188a3d8

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed
161 KB
Loading

news/4.37/images/test.terminal.zip

2.19 KB
Binary file not shown.

news/4.37/platform.md

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,38 @@ A special thanks to everyone who [contributed to Eclipse-Platform](acknowledgeme
2727
## Views, Dialogs and Toolbar
2828
-->
2929

30-
<!--
3130
---
3231
## General Updates
33-
-->
32+
33+
### Support for launching a run inside a Terminal session
34+
35+
When launching a run in Eclipse one can currently choose to allocate a console for input/output
36+
and since a while we also support ANSI color codes there what makes integration of console applications
37+
that use color output possible.
38+
39+
But for the input side and more advanced features like text base user interfaces this still does not work
40+
well as these applications require a so called [pseudo terminal](https://en.wikipedia.org/wiki/Pseudoterminal)
41+
together with a [terminal emulator](https://en.wikipedia.org/wiki/Terminal_emulator) to behave as if it was
42+
executed on native command prompt.
43+
44+
While the [VT100 terminal emulator}(https://en.wikipedia.org/wiki/VT100) was already added the in the last release,
45+
there was still the need to start the application in a terminal session what is now available when launching a run from
46+
inside Eclipse as well!
47+
48+
This is currently preliminary support and we would like to get feedback, so don't hesitate to [open a bug report](https://github.com/eclipse-platform/eclipse.platform/issues)
49+
if something is missing or not working as expected, this can be enabled in the following way:
50+
51+
- Download the latest integration build SDK [here](https://download.eclipse.org/eclipse/downloads/)
52+
- Go to "Install new Software" and add the site https://download.eclipse.org/tools/cdt/releases/12.1/cdt-12.1.0/ then select 'Terminal (Console) View' and 'TM Terminal Local Connector Extension'
53+
- Now in the toolbar choose the 'Open a Terminal' icon and make sure the Terminal View works for your platform
54+
- Go to "Install new Software" and add the site https://download.eclipse.org/eclipse/updates/4.37-I-builds/ then select '...'
55+
56+
Now the terminal console support is installed and you can use it. You can install m2e PDE support from https://download.eclipse.org/technology/m2e/releases/latest/ and
57+
then use this [example project](images/test.terminal.zip):
58+
59+
- open the console.target and set it as active target platform
60+
- open the console.product and start it, you will see a warning and some garbled characters
61+
- go to the launch configuration and then open the tab 'common' and choose 'Allocate Terminal'
62+
- run it again and you will get colors and autocompletion using `<tab>`
63+
64+
![Preference page for enabling terminal console](images/terminal_console.png)

0 commit comments

Comments
 (0)