From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wojciech Meyer Newsgroups: gmane.emacs.devel Subject: Re: Eshell broken - piping? Date: Sat, 31 Jul 2010 19:52:41 +0100 Message-ID: <87sk2z5vra.fsf@gmail.com> References: <878w4s78z0.fsf@gmail.com> <87pqy4fmw3.fsf@telefonica.net> <871vaj7r9y.fsf@gmail.com> <53EDCF01-C9F9-42FA-9CA8-59BF26AEEBE8@mit.edu> <4C54569D.1090200@swipnet.se> <87k4obfr6i.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1280602386 4375 80.91.229.12 (31 Jul 2010 18:53:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 31 Jul 2010 18:53:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes , Jan =?utf-8?Q?Dj?= =?utf-8?Q?=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 31 20:53:02 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OfHB4-0003JO-5c for ged-emacs-devel@m.gmane.org; Sat, 31 Jul 2010 20:52:59 +0200 Original-Received: from localhost ([127.0.0.1]:58717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfHB2-0005mL-2a for ged-emacs-devel@m.gmane.org; Sat, 31 Jul 2010 14:52:56 -0400 Original-Received: from [140.186.70.92] (port=47455 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfHAv-0005mF-E2 for emacs-devel@gnu.org; Sat, 31 Jul 2010 14:52:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfHAt-0006oY-Tk for emacs-devel@gnu.org; Sat, 31 Jul 2010 14:52:49 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:52123) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfHAt-0006oT-Pi for emacs-devel@gnu.org; Sat, 31 Jul 2010 14:52:47 -0400 Original-Received: by wyg36 with SMTP id 36so2367643wyg.0 for ; Sat, 31 Jul 2010 11:52:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=ZboaVJ3n4cBBCiVnI221ArpM0easyVrDZaMwhkzKNVw=; b=PBgO2OcOG9llELo0zhWwIlJRJ9FHoX9jct4k8C337GK9iQnDC7tUvIEYiwvQf1bs4h 5r3lgDNnGd/wpUKCLO7wEnEYF/9wboleA3LfWDw9vODTDRrTTTKY1l87MZHh1YAB6M/b tBbi7YqRTkoSXnaFQ4BDa17waQiBBEddy9b7Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; b=GHx6xTCMjo7KzI0HxCz4J/ug5b+xNk3J01ccLvf4lohoIwgt51YYqEwoT7f9PzE6/h c9Dqk+OLbcPuj8lvXbYCr572saYQi0ZYTBmc37dqjTR5fnMPStpQ4zHl67+JdXVA+xEv /TmBj6yR+FsbFJYHtXbzHQBqrFPQQbzbYLMks= Original-Received: by 10.227.72.141 with SMTP id m13mr3130013wbj.143.1280602366773; Sat, 31 Jul 2010 11:52:46 -0700 (PDT) Original-Received: from spec-desktop.specuu.com (host86-137-129-202.range86-137.btcentralplus.com [86.137.129.202]) by mx.google.com with ESMTPS id n40sm1885670weq.29.2010.07.31.11.52.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 31 Jul 2010 11:52:45 -0700 (PDT) In-Reply-To: <87k4obfr6i.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Sat, 31 Jul 2010 20:21:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128062 Archived-At: =C3=93scar Fuentes writes: > Jan Dj=C3=A4rv writes: > >> It seems that the old "disable icanon" is responsible for this also. >> If you enable icanon in terminal setup, things work as expected. >> >> Can we please enable icanon? Any possible data loss (still haven't >> heard of a real case where this happens) must be solved in another >> way. > > Blush... > > I'm using a build with one commit reversed, because otherwise magit.el > hangs often while invoking git. I just tried the sources from bzr and, > indeed, cat foo | wc hangs. So they seem the same problem. > > The bug was documented on magit's tracker here: > > http://github.com/philjackson/magit/issues#issue/18 > > This is the revision that caused havoc on magit (and on eshell as well): > > http://repo.or.cz/w/emacs.git/commitdiff/ee1b6e21aa2b831499659b7f58ec94b9= 5016cec7 > > +2010-06-01 Stefan Monnier > + > + * sysdep.c (child_setup_tty): Move the non-canonical initializati= on to > + the HAVE_TERMIO where it belongs (bug#6149). Thanks for this, it will make life easier. (Yes, I tried to attack the problem, from the lisp side, however my search was not fruit-full). BTW: Looking at the commit, it looks like it is activated only in TTY - and I found the problem in GTK+ emacs? Cheers; Wojciech