[MacPorts] #25256: libmcs: remove terminal color sequences from log

MacPorts noreply at macports.org
Mon Jun 14 21:31:08 PDT 2010


#25256: libmcs: remove terminal color sequences from log
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  jdunn@…          
     Type:  enhancement              |      Status:  new              
 Priority:  Normal                   |   Milestone:                   
Component:  ports                    |     Version:  1.9.0            
 Keywords:                           |        Port:  libmcs           
-------------------------------------+--------------------------------------
 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.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/25256>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list