all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sandra_oconnor2@yahoo.com
To: help-gnu-emacs@gnu.org
Subject: xemacs shell not flushing (on windows) when I get input from other programs (such as perl)
Date: Tue, 21 Aug 2007 11:49:29 -0700	[thread overview]
Message-ID: <1187722169.298073.263240@19g2000hsx.googlegroups.com> (raw)



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!

             reply	other threads:[~2007-08-21 18:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-21 18:49 sandra_oconnor2 [this message]
2007-08-21 18:54 ` xemacs shell not flushing (on windows) when I get input from other programs (such as perl) 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1187722169.298073.263240@19g2000hsx.googlegroups.com \
    --to=sandra_oconnor2@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.