From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12206 invoked by alias); 26 Mar 2009 22:35:23 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 12111 invoked by uid 22791); 26 Mar 2009 22:35:20 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: archer@sourceware.org From: Andrew Sutherland Subject: [python] how best to support colorized output? (with example colorized backtrace) Date: Thu, 26 Mar 2009 22:35:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b4pre) Gecko/20090326 Shredder/3.0b3pre X-SW-Source: 2009-q1/txt/msg00413.txt.bz2 Not too long ago I hacked up the example python backtrace command to provide colorized output. blog post: http://www.visophyte.org/blog/2009/03/04/gaudily-colorized-gdb-backtraces-woo/ repo: http://hg.mozilla.org/users/bugmail_asutherland.org/pythongdb-gaudy/ Thiago dropped by and commented, suggesting I post about it here. While my solution was never intended to make it upstream (and should not), I'd be interesting in finding out how colorized output could be implemented that could be integrated. Thiago mentioned that Tom had some ideas on this subject, and I'd be particularly interested in hearing them. Thanks, Andrew