<div dir="ltr">So I figured out what's happening but I can't figure out how to work around it. <div><br>Essentially the prompt is there but since my daemon is printing to stdout there's no input to the shell so it's still waiting for input. This is why hitting return gives you a new prompt. Here's an example:</div>
<div><br></div><div>$</div><div>IP -> message</div><div><br></div><div>IP2 -> message</div><div><br></div><div>IP -> message</div><div><br></div><div>_ <--- 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"><<a href="mailto:tnadkarn@stevens.edu" target="_blank">tnadkarn@stevens.edu</a>></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'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'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's causing this?</div>
<div><br></div><div>I'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>