Re: chexedit, dhex, ghex hexcurse... output looks weird

From: Gary Aitken <freebsd_at_dreamchaser.org>
Date: Fri, 25 Feb 2022 17:06:00 UTC
Duh.  Turns out the "cat" (a.k.a. me) had walked on the keyboard, replaced
some characters, and mistakenly saved the file.

On 2/23/22 5:17 PM, Gary Aitken wrote:
> So, I must be dumb...  The display of the hex editors I've checked so far
> doesn't seem to match the display from hexdump.
> 
> hexdump output:
> 
> 00000b0  0017 f000 001e 1b00 7628 0004 007e 0000
> 00000c0  691b 0112 1402 010a b600 8100 8110 8110
> 
> The above looks right to me, given its little-endian order and what I know
> about the contents of the file.
> 
> here's what I see in chexedit, dhex, and ghex:
> 
> 000000B0  20 20 20 20  72 65 73 65   74 0A 30 30  30 30 30 30       reset.000000
> 000000C0  31 64 20 20  31 62 20 20   40 20 20 20  20 20 20 20   1d  1b  @
> 
> Can someone enlighten me?