Portage documentation states that when outputting to a pipe or file, it will not use ansi color codes. Portage uses color codes during builds even if outputting to a pipe. Reproducible: Always Steps to Reproduce: 1.emerge games-emulation/epsxe > file Actual Results: file contained: (as viewed from vi) ^[[33;01m*^[[0m Remember, in order to play games, you have to ^[[33;01m*^[[0m be in the 'games' group. ^[[32;01m*^[[0m See the usermod(8) manpage for more information. ^[[32;01m*^[[0m Caching service dependencies... Expected Results: file should contain: * Remember, in order to play games, you have to * be in the 'games' group. * See the usermod(8) manpage for more information. * Caching service dependencies... Really I think colors should be a command line option that effects the entire process. I think this would help the poor people that want to use pagers, and the people designing kde-based frontends.
Created attachment 50450 [details, diff] nocolor patch for repoman courtesy of ChrisWhite (not me)
Comment on attachment 50450 [details, diff] nocolor patch for repoman ok, this doesn't do anything.
Created attachment 50455 [details, diff] nocolor patch for repoman, part deux (it works)
*** This bug has been marked as a duplicate of 77566 ***