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


Message #14 received at 34224 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Marvin Gülker <m-guelker <at> phoenixmail.de>
Cc: psainty <at> orcon.net.nz, 34224 <at> debbugs.gnu.org
Subject: Re: bug#34224: 25.1; ansi-term displays garbage on tree(1) command
Date: Mon, 28 Jan 2019 17:47:41 +0200
> Date: Mon, 28 Jan 2019 14:10:53 +0100
> From: Marvin Gülker <m-guelker <at> phoenixmail.de>
> Cc: 34224 <at> 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.




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.