This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 0/4] Improve "show style", use style in "help" and "apropos".
On Tue, 2019-06-18 at 14:46 -0600, Tom Tromey wrote:
> > > > > > "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:
> > > (gdb) | with pagination off -- apropos -v breakpoint | less
>
> Philippe> Effectively, 'pagination off' and event worse 'style enabled off'
> Philippe> make it significantly more difficult to see where apropos -v
> Philippe> starts the doc of a new command.
>
> Maybe this command should still use styling? I wonder.
Wondering ...
At shell level, coloring seems to be disabled when piped.
E.g.
$ ls -l
.... files with some colors
$ ls -l | cat
.... same output, but no colors
$