Ethereal-dev: Re: [Ethereal-dev] Multiline in COL_PROTOCOL and COL_INFO

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Tomas Kukosa <tomas.kukosa@xxxxxxxxxxx>
Date: Wed, 04 Jun 2003 07:10:53 +0200
Hi,
  it seems that I didn't understand something. Do you mean some other
way how to display more than one line or do you mean some new col_...()
functions to support multiple lines?

Examples of current output are attached:
eth_gui.gif  - Ethereal GUI, all lines are displayed in one row 
               (could be improved with replacing "square" by e.g. '|')
eth_prn.txt  - Ethereal printer output
teth_out.txt - Tethereal output

If there are some comments or recommendations please let me know, I
shall be pleased to do them.

  Regards,
    Tom

Guy Harris wrote:
> 
> On Mon, Jun 02, 2003 at 08:26:01AM +0200, Tomas Kukosa wrote:
> >   please, could you let me know if this change was dismissed or it will
> > be checked-in later?
> 
> I'd only check it in when
> 
>         1) it works with Ethereal
> 
> and
> 
>         2) we figure out how to handle all the cases where there'd be
>            more than one line of Info-column stuff (e.g., allowing all
>            Info column lines for a packet to be displayed, not just the
>            topmost one, and possibly showing a line for each packet
>            when, for example, dissecting a protocol running atop TCP).

--

GIF image

    No. Time        Source                Destination           Protocol Info
     14 0.295890    163.242.92.187        172.16.2.14           TS       BA_PHONE_INIT_REQ
     15 0.298098    172.16.2.14           163.242.92.187        TS       BA_PHONE_INIT_BAS
     22 0.568516    172.16.2.14           163.242.92.187        TS       AU_STATE_REQ
     24 0.731133    172.16.2.14           163.242.92.187        TS       AU_HANDSFREE_MODE
                                                                TS       DSP_STD_LOCAL_TIMER_SET - 14:29:39
                                                                TS       AU_RINGER_VOLUME
                                                                TS       DSP_STD_CLEAR_RANGE
                                                                TC       TC_Test 'Hallo'
                                                                TS       DSP_STD_LOCAL_TIME_ENABLE
                                                                TS       DSP_STD_STRING '   FR 11.OKT 02'
                                                                TS       DSP_STD_STRING '132         HiPath     >'
     50 1.685503    172.16.2.14           163.242.92.187        TS       X_STATUS_IND
     65 1.830269    172.16.2.14           163.242.92.187        XMOD     XDWNCONT_FEATURELIST(0)
                                                                XMOD     XDWNCONT_FEATURELIST(1)
                                                                XMOD     XDWNCONT_FEATURELIST(2)
                                                                XMOD     XDWNCONT_FEATURELIST(3)
                                                                XMOD     XDWNCONT_FEATURELIST(4)
     67 2.044034    172.16.2.14           163.242.92.187        XMOD     XDWNCONT_FEATURELIST(5)
     69 2.231501    172.16.2.14           163.242.92.187        XMOD     XDWNCONT_FEATURELIST(6)
                                                                XMOD     XDWNCONT_FEATURELIST(7)
                                                                XMOD     XDWNCONT_FEATURELIST(8)
                                                                XMOD     XDWNCONT_UPDATE_FINISHED
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_CHARGE_STRING
                                                                TS       DSP_STD_LOCAL_TIME_DISABLE
                                                                TS       DSP_STD_CLEAR_RANGE
                                                                TS       DSP_STD_LOCAL_TIME_ENABLE
                                                                TS       DSP_STD_STRING '   FR 11.OKT 02'
     71 6.484386    163.242.92.187        172.16.2.14           XMOD     XUPCONT_UPDATE_REQUEST
     73 6.530562    172.16.2.14           163.242.92.187        XMOD     XDWNCONT_GW_REQ
     80 6.644322    172.16.2.14           163.242.92.187        TS       AU_STATE_CONTROL
                                                                TS       AU_LOCAL_TONE_START
                                                                TS       X_STATUS_IND
                                                                TS       DSP_STD_LOCAL_TIME_DISABLE
                                                                TS       DSP_STD_CLEAR_RANGE
                                                                TS       DSP_STD_STRING 'Bitte w\005hlen'
                                                                TS       DSP_STD_STRING 'Telefonbuch?           >'
    103 10.488291   163.242.92.187        172.16.2.14           XMOD     XUPCONT_LOGIN
    105 10.507992   172.16.2.14           163.242.92.187        XMOD     XDWNCONT_FEATURELIST(0)
    107 10.643021   172.16.2.14           163.242.92.187        XMOD     XDWNCONT_FEATURELIST(1)
                                                                XMOD     XDWNCONT_FEATURELIST(2)
                                                                XMOD     XDWNCONT_FEATURELIST(3)
                                                                XMOD     XDWNCONT_FEATURELIST(4)
                                                                TS       X_STATUS_IND
                                                                XMOD     XDWNCONT_FEATURELIST(0)
                                                                XMOD     XDWNCONT_FEATURELIST(1)
                                                                XMOD     XDWNCONT_FEATURELIST(2)
                                                                XMOD     XDWNCONT_FEATURELIST(3)
                                                                XMOD     XDWNCONT_FEATURELIST(4)
    109 10.933233   172.16.2.14           163.242.92.187        XMOD     XDWNCONT_FEATURELIST(5)
    111 11.043732   172.16.2.14           163.242.92.187        XMOD     XDWNCONT_FEATURELIST(6)
                                                                XMOD     XDWNCONT_FEATURELIST(7)
                                                                XMOD     XDWNCONT_FEATURELIST(8)
                                                                XMOD     XDWNCONT_UPDATE_FINISHED
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
    121 17.282485   163.242.92.187        172.16.2.14           TS       KB_KEY <1>
    123 17.317223   172.16.2.14           163.242.92.187        TS       AU_LOCAL_TONE_STOP
    125 17.452180   172.16.2.14           163.242.92.187        TS       DSP_STD_STRING '1'
                                                                TS       DSP_STD_CLEAR_RANGE
    127 20.347997   163.242.92.187        172.16.2.14           TS       KB_KEY <0>
    129 20.368876   172.16.2.14           163.242.92.187        TS       DSP_STD_STRING '0'
    135 23.062808   163.242.92.187        172.16.2.14           TS       KB_KEY <0>
    137 23.144224   172.16.2.14           163.242.92.187        TS       X_STATUS_IND
    139 23.260488   172.16.2.14           163.242.92.187        XMOD     XDWNCONT_NAME 'optiSet-100'
    141 23.461019   172.16.2.14           163.242.92.187        TS       AU_LOCAL_TONE_START
                                                                TS       X_STATUS_IND
                                                                XMOD     XDWNCONT_NAME 'optiSet-100'
                                                                TS       DSP_STD_STRING 'optiSet-100'
                                                                TS       DSP_STD_STRING 'R\ackruf?               >'
    147 29.237884   172.16.2.14           163.242.92.187        XMOD     XDWNCONT_ACKNOWLEDGE
    149 29.369481   172.16.2.14           163.242.92.187        TS       AU_LOCAL_TONE_STOP
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
                                                                TS       X_STATUS_IND
                                                                XMOD     XDWNCONT_NAME 'optiSet-100'
                                                                XMOD     XDWNCONT_ACKNOWLEDGE
    151 29.569679   172.16.2.14           163.242.92.187        TS       DSP_STD_STRING 'optiSet-100'
                                                                TS       DSP_STD_STRING 'R\ackfrage?             >'
    153 30.970054   172.16.2.14           163.242.92.187        TS       X_STATUS_IND
    155 31.171977   172.16.2.14           163.242.92.187        TS       AU_LOCAL_TONE_START
                                                                TS       DSP_STD_STRING 'Bitte auflegen'
                                                                TS       DSP_STD_CLEAR_RANGE
    166 37.771208   163.242.92.187        172.16.2.14           TS       BA_SLAVE_L1_ASYNC_INDICATION
  4   0.003350 163.242.92.187 -> 172.16.2.14  TC TC_Test TMS='2010/10/24 05:21:33'
  6   0.007578  172.16.2.14 -> 163.242.92.187 TC TC_Test_con
  8   0.127165  172.16.2.14 -> 163.242.92.187 TC TC_Test TMS='2002/10/11 16:29:37'
  9   0.127750 163.242.92.187 -> 172.16.2.14  TC TC_Test_con
 11   0.241047 163.242.92.187 -> 172.16.2.14  TC TC_Logon SDA='132'
 13   0.260891  172.16.2.14 -> 163.242.92.187 TC TC_Logon_con
 14   0.295890 163.242.92.187 -> 172.16.2.14  TS BA_PHONE_INIT_REQ
 15   0.298098  172.16.2.14 -> 163.242.92.187 TS BA_PHONE_INIT_BAS
 22   0.568516  172.16.2.14 -> 163.242.92.187 TS AU_STATE_REQ
 24   0.731133  172.16.2.14 -> 163.242.92.187 TS AU_HANDSFREE_MODE
                                              TS DSP_STD_LOCAL_TIMER_SET - 14:29:39
                                              TS AU_RINGER_VOLUME
                                              TS DSP_STD_CLEAR_RANGE
                                              TC TC_Test 'Hallo'
                                              TS DSP_STD_LOCAL_TIME_ENABLE
                                              TS DSP_STD_STRING '   FR 11.OKT 02'
                                              TS DSP_STD_STRING '132         HiPath     >'
 48   1.630068 163.242.92.187 -> 172.16.2.14  TC TC_Test_con 'Hallo'
 50   1.685503  172.16.2.14 -> 163.242.92.187 TS X_STATUS_IND
 65   1.830269  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_FEATURELIST(0)
                                              XMOD XDWNCONT_FEATURELIST(1)
                                              XMOD XDWNCONT_FEATURELIST(2)
                                              XMOD XDWNCONT_FEATURELIST(3)
                                              XMOD XDWNCONT_FEATURELIST(4)
 67   2.044034  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_FEATURELIST(5)
 69   2.231501  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_FEATURELIST(6)
                                              XMOD XDWNCONT_FEATURELIST(7)
                                              XMOD XDWNCONT_FEATURELIST(8)
                                              XMOD XDWNCONT_UPDATE_FINISHED
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_CHARGE_STRING
                                              TS DSP_STD_LOCAL_TIME_DISABLE
                                              TS DSP_STD_CLEAR_RANGE
                                              TS DSP_STD_LOCAL_TIME_ENABLE
                                              TS DSP_STD_STRING '   FR 11.OKT 02'
 71   6.484386 163.242.92.187 -> 172.16.2.14  XMOD XUPCONT_UPDATE_REQUEST
 73   6.530562  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_GW_REQ
 80   6.644322  172.16.2.14 -> 163.242.92.187 TS AU_STATE_CONTROL
                                              TS AU_LOCAL_TONE_START
                                              TS X_STATUS_IND
                                              TS DSP_STD_LOCAL_TIME_DISABLE
                                              TS DSP_STD_CLEAR_RANGE
                                              TS DSP_STD_STRING 'Bitte w\005hlen'
                                              TS DSP_STD_STRING 'Telefonbuch?           >'
103  10.488291 163.242.92.187 -> 172.16.2.14  XMOD XUPCONT_LOGIN
105  10.507992  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_FEATURELIST(0)
107  10.643021  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_FEATURELIST(1)
                                              XMOD XDWNCONT_FEATURELIST(2)
                                              XMOD XDWNCONT_FEATURELIST(3)
                                              XMOD XDWNCONT_FEATURELIST(4)
                                              TS X_STATUS_IND
                                              XMOD XDWNCONT_FEATURELIST(0)
                                              XMOD XDWNCONT_FEATURELIST(1)
                                              XMOD XDWNCONT_FEATURELIST(2)
                                              XMOD XDWNCONT_FEATURELIST(3)
                                              XMOD XDWNCONT_FEATURELIST(4)
109  10.933233  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_FEATURELIST(5)
111  11.043732  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_FEATURELIST(6)
                                              XMOD XDWNCONT_FEATURELIST(7)
                                              XMOD XDWNCONT_FEATURELIST(8)
                                              XMOD XDWNCONT_UPDATE_FINISHED
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              XMOD XDWNCONT_ACKNOWLEDGE
121  17.282485 163.242.92.187 -> 172.16.2.14  TS KB_KEY <1>
123  17.317223  172.16.2.14 -> 163.242.92.187 TS AU_LOCAL_TONE_STOP
125  17.452180  172.16.2.14 -> 163.242.92.187 TS DSP_STD_STRING '1'
                                              TS DSP_STD_CLEAR_RANGE
127  20.347997 163.242.92.187 -> 172.16.2.14  TS KB_KEY <0>
129  20.368876  172.16.2.14 -> 163.242.92.187 TS DSP_STD_STRING '0'
135  23.062808 163.242.92.187 -> 172.16.2.14  TS KB_KEY <0>
137  23.144224  172.16.2.14 -> 163.242.92.187 TS X_STATUS_IND
139  23.260488  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_NAME 'optiSet-100'
141  23.461019  172.16.2.14 -> 163.242.92.187 TS AU_LOCAL_TONE_START
                                              TS X_STATUS_IND
                                              XMOD XDWNCONT_NAME 'optiSet-100'
                                              TS DSP_STD_STRING 'optiSet-100'
                                              TS DSP_STD_STRING 'R\ackruf?               >'
147  29.237884  172.16.2.14 -> 163.242.92.187 XMOD XDWNCONT_ACKNOWLEDGE
149  29.369481  172.16.2.14 -> 163.242.92.187 TS AU_LOCAL_TONE_STOP
                                              XMOD XDWNCONT_ACKNOWLEDGE
                                              TS X_STATUS_IND
                                              XMOD XDWNCONT_NAME 'optiSet-100'
                                              XMOD XDWNCONT_ACKNOWLEDGE
151  29.569679  172.16.2.14 -> 163.242.92.187 TS DSP_STD_STRING 'optiSet-100'
                                              TS DSP_STD_STRING 'R\ackfrage?             >'
153  30.970054  172.16.2.14 -> 163.242.92.187 TS X_STATUS_IND
155  31.171977  172.16.2.14 -> 163.242.92.187 TS AU_LOCAL_TONE_START
                                              TS DSP_STD_STRING 'Bitte auflegen'
                                              TS DSP_STD_CLEAR_RANGE
165  37.769756 163.242.92.187 -> 172.16.2.14  TC TC_Logoff 'Normal logoff'
166  37.771208 163.242.92.187 -> 172.16.2.14  TS BA_SLAVE_L1_ASYNC_INDICATION
169  37.776291  172.16.2.14 -> 163.242.92.187 TC TC_Logoff_con