color prompt is broken under TUI mode

kamaraju kusumanchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CABpbYafgLaejUCOstRrOLjk-CKyUbpaS=gaJbtw7FLJZxNWySg@mail.gmail.com>
When gdb is started under the TUI mode, I am not able to set the
prompt in color. For example, I did

rajulocal@hogwarts ~ % ~/software/myroot/gdb-7.9/bin/gdb --tui -q
(gdb) set prompt \033[0;33m(gdb) \033[0m

which shows the prompt as

^[[0;33m(gdb) ^[[0m

However, if gdb is started in the normal mode without the --tui
option, then the prompt changes to yellow color as expected.

Is this a known issue or should I report this as a bug? Are there any
work arounds available?

I am using gdb 7.9 on a machine running Debian Testing.

thanks
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.