GNU bug report logs - #34224
25.1; ansi-term displays garbage on tree(1) command

Previous Next

Package: emacs;

Reported by: m-guelker <at> phoenixmail.de (Marvin Gülker)

Date: Sun, 27 Jan 2019 18:11:01 UTC

Severity: wishlist

Found in version 25.1

Full log


View this message in rfc822 format

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 34224 <at> debbugs.gnu.org, Marvin Gülker <m-guelker <at> phoenixmail.de>
Subject: bug#34224: 25.1; ansi-term displays garbage on tree(1) command
Date: Tue, 29 Jan 2019 10:10:54 +1300
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






This bug report was last modified 6 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.