Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Armin K.
On 12/31/2013 06:58 PM, Randy McMurchy wrote:
> Hi all,
> 
> Looking at the BLFS Shadow package instructions, there is a command
> and descriptive text for disabling the Korean and Chinese man pages.
> However, this is not done in LFS. Seems the two books would be
> consistent as far as which man pages are installed.
> 
> Thoughts?
> 

I believe that LFS had some note for man-db that it couldn't properly
display man pages in some languages, but that was fixed some time ago.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Bruce Dubbs
Armin K. wrote:
> On 12/31/2013 06:58 PM, Randy McMurchy wrote:
>> Hi all,
>>
>> Looking at the BLFS Shadow package instructions, there is a command
>> and descriptive text for disabling the Korean and Chinese man pages.
>> However, this is not done in LFS. Seems the two books would be
>> consistent as far as which man pages are installed.
>>
>> Thoughts?
>>
>
> I believe that LFS had some note for man-db that it couldn't properly
> display man pages in some languages, but that was fixed some time ago.

I'm not sure how to check.  I tried:

$ LANG=ko man chfn
man: can't set the locale; make sure $LC_* and $LANG are correct

but it did display the English page.  We do have the ko, zh_CN, and 
zh_TW pages installed.  I also see that nmap installs a zh page.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Pierre Labastie
Le 31/12/2013 19:17, Bruce Dubbs a écrit :
> Armin K. wrote:
>> On 12/31/2013 06:58 PM, Randy McMurchy wrote:
>>> Hi all,
>>>
>>> Looking at the BLFS Shadow package instructions, there is a command
>>> and descriptive text for disabling the Korean and Chinese man pages.
>>> However, this is not done in LFS. Seems the two books would be
>>> consistent as far as which man pages are installed.
>>>
>>> Thoughts?
>>>
>>
>> I believe that LFS had some note for man-db that it couldn't properly
>> display man pages in some languages, but that was fixed some time ago.
> 
> I'm not sure how to check.  I tried:
> 
> $ LANG=ko man chfn
> man: can't set the locale; make sure $LC_* and $LANG are correct
> 
> but it did display the English page.  We do have the ko, zh_CN, and 
> zh_TW pages installed.  I also see that nmap installs a zh page.
> 
>-- Bruce
> 
maybe you need some "localedef" command. If you have only what is on glibc
page, you do not have localedef for ko. There is zh_CN, though.

Tried:
LANG=zh_CN.GB18030 man chfn

and got a bunch of question marks (well, I do not have the right font
installed), followed by a text in English.

Well, tried too:
LANG=zh_CN.GB18030 man useradd

gives many more question marks...

Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Ken Moffat
On Tue, Dec 31, 2013 at 12:17:42PM -0600, Bruce Dubbs wrote:
> Armin K. wrote:
> > On 12/31/2013 06:58 PM, Randy McMurchy wrote:
> >> Hi all,
> >>
> >> Looking at the BLFS Shadow package instructions, there is a command
> >> and descriptive text for disabling the Korean and Chinese man pages.
> >> However, this is not done in LFS. Seems the two books would be
> >> consistent as far as which man pages are installed.
> >>
> >> Thoughts?
> >>
> >
> > I believe that LFS had some note for man-db that it couldn't properly
> > display man pages in some languages, but that was fixed some time ago.
> 
> I'm not sure how to check.  I tried:
> 
> $ LANG=ko man chfn
> man: can't set the locale; make sure $LC_* and $LANG are correct
> 
> but it did display the English page.  We do have the ko, zh_CN, and 
> zh_TW pages installed.  I also see that nmap installs a zh page.
> 
>-- Bruce
> 

 From some quick tests (in urxvt on a 'buntu "desktop" on my
netbook, using ssh to get to my 7.4 server) I can display the shadow
pages I tried for the ja_JP, ko_KR, zh_CN, zh_TW locales : but only
if I specify LC_ALL=ja_JP.UTF-8 : omitting the .UTF-8 gave me
gibberish.

 This also requires the locales, of course, and suitable fonts.

 Arguably, LFS is out of date - but very few LFS users seem to care
about CJK text.

 There is, of course, no way to display CJK in a regular tty (far
too many potential glyphs).  But from any desktop term which is
correctly set up and has a suitable font you can display them using
the form 'man /usr/share/man/ja/man1/su.1' and the same if you
replace 'ja' by 'ko', 'zh_CN' or 'zh_TW'.  Unfortunately, many of
the other pages are not present in all four of these CJK locales.

ĸen
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Bruce Dubbs
Ken Moffat wrote:
> On Tue, Dec 31, 2013 at 12:17:42PM -0600, Bruce Dubbs wrote:
>> Armin K. wrote:
>>> On 12/31/2013 06:58 PM, Randy McMurchy wrote:
 Hi all,

 Looking at the BLFS Shadow package instructions, there is a command
 and descriptive text for disabling the Korean and Chinese man pages.
 However, this is not done in LFS. Seems the two books would be
 consistent as far as which man pages are installed.

 Thoughts?

>>>
>>> I believe that LFS had some note for man-db that it couldn't properly
>>> display man pages in some languages, but that was fixed some time ago.
>>
>> I'm not sure how to check.  I tried:
>>
>> $ LANG=ko man chfn
>> man: can't set the locale; make sure $LC_* and $LANG are correct
>>
>> but it did display the English page.  We do have the ko, zh_CN, and
>> zh_TW pages installed.  I also see that nmap installs a zh page.
>>
>> -- Bruce
>>
>
>   From some quick tests (in urxvt on a 'buntu "desktop" on my
> netbook, using ssh to get to my 7.4 server) I can display the shadow
> pages I tried for the ja_JP, ko_KR, zh_CN, zh_TW locales : but only
> if I specify LC_ALL=ja_JP.UTF-8 : omitting the .UTF-8 gave me
> gibberish.
>
>   This also requires the locales, of course, and suitable fonts.
>
>   Arguably, LFS is out of date - but very few LFS users seem to care
> about CJK text.
>
>   There is, of course, no way to display CJK in a regular tty (far
> too many potential glyphs).  But from any desktop term which is
> correctly set up and has a suitable font you can display them using
> the form 'man /usr/share/man/ja/man1/su.1' and the same if you
> replace 'ja' by 'ko', 'zh_CN' or 'zh_TW'.  Unfortunately, many of
> the other pages are not present in all four of these CJK locales.

In any case, Randy's observation that LFS and BLFS install shadow 
differently is still accurate.  Should we change LFS to omit the ko/zn 
man pages or remove the sed from BLFS that does that.

I lean towards removing the sed from BLFS, but will defer to those who 
do more with non-US fonts.

   -- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Ken Moffat
On Tue, Dec 31, 2013 at 01:36:47PM -0600, Bruce Dubbs wrote:
> 
> In any case, Randy's observation that LFS and BLFS install shadow 
> differently is still accurate.  Should we change LFS to omit the ko/zn 
> man pages or remove the sed from BLFS that does that.
> 
> I lean towards removing the sed from BLFS, but will defer to those who 
> do more with non-US fonts.
> 
>-- Bruce

 I'm all for allowing _any_ text to render, even if I can't read it.
So, +1 for that from me - but I'd rather see the comments from the
editors who are actively maintaining the book.

 Meanwhile, Lang May Yer Lum Reek!

ĸen - "Just a wee deoch an doruis then ..."
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Pierre Labastie
Le 31/12/2013 22:26, Ken Moffat a écrit :
> On Tue, Dec 31, 2013 at 01:36:47PM -0600, Bruce Dubbs wrote:
>>
>> In any case, Randy's observation that LFS and BLFS install shadow 
>> differently is still accurate.  Should we change LFS to omit the ko/zn 
>> man pages or remove the sed from BLFS that does that.
>>
>> I lean towards removing the sed from BLFS, but will defer to those who 
>> do more with non-US fonts.
>>
>>-- Bruce
> 
>  I'm all for allowing _any_ text to render, even if I can't read it.
> So, +1 for that from me - but I'd rather see the comments from the
> editors who are actively maintaining the book.
> 
>  Meanwhile, Lang May Yer Lum Reek!
> 
> ĸen - "Just a wee deoch an doruis then ..."
> 
Actually, whether you have a sed in BLFS or not, you'll have all the manpages
since they are installed in LFS...

So +1 for removing: it does not change the final state and is just one line
less on the page.

Happy new year to all (1h25 left in 2013 here)

Pierre
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-dev] Nitpick with Shadow Package

2013-12-31 Thread Ken Moffat
On Tue, Dec 31, 2013 at 09:26:53PM +, Ken Moffat wrote:
> On Tue, Dec 31, 2013 at 01:36:47PM -0600, Bruce Dubbs wrote:
> > 
> > In any case, Randy's observation that LFS and BLFS install shadow 
> > differently is still accurate.  Should we change LFS to omit the ko/zn 
> > man pages or remove the sed from BLFS that does that.
> > 
> > I lean towards removing the sed from BLFS, but will defer to those who 
> > do more with non-US fonts.
> > 
> >-- Bruce
> 
>  I'm all for allowing _any_ text to render, even if I can't read it.
> So, +1 for that from me - but I'd rather see the comments from the
> editors who are actively maintaining the book.
> 
 And before the year gets any older, I'll offer my apologies to both
Bruce and Randy for misreading Randy's original post.  Anyway,
everything is for the best, in the best of all possible worlds.
[ Voltaire, Candide ]

ĸen
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page