Add generic colldef for ISO-8859-2.

Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>

Use '.for' loop from make(1), not sh(1) 'for' loops.
This commit is contained in:
Wolfram Schneider 1997-03-01 00:28:08 +00:00
parent 44f2eddeef
commit 46a3f6286a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23228
9 changed files with 722 additions and 30 deletions

View File

@ -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 <bsd.prog.mk>

View File

@ -0,0 +1,36 @@
# latin2 (backward compatible with ASCII)
#
# $Id$
#
charmap map.ISO_8859-2
order \
# controls
<NU>;...;<US>;<PA>;...;<AC>;\
#
<NS>;<SP>;!;\";<Nb>;\
<Cu>;<DO>;\
%;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
# digits
0;...;9;\
#
:;\;;\<;=;>;?;<SE>;<At>;\
# capital
(A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
B;(C,<C,>,<C'>,<C<>);(D,<D<>,<D//>);(E,<E'>,<E:>,<E;>,<E<>);\
F;G;H;(I,<I'>,<I/>>);\
J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
P;Q;(R,<R'>,<R<>);(S,<S'>,<S<>,<S,>);(T,<T<>,<T,>);\
(U,<U'>,<U:>,<U0>,<U">);\
V;W;X;(Y,<Y'>);(Z,<Z'>,<Z<>,<Z.>);\
#
[;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
# small
(a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
b;(c,<c,>,<c'>,<c<>);(d,<d<>,<d//>);(e,<e'>,<e:>,<e;>,<e<>);\
f;g;h;(i,<i'>,<i/>>);\
j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
p;q;(r,<r'>,<r<>);(s,<s'>,<s<>,<s,>,<ss>);(t,<t<>,<t,>);\
(u,<u'>,<u:>,<u0>,<u">);\
v;w;x;(y,<y'>);(z,<z'>,<z<>,<z.>);\
#
\{;|;\};~;<DG>;<DT>

View File

@ -0,0 +1,36 @@
# latin2 (backward compatible with ASCII)
#
# $Id$
#
charmap map.ISO_8859-2
order \
# controls
<NU>;...;<US>;<PA>;...;<AC>;\
#
<NS>;<SP>;!;\";<Nb>;\
<Cu>;<DO>;\
%;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
# digits
0;...;9;\
#
:;\;;\<;=;>;?;<SE>;<At>;\
# capital
(A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
B;(C,<C,>,<C'>,<C<>);(D,<D<>,<D//>);(E,<E'>,<E:>,<E;>,<E<>);\
F;G;H;(I,<I'>,<I/>>);\
J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
P;Q;(R,<R'>,<R<>);(S,<S'>,<S<>,<S,>);(T,<T<>,<T,>);\
(U,<U'>,<U:>,<U0>,<U">);\
V;W;X;(Y,<Y'>);(Z,<Z'>,<Z<>,<Z.>);\
#
[;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
# small
(a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
b;(c,<c,>,<c'>,<c<>);(d,<d<>,<d//>);(e,<e'>,<e:>,<e;>,<e<>);\
f;g;h;(i,<i'>,<i/>>);\
j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
p;q;(r,<r'>,<r<>);(s,<s'>,<s<>,<s,>,<ss>);(t,<t<>,<t,>);\
(u,<u'>,<u:>,<u0>,<u">);\
v;w;x;(y,<y'>);(z,<z'>,<z<>,<z.>);\
#
\{;|;\};~;<DG>;<DT>

View File

@ -0,0 +1,36 @@
# latin2 (backward compatible with ASCII)
#
# $Id$
#
charmap map.ISO_8859-2
order \
# controls
<NU>;...;<US>;<PA>;...;<AC>;\
#
<NS>;<SP>;!;\";<Nb>;\
<Cu>;<DO>;\
%;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
# digits
0;...;9;\
#
:;\;;\<;=;>;?;<SE>;<At>;\
# capital
(A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
B;(C,<C,>,<C'>,<C<>);(D,<D<>,<D//>);(E,<E'>,<E:>,<E;>,<E<>);\
F;G;H;(I,<I'>,<I/>>);\
J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
P;Q;(R,<R'>,<R<>);(S,<S'>,<S<>,<S,>);(T,<T<>,<T,>);\
(U,<U'>,<U:>,<U0>,<U">);\
V;W;X;(Y,<Y'>);(Z,<Z'>,<Z<>,<Z.>);\
#
[;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
# small
(a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
b;(c,<c,>,<c'>,<c<>);(d,<d<>,<d//>);(e,<e'>,<e:>,<e;>,<e<>);\
f;g;h;(i,<i'>,<i/>>);\
j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
p;q;(r,<r'>,<r<>);(s,<s'>,<s<>,<s,>,<ss>);(t,<t<>,<t,>);\
(u,<u'>,<u:>,<u0>,<u">);\
v;w;x;(y,<y'>);(z,<z'>,<z<>,<z.>);\
#
\{;|;\};~;<DG>;<DT>

174
share/colldef/map.ISO8859-2 Normal file
View File

@ -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

View File

@ -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

View File

@ -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 <bsd.prog.mk>

View File

@ -0,0 +1,36 @@
# latin2 (backward compatible with ASCII)
#
# $Id$
#
charmap map.ISO_8859-2
order \
# controls
<NU>;...;<US>;<PA>;...;<AC>;\
#
<NS>;<SP>;!;\";<Nb>;\
<Cu>;<DO>;\
%;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
# digits
0;...;9;\
#
:;\;;\<;=;>;?;<SE>;<At>;\
# capital
(A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
B;(C,<C,>,<C'>,<C<>);(D,<D<>,<D//>);(E,<E'>,<E:>,<E;>,<E<>);\
F;G;H;(I,<I'>,<I/>>);\
J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
P;Q;(R,<R'>,<R<>);(S,<S'>,<S<>,<S,>);(T,<T<>,<T,>);\
(U,<U'>,<U:>,<U0>,<U">);\
V;W;X;(Y,<Y'>);(Z,<Z'>,<Z<>,<Z.>);\
#
[;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
# small
(a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
b;(c,<c,>,<c'>,<c<>);(d,<d<>,<d//>);(e,<e'>,<e:>,<e;>,<e<>);\
f;g;h;(i,<i'>,<i/>>);\
j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
p;q;(r,<r'>,<r<>);(s,<s'>,<s<>,<s,>,<ss>);(t,<t<>,<t,>);\
(u,<u'>,<u:>,<u0>,<u">);\
v;w;x;(y,<y'>);(z,<z'>,<z<>,<z.>);\
#
\{;|;\};~;<DG>;<DT>

View File

@ -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