[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: Colors in gdb
From: shawn wilson <ag4ve.us () gmail ! com>
Date: 2013-01-20 15:39:19
Message-ID: CAH_OBicC=GVtd8f9uU6D0enZS=LVHVuCpXxAfcmz9Zg-9LuzAA () mail ! gmail ! com
[Download RAW message or body]
On Sun, Jan 20, 2013 at 10:29 AM, Robert Dewar <dewar@adacore.com> wrote:
> On 1/20/2013 10:13 AM, Matt Rice wrote:
>
>> maybe i'm old in not liking the idea of making these work with the
>> standard 'print' command, because the escape sequences are terminal
>> type dependent, which is IMO fine for a prompt set by a gdbinit, but
>> less so for a pretty printer distributed with a library...
>> this opinion is only strengthened by considering a std::string
>> containing an escape sequence.
>
>
> I strongly dislike ANY color stuff creeping into gdb output. Color
> stuff is a big menace when stuff is saved to files, or pasted and
> emailed etc etc.
>
>
Most programs will properly deal with colors (ANSI) if you let them. ie, less -R
Though, I agree, color should *never* be the default.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic