Mail Archives: djgpp/2000/12/06/02:57:34
On Wed, 6 Dec 2000 vonbane AT my-deja DOT com wrote:
> in dos mode it works fine, its only when running it from a dos window in
> windows when the problem occurs. its usually been around 12-13 loops
> before it fails to read anything from the pfp file pointer.
Modify your program to pause when the problem happens (e.g., by
calling `getch'). Then open another DOS box, look at the temporary
file created by `popen', and tell what does it contain.
(You can find the temporary file used by `popen' in the `tmp'
subdirectory of the DJGPP installation directory, by sorting the files
there by their creation time.)
Also, what kind of program is `rsh'? Is it a Windows program, a DJGPP
program, or compiled with some other compiler? You say that it works on
DOS, so I guess it's not a Windows program; in that case, what network
library does it use to connect to the Unix host?
- Raw text -