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 #11 received at 34224 <at> debbugs.gnu.org (full text, mbox):

From: Marvin Gülker <m-guelker <at> phoenixmail.de>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: 34224 <at> debbugs.gnu.org
Subject: Re: bug#34224: 25.1; ansi-term displays garbage on tree(1) command
Date: Mon, 28 Jan 2019 14:10:53 +0100
Am 29. Januar 2019 um 00:03 Uhr +1300 schrieb Phil Sainty:
> FYI I can't replicate that in 25.3 or 26.1 under Ubuntu GNU/Linux 18.04.
> 
> (i.e. The tree output looks correct to me.)
> 
> Does the same thing happen if you run emacs -Q ?

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. I don't really
remember what made me turn this option on in my alias. Since a few years
I use urxvt as my terminal emulator, so it might have been a faulty
terminal emulator. When I switched to urxvt, I probably forgot about
it. urxvt never had a problem with that option, though.

> Are you able to install 25.3 for testing?

Yes, I just compiled it from source. The problem still exists with emacs
25.3.

> Perhaps this is just a font problem at your end?

See above; it's tree's -A option.

Marvin

-- 
Blog: https://mg.guelker.eu
PGP/GPG ID: F1D8799FBCC8BC4F




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.