Hi all,
I'm starting a linux interactive console application that uses the ncurses library, from my SWING application.
The program starts ok, but even if i don't do anything with the stdin stream object, it keeps sending line feed characters to the process. I guess this is some kind of weird stream initialisation from the spawned process (maybe due to ncurses).
The process uses wgetc to grab characters from stdin (i'm not completely sure about this).
Has anybody got any clue about what is going on ?
For info, here's the simplistic version of the source code i'm using: