<p dir="ltr">Ta. It makes sense.. <br>
You can find the fork here [1].<br>
--dformat is new arg for changing default and display format, so you don`t need to change it for each property (i`m using it for strings)</p>
<p dir="ltr">Rene</p>
<p dir="ltr">[1] <br>
<a href="https://github.com/gadefox/xprop">https://github.com/gadefox/xprop</a></p>
<br><div class="gmail_quote"><div dir="ltr">On 10:19, Wed, 26 Jan 2022 Thomas Dickey <<a href="mailto:dickey@his.com">dickey@his.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Jan 24, 2022 at 01:56:55PM +0100, René wrote:<br>
> I redeveloped `xprop.., so it fits my expectations:<br>
> - the tool does not allocate 1MB every time<br>
> - no limit for buffer<br>
> - refacturing the code<br>
> - colorized output<br>
> --raw param for scripts<br>
> - bug fixing<br>
> - $@ tag for pro name<br>
> $# tag for prop type<br>
> $^^ tag for separator<br>
> - no need to use `sed for paring the output e.g. I just use --dformat (def.<br>
> format)=$8s:$0 --raw for getting string prop. or --dformat=8s:$^:^$0+ for<br>
> the list<br>
<br>
where is "--dformat" defined? (which tool)<br>
<br>
> - double --args with =<br>
> - src is split to more files<br>
> - no exit fn call<br>
> - memory releasing at the end<br>
> <br>
> please note it's not small patch so I don't know how to upload the files to<br>
> git. who is managing the src code let me know<br>
<br>
updates are done by forking the git repo, e.g., <br>
<br>
<a href="https://gitlab.freedesktop.org/xorg/app/xprop" rel="noreferrer noreferrer" target="_blank">https://gitlab.freedesktop.org/xorg/app/xprop</a><br>
<br>
and submitting pull-requests. Several small pull requests would probably<br>
get more response than a large one.<br>
<br>
-- <br>
Thomas E. Dickey <<a href="mailto:dickey@invisible-island.net" target="_blank" rel="noreferrer">dickey@invisible-island.net</a>><br>
<a href="https://invisible-island.net" rel="noreferrer noreferrer" target="_blank">https://invisible-island.net</a><br>
<a href="ftp://ftp.invisible-island.net" rel="noreferrer noreferrer" target="_blank">ftp://ftp.invisible-island.net</a><br>
</blockquote></div>