all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* xemacs shell not flushing (on windows) when I get input from other programs (such as perl)
@ 2007-08-21 18:49 sandra_oconnor2
  2007-08-21 18:54 ` Joel J. Adamson
  0 siblings, 1 reply; 6+ messages in thread
From: sandra_oconnor2 @ 2007-08-21 18:49 UTC (permalink / raw)
  To: help-gnu-emacs



Does anyone know how I get through this problem?  The gist of the
matter is that when I run programs in the xemacs shell, nothing seems
to be printed until the program completes.

For example, when I run the
following simple program that takes an input and print it, it runs as
expected in the shell command window, but when I run in the emacs
shell, it doesn't print anything (except what I type) until the
program is finished.  Running on windows,  xemacs 21.4 patch 13.  Any
help would be
appreciated.  Thanks.

temp.pl
#!/usr/bin/perl
print "How old are you?\n";
$age = <>;
print "WOW! You are $age years old!\n";


Run inside emacs shell,  the >> indicates what I type

>>perl temp.pl
>>10    <------   waiting for input, hasn't printed 'how old are you' yet
How old are you?    <------- prints the lot, including what should
appear before the input was given
WOW! You are 10  years old!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-08-22 17:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-21 18:49 xemacs shell not flushing (on windows) when I get input from other programs (such as perl) sandra_oconnor2
2007-08-21 18:54 ` Joel J. Adamson
2007-08-22 16:54   ` sandra_oconnor2
2007-08-22 17:28     ` Joel J. Adamson
2007-08-22 17:30       ` Joel J. Adamson
2007-08-22 17:33         ` Joel J. Adamson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.