telnet and stderr problem

I’ve encountered a very annoying problem with QNX and I’m wondering
if someone has a solution for this problem.

I am telnet’ing into a QNX box from Windows.
Whenever I compile or run any other program that writes output to
the stderr device, the telnet session hangs.
e.g., if I compile some source file that has a syntax error, a command
like the following will hang the telnet session:

qcc fileWithErrors.c

The hangup occurs when it attempts to write the error message to
the stderr device.

If I do the following, the session does not hang.

qcc fileWithErrors.c 2>somefile.txt
cat somefile.txt

Any suggestions?
Randy Hyde