|
| From: | Jose E. Marchesi |
| Subject: | Re: [PATCH] cmd: set: Introduce set sub-commands for tree printing |
| Date: | Thu, 13 Feb 2020 12:12:45 +0100 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
One typical (noob-ish) use for GNU poke is just to parse the content of
a binary file for visual inspection after having defined the binary
structure in a pk file.
Unfortunately the usual output from something like '$<data> @ 0#B'
isn't really user friendly and it is massively difficult to make sense
of the un-spaced wall of text in output.
This patch wants to be an attempt to prettify a bit the displayed data
introducing a new set of commands to tweak how the output data in a
struct is displayed.
Signed-off-by: Carlo Caione <address@hidden>
Applied and pushed to master. Thank you very much for such an useful
contribution!
PS: also I just added .set omode tree to my ~/.pokerc file ;)
| [Prev in Thread] | Current Thread | [Next in Thread] |