diff --git a/share/colldef/Makefile b/share/colldef/Makefile index 85b16372d295..90ef63591a33 100644 --- a/share/colldef/Makefile +++ b/share/colldef/Makefile @@ -1,11 +1,16 @@ -# $Id$ +# $Id: Makefile,v 1.7 1997/02/22 19:54:34 peter Exp $ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} -LOCALES= de_DE.ISO_8859-1 es_ES.ISO_8859-1 is_IS.ISO_8859-1 \ +LOCALES= de_DE.ISO_8859-1 \ + es_ES.ISO_8859-1 \ + is_IS.ISO_8859-1 \ lt_LN.ISO_8859-1 \ - ru_SU.CP866 ru_SU.KOI8-R + lt_LN.ISO_8859-2 \ + ru_SU.CP866 \ + ru_SU.KOI8-R + LOCALEDIR= ${DESTDIR}/usr/share/locale .if exists(${.OBJDIR}/../colldef) @@ -19,6 +24,8 @@ LATIN1LINKS = \ fr_BE fr_CA fr_CH fr_FR it_CH it_IT nl_BE nl_NL no_NO \ pt_PT sv_SE +LATIN2LINKS = hr_HR + DELINKS = de_AT de_CH .SUFFIXES: .src .out @@ -31,21 +38,27 @@ all: ${LOCALES:S/$/.out/g} ru_SU.KOI8-R.out: map.KOI8-R ru_SU.CP866.out: map.CP866 lt_LN.ISO_8859-1.out: map.ISO_8859-1 +lt_LN.ISO_8859-2.out: map.ISO_8859-2 es_ES.ISO_8859-1.out: map.ISO_8859-1 de_DE.ISO_8859-1.out: map.ISO_8859-1 afterinstall: - for l in ${LOCALES}; do \ - ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} \ - $$l.out ${LOCALEDIR}/$$l/LC_COLLATE; \ - done - for l in ${LATIN1LINKS}; do \ - ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \ - done - for l in ${DELINKS}; do \ - ln -fs ../de_DE.ISO_8859-1/LC_COLLATE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \ - done +.for locale in ${LOCALES} + ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} \ + ${locale}.out ${LOCALEDIR}/${locale}/LC_COLLATE +.endfor +.for link in ${LATIN1LINKS} + ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE +.endfor +.for link in ${LATIN2LINKS} + ln -fs ../lt_LN.ISO_8859-2/LC_COLLATE \ + ${LOCALEDIR}/${link}.ISO_8859-2/LC_COLLATE +.endfor +.for link in ${DELINKS} + ln -fs ../de_DE.ISO_8859-1/LC_COLLATE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE +.endfor + .include diff --git a/share/colldef/la_LN.ISO8859-2.src b/share/colldef/la_LN.ISO8859-2.src new file mode 100644 index 000000000000..772fe3220385 --- /dev/null +++ b/share/colldef/la_LN.ISO8859-2.src @@ -0,0 +1,36 @@ +# latin2 (backward compatible with ASCII) +# +# $Id$ +# +charmap map.ISO_8859-2 +order \ +# controls + ;...;;;...;;\ +# + ;;!;\";;\ + ;;\ + %;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\ +# digits + 0;...;9;\ +# + :;\;;\<;=;>;?;;;\ +# capital + (A,,>,,,);\ + B;(C,,,);(D,,);(E,,,,);\ + F;G;H;(I,,>);\ + J;K;(L,,,);M;(N,,);(O,,>,,);\ + P;Q;(R,,);(S,,,);(T,,);\ + (U,,,,);\ + V;W;X;(Y,);(Z,,,);\ +# + [;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\ +# small + (a,,>,,,);\ + b;(c,,,);(d,,);(e,,,,);\ + f;g;h;(i,,>);\ + j;k;(l,,,);m;(n,,);(o,,>,,);\ + p;q;(r,,);(s,,,,);(t,,);\ + (u,,,,);\ + v;w;x;(y,);(z,,,);\ +# + \{;|;\};~;;
diff --git a/share/colldef/lt_LN.ISO_8859-2.src b/share/colldef/lt_LN.ISO_8859-2.src new file mode 100644 index 000000000000..772fe3220385 --- /dev/null +++ b/share/colldef/lt_LN.ISO_8859-2.src @@ -0,0 +1,36 @@ +# latin2 (backward compatible with ASCII) +# +# $Id$ +# +charmap map.ISO_8859-2 +order \ +# controls + ;...;;;...;;\ +# + ;;!;\";;\ + ;;\ + %;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\ +# digits + 0;...;9;\ +# + :;\;;\<;=;>;?;;;\ +# capital + (A,,>,,,);\ + B;(C,,,);(D,,);(E,,,,);\ + F;G;H;(I,,>);\ + J;K;(L,,,);M;(N,,);(O,,>,,);\ + P;Q;(R,,);(S,,,);(T,,);\ + (U,,,,);\ + V;W;X;(Y,);(Z,,,);\ +# + [;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\ +# small + (a,,>,,,);\ + b;(c,,,);(d,,);(e,,,,);\ + f;g;h;(i,,>);\ + j;k;(l,,,);m;(n,,);(o,,>,,);\ + p;q;(r,,);(s,,,,);(t,,);\ + (u,,,,);\ + v;w;x;(y,);(z,,,);\ +# + \{;|;\};~;;
diff --git a/share/colldef/map.ISO8859-2 b/share/colldef/map.ISO8859-2 new file mode 100644 index 000000000000..75f201357172 --- /dev/null +++ b/share/colldef/map.ISO8859-2 @@ -0,0 +1,174 @@ +NU \x00 +SH \x01 +SX \x02 +EX \x03 +ET \x04 +EQ \x05 +AK \x06 +BL \x07 +BS \x08 +HT \x09 +LF \x0a +VT \x0b +FF \x0c +CR \x0d +SO \x0e +SI \x0f +DL \x10 +D1 \x11 +D2 \x12 +D3 \x13 +D4 \x14 +NK \x15 +SY \x16 +EB \x17 +CN \x18 +EM \x19 +SB \x1a +EC \x1b +FS \x1c +GS \x1d +RS \x1e +US \x1f +SP \x20 +Nb \x23 +DO \x24 +At \x40 +<( \x5b +// \x5c +)> \x5d +'> \x5e +'! \x60 +(! \x7b +!! \x7c +!) \x7d +'? \x7e +DT \x7f +PA \x80 +HO \x81 +BH \x82 +NH \x83 +IN \x84 +NL \x85 +SA \x86 +ES \x87 +HS \x88 +HJ \x89 +VS \x8a +PD \x8b +PU \x8c +RI \x8d +S2 \x8e +S3 \x8f +DC \x90 +P1 \x91 +P2 \x92 +TS \x93 +CC \x94 +MW \x95 +SG \x96 +EG \x97 +SS \x98 +GC \x99 +SC \x9a +CI \x9b +ST \x9c +OC \x9d +PM \x9e +AC \x9f +NS \xa0 +A; \xa1 +'( \xa2 +L/ \xa3 +Cu \xa4 +L< \xa5 +S' \xa6 +SE \xa7 +': \xa8 +S< \xa9 +S, \xaa +T< \xab +Z' \xac +-- \xad +Z< \xae +Z. \xaf +DG \xb0 +a; \xb1 +'; \xb2 +l/ \xb3 +'' \xb4 +l< \xb5 +s' \xb6 +'< \xb7 +', \xb8 +s< \xb9 +s, \xba +t< \xbb +z' \xbc +'" \xbd +z< \xbe +z. \xbf +R' \xc0 +A' \xc1 +A> \xc2 +A( \xc3 +A: \xc4 +L' \xc5 +C' \xc6 +C, \xc7 +C< \xc8 +E' \xc9 +E; \xca +E: \xcb +E< \xcc +I' \xcd +I> \xce +D< \xcf +D/ \xd0 +N' \xd1 +N< \xd2 +O' \xd3 +O> \xd4 +O" \xd5 +O: \xd6 +*X \xd7 +R< \xd8 +U0 \xd9 +U' \xda +U" \xdb +U: \xdc +Y' \xdd +T, \xde +ss \xdf +r' \xe0 +a' \xe1 +a> \xe2 +a( \xe3 +a: \xe4 +l' \xe5 +c' \xe6 +c, \xe7 +c< \xe8 +e' \xe9 +e; \xea +e: \xeb +e< \xec +i' \xed +i> \xee +d< \xef +d/ \xf0 +n' \xf1 +n< \xf2 +o' \xf3 +o> \xf4 +o" \xf5 +o: \xf6 +-: \xf7 +r< \xf8 +u0 \xf9 +u' \xfa +u" \xfb +u: \xfc +y' \xfd +t, \xfe +'. \xff diff --git a/share/colldef/map.ISO_8859-2 b/share/colldef/map.ISO_8859-2 new file mode 100644 index 000000000000..75f201357172 --- /dev/null +++ b/share/colldef/map.ISO_8859-2 @@ -0,0 +1,174 @@ +NU \x00 +SH \x01 +SX \x02 +EX \x03 +ET \x04 +EQ \x05 +AK \x06 +BL \x07 +BS \x08 +HT \x09 +LF \x0a +VT \x0b +FF \x0c +CR \x0d +SO \x0e +SI \x0f +DL \x10 +D1 \x11 +D2 \x12 +D3 \x13 +D4 \x14 +NK \x15 +SY \x16 +EB \x17 +CN \x18 +EM \x19 +SB \x1a +EC \x1b +FS \x1c +GS \x1d +RS \x1e +US \x1f +SP \x20 +Nb \x23 +DO \x24 +At \x40 +<( \x5b +// \x5c +)> \x5d +'> \x5e +'! \x60 +(! \x7b +!! \x7c +!) \x7d +'? \x7e +DT \x7f +PA \x80 +HO \x81 +BH \x82 +NH \x83 +IN \x84 +NL \x85 +SA \x86 +ES \x87 +HS \x88 +HJ \x89 +VS \x8a +PD \x8b +PU \x8c +RI \x8d +S2 \x8e +S3 \x8f +DC \x90 +P1 \x91 +P2 \x92 +TS \x93 +CC \x94 +MW \x95 +SG \x96 +EG \x97 +SS \x98 +GC \x99 +SC \x9a +CI \x9b +ST \x9c +OC \x9d +PM \x9e +AC \x9f +NS \xa0 +A; \xa1 +'( \xa2 +L/ \xa3 +Cu \xa4 +L< \xa5 +S' \xa6 +SE \xa7 +': \xa8 +S< \xa9 +S, \xaa +T< \xab +Z' \xac +-- \xad +Z< \xae +Z. \xaf +DG \xb0 +a; \xb1 +'; \xb2 +l/ \xb3 +'' \xb4 +l< \xb5 +s' \xb6 +'< \xb7 +', \xb8 +s< \xb9 +s, \xba +t< \xbb +z' \xbc +'" \xbd +z< \xbe +z. \xbf +R' \xc0 +A' \xc1 +A> \xc2 +A( \xc3 +A: \xc4 +L' \xc5 +C' \xc6 +C, \xc7 +C< \xc8 +E' \xc9 +E; \xca +E: \xcb +E< \xcc +I' \xcd +I> \xce +D< \xcf +D/ \xd0 +N' \xd1 +N< \xd2 +O' \xd3 +O> \xd4 +O" \xd5 +O: \xd6 +*X \xd7 +R< \xd8 +U0 \xd9 +U' \xda +U" \xdb +U: \xdc +Y' \xdd +T, \xde +ss \xdf +r' \xe0 +a' \xe1 +a> \xe2 +a( \xe3 +a: \xe4 +l' \xe5 +c' \xe6 +c, \xe7 +c< \xe8 +e' \xe9 +e; \xea +e: \xeb +e< \xec +i' \xed +i> \xee +d< \xef +d/ \xf0 +n' \xf1 +n< \xf2 +o' \xf3 +o> \xf4 +o" \xf5 +o: \xf6 +-: \xf7 +r< \xf8 +u0 \xf9 +u' \xfa +u" \xfb +u: \xfc +y' \xfd +t, \xfe +'. \xff diff --git a/usr.bin/colldef/data/Makefile b/usr.bin/colldef/data/Makefile index 85b16372d295..90ef63591a33 100644 --- a/usr.bin/colldef/data/Makefile +++ b/usr.bin/colldef/data/Makefile @@ -1,11 +1,16 @@ -# $Id$ +# $Id: Makefile,v 1.7 1997/02/22 19:54:34 peter Exp $ NOMAN=YES CLEANFILES+= ${LOCALES:S/$/.out/g} -LOCALES= de_DE.ISO_8859-1 es_ES.ISO_8859-1 is_IS.ISO_8859-1 \ +LOCALES= de_DE.ISO_8859-1 \ + es_ES.ISO_8859-1 \ + is_IS.ISO_8859-1 \ lt_LN.ISO_8859-1 \ - ru_SU.CP866 ru_SU.KOI8-R + lt_LN.ISO_8859-2 \ + ru_SU.CP866 \ + ru_SU.KOI8-R + LOCALEDIR= ${DESTDIR}/usr/share/locale .if exists(${.OBJDIR}/../colldef) @@ -19,6 +24,8 @@ LATIN1LINKS = \ fr_BE fr_CA fr_CH fr_FR it_CH it_IT nl_BE nl_NL no_NO \ pt_PT sv_SE +LATIN2LINKS = hr_HR + DELINKS = de_AT de_CH .SUFFIXES: .src .out @@ -31,21 +38,27 @@ all: ${LOCALES:S/$/.out/g} ru_SU.KOI8-R.out: map.KOI8-R ru_SU.CP866.out: map.CP866 lt_LN.ISO_8859-1.out: map.ISO_8859-1 +lt_LN.ISO_8859-2.out: map.ISO_8859-2 es_ES.ISO_8859-1.out: map.ISO_8859-1 de_DE.ISO_8859-1.out: map.ISO_8859-1 afterinstall: - for l in ${LOCALES}; do \ - ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} \ - $$l.out ${LOCALEDIR}/$$l/LC_COLLATE; \ - done - for l in ${LATIN1LINKS}; do \ - ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \ - done - for l in ${DELINKS}; do \ - ln -fs ../de_DE.ISO_8859-1/LC_COLLATE \ - ${LOCALEDIR}/$$l.ISO_8859-1/LC_COLLATE; \ - done +.for locale in ${LOCALES} + ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} \ + ${locale}.out ${LOCALEDIR}/${locale}/LC_COLLATE +.endfor +.for link in ${LATIN1LINKS} + ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE +.endfor +.for link in ${LATIN2LINKS} + ln -fs ../lt_LN.ISO_8859-2/LC_COLLATE \ + ${LOCALEDIR}/${link}.ISO_8859-2/LC_COLLATE +.endfor +.for link in ${DELINKS} + ln -fs ../de_DE.ISO_8859-1/LC_COLLATE \ + ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE +.endfor + .include diff --git a/usr.bin/colldef/data/lt_LN.ISO_8859-2.src b/usr.bin/colldef/data/lt_LN.ISO_8859-2.src new file mode 100644 index 000000000000..772fe3220385 --- /dev/null +++ b/usr.bin/colldef/data/lt_LN.ISO_8859-2.src @@ -0,0 +1,36 @@ +# latin2 (backward compatible with ASCII) +# +# $Id$ +# +charmap map.ISO_8859-2 +order \ +# controls + ;...;;;...;;\ +# + ;;!;\";;\ + ;;\ + %;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\ +# digits + 0;...;9;\ +# + :;\;;\<;=;>;?;;;\ +# capital + (A,,>,,,);\ + B;(C,,,);(D,,);(E,,,,);\ + F;G;H;(I,,>);\ + J;K;(L,,,);M;(N,,);(O,,>,,);\ + P;Q;(R,,);(S,,,);(T,,);\ + (U,,,,);\ + V;W;X;(Y,);(Z,,,);\ +# + [;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\ +# small + (a,,>,,,);\ + b;(c,,,);(d,,);(e,,,,);\ + f;g;h;(i,,>);\ + j;k;(l,,,);m;(n,,);(o,,>,,);\ + p;q;(r,,);(s,,,,);(t,,);\ + (u,,,,);\ + v;w;x;(y,);(z,,,);\ +# + \{;|;\};~;;
diff --git a/usr.bin/colldef/data/map.ISO_8859-2 b/usr.bin/colldef/data/map.ISO_8859-2 new file mode 100644 index 000000000000..75f201357172 --- /dev/null +++ b/usr.bin/colldef/data/map.ISO_8859-2 @@ -0,0 +1,174 @@ +NU \x00 +SH \x01 +SX \x02 +EX \x03 +ET \x04 +EQ \x05 +AK \x06 +BL \x07 +BS \x08 +HT \x09 +LF \x0a +VT \x0b +FF \x0c +CR \x0d +SO \x0e +SI \x0f +DL \x10 +D1 \x11 +D2 \x12 +D3 \x13 +D4 \x14 +NK \x15 +SY \x16 +EB \x17 +CN \x18 +EM \x19 +SB \x1a +EC \x1b +FS \x1c +GS \x1d +RS \x1e +US \x1f +SP \x20 +Nb \x23 +DO \x24 +At \x40 +<( \x5b +// \x5c +)> \x5d +'> \x5e +'! \x60 +(! \x7b +!! \x7c +!) \x7d +'? \x7e +DT \x7f +PA \x80 +HO \x81 +BH \x82 +NH \x83 +IN \x84 +NL \x85 +SA \x86 +ES \x87 +HS \x88 +HJ \x89 +VS \x8a +PD \x8b +PU \x8c +RI \x8d +S2 \x8e +S3 \x8f +DC \x90 +P1 \x91 +P2 \x92 +TS \x93 +CC \x94 +MW \x95 +SG \x96 +EG \x97 +SS \x98 +GC \x99 +SC \x9a +CI \x9b +ST \x9c +OC \x9d +PM \x9e +AC \x9f +NS \xa0 +A; \xa1 +'( \xa2 +L/ \xa3 +Cu \xa4 +L< \xa5 +S' \xa6 +SE \xa7 +': \xa8 +S< \xa9 +S, \xaa +T< \xab +Z' \xac +-- \xad +Z< \xae +Z. \xaf +DG \xb0 +a; \xb1 +'; \xb2 +l/ \xb3 +'' \xb4 +l< \xb5 +s' \xb6 +'< \xb7 +', \xb8 +s< \xb9 +s, \xba +t< \xbb +z' \xbc +'" \xbd +z< \xbe +z. \xbf +R' \xc0 +A' \xc1 +A> \xc2 +A( \xc3 +A: \xc4 +L' \xc5 +C' \xc6 +C, \xc7 +C< \xc8 +E' \xc9 +E; \xca +E: \xcb +E< \xcc +I' \xcd +I> \xce +D< \xcf +D/ \xd0 +N' \xd1 +N< \xd2 +O' \xd3 +O> \xd4 +O" \xd5 +O: \xd6 +*X \xd7 +R< \xd8 +U0 \xd9 +U' \xda +U" \xdb +U: \xdc +Y' \xdd +T, \xde +ss \xdf +r' \xe0 +a' \xe1 +a> \xe2 +a( \xe3 +a: \xe4 +l' \xe5 +c' \xe6 +c, \xe7 +c< \xe8 +e' \xe9 +e; \xea +e: \xeb +e< \xec +i' \xed +i> \xee +d< \xef +d/ \xf0 +n' \xf1 +n< \xf2 +o' \xf3 +o> \xf4 +o" \xf5 +o: \xf6 +-: \xf7 +r< \xf8 +u0 \xf9 +u' \xfa +u" \xfb +u: \xfc +y' \xfd +t, \xfe +'. \xff
diff --git a/share/colldef/la_LN.ISO_8859-2.src b/share/colldef/la_LN.ISO_8859-2.src new file mode 100644 index 000000000000..772fe3220385 --- /dev/null +++ b/share/colldef/la_LN.ISO_8859-2.src @@ -0,0 +1,36 @@ +# latin2 (backward compatible with ASCII) +# +# $Id$ +# +charmap map.ISO_8859-2 +order \ +# controls + ;...;;;...;;\ +# + ;;!;\";;\ + ;;\ + %;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\ +# digits + 0;...;9;\ +# + :;\;;\<;=;>;?;;;\ +# capital + (A,,>,,,);\ + B;(C,,,);(D,,);(E,,,,);\ + F;G;H;(I,,>);\ + J;K;(L,,,);M;(N,,);(O,,>,,);\ + P;Q;(R,,);(S,,,);(T,,);\ + (U,,,,);\ + V;W;X;(Y,);(Z,,,);\ +# + [;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\ +# small + (a,,>,,,);\ + b;(c,,,);(d,,);(e,,,,);\ + f;g;h;(i,,>);\ + j;k;(l,,,);m;(n,,);(o,,>,,);\ + p;q;(r,,);(s,,,,);(t,,);\ + (u,,,,);\ + v;w;x;(y,);(z,,,);\ +# + \{;|;\};~;;