<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Tom, <div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 22, 2015, at 08:50, Tom Quarendon <<a href="mailto:tom.quarendon@teamwpc.co.uk" class="">tom.quarendon@teamwpc.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">If I connect multiple front ends to the same jupyter/ipython kernel, then having read the message docs I naively expected that everything I did on one would get mirrored on the other. So if I create a cell and run it on one front end, I naively expected that the other front end would display the executed cell text along with any output.<o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">However this doesn’t happen.<span class="Apple-converted-space"> </span><o:p class=""></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Is this as expected? I rather assumed that the point of everything being sent out on the iopub socket was to make collaboration between front ends and sharing of kernels possible.</div></div></div></blockquote><div><br class=""></div><div><br class=""></div><div>All the front-end do receive the broadcasted messages, the front-end can then decide what to do with these input/output. </div><div>IIRC the ipython console will show other outputs that comes don’t originate from them, but not all client handle that. </div><div><br class=""></div><div>You might need to set --ZMQTerminalInteractiveShell.include_other_output=True on the command line arguments or configuration:</div><div><br class=""></div><div><br class=""></div><div><div>In [7]:</div><div>[remote] In [7]: "hey I'm remote"</div><div>[remote] Out[7]: "hey I'm remote"</div><div><br class=""></div><div>In [7]:</div></div><div><br class=""></div><div>In the notebook in particular, what to do with other input/output is not obvious. Do you append it at the end ? Replace current cell ? </div><div>Append just after current cells ? Just before ? </div><div><br class=""></div><div>Keep in mind that kernel is not aware it is run from a notebook in the case of a notebook, so there is work in progress to synchronize</div><div>the state of multiple notebook, but this is independent from what the kernel broadcasts. </div><div><br class=""></div><div><br class=""></div><div>Does that make sens ?</div><div><br class=""></div><div>-- </div><div>M</div><div><br class=""></div><div><br class=""></div></div></div></body></html>