Review Request: Enable kDebug/kWarning/kError colors when sending output to file instead of tty

Nicolás Alvarez nicolas.alvarez at gmail.com
Fri Feb 18 19:18:13 GMT 2011


On 18/02/2011, David Faure <faure at kde.org> wrote:
> So does this work with `less` for instance? tail -f ? Or only with `cat`? Or
> how do you use this?
> My question is, whether we should remove the isatty check or indeed only
> make it configurable.

'less' works if you pass the -R option, which even parses and handles
color codes so that horizontal scrolling works.

-- 
Nicolas




More information about the kde-core-devel mailing list