<div dir="ltr">So I figured out what&#39;s happening but I can&#39;t figure out how to work around it. <div><br>Essentially the prompt is there but since my daemon is printing to stdout there&#39;s no input to the shell so it&#39;s still waiting for input. This is why hitting return gives you a new prompt. Here&#39;s an example:</div>
<div><br></div><div>$</div><div>IP -&gt; message</div><div><br></div><div>IP2 -&gt; message</div><div><br></div><div>IP -&gt; message</div><div><br></div><div>_ &lt;--- blinking cursor</div><div><br></div><div>So that cursor is for the $ prompt at the top. Is there anyway around this or just have to live with this?</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 9:30 PM, Tejas Nadkarni <span dir="ltr">&lt;<a href="mailto:tnadkarn@stevens.edu" target="_blank">tnadkarn@stevens.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>One problem I&#39;ve noticed though is although everything runs in the background on the server when I output text (after clients connect) or even right after running the program, I&#39;m left at a flashing cursor but no shell prompt. However, if I hit return i get a shell prompt and everything continues to function. Any ideas and how I stop the need for hitting return to get back to prompt and what&#39;s causing this?</div>

<div><br></div><div>I&#39;m using daemon for my main network process and then forking children from that to handle connections. It all works except this part is odd.</div><div><br></div></div>
</blockquote></div><br></div>