From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#34224: 25.1; ansi-term displays garbage on tree(1) command Date: Tue, 29 Jan 2019 10:10:54 +1300 Message-ID: <4734c77f267638c51f581a8587948513@webmail.orcon.net.nz> 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> <83zhrk3hsy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="64793"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Orcon Webmail Cc: Marvin =?UTF-8?Q?G=C3=BClker?= , 34224@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 28 22:12:54 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 1goED7-000GjV-T5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 22:12:54 +0100 Original-Received: from localhost ([127.0.0.1]:38655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goED6-0002nA-Uj for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Jan 2019 16:12:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goECy-0002ma-Tt for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 16:12:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goECI-0001Dx-K0 for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 16:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goECI-0001Dl-Gr for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 16:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goECI-0006ng-7K for bug-gnu-emacs@gnu.org; Mon, 28 Jan 2019 16:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Jan 2019 21:12:02 +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.154870986926080 (code B ref 34224); Mon, 28 Jan 2019 21:12:02 +0000 Original-Received: (at 34224) by debbugs.gnu.org; 28 Jan 2019 21:11:09 +0000 Original-Received: from localhost ([127.0.0.1]:49559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goEBR-0006mZ-26 for submit@debbugs.gnu.org; Mon, 28 Jan 2019 16:11:09 -0500 Original-Received: from smtp-4.orcon.net.nz ([60.234.4.59]:46300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1goEBN-0006mL-MH for 34224@debbugs.gnu.org; Mon, 28 Jan 2019 16:11:06 -0500 Original-Received: from [10.253.37.70] (port=47522 helo=webmail.orcon.net.nz) by smtp-4.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1goEBC-00069d-J5; Tue, 29 Jan 2019 10:10:55 +1300 Original-Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Tue, 29 Jan 2019 10:10:54 +1300 In-Reply-To: <83zhrk3hsy.fsf@gnu.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- 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:154854 Archived-At: On 2019-01-29 04:47, Eli Zaretskii wrote: > 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. Does this help? $ tree -A | cat -v . ^[(0tqq ^[(Bbar ^[(0tqq ^[(Bfoo ^[(0mqq ^[(Bsubdir ^[(0 tqq ^[(Bbar ^[(0 mqq ^[(Bfoo 1 directory, 4 files $ tree -A . 0tqq Bbar 0tqq Bfoo 0mqq Bsubdir 0 tqq Bbar 0 mqq Bfoo 1 directory, 4 files $ tree . ├── bar ├── foo └── subdir ├── bar └── foo 1 directory, 4 files I note that the 'tqq' and 'mqq' match up with the VT column at: http://www.robelle.com/smugbook/linedraw.html