Public bug reported:

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.

** Affects: cgdb (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850993

Title:
  cgdb shows escape sequence fragments instead of colors in gdb terminal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cgdb/+bug/1850993/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to