From a81c99add88ed517d6a64ad814b6265b388d82f3 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 24 Dec 1999 05:30:52 +0000 Subject: [PATCH] Add 8859-4 and lt_LT Submitted by: Ricardas Cepas --- share/mklocale/Makefile | 7 +++ share/mklocale/la_LN.ISO8859-4.src | 79 +++++++++++++++++++++++++++++ share/mklocale/la_LN.ISO_8859-4.src | 79 +++++++++++++++++++++++++++++ 3 files changed, 165 insertions(+) create mode 100644 share/mklocale/la_LN.ISO8859-4.src create mode 100644 share/mklocale/la_LN.ISO_8859-4.src diff --git a/share/mklocale/Makefile b/share/mklocale/Makefile index 1c98a539d32a..23e0518d55b7 100644 --- a/share/mklocale/Makefile +++ b/share/mklocale/Makefile @@ -9,6 +9,7 @@ LOCALES= ja_JP.EUC \ la_LN.ASCII \ la_LN.ISO_8859-1 \ la_LN.ISO_8859-2 \ + la_LN.ISO_8859-4 \ la_LN.DIS_8859-15 \ ru_SU.CP866 \ ru_SU.ISO_8859-5 \ @@ -26,6 +27,8 @@ LATIN1LINKS = \ LATIN2LINKS = cs_CZ hr_HR hu_HU pl_PL sl_SI +LATIN4LINKS = lt_LT + .SUFFIXES: .src .out .src.out: @@ -49,6 +52,10 @@ afterinstall: .for link in ${LATIN2LINKS} ln -fs ../la_LN.ISO_8859-2/LC_CTYPE \ ${LOCALEDIR}/${link}.ISO_8859-2/LC_CTYPE +.endfor +.for link in ${LATIN4LINKS} + ln -fs ../la_LN.ISO_8859-4/LC_CTYPE \ + ${LOCALEDIR}/${link}.ISO_8859-4/LC_CTYPE .endfor ln -fs ../ja_JP.SJIS/LC_CTYPE \ ${LOCALEDIR}/ja_JP.Shift_JIS/LC_CTYPE diff --git a/share/mklocale/la_LN.ISO8859-4.src b/share/mklocale/la_LN.ISO8859-4.src new file mode 100644 index 000000000000..c3130a2cca59 --- /dev/null +++ b/share/mklocale/la_LN.ISO8859-4.src @@ -0,0 +1,79 @@ +/* + * LOCALE_CTYPE for the iso_8859_4 Locale + * + * $FreeBSD$ + */ + +ENCODING "NONE" +VARIABLE ISO 8859-4 Latin-4 character set + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' + 0xa1 - 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe +CONTROL 0x00 - 0x1f 0x7f - 0x9f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0xa0 - 0xff +LOWER 'a' - 'z' + 0xa2 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xdf - 0xf6 0xf8 - 0xfe +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e + 0xa4 0xa7 0xa8 0xad 0xaf 0xb0 0xb2 0xb4 0xb7 0xb8 + 0xd7 0xf7 0xff +SPACE 0x09 - 0x0d 0x20 0xa0 +UPPER 'A' - 'Z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae + 0xc0 - 0xd6 0xd8 - 0xde +XDIGIT 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' 0xa0 +PRINT 0x20 - 0x7e 0xa0 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xa1 0xb1> +MAPLOWER <0xa2 0xa2> +MAPLOWER <0xa3 0xb3> +MAPLOWER <0xa5 0xb5> +MAPLOWER <0xa6 0xb6> +MAPLOWER <0xa9 - 0xac : 0xb9> +MAPLOWER <0xae 0xbe> +MAPLOWER <0xb1 0xb1> +MAPLOWER <0xb3 0xb3> +MAPLOWER <0xb5 0xb5> +MAPLOWER <0xb6 0xb6> +MAPLOWER <0xb9 - 0xbc : 0xb9> +MAPLOWER <0xbd 0xbf> +MAPLOWER <0xbe 0xbe> +MAPLOWER <0xbf 0xbf> +MAPLOWER <0xc0 - 0xd6 : 0xe0> +MAPLOWER <0xd8 - 0xde : 0xf8> +MAPLOWER <0xdf - 0xf6 : 0xdf> +MAPLOWER <0xf8 - 0xfe : 0xf8> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xa1 0xa1> +MAPUPPER <0xa3 0xa3> +MAPUPPER <0xa5 0xa5> +MAPUPPER <0xa6 0xa6> +MAPUPPER <0xa9 - 0xac : 0xa9> +MAPUPPER <0xae 0xae> +MAPUPPER <0xb1 0xa1> +MAPUPPER <0xb3 0xa3> +MAPUPPER <0xb5 0xa5> +MAPUPPER <0xb6 0xa6> +MAPUPPER <0xb9 - 0xbc : 0xa9> +MAPUPPER <0xbd 0xbd> +MAPUPPER <0xbe 0xae> +MAPUPPER <0xbf 0xbd> +MAPUPPER <0xc0 - 0xd6 : 0xc0> +MAPUPPER <0xd8 - 0xde : 0xd8> +MAPUPPER <0xe0 - 0xf6 : 0xc0> +MAPUPPER <0xf8 - 0xfe : 0xd8> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10> diff --git a/share/mklocale/la_LN.ISO_8859-4.src b/share/mklocale/la_LN.ISO_8859-4.src new file mode 100644 index 000000000000..c3130a2cca59 --- /dev/null +++ b/share/mklocale/la_LN.ISO_8859-4.src @@ -0,0 +1,79 @@ +/* + * LOCALE_CTYPE for the iso_8859_4 Locale + * + * $FreeBSD$ + */ + +ENCODING "NONE" +VARIABLE ISO 8859-4 Latin-4 character set + +# +# This is a comment +# +ALPHA 'A' - 'Z' 'a' - 'z' + 0xa1 - 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae + 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xd6 0xd8 - 0xf6 0xf8 - 0xfe +CONTROL 0x00 - 0x1f 0x7f - 0x9f +DIGIT '0' - '9' +GRAPH 0x21 - 0x7e 0xa0 - 0xff +LOWER 'a' - 'z' + 0xa2 0xb1 0xb3 0xb5 0xb6 0xb9 - 0xbc 0xbe 0xbf + 0xdf - 0xf6 0xf8 - 0xfe +PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e + 0xa4 0xa7 0xa8 0xad 0xaf 0xb0 0xb2 0xb4 0xb7 0xb8 + 0xd7 0xf7 0xff +SPACE 0x09 - 0x0d 0x20 0xa0 +UPPER 'A' - 'Z' + 0xa1 0xa3 0xa5 0xa6 0xa9 - 0xac 0xae + 0xc0 - 0xd6 0xd8 - 0xde +XDIGIT 'a' - 'f' 'A' - 'F' +BLANK ' ' '\t' 0xa0 +PRINT 0x20 - 0x7e 0xa0 - 0xff +# IDEOGRAM +# SPECIAL +# PHONEGRAM + +MAPLOWER <'A' - 'Z' : 'a'> +MAPLOWER <'a' - 'z' : 'a'> +MAPLOWER <0xa1 0xb1> +MAPLOWER <0xa2 0xa2> +MAPLOWER <0xa3 0xb3> +MAPLOWER <0xa5 0xb5> +MAPLOWER <0xa6 0xb6> +MAPLOWER <0xa9 - 0xac : 0xb9> +MAPLOWER <0xae 0xbe> +MAPLOWER <0xb1 0xb1> +MAPLOWER <0xb3 0xb3> +MAPLOWER <0xb5 0xb5> +MAPLOWER <0xb6 0xb6> +MAPLOWER <0xb9 - 0xbc : 0xb9> +MAPLOWER <0xbd 0xbf> +MAPLOWER <0xbe 0xbe> +MAPLOWER <0xbf 0xbf> +MAPLOWER <0xc0 - 0xd6 : 0xe0> +MAPLOWER <0xd8 - 0xde : 0xf8> +MAPLOWER <0xdf - 0xf6 : 0xdf> +MAPLOWER <0xf8 - 0xfe : 0xf8> +MAPUPPER <'A' - 'Z' : 'A'> +MAPUPPER <'a' - 'z' : 'A'> +MAPUPPER <0xa1 0xa1> +MAPUPPER <0xa3 0xa3> +MAPUPPER <0xa5 0xa5> +MAPUPPER <0xa6 0xa6> +MAPUPPER <0xa9 - 0xac : 0xa9> +MAPUPPER <0xae 0xae> +MAPUPPER <0xb1 0xa1> +MAPUPPER <0xb3 0xa3> +MAPUPPER <0xb5 0xa5> +MAPUPPER <0xb6 0xa6> +MAPUPPER <0xb9 - 0xbc : 0xa9> +MAPUPPER <0xbd 0xbd> +MAPUPPER <0xbe 0xae> +MAPUPPER <0xbf 0xbd> +MAPUPPER <0xc0 - 0xd6 : 0xc0> +MAPUPPER <0xd8 - 0xde : 0xd8> +MAPUPPER <0xe0 - 0xf6 : 0xc0> +MAPUPPER <0xf8 - 0xfe : 0xd8> +TODIGIT <'0' - '9' : 0> +TODIGIT <'A' - 'F' : 10> +TODIGIT <'a' - 'f' : 10>