Interactive subprocess output not echoed until process ends

"Daniel E. Fineman" <[email protected]>
Newsgroups gmane.emacs.xemacs.windows
Message-ID <000001c31763$44b2b730$8001a8c0@aardvark>
Hey all!

I've found an issue with NTEmacs and Xemacs on Windows.

If you start a shell, and then in that shell, start an interactive
sub-process (i.e. 'telnet' or 'mysql'), the user won't see the output of
the subprocess until the subprocess ends.  This isn't so useful for an
interactive session with mysql!

I.e. if, in an emacs shell, I run telnet, and hit return several times,
then type quit, this happens:

------------
~ $ telnet






quit
telnet> telnet> telnet> telnet> telnet> telnet> telnet> 
~ $ 
----------------------------

Basically, it didn't give me the output until after it'd received the
quit command.

Is there any way to get the subprocess's output to be echoed
immediately?

Thanks!

Dan Fineman
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.