Wireshark-bugs: [Wireshark-bugs] [Bug 9229] Add new function in strutil.c to replace non-printab
Date: Mon, 07 Oct 2013 06:58:49 +0000

Comment # 3 on bug 9229 from
This new function will be used in the next patch for the packet-mq dissector,
as I display sometime value in both ASCII/EBDIC. Using the existing function
give me a name (particulary when in EBCDIC) with a lot of escape C sequences,
and this is not so readable, with this new function, it's more readable

With my function:
18    2013-07-23 14:30:31.280630000    10.50.216.41    10.47.116.214    MQ   
450    MQCONN_REPLY: App=...m......m......[......K...
QM=....@@@@@@@@@@@@@@@@@@@@@@@@

without using a function, we have all char printed and this lead to some funny
things (if 0xa for example). I also wanted to disallow these escape C
charaters, which are less readable in my case:

2nd esample:
 MQPrm[  1] {9-BYTE_STRING    }     1b5c/ 7004-MQBACF_RESPONSE_ID            
A(...@....@@@.........N...) E(CSQ DM1S   RDM1S..LT+...)

For to display such string, there is no need of the escape, only dot are
sufficient. If we need the datail of the dots, we can look in the hex display
in the 3rd panel directly


You are receiving this mail because:
  • You are watching all bug changes.