Opened 10 years ago

Closed 10 years ago

#25256 closed enhancement (fixed)

libmcs: remove terminal color sequences from log

Reported by: ryandesign (Ryan Schmidt) Owned by: jdunn@…
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: Cc:
Port: libmcs

Description

I suggest the attached patch which removes the terminal color sequences from libmcs' build process. The presence of the color sequences causes the log file to be a bit hard to read, e.g.:

:info:build [K[0;36mEntering directory [1;36msrc[0;36m.[0m
:info:build [K[0;36mEntering directory [1;36mlibmcs[0;36m.[0m
:info:build [K[0;33mGenerating dependencies...[0m
[K[0;32mSuccessfully generated dependencies.[0m

With the attached patch, this becomes more readable:

:info:build Entering directory src.
:info:build Entering directory libmcs.
:info:build Generating dependencies...
Successfully generated dependencies.

Attachments (1)

libmcs.diff (539 bytes) - added by ryandesign (Ryan Schmidt) 10 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by ryandesign (Ryan Schmidt)

Attachment: libmcs.diff added

proposed patch

comment:1 Changed 10 years ago by jdunn@…

works great too.

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Then I've committed it in r68831 :)

Note: See TracTickets for help on using tickets.