Comment 0 for bug 1850993

Revision history for this message
Horst Schirmeier (horst) wrote :

When running cgdb 0.6.7-2build5 in a Konsole (on Ubuntu 19.04 amd64), it shows colored text in the
source-code window, but the gdb window displays something that looks like ANSI escape sequence
fragments. This is the output of the source-code window after running `cgdb a.out`:

There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
[...]
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from [32ma.out[m...
(gdb) b main
Breakpoint 1 at [34m0x117e[m: file [32mvptr.cc[m, line 20.
(gdb)

expected output: Colored text, saying e.g. "Reading symbols from a.out..."

TERM is xterm-256color, however `TERM=xterm cgdb a.out` exhibits the same behavior. This also
happens inside tmux or screen.