GNU bug report logs -
#34224
25.1; ansi-term displays garbage on tree(1) command
Previous Next
Full log
Message #20 received at 34224 <at> debbugs.gnu.org (full text, mbox):
severity 34224 wishlist
thanks
> Date: Tue, 29 Jan 2019 10:10:54 +1300
> From: Phil Sainty <psainty <at> orcon.net.nz>
> Cc: Marvin Gülker <m-guelker <at> phoenixmail.de>,
> 34224 <at> debbugs.gnu.org
>
> 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
Yes, thanks. These are escape sequences which term.el doesn't
currently support:
(defun term-emulate-terminal (proc str)
[...]
;; Ignore NUL, Shift Out, Shift In.
((or ?\0 #xE #xF 'nil) nil))
Patches to add such support are welcome.
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.