Skip to content

Commit 547d140

Browse files
committed
Improve the terminal console N&N
1 parent c2fdbc3 commit 547d140

1 file changed

Lines changed: 41 additions & 30 deletions

File tree

news/4.37/platform.md

Lines changed: 41 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,35 +30,46 @@ A special thanks to everyone who [contributed to Eclipse-Platform](acknowledgeme
3030
---
3131
## General Updates
3232

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>`
33+
### Support Launching with a Terminal Console
34+
35+
<details>
36+
<summary>Contributors</summary>
37+
38+
- [Christoph Läubrich ](https://github.com/laeubi)
39+
</details>
40+
When launching a process in Eclipse you can currently choose to allocate a console for input/output.
41+
Via such a console, the relatively-recent support for ANSI color encoding enables integration of console applications that produce colorized output.
42+
43+
In terms of input though,
44+
and for more advanced features such as text-based user interaction,
45+
this still does not work well
46+
because advanced applications require a so-called [pseudo terminal](https://en.wikipedia.org/wiki/Pseudoterminal)
47+
together with a [terminal emulator](https://en.wikipedia.org/wiki/Terminal_emulator)
48+
to behave as if it were executed via a native command prompt.
49+
50+
While the [VT100 terminal emulator](https://en.wikipedia.org/wiki/VT100) was already added in the previous release,
51+
there remained the need to start the application in a proper terminal session.
52+
That support is now provided by the new `Terminal Console`.
53+
54+
This is currently preliminary support and we would appreciate to get feedback.
55+
Please don't hesitate to open an [isue](https://github.com/eclipse-platform/eclipse.platform/issues)
56+
if something is missing or not working as expected.
57+
58+
The terminal support can be installed as follows:
59+
60+
- Download the latest integration build SDK [here](https://download.eclipse.org/eclipse/downloads/).
61+
- Go to "Install new Software" and add the site https://download.eclipse.org/tools/cdt/releases/12.1/cdt-12.1.0/.
62+
Then select `Terminal (Console) View` and `TM Terminal Local Connector Extension`.
63+
- Now in the toolbar choose the `Open a Terminal` icon ensure the `Terminal` view works for your platform.
64+
- Go to `Help > Install New Software` and add the site https://download.eclipse.org/eclipse/updates/4.37-I-builds/ then select `...`.
65+
66+
Now that the terminal console support is installed, you can use it.
67+
You can install m2e PDE support from https://download.eclipse.org/technology/m2e/releases/latest/
68+
and then use this [example project](images/test.terminal.zip):
69+
70+
- Open the `console.target` and set it as active target platform.
71+
- Open the `console.product` and start it; you will see a warning and some garbled characters.
72+
- Go to the launch configuration and then open the tab `Common` and choose `Allocate Terminal`.
73+
- Run it again and you will get colorized content and auto-completion using `<tab>`.
6374

6475
![Preference page for enabling terminal console](images/terminal_console.png)

0 commit comments

Comments
 (0)