Subject: bug#1388 closed by Glenn Morris <[email-masked]> (Re: bug#1388: 23.0.60; Emacs shell problem with echo "1+1" | bc)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#1388: 23.0.60; Emacs shell problem with echo "1+1" | bc

It has been closed by Glenn Morris <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Glenn Morris <[email-masked]> by
replying to this email.

-- 
1388: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1388
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Sat Nov 22 19:16:44 2008
From: Glenn Morris <[email-masked]>
To: [email-masked]
Subject: Re: bug#1388: 23.0.60; Emacs shell problem with echo "1+1" | bc
Date: Sat, 22 Nov 2008 22:16:28 -0500

Thanks for the report; sorry for the long delay in responding.

This should be fixed in the current CVS. You still need to use
/bin/echo, or set eshell-plain-echo-behavior non-nil, for it to work right.

>From [email-masked] Thu Nov 20 00:03:10 2008
From: "Jhair Tocancipa Triana" <[email-masked]>
To: [email-masked]
Subject: 23.0.60; Emacs shell problem with echo "1+1" | bc
Date: Tue, 6 May 2008 16:35:15 +0200
Lines: 168
Sender: Glenn Morris <[email-masked]>

--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline

[ Edited resend from
  http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00349.html ]

Type the following after M-x eshell RET:

echo "1+1" | bc

and then the return key. Instead of the expected answer 2, eshell
displays:

bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.

now type the return key again. Here the answer is shown:

2

type the return key again. Nothing happens. Eshell blocks. Control-C
shows:

(interrupt) use quit to exit.

In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2008-05-06 on golem
Windowing system distributor `The X.Org Foundation', version 11.0.70000000
configured using `configure  '--enable-font-backend--with-gtk'
'--with-gif=no''

--=-=-=--