[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Stefan Monnier
Subject: bug#1388: 23.0.60; Emacs shell problem with echo "1+1" | bc
Date: Sat, 22 Nov 2008 23:28:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> I've installed a fix that sets process-connection-type to nil for
> every element of a pipeline but the first. Or do you think the first
> element should have p-c-t nil as well?

> Currently, the first/last elements in an eshell pipeline have:
> stdin = tty/non-tty, stdout = tty/non-tty;
> whereas in a "real" shell pipeline they have:
> stdin = tty/non-tty, stdout = non-tty/tty;

> ie I chose to get the input right over the output.

Not sure if it's better in general.
Maybe we should just leave the code as is for now, but add a comment
explaining the problem.  For the longer term we can either try your
approach, or better try and come up with a way to make it work right
(i.e. extending start-process).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]