--- Begin Message ---
Subject: |
23.0.60; Emacs shell problem with echo "1+1" | bc |
Date: |
Tue, 6 May 2008 16:35:15 +0200 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
[ 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''
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#1388: 23.0.60; Emacs shell problem with echo "1+1" | bc |
Date: |
Sat, 29 Nov 2008 20:29:48 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Glenn Morris wrote:
> Checking if the final command in a pipeline looks like "bc" and if
> so doing something special seems like an ugly hack.
On second thoughts, no it doesn't, and I installed something along
those lines.
--- End Message ---