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
Hi Jerry,
What exactly does this have to do with wine, does your program work under windows but not under wine?
Regards, Fabian Maurer
On Dienstag, 7. Mai 2019 20:38:41 CEST Jerry Geis wrote:
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
Sorry if I wasnt clear. Yes the program works on wine and works on windows . I 'm trying to run it under wine and redirect stdin from a file to the program. As I mentioned it only reads the first character. The "o" for open. So I can do stdin redirect under linux - always seems to work - something isnt working as I expected under wine. So I'm trying to find out what.
Thanks,
Jerry
Am 07.05.2019 um 20:49 schrieb Jerry Geis jerry.geis@gmail.com:
Sorry if I wasnt clear. Yes the program works on wine and works on windows . I 'm trying to run it under wine and redirect stdin from a file to the program. As I mentioned it only reads the first character. The "o" for open. So I can do stdin redirect under linux - always seems to work - something isnt working as I expected under wine. So I'm trying to find out what.
Is the first character working, or the first line? You may need Windows-style newlines in your input file.