From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#19643: Emacs shell mode problem Date: Sat, 24 Jan 2015 09:45:03 -0700 Message-ID: <20150124094503.e79c268344a9d5d47f0a5d337a98b23b.112f9b7d2a.wbe@email10.secureserver.net> References: <83vbk1htzk.fsf@WILLIAM.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1422117972 29532 80.91.229.3 (24 Jan 2015 16:46:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2015 16:46:12 +0000 (UTC) To: 19643@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 17:46: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 1YF3qd-0004ZQ-6D for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 17:46:11 +0100 Original-Received: from localhost ([::1]:35460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF3qc-0001pB-Gr for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 11:46:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF3qY-0001p6-1F for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 11:46:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YF3qU-0003f8-Pm for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 11:46:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YF3qU-0003f3-MS for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 11:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YF3qT-0003g1-W2 for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 11:46:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <83vbk1htzk.fsf@WILLIAM.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jan 2015 16:46:01 +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.142211791414071 (code B ref 19643); Sat, 24 Jan 2015 16:46:01 +0000 Original-Received: (at 19643) by debbugs.gnu.org; 24 Jan 2015 16:45:14 +0000 Original-Received: from localhost ([127.0.0.1]:55324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YF3ph-0003et-Na for submit@debbugs.gnu.org; Sat, 24 Jan 2015 11:45:14 -0500 Original-Received: from p3plsmtp10-03-2.prod.phx3.secureserver.net ([97.74.135.186]:40818 helo=p3plwbeout10-03.prod.phx3.secureserver.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YF3pf-0003ef-6j for 19643@debbugs.gnu.org; Sat, 24 Jan 2015 11:45:12 -0500 Original-Received: from localhost ([97.74.135.244]) by p3plwbeout10-03.prod.phx3.secureserver.net with bizsmtp id jsl51p0015GZ5JR01sl5LN; Sat, 24 Jan 2015 09:45:05 -0700 X-SID: jsl51p0015GZ5JR01 Original-Received: (qmail 24211 invoked by uid 99); 24 Jan 2015 16:45:05 -0000 X-Originating-IP: 68.2.157.163 User-Agent: Workspace Webmail 5.7.10 X-Sender: twlllmxxx@twilliam.org 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:98677 Archived-At:
I KNOW this is not an Emacs bug.  Eli Zaretskii suggeste= d I report it as one.

I never invoke a Perl progra= m with a line like

    perl -w myscript.pl

Rather = I go into the Perl directory and type the name of the program.  The pr= ogram I run in a DOS window are exactly the same one I run in Emacs shell.<= /div>

Here is a simple one called oneline.pl:

    use 5.0= 12;
    use strict;
    #= $|=3D1;

    my $line =3D <STDIN&= gt;;
    print "\$line =3D $line\n";
In a DOS window it runs like this:

&nb= sp;   C:\Perl>oneline.pl
    1234
    $line =3D 1234<= /div>

    C:\Perl>

Note in DOS I type in the line 1234, and the program prints "$line = =3D 1234".

In Emacs shell mode it runs like this:<= /div>

    c:\Perl>oneline.pl
    oneline.pl
    $line =3D

   = c:\Perl>

In Emacs the program doesn't pause to wait f= or a keyboard input.  It blows right through it and then prints "$line= =3D ".

The -w switch is not involved.
<= br>