|
|
|
|
|
Re: Escape sequences not recognized [message #1818652 is a reply to message #1818650] |
Sun, 22 December 2019 00:26 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Quote:It is an issue of stdio and related software - the "console" is a term used by Eclipse IDE
Let's focus on problem, not attempts to pass the issue elsewhere.
Your issue has absolutely nothing to do with Eclipse, CDT or stdio.
https://en.wikipedia.org/wiki/ANSI_escape_code
Quote:ANSI escape sequences are a standard for in-band signaling to control the cursor location, color, and other options on video text terminals and terminal emulators. ...Although hardware text terminals have become increasingly rare in the 21st century, the relevance of the ANSI standard persists because most terminal emulators interpret at least some of the ANSI escape sequences in output text.
The Linux terminal is a terminal emulator.
How the emulator responds to ANSI sequences depends on faithfulness to the terminal it is emulating.
Terminal emulation is only an Eclipse issue if you are using the Eclipse console.
The Eclipse console is a basic terminal emulator.
It does not emulate ANSI sequences for color.
Quote:
Have you run the terminals inside of an Eclipse window or as the basic Linux terminal?
I believe this forum is for C/C++ CDT related issues - hence why do I have to specify [OS and development environment] ?
Because there may be subtle differences imposed by the development environment.
Every environment has its own JVM that may or may not differ among implementations.
Knowing what you are really doing may be helpful.
[Updated on: Sun, 22 December 2019 04:16] Report message to a moderator
|
|
|
|
|
Re: Escape sequences not recognized [message #1818725 is a reply to message #1818669] |
Tue, 24 December 2019 15:52 |
Helen Keller Messages: 173 Registered: June 2019 |
Senior Member |
|
|
SOLVED CASE CLOSED
Thanks for all the help from the group.
It is much appreciated.
Ask Mrs Google for "Eclipse ANSI" .
The question remains why it works without the 3rd part plug in when the app is crosscompiled.
Just in case anybody really wants to know - an interesting outcome of this (?) 3 party plug-in.
The first console output is NORMAL, no additional line feeds.
When the console is redraw it has an EXTRA line feed between ALL outputs.
I could post a screen shot if you do no believe it.
[Updated on: Tue, 24 December 2019 16:28] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03396 seconds