This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

[closed] Wireshark Lua - Rich text formatting without third-party packages

0

HI,

Currently I have a Wireshark Lua Text Window with data similar to Follow Tcp Stream Window. I need to show request in one color and response in another color. I understood that it is not possible to show in Wireshark Lua Text window since it doesn't support. So I want to know whether it can be achieved by saving to a file without the use of any THIRD PARTY PACKAGES. Thanks Rijith

asked 05 Mar '12, 01:31

Rijith's gravatar image

Rijith
1446
accept rate: 0%

closed 07 Mar '12, 07:51

multipleinterfaces's gravatar image

multipleinte...
1.3k152340

2

Oops. Similar but not identical to your previous question. Yes, Lua can output arbitrary bytes to a file, including escape codes and RTF, but it doesn't have anything built-in for that. You'd need a 3rd party package or hand-written code.

(05 Mar '12, 05:24) bstn
1

Aha! I thought I saw a duplicate! Please stop doing that.

(05 Mar '12, 05:30) bstn

This is actually off-topic. I suggest Googling "RTF syntax" and "Lua file I/O".

(06 Mar '12, 10:32) bstn

The question has been closed for the following reason “Question is off-topic or not relevant” by multipleinterfaces 07 Mar ‘12, 07:51