Hi all - I am trying to get stdin (from a file) working with my app.

Seems like the very first character works from the file - but then nothing after that.

I am trying to simulate the keyboard hitting. the following:

o
UserName
192.168.5.50

Is there something special to format this file for stdin ? 
is it because of carriage returns in the file - one entry per line ?

How do I accomplish stdin from a file ? 

Thanks

Jerry