From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19643: Emacs shell mode problem Date: Sun, 25 Jan 2015 18:20:23 +0200 Message-ID: <83r3uirfw8.fsf@gnu.org> References: <83vbk1htzk.fsf@WILLIAM.i-did-not-set--mail-host-address--so-tickle-me> <20150124094503.e79c268344a9d5d47f0a5d337a98b23b.112f9b7d2a.wbe@email10.secureserver.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422202935 14573 80.91.229.3 (25 Jan 2015 16:22:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2015 16:22:15 +0000 (UTC) Cc: 19643@debbugs.gnu.org To: twilliam@twilliam.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 17:22:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFPww-0003s3-Kz for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 17:22:10 +0100 Original-Received: from localhost ([::1]:38161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFPwv-0008IV-Su for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 11:22:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFPws-0008IP-M4 for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 11:22:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFPwo-0003MG-Li for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 11:22:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFPwo-0003MA-Iv for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 11:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YFPwo-0000KI-3Z for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 11:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jan 2015 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19643 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 19643-submit@debbugs.gnu.org id=B19643.14222028791138 (code B ref 19643); Sun, 25 Jan 2015 16:22:02 +0000 Original-Received: (at 19643) by debbugs.gnu.org; 25 Jan 2015 16:21:19 +0000 Original-Received: from localhost ([127.0.0.1]:56066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YFPw7-0000IF-40 for submit@debbugs.gnu.org; Sun, 25 Jan 2015 11:21:19 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:45816) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YFPw3-0000Hk-MH for 19643@debbugs.gnu.org; Sun, 25 Jan 2015 11:21:17 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NIQ00C00QJF5900@a-mtaout20.012.net.il> for 19643@debbugs.gnu.org; Sun, 25 Jan 2015 18:20:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIQ00CVBQQE5E00@a-mtaout20.012.net.il>; Sun, 25 Jan 2015 18:20:39 +0200 (IST) In-reply-to: <20150124094503.e79c268344a9d5d47f0a5d337a98b23b.112f9b7d2a.wbe@email10.secureserver.net> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98711 Archived-At: > From: > Date: Sat, 24 Jan 2015 09:45:03 -0700 > > Here is a simple one called oneline.pl: > > use 5.012; > use strict; > #$|=1; > > my $line = ; > print "\$line = $line\n"; > > In a DOS window it runs like this: > > C:\Perl>oneline.pl > 1234 > $line = 1234 > > C:\Perl> > > Note in DOS I type in the line 1234, and the program prints "$line = 1234". > > In Emacs shell mode it runs like this: > > c:\Perl>oneline.pl > oneline.pl > $line = > > c:\Perl> > > In Emacs the program doesn't pause to wait for a keyboard input. It blows right > through it and then prints "$line = ". I see this on Windows XP, but not on Windows 7. So it's clearly some subtlety of how Windows buffers pipes and reads from stdin. Unless someone has more insight, I don't see what we can do with this problem.