Hex view when term not 80 col
Roland Illig
roland.illig at gmx.de
Wed Jun 11 18:02:27 UTC 2008
Felix Miata schrieb:
> Is there a way to limit hex view to 10h wide for proper formatting. When I
> look at a boot sector, 05 AA should always be bytes 0E and 0F of 10 total,
> but usually they are 06 and 07, which is annoying and makes it hard to follow
> and find things expected in 10 byte rows.
It's currently not possible without changing mc's source code. If you
want to do that, it's in src/view.c, the view_update_bytes_per_line
function. Before the assert() call, insert: if (bytes > 16) bytes = 16;
Roland
More information about the mc
mailing list