all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Marvin Gülker" <m-guelker@phoenixmail.de>, 34224@debbugs.gnu.org
Subject: bug#34224: 25.1; ansi-term displays garbage on tree(1) command
Date: Tue, 29 Jan 2019 10:10:54 +1300	[thread overview]
Message-ID: <4734c77f267638c51f581a8587948513@webmail.orcon.net.nz> (raw)
In-Reply-To: <83zhrk3hsy.fsf@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


$ 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







  reply	other threads:[~2019-01-28 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-27 18:09 bug#34224: 25.1; ansi-term displays garbage on tree(1) command Marvin Gülker
2019-01-28 11:03 ` Phil Sainty
2019-01-28 13:10   ` Marvin Gülker
2019-01-28 15:47     ` Eli Zaretskii
2019-01-28 21:10       ` Phil Sainty [this message]
2019-01-29 16:17         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4734c77f267638c51f581a8587948513@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=34224@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=m-guelker@phoenixmail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.