From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from danbala.ifoer.tuwien.ac.at (danbala.ifoer.tuwien.ac.at [128.130.168.64]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s4IAlE68028433 for ; Sun, 18 May 2014 06:47:15 -0400 (EDT) Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id 14A5A390DA4; Sun, 18 May 2014 12:47:12 +0200 (CEST) Date: Sun, 18 May 2014 12:47:12 +0200 From: Thomas Klausner To: discuss@mdocml.bsd.lv Cc: Abhinav Upadhyay Subject: -Ttree: non-ASCII characters Message-ID: <20140518104711.GE10377@danbala.tuwien.ac.at> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi! apropos in NetBSD is using the mandoc library (currently 1.13.0). I noted a problem with apropos midi output and asked the author (Abhinav Upadhyay) to take a look at it. He reported the mandoc -Ttree /usr/share/man/man4/midi.4 already gave back mangled output: root (root) 0:0 Sh (block) *33:1-35 Sh (block-head) 33:1 NAME (text) 33:4 Sh (block-body) 33:1-35 Nm (elem) *34:1 midi (text) 34:4 Nd (block) *35:1 Nd (block-head) 35:1 Nd (block-body) 35:1 device^^independent MIDI driver layer (text) 35:4 The "^^" are reversed, and they correspond to this (from "mandoc midi.4" output): NAME midi -- device-independent MIDI driver layer I see that the mandoc man page says under "Mdoc Abstract Syntax Tree" TEXT <- [[:ascii:]]* There seems to be a bug here, or? Thomas -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv