<div dir="ltr"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 17, 2018 at 7:06 PM, Christoph Willing <span dir="ltr"><<a href="mailto:chris.willing@iinet.net.au" target="_blank">chris.willing@iinet.net.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><span class="gmail-">On 17/9/18 9:11 pm, Konrad J Hambrick wrote:<br>
> <br>
> On Mon, Sep 17, 2018 at 12:46 AM, Christoph Willing<br>
</span><span class="gmail-">> <<a href="mailto:chris.willing@iinet.net.au">chris.willing@iinet.net.au</a> <mailto:<a href="mailto:chris.willing@iinet.net.au">chris.willing@iinet.<wbr>net.au</a>>> wrote:<br>
> <br>
> On 17/9/18 8:42 am, Christoph Willing wrote:<br>
> > On 16/9/18 8:10 pm, Konrad J Hambrick wrote:<br>
> [snip]<br>
> > <br>
> > A problem I will have with the python curses solution is how to test. Is<br>
> > your problem due to a physical device you're using, or is it to do with<br>
> > how you're using hoorex in your update scripts i.e. something I could<br>
> > replicate sufficiently to test any fix?<br>
> > <br>
> Hi Konrad,<br>
> <br>
> I just discovered something which I hope is relevant - I can see the<br>
> escape sequences when I pipe or redirect hoorex output anywhere. That<br>
> breaks a use case described in the man page - not good - so I've<br>
> committed a fix for this situation (by first testing whether output<br>
> device is a tty).<br>
> <br>
> Is your case similar to that (a script piping or redirecting hoorex<br>
> output somewhere)? If so, the attached patch should fix it. Could you<br>
> test it (against 0.6.4) if you have time?<br>
> <br>
> Thanks,<br>
> chris<br>
> <br>
> Chris --<br>
> <br>
> Yes, I am invoking something like the code below my sig.<br>
> <br>
<br>
</span>Thanks Konrad,<br>
</div><div><span class="gmail_default" style="font-family:courier new,monospace"></span><br></div><div>
I've confirmed that your sample code works correctly with the fix I made<br>
to hoorex. That fix is included in hoorex-0.6.5, for which I've pushed<br>
an updated SlackBuild to SBo, so should be available in next round of<br>
updates at the weekend. If you're in a hurry, it's also available now at:<br>
<br>
<a href="https://git.slackbuilds.org/slackbuilds/tree/misc/hoorex?h=user/chris.willing/updates" rel="noreferrer" target="_blank">https://git.slackbuilds.org/<wbr>slackbuilds/tree/misc/hoorex?<wbr>h=user/chris.willing/updates</a><br>
although, for your use case, there's no particular advantage over v0.6.2<br>
that you reverted to.<br>
</div><span class="gmail_default" style="font-family:courier new,monospace"></span></blockquote><div><span class="gmail_default" style="font-family:courier new,monospace">Thanks C</span><span class="gmail_default" style="font-family:courier new,monospace">hris<br><br></span></div><div><span class="gmail_default" style="font-family:courier new,monospace">It'll be nice to have hoorex off my ever-growing weekly `.find-SB-updates` listing :)<br><br></span></div><div><span class="gmail_default" style="font-family:courier new,monospace">It is one of the SBo Packages that I always update first :)<br><br></span></div><div><span class="gmail_default" style="font-family:courier new,monospace">Thank a ton for hoorex !<br><br></span></div><div><span class="gmail_default" style="font-family:courier new,monospace">-- kjh<br></span></div><div><span class="gmail_default" style="font-family:courier new,monospace"></span></div></div><span style="font-family:monospace,monospace"><span class="gmail_default" style="font-family:courier new,monospace"># </span>./.find-SB-updates<br><br># AppName |OldVer |NewVer |Installed PkgFile<br> arp-scan |1.9.2 |1.9 |arp-scan-1.9.2-x86_64-1_SBo<br> psqlodbc |10.3.0 |10.2.0 |psqlodbc-10.3.0-x86_64-1_SBo_kjh<br> CGAL |4.11.1 |4.12.1 |CGAL-4.11.1-x86_64-1_SBo_kjh_B80529_test<br> hdf5 |1.8.17 |1.8.15_patch1 |hdf5-1.8.17-x86_64-1_SBo<br> rabbitmq-server |3.7.7 |3.6.10 |rabbitmq-server-3.7.7-x86_64-1_SBo_kjh<br> intel-microcode |20180807a |20180807 |intel-microcode-20180807a-noarch-1_SBo_kjh<br> postgresql |9.6.10 |10.2 |postgresql-9.6.10-x86_64-1_SBo_kjh<br> hoorex |0.6.2 |0.6.4 |hoorex-0.6.2-noarch-1_SBo<br> adobe-reader |9.5.5_enu |9.5.5 |adobe-reader-9.5.5_enu-i486-1_SBo<br> gdal |2.3.1 |2.2.4 |gdal-2.3.1-x86_64-1_SBo_kjh<br> opencl-headers |2.2 |1.1 |opencl-headers-2.2-noarch-1_SBo<br></span><br></div></div></div>