<div dir="ltr">As a test I did this:<div>pv -c -N One &lt;/dev/zero | nc -b 65536 host1 10001<br></div><div>but all I get is<br></div><div>^[[45;1R<br></div><div>on the sending end and</div><div>^[[63;1R<br></div><div>on the listening end. And there it hangs. Both ends. This is after I set up the terminal-type in Solaris. Cursor positioning? Why wouldn&#39;t it be interpreted properly?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 13, 2014 at 12:42 AM, Adam Thompson <span dir="ltr">&lt;<a href="mailto:athompso@athompso.net" target="_blank">athompso@athompso.net</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Something Trevor said made me think of this:<br>
<br>
Host 2:<br>
(nc -l 10001 | pv -c -N one &gt;/dev/null &amp; nc -l 10002 | pv -c -N two &gt;/dev/null &amp; nc -l 10003 | pv -c -N three &gt;/dev/null &amp; nc -l 10004 | pv -c -N four &gt;/dev/null)<br>
<br>
Host 1:<br>
( pv -c -N one &lt;/dev/zero | nc host2 10001 &amp; pv -c -N two &lt;/dev/zero | nc host2 10002 &amp; pv -c -N three &lt;/dev/zero | nc host2 10003 &amp; pv -c -N four &lt;/dev/zero | nc host2 10004 )<br>
<br>
As long as all the pv instances have the same controlling tty and process group, which is accomplished by putting the whole thing inside parentheses ( &quot;(&quot;,&quot;)&quot; ) the IPC stuff works correctly. It&#39;s designed for parts of a single pipeline yes, but this trick appears to fool pv adequately well.  At least on Linux and OpenBSD this works, not sure about Solaris.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Adam<br>
<br>
-- <br>
-Adam Thompson<br>
 <a href="mailto:athompso@athompso.net" target="_blank">athompso@athompso.net</a><br>
 Cell: <a href="tel:%2B1%20204%20291-7950" value="+12042917950" target="_blank">+1 204 291-7950</a><br>
 Fax: <a href="tel:%2B1%20204%20489-6515" value="+12044896515" target="_blank">+1 204 489-6515</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Roundtable mailing list<br>
<a href="mailto:Roundtable@muug.mb.ca" target="_blank">Roundtable@muug.mb.ca</a><br>
<a href="http://www.muug.mb.ca/mailman/listinfo/roundtable" target="_blank">http://www.muug.mb.ca/mailman/<u></u>listinfo/roundtable</a><br>
</div></div></blockquote></div></div>