Re: login.conf -- UTF-8

2014-04-05 Thread Andrey Chernov
Few explanations to clarify maybe non-obvious moments: On 05.04.2014 7:35, Andrey Chernov wrote: big hack and slowing sorting down up to 10 times. Because our search for chains is linear because common single byte table have no more than 2-3 chains. I don't think it worth efforts to optimize

Re: login.conf -- UTF-8

2014-04-04 Thread Gleb Smirnoff
On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: A On 02.04.2014 21:15, Gleb Smirnoff wrote: A S + :lang=en_US.UTF-8:\ A S + :charset=UTF-8: A A And I'd like to do same change for the 'russian' login class A in /etc/login.conf. A A Please everybody remember that

Re: login.conf -- UTF-8

2014-04-04 Thread Sean Bruno
On Fri, 2014-04-04 at 16:46 +0400, Gleb Smirnoff wrote: On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: A On 02.04.2014 21:15, Gleb Smirnoff wrote: A S + :lang=en_US.UTF-8:\ A S + :charset=UTF-8: A A And I'd like to do same change for the 'russian' login class A

Re: login.conf -- UTF-8

2014-04-04 Thread Andrey Chernov
On 04.04.2014 16:46, Gleb Smirnoff wrote: On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: A On 02.04.2014 21:15, Gleb Smirnoff wrote: A S + :lang=en_US.UTF-8:\ A S + :charset=UTF-8: A A And I'd like to do same change for the 'russian' login class A in

Re: login.conf -- UTF-8

2014-04-04 Thread Sean Bruno
On Sat, 2014-04-05 at 05:35 +0400, Andrey Chernov wrote: On 04.04.2014 16:46, Gleb Smirnoff wrote: On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: A On 02.04.2014 21:15, Gleb Smirnoff wrote: A S + :lang=en_US.UTF-8:\ A S + :charset=UTF-8: A A And I'd like to

Re: login.conf -- UTF-8

2014-04-04 Thread Andrey Chernov
On 05.04.2014 6:39, Sean Bruno wrote: On Sat, 2014-04-05 at 05:35 +0400, Andrey Chernov wrote: On 04.04.2014 16:46, Gleb Smirnoff wrote: On Thu, Apr 03, 2014 at 01:34:33AM +0400, Andrey Chernov wrote: A On 02.04.2014 21:15, Gleb Smirnoff wrote: A S + :lang=en_US.UTF-8:\ A S +

Re: login.conf -- UTF-8

2014-04-04 Thread Andrey Chernov
On 05.04.2014 5:35, Andrey Chernov wrote: Even his version 2 have my objections. I already reply Alex about this in 2008. In short: 1) It is error there: almost all single chars above ASCII should be chains, i.t. two bytes minimum ... I check my whole correspondence with Alexey and withdraw

login.conf -- UTF-8

2014-04-02 Thread Sean Bruno
I'd like to make this change to login.conf for default installs. This removes some amount of hackery in the ports system that is working around our lack of UTF-8 in the base. This should be step 0 in a language agnostic installer project that is beyond the scope of making the system more

Re: login.conf -- UTF-8

2014-04-02 Thread Gleb Smirnoff
Sean, On Wed, Apr 02, 2014 at 09:53:49AM -0700, Sean Bruno wrote: S I'd like to make this change to login.conf for default installs. S S This removes some amount of hackery in the ports system that is working S around our lack of UTF-8 in the base. S S This should be step 0 in a language

Re: login.conf -- UTF-8

2014-04-02 Thread Benjamin Lee
On Wed, 02 Apr 2014 09:53:49 -0700, Sean Bruno sbr...@ignoranthack.me wrote: I'd like to make this change to login.conf for default installs. This removes some amount of hackery in the ports system that is working around our lack of UTF-8 in the base. This should be step 0 in a language

Re: login.conf -- UTF-8

2014-04-02 Thread Antoine Brodin
On Wed, Apr 2, 2014 at 6:53 PM, Sean Bruno sbr...@ignoranthack.me wrote: I'd like to make this change to login.conf for default installs. This removes some amount of hackery in the ports system that is working around our lack of UTF-8 in the base. This should be step 0 in a language agnostic

Re: login.conf -- UTF-8

2014-04-02 Thread Andrey Chernov
On 02.04.2014 21:15, Gleb Smirnoff wrote: S + :lang=en_US.UTF-8:\ S + :charset=UTF-8: And I'd like to do same change for the 'russian' login class in /etc/login.conf. Please everybody remember that we don't have UTF-8 collation implemented, just fallback to bytecode comparison. --

Re: login.conf -- UTF-8

2014-04-02 Thread Garrett Wollman
In article 1396457629.2280.2.ca...@powernoodle.corp.yahoo.com, sbr...@freebsd.org writes: I'd like to make this change to login.conf for default installs. This removes some amount of hackery in the ports system that is working around our lack of UTF-8 in the base. I'm not sure what the

Re: login.conf -- UTF-8

2014-04-02 Thread Sean Bruno
On Wed, 2014-04-02 at 18:06 -0400, Garrett Wollman wrote: In article 1396457629.2280.2.ca...@powernoodle.corp.yahoo.com, sbr...@freebsd.org writes: I'd like to make this change to login.conf for default installs. This removes some amount of hackery in the ports system that is working

Re: login.conf -- UTF-8

2014-04-02 Thread Mark Linimon
On Wed, Apr 02, 2014 at 03:56:35PM -0700, Sean Bruno wrote: I have been informed by folks that this change I suggest would help in the case of ports having to declare UTF-8 support explicitly or something. Clearly ports that need to do this are broken -- but this very much an edge-case of

Re: login.conf -- UTF-8

2014-04-02 Thread Steve Wills
On Wed, Apr 02, 2014 at 03:56:35PM -0700, Sean Bruno wrote: On Wed, 2014-04-02 at 18:06 -0400, Garrett Wollman wrote: In article 1396457629.2280.2.ca...@powernoodle.corp.yahoo.com, sbr...@freebsd.org writes: I'd like to make this change to login.conf for default installs. This

Re: login.conf -- UTF-8

2014-04-02 Thread Daniel Eischen
On Thu, 3 Apr 2014, Steve Wills wrote: On Wed, Apr 02, 2014 at 03:56:35PM -0700, Sean Bruno wrote: On Wed, 2014-04-02 at 18:06 -0400, Garrett Wollman wrote: In article 1396457629.2280.2.ca...@powernoodle.corp.yahoo.com, sbr...@freebsd.org writes: I'd like to make this change to login.conf

Re: login.conf -- UTF-8

2014-04-02 Thread Steve Wills
On Wed, Apr 02, 2014 at 09:31:08PM -0400, Daniel Eischen wrote: On Thu, 3 Apr 2014, Steve Wills wrote: On Wed, Apr 02, 2014 at 03:56:35PM -0700, Sean Bruno wrote: On Wed, 2014-04-02 at 18:06 -0400, Garrett Wollman wrote: In article 1396457629.2280.2.ca...@powernoodle.corp.yahoo.com,