When I compile programs in MinGW, they dont print
messages in interactive mode with user. For example: I
compile sqlite. Then when I execute sqlite.exe cursor
goes first position in line but doesn't print anything.
Normal is that it write "SQLITE version...", etc, and a
prompt: "squilte>". I have confirmed that programs run
ok but without printing.
If I execute program out from Msys (in cmd for example)
it goes ok.
Of course, I've tryed with several programs and it is the
same effect.
System information:
OS version: Windows XP
gcc version: 3.3.3 (mingw special) included in Msys
1.0.10
ld version: GNU ld version 2.15.90 20040222
mingw version: 3.1.0-1
build environment: MSYS 1.0.10
w32api: 2.5
Logged In: YES
user_id=15438
This is a known issue. It is one of the top most items on
my list to resolve. It is a problem with the state of the
pipes used to communicate between
rxvt<->sh<->MyNONMSYSProgram. For some reason sh doesn't
retrieve the output from the program.
Try /c/winnt/system32/ftp.exe
help
quit
You'll see the output of help displayed after you quit.
Flushing the output buffer in the MyNONMSYSProgram helps.
Or not using rxvt works. Try ``start sqllite'' instead.
Earnie.
I tried to resolve this but there is no known method to make it work correctly. The PTY issue plagues Cygwin as well.