From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34224: 25.1; ansi-term displays garbage on tree(1) command Date: Mon, 28 Jan 2019 17:47:41 +0200 Message-ID: <83zhrk3hsy.fsf@gnu.org> References: <87munm7z0o.fsf@atlantis.i-did-not-set--mail-host-address--so-tickle-me> <9e65e535-9295-14b1-86ca-8372eeebcb58@orcon.net.nz> <20190128131053.fdxv6giultliuocn@atlantis> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66244"; mail-complaints-to="usenet@blaine.gmane.org" Cc: psainty@orcon.net.nz, 34224@debbugs.gnu.org To: Marvin =?UTF-8?Q?G=C3=BClker?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 28 16:59:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go9JR-000H0m-L4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 16:59:05 +0100 Original-Received: from localhost ([127.0.0.1]:34119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go9JQ-0004Rc-5z for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 10:59:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go9HB-0002Bv-UM for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 10:56:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go99i-0003E2-UI for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 10:49:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50014) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1go99h-0003Dl-Ui for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 10:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1go99h-0007DG-L7 for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 10:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Jan 2019 15:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34224 X-GNU-PR-Package: emacs Original-Received: via spool by 34224-submit@debbugs.gnu.org id=B34224.154869048627661 (code B ref 34224); Mon, 28 Jan 2019 15:49:01 +0000 Original-Received: (at 34224) by debbugs.gnu.org; 28 Jan 2019 15:48:06 +0000 Original-Received: from localhost ([127.0.0.1]:49295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go98n-0007C4-To for submit@debbugs.gnu.org; Mon, 28 Jan 2019 10:48:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1go98j-0007B8-OA for 34224@debbugs.gnu.org; Mon, 28 Jan 2019 10:48:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go98c-0002wt-MM; Mon, 28 Jan 2019 10:47:54 -0500 Original-Received: from [176.228.60.248] (port=1166 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1go98c-0001wR-3s; Mon, 28 Jan 2019 10:47:54 -0500 In-reply-to: <20190128131053.fdxv6giultliuocn@atlantis> (message from Marvin =?UTF-8?Q?G=C3=BClker?= on Mon, 28 Jan 2019 14:10:53 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:154846 Archived-At: > Date: Mon, 28 Jan 2019 14:10:53 +0100 > From: Marvin Gülker > Cc: 34224@debbugs.gnu.org > > Yes, it happens with emacs -Q. But when I reported the bug, I forgot > that since pretty much forever I had an alias for "tree" in my zsh > config that aliases the tree command to "tree -AC". Removing the alias > solves the problem. Fiddling shows the it's the -A option that causes > the problem. So, the actual problem is that ansi-term doesn't work > with tree's -A option. > > Given that the -A option is declared as a "hack" in tree's manual page, > I don't know whether it should actually be cared about. If someone can tell what does 'tree' do to "turn on ANSI line graphics hack", then perhaps we could decide whether there's something wrong with how Emacs interprets the bytestream delivered to it by 'tree' in this mode.