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
search here, because better way to spend them is to implement
UCA:
 http://unicode.org/reports/tr10/

 No code situation doesn't mean wrong code can be committed.

Since we plan to change defaults from KOI8-R to UTF-8 (russian login
class), breaking sort order for non-alphabetic chars will violate POLA.
Sort order will be broken because only CP1251 is used to construct Alex
chains collation without merging with KOI8-R table.

Merging KOI8-R collation is absolute minimum, but proper hack will be
merging CP866 and ISO8859-5 too, as I already mention.

-- 
http://ache.vniz.net/



signature.asc
Description: OpenPGP digital signature


Re: another Make (maybe) problem

2014-04-05 Thread Robert Huff
	While it's probably not related to the nominal issue, a deeper look at 
the full buildworld log found ten instances of this:


make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target all_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for all_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target all-man_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for all-man_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target checkdpadd_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for checkdpadd_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target clean_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for clean_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target cleandepend_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for cleandepend_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target cleandir_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for cleandir_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target cleanilinks_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for cleanilinks_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target depend_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for depend_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target distribute_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for distribute_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target lint_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for lint_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target maninstall_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for maninstall_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target manlint_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for manlint_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target obj_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for obj_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target objlink_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for objlink_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target realinstall_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for realinstall_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target regress_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for regress_subdir_libnv defined here
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
script for target tags_subdir_libnv ignored
make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
previous script for tags_subdir_libnv defined here


	While it doesn't stop the build process ... it would be nice to 
eliminate it as a possible contributing factor.

1) Is this a problem, for this or anything else?
	2) Is there a way to fix it, short of a successful 
buildworld/installworld?
	(My version of /usr/src/share/mk/bsd.subdir.mk, r263778, has 118 
lines/388 words/3377 characters.)


Respectfully,


Robert Huff



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


HEADSUP: uart(4) and serial console change

2014-04-05 Thread Marcel Moolenaar
All,

With r264175, the uart(4) driver will no longer prevent changing the baudrate
nor the CLOCAL or HUPCL control flags. What this means is that if you have a
serial console on which getty(8) is started, the settings you have in /etc/ttys
will now actually take effect!

To preserve the previous behaviour, change your /etc/ttys line for the serial
console to (for serial consoles on ttyu0):
ttyu0  /usr/libexec/getty 3wire  vt100  on  secure

You can replace 3wire to std once you've validated that you have a carrier
signal. Otherwise setting the terminal type/class to std will result in the
getty(8) process getting blocked. With a carrier signal, you'll be logged out
as soon as carrier drops (i.e. when you disconnect from the console). This is
a nice feature if security is not unimportant to you.

To change the baudrate on the fly, change the terminal type/class to any of
the 3wire. or std. types, where  is the baudrate.

And don't forget to SIGHUP init(8) after making changes, otherwise the changes
don't take effect!

FYI,

-- 
Marcel Moolenaar
mar...@xcllnt.net




signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: another Make (maybe) problem

2014-04-05 Thread Jilles Tjoelker
On Sat, Apr 05, 2014 at 11:12:36AM -0400, Robert Huff wrote:
   While it's probably not related to the nominal issue, a deeper
 look at the full buildworld log found ten instances of this:

 make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
 script for target all_subdir_libnv ignored
 make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
 previous script for all_subdir_libnv defined here
 make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: duplicate 
 script for target all-man_subdir_libnv ignored
 make[3]: /usr/src/share/mk/bsd.subdir.mk line 89: warning: using 
 previous script for all-man_subdir_libnv defined here
 [snip]

   While it doesn't stop the build process ... it would be nice to 
 eliminate it as a possible contributing factor.
   1) Is this a problem, for this or anything else?
   2) Is there a way to fix it, short of a successful 
 buildworld/installworld?
   (My version of /usr/src/share/mk/bsd.subdir.mk, r263778, has 118 
 lines/388 words/3377 characters.)

These messages are harmless, but are fixed by r264167. The cause is
pretty much expected: libnv was listed in SUBDIR twice.

-- 
Jilles Tjoelker
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org