Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Yaakov S Subject: Re: d --tree problem with "line draw" characters Date: Fri, 05 Dec 2003 02:47:35 -0500 Lines: 88 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en In-Reply-To: X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 First, my apologies for the delay in response. My old computer on which I packaged 'd' died soon after, and I was without a computer for a few weeks. I just tonight got online with my new(er) computer. I duplicated this bug with similar results in every shell, except for rxvt, which just shows two boxes in place of the ASCII characters. This is likely a bug in the upstream version, and I have passed this along to the author. When I have more news I hope to get back to you. Yaakov Selkowitz 'd' maintainer Buchbinder, Barry (NIH/NIAID) wrote: | d -t in bash in a command shell gives string like "0xB", "0mqB", "0tqB", | etc, instead of line draw characters or ASCII characters that can substitute | for line draw characters (e.g., "|-\+"). | | for example | /c/dw2> d -t -c- | head | /c/DW2/: | 0tqBNIAID/: | 0xB 0mqBNIAID.batch | 0tqBout/: | 0xB 0tqBCC/: | 0xB 0tqBCDC/: | 0xB 0tqBCIT/: | 0xB 0tqBFDA/: | 0xB 0tqBFIC/: | 0xB 0tqBIHS/: | /c/dw2> d -t -c- | head | od -c | 0000000 / c / D W 2 / : \n 033 ( 0 t q | 0000020 033 ( B N I A I D / : \n 033 ( 0 | 0000040 x 033 ( B 033 ( 0 m q 033 ( B N | 0000060 I A I D . b a t c h \n 033 ( 0 | 0000100 t q 033 ( B o u t / : \n 033 ( 0 | 0000120 x 033 ( B 033 ( 0 t q 033 ( B C | 0000140 C / : \n 033 ( 0 x 033 ( B | 0000160 033 ( 0 t q 033 ( B C D C / : \n | 0000200 033 ( 0 x 033 ( B 033 ( 0 t q 033 | 0000220 ( B C I T / : \n 033 ( 0 x 033 ( | 0000240 B 033 ( 0 t q 033 ( B F D A / | 0000260 : \n 033 ( 0 x 033 ( B 033 ( | 0000300 0 t q 033 ( B F I C / : \n 033 ( | 0000320 0 x 033 ( B 033 ( 0 t q 033 ( B | 0000340 I H S / : \n | 0000346 | | What environmental variable need to be set to get to get this to work? | | Might the maintainer patch d so that it detects the state and automatically | puts out the characters that work? (I know, PTC, but I'm not a programmer.) | | For the record, one can do the following (note the reintroduction of | colorization), but it is a severely inconvenient: | /c/dw2> d -t | head | sed -e 's/^[(B//g' -e 's/^[(0x/|/g' -e 's/^[(0tq/+/g' | -e 's/^[(0mq/\\/g' | /c/DW2/: | +NIAID/: | | \NIAID.batch | +out/: | | +CC/: | | +CDC/: | | +CIT/: | | +FDA/: | | +FIC/: | | +IHS/: | | - Barry Buchbinder | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/0DgWpiWmPGlmQSMRAhZ/AJ4ukqDmUjdvqQGC60zaTDm2uS/sIQCaAlis yC0mjDisYigJCRy/iw+JriE= =67ew -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/