10/30/2019 Eclipse For Mac Os High Sierra
Does not work properly with multiline coloring. I have about 30 lines of output from c. Let's say the line 10 is the sequence of red color. Then 3 lines that should be red and the code for restoring the default color in the end of the third line. Other lines should have default color.
Hi all, I'm trying to get up and running with Eclipse under macOS 10.13.1 / High Sierra and I'm getting the complete runaround with the Java part.
With such output I've got red in different places while scrolling the eclipse's terminal. Sometimes red are first 10 lines, sometimes last part of the text. May be the plugin works only if setting and restoring sequences are localized in the same line? Oxygen.3a Release (4.7.3a). Sorry, I don't have an Ubuntu installed (just Win and Fedora).
I have found a VM, and I can try that. But a quick look at the sources finds this 'suspicious' line in catkinmake and catkinpreparerelease: # force -no-color if stdout is non-interactive if not sys.stdout.isatty: args.nocolor = True Since Eclipse needs to capture its output, it starts the build with the stdio and stderr redirected. And that makes sys.stdout.isatty return False (because the Eclipse console is not really a terminal). It looks like there is no way to get around this without code changes. But you can just comment these two lines and it should work.
![]()
If you are on Windows, the terminalcolor.py also needs some fixing, because it assumes that Windows cannot support ANSI escapes (not true): if os.name in 'nt': disableANSIcolors The way I would fix ROS 'for real' would be by adding a -force-color flag (or do what most posix apps do: -color=never always auto and also honor an environment variable) Anyway, if commenting the 'if not sys.stdout.isatty:' does not work, please let me know, and I will go ahead and try top setup a working ROS environment. Thank you, Mihai.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |