Wireshark-bugs: [Wireshark-bugs] [Bug 5158] Add coloring rules/highlighting capability to tshark
Date: Mon, 30 Aug 2010 18:58:37 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5158

--- Comment #3 from Guy Harris <guy@xxxxxxxxxxxx> 2010-08-30 18:58:36 PDT ---
I presume here that "colorize packets" means "do the same coloring Wireshark
does".

On UN*X, if we have terminfo, we should probably use that, so that it'll use
the terminfo entry for $TERM to figure out how to do colors.  That should let
it use the right escape sequences on a 16-color ANSI terminal such as
xterm-16color and on a 256-color xterm such as xterm-256color.

Windows and its various terminal emulators (mintty, PuTTY, Windows console
a/k/a cmd.exe, etc.) are another matter, although if there's an
ncurses/terminfo for Windows *and* TERM somehow magically gets set, that might
do the trick.

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