Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2009 16:36:34 +0300
From:      Gleb Kozyrev <gkozyrev@gmail.com>
To:        rick-freebsd2008@kiwi-computer.com
Cc:        Boris Samorodov <bsam@ipt.ru>, freebsd-current@freebsd.org
Subject:   Re: man and UTF-8 locales
Message-ID:  <ca661e8a0908260636m442f6d3ewe0e2e490c4c7f00@mail.gmail.com>
In-Reply-To: <20090825232212.GA48012@keira.kiwi-computer.com>
References:  <01895862@bb.ipt.ru> <86ab1pf8rj.fsf@gmail.com> <53729554@bb.ipt.ru> <20090825210719.GB46753@keira.kiwi-computer.com> <91153350@h30.sp.ipt.ru> <20090825232212.GA48012@keira.kiwi-computer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 26, 2009 at 2:22 AM, Rick C.
Petty<rick-freebsd2008@kiwi-computer.com> wrote:
> On Wed, Aug 26, 2009 at 02:06:33AM +0400, Boris Samorodov wrote:
>> On Tue, 25 Aug 2009 16:07:19 -0500 Rick C. Petty wrote:
>> > On Tue, Aug 25, 2009 at 03:03:41PM +0400, Boris Samorodov wrote:
>> > > On Mon, 24 Aug 2009 20:59:12 +0400 Anonymous wrote:
>> > > > Boris Samorodov <bsam@ipt.ru> writes:
>> > >
>> > > > > Manual pages are still broken for UTF-8 locale. Here is a part
>> > > > > of bzip2(1):
>> > > > > ftp://ftp.ipt.ru/pub/images/man_bzip2.gif
>> =A0 =A0 =A0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ =A0 =A0 =A0 [1]
>>
>> > It was already fixed on 2009-05-21 and MFC'd to 7-stable.
>>
>> This screen [1] was taken from 8-BETA3.
[...]
> % grep -C 3 sum contrib/groff/font/devutf8/R.proto
> st =A0 =A0 =A024 =A0 =A0 =A00 =A0 =A0 =A0 0x220B
> product 24 =A0 =A0 =A00 =A0 =A0 =A0 0x220F
> coproduct =A0 =A0 =A0 24 =A0 =A0 =A00 =A0 =A0 =A0 0x2210
> sum =A0 =A0 24 =A0 =A0 =A00 =A0 =A0 =A0 0x2211
> \- =A0 =A0 =A024 =A0 =A0 =A00 =A0 =A0 =A0 0x002D
> mi =A0 =A0 =A0"
> -+ =A0 =A0 =A024 =A0 =A0 =A00 =A0 =A0 =A0 0x2213

Do all system manpages need converting to '\-'? It would take a lot of work=
.
The bzip2 one still has many plain '-'-s.

>.B \-L --license -V --version
>Display the software version, license terms and conditions.

Looking at manpages from ports...
smartctl(8) has all dashes replaced with '\-'.

>\fBsmartctl\fP controls the Self\-Monitoring, Analysis and Reporting
>Technology (SMART) system built into many ATA\-3 and later ATA, IDE and
>SCSI\-3 hard drives.

What's the point of manually replacing one character with another everywher=
e?

perl(1) has only some dashes replaced but plain '-'-s still aren't mangled
somehow, so this actually looks fine:

>.IP "\(bu" 4
>roll-your-own magic variables (including multiple simultaneous \s-1DBM\s0
>implementations)

Can anyone comment on this?

>From contrib/groff/font/devutf8/R.proto:
>-       24      0       0x2010

Please note that Windows fonts seem to lack the 0x2010 character so this is=
sue
may raise many questions in the future.

--=20
With best regards, Gleb Kozyrev.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ca661e8a0908260636m442f6d3ewe0e2e490c4c7f00>