Wireshark-bugs: [Wireshark-bugs] [Bug 4380] New: Patch to write "column.format:" preference valu

Date: Sun, 10 Jan 2010 20:34:12 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4380

           Summary: Patch to write "column.format:" preference values
                    pairs to separate lines
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jyoung@xxxxxxx


Jim Young <jyoung@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #4123|                            |review_for_checkin?
               Flag|                            |

Created an attachment (id=4123)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=4123)
patch to write each column.format string pair on a separate line

Build Information:
$ wireshark-gtk2/tshark -v
TShark 1.3.3 (SVN Rev 31483 from /trunk)

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.22.3, with WinPcap (version unknown), with libz 1.2.3,
without POSIX capabilities, without libpcre, with SMI 0.4.8, with c-ares 1.7.0,
with Lua 5.1, without Python, with GnuTLS 2.8.5, with Gcrypt 1.4.5, with MIT
Kerberos, with GeoIP.

Running on Windows XP Service Pack 3, build 2600, with WinPcap version 4.1.1
(packet.dll version 4.1.0.1753), based on libpcap version 1.0 branch 1_0_rel0b
(20091008), GnuTLS 2.8.5, Gcrypt 1.4.5.

Built using Microsoft Visual C++ 9.0 build 30729

--
The patch enhances the readability of the "column.format:" preference value so
that each column "title", "format" string pair is written to a separate line.   

Here is an example of how the column.format value is currently formatted... 

<snip>
> ######## User Interface: Columns ########
> 
> # Packet list column format.
> # Each pair of strings consists of a column title and its format.
> column.format: "No.", "%m", "Time", "%t", "Source", "%s", "Destination",
> 	"%d", "vlan.id", "%Cus:vlan.id", "Protocol", "%p",
> 	"Length", "%L", "ip.id", "%Cus:ip.id", "Info", "%i"
<snip>

And here is an example of how the same column.format value would be formatted
after this patch is applied... 

<snip>
> ######## User Interface: Columns ########
> 
> # Packet list column format.
> # Each pair of strings consists of a column title and its format.
> column.format: 	"No.", "%m",
> 	"Time", "%t",
> 	"Source", "%s",
> 	"Destination", "%d",
> 	"vlan.id", "%Cus:vlan.id",
> 	"Protocol", "%p",
> 	"Length", "%L",
> 	"ip.id", "%Cus:ip.id",
> 	"Info", "%i"
<snip>

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