View Issue Details

IDProjectCategoryView StatusLast Update
0000070FreeCADBugpublic2010-02-25 21:05
Reportercline Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.9 
Summary0000070: PrintError does not honor TERM environemnt variable
DescriptionFreeCAD.Console.PrintError and PrintWarning add vt100 (xterm) font/color control sequences to the output even when TERM is not compatible with them. The result is ugly output to the terminal from which FreeCAD is run, when that terminal does not handle those control sequences.
TagsNo tags attached.
FreeCAD Information

Activities

unauthenticated

2010-02-02 19:30

viewer   ~0000162

Can you please attach a screenshot of how it looks like?

2010-02-02 20:25

 

FreeCAD_emacs.tiff (Attachment missing)

cline

2010-02-02 20:28

reporter   ~0000163

Yes. Here's an Emacs shell window showing some of the extra characters. I am debugging an involute gear feature, so you see a bunch of informational output, which includes some of the control sequences.

Jriegel

2010-02-06 09:18

administrator   ~0000166

Yes, these are the ANSI escape sequences you see. So far we didnt have a shell
which can not deal with that.....

We have to look at this...

wmayer

2010-02-25 21:05

administrator   ~0000175

The colorization now is only done for Windows and Linux terminals. For the Mac platform everything is in standard color.

In the web I haven't found anything how to realize it for this platform. I hope this is a suitable solution.

Issue History

Date Modified Username Field Change
2010-02-01 19:43 cline New Issue
2010-02-02 19:30 unauthenticated Note Added: 0000162
2010-02-02 20:25 cline File Added: FreeCAD_emacs.tiff
2010-02-02 20:28 cline Note Added: 0000163
2010-02-06 09:18 Jriegel Note Added: 0000166
2010-02-25 21:05 wmayer Note Added: 0000175
2010-02-25 21:05 wmayer Assigned To => wmayer
2010-02-25 21:05 wmayer Status new => closed
2010-02-25 21:05 wmayer Resolution open => fixed