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.