diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-06-22 00:21:38 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-06-22 00:21:38 +0000 |
commit | 0a88caf96af985d56e64d615237ee76665c3470f (patch) | |
tree | 9a1f2e2ec8cd127ace07cf52728c6bc8a31b754d /print.ps | |
parent | b2277c9cfceda72c5278136e3cbf8b1d775ed806 (diff) | |
download | wireshark-0a88caf96af985d56e64d615237ee76665c3470f.tar.gz wireshark-0a88caf96af985d56e64d615237ee76665c3470f.tar.bz2 wireshark-0a88caf96af985d56e64d615237ee76665c3470f.zip |
In the hex dump, generate the offset at the beginning of each line in
common code, rather than in print-format-specific code, and have
"print_hex_data_common()" put out the blank line before the dump itself
rather than relying on the print-format-specific "start printing the hex
dump" code to do it.
svn path=/trunk/; revision=5728
Diffstat (limited to 'print.ps')
-rw-r--r-- | print.ps | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -8,7 +8,7 @@ %!PS-Adobe-2.0 % % Ethereal - Network traffic analyzer -% By Gerald Combs <gerald@zing.org> +% By Gerald Combs <gerald@ethereal.com> % Copyright 1998 Gerald Combs % %%Creator: Ethereal @@ -126,21 +126,21 @@ pop pop % junk % ---- ethereal hex start ---- % % Set the font to 10 point /Courier findfont 10 scalefont setfont -() hexdump % ---- ethereal hex end ---- % -( 0 cc00 0000 0000 0702 0000 0000 0000 0000 ................ ) hexdump -( 10 0000 bd0e fe16 0100 3e00 0308 584c 2038 ........>...XL 8 ) hexdump -( 20 3020 494d 3300 1601 0034 0016 0101 3500 0 IM3....4....5. ) hexdump -( 30 1601 0236 0016 0103 6e00 1601 ff6f 0016 ...6....n....o.. ) hexdump -( 40 01ff 7000 1601 ff71 0016 01ff 4800 0104 ..p....q....H... ) hexdump -( 50 ff03 0700 2400 0101 0525 0001 0105 2600 ....$....%....&. ) hexdump -( 60 0101 0527 0001 0105 6a00 0101 006b 0001 ...'....j....k.. ) hexdump -( 70 0100 6c00 0101 006d 0001 0100 3d00 0102 ..l....m....=... ) hexdump -( 80 0200 c000 0308 8000 0000 0000 0000 b400 ................ ) hexdump -( 90 0104 c0a8 42ef 3900 1608 0505 0505 0000 ....B.9......... ) hexdump -( a0 0000 0003 2036 4120 5269 6e67 0000 0000 .... 6A Ring.... ) hexdump -( b0 0000 0000 0000 ...... ) hexdump +() hexdump +(0000 cc 00 00 00 00 00 07 02 00 00 00 00 00 00 00 00 ................ ) hexdump +(0010 00 00 bd 0e fe 16 01 00 3e 00 03 08 58 4c 20 38 ........>...XL 8 ) hexdump +(0020 30 20 49 4d 33 00 16 01 00 34 00 16 01 01 35 00 0 IM3....4....5. ) hexdump +(0030 16 01 02 36 00 16 01 03 6e 00 16 01 ff 6f 00 16 ...6....n....o.. ) hexdump +(0040 01 ff 70 00 16 01 ff 71 00 16 01 ff 48 00 01 04 ..p....q....H... ) hexdump +(0050 ff 03 07 00 24 00 01 01 05 25 00 01 01 05 26 00 ....$....%....&. ) hexdump +(0060 01 01 05 27 00 01 01 05 6a 00 01 01 00 6b 00 01 ...'....j....k.. ) hexdump +(0070 01 00 6c 00 01 01 00 6d 00 01 01 00 3d 00 01 02 ..l....m....=... ) hexdump +(0080 02 00 c0 00 03 08 80 00 00 00 00 00 00 00 b4 00 ................ ) hexdump +(0090 01 04 c0 a8 42 ef 39 00 16 08 05 05 05 05 00 00 ....B.9......... ) hexdump +(00a0 00 00 00 03 20 36 41 20 52 69 6e 67 00 00 00 00 .... 6A Ring.... ) hexdump +(00b0 00 00 00 00 00 00 ...... ) hexdump % ---- ethereal finale start ---- % % If this is not the first page, then print the page number |