bugreport: hex search doesn't work

Pavel Roskin proski at gnu.org
Mon Jul 9 14:40:49 UTC 2001


Hi, Vlad!

>  Sorry for reporting bug for such an old version, but here it is:
> In mc-4.5.29, HexSearch doesn't work:
>  How to reproduce:
>
> 1) view any file with internal file viewer (F3 on any file)
> 2) press F4 to switch to hex view
> 3) press F7 (it's named HxSrch in the function index in the last line)

But the dialog title says "Search".

> 4) enter anything in the prompt (e.g. any hex sequence that is present in the
> file), I tried "43 48" and "4348". The 2nd or 3rd byte will be highlighted
> independantly of whether string is present in the file or not.

Try "0x43 0x48" - it should work.

That's what happens when half-backed patches are applied - error reporting
is missing completely, not to mention the documentation.

>  Also, there should be an option to search for *string* when in hex view mode
> (currently in hex view it's only declared to be possible to search for hex
> sequence).

I agree.

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list