Wireshark-bugs: [Wireshark-bugs] [Bug 6682] Add support for color xml attributes in psml and pdm
Date: Fri, 22 Jun 2012 15:49:44 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6682

--- Comment #19 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-06-22 15:49:44 PDT ---
(In reply to comment #18)
> That should've been "bug 5158 comment 5". It does get us a little further with
> the general bug, however. We'd have to convert from RGB to xterm-256 color
> indices but that looks pretty straightforward: https://gist.github.com/719710

Only if you assume that everyone uses xterm-256.
To be portable we should use terminfo database, which means that we should link
with curses, and use terminfo interface (man curs_terminfo).

If not I think we can only assume that terminal is compatible with ECMA-48 and
use standard 16 colors.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.