- rename KOI8-BASE more suitable name, GOST19768-74.
- fix wrong conversion table KOI7 and KOI7-switched.
This commit is contained in:
parent
a416017103
commit
138067b448
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: mi,v 1.650 2006/09/10 15:45:55 plunky Exp $
|
||||
# $NetBSD: mi,v 1.651 2006/09/16 08:38:20 tnozaki Exp $
|
||||
. base-sys-root
|
||||
./altroot base-sys-root
|
||||
./bin base-sys-root
|
||||
|
@ -1771,17 +1771,21 @@
|
|||
./usr/share/i18n/csmapper/JIS/UCS%JISX0212UDC.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/JIS/UCS%JISX0212VDC@IBM.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI base-sysutil-share
|
||||
./usr/share/i18n/csmapper/KOI/GOST19768-74%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/ISO-5427%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI7%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-BASE%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-BASE%UCS.mps base-obsolete obsolete
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-C%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-E%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-R%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-RU%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-T%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/KOI8-U%UCS.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/UCS%GOST19768-74.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/UCS%ISO-5427.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/UCS%KOI7.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/UCS%KOI8-BASE.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/UCS%KOI8-BASE.mps base-obsolete obsolete
|
||||
./usr/share/i18n/csmapper/KOI/UCS%KOI8-C.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/UCS%KOI8-E.mps base-sysutil-share nls
|
||||
./usr/share/i18n/csmapper/KOI/UCS%KOI8-R.mps base-sysutil-share nls
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: KOI8-BASE%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
|
||||
# $NetBSD: GOST19768-74%UCS.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME "KOI8-BASE/UCS"
|
||||
NAME "GOST19768-74/UCS"
|
||||
SRC_ZONE 0xC0-0xFE
|
||||
OOB_MODE INVALID
|
||||
DST_INVALID 0xFFFE
|
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: ISO-5427%UCS.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME "ISO-5427/UCS"
|
||||
SRC_ZONE 0x00-0x3F
|
||||
OOB_MODE ILSEQ
|
||||
DST_ILSEQ 0xFF
|
||||
DST_UNIT_BITS 8
|
||||
|
||||
BEGIN_MAP
|
||||
# this mapping generated from:
|
||||
# - Basic Cyrillic Graphic Character Set
|
||||
# http://www.itscj.ipsj.or.jp/ISO-IR/037.pdf
|
||||
#
|
||||
0x00 - 0x23 = 0x0000 -
|
||||
0x24 = 0xA4
|
||||
0x25 - 0x3F = 0x0025 -
|
||||
END_MAP
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: KOI7%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
|
||||
# $NetBSD: KOI7%UCS.src,v 1.2 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME "KOI7/UCS"
|
||||
|
@ -9,43 +9,12 @@ DST_UNIT_BITS 16
|
|||
|
||||
BEGIN_MAP
|
||||
#
|
||||
# This table is generated from RFC1345.
|
||||
# This table is generated from RFC1345 and
|
||||
# http://www.iis.ru/cyrillic/resource/tables/cpkoi7gost19768-74.gif
|
||||
#
|
||||
0x00 - 0x23 = 0x0000 -
|
||||
0x24 = 0x00A4
|
||||
0x25 - 0x3F = 0x0025 -
|
||||
0x40 = 0x044E
|
||||
0x41 = 0x0430
|
||||
0x42 = 0x0431
|
||||
0x43 = 0x0446
|
||||
0x44 = 0x0434
|
||||
0x45 = 0x0435
|
||||
0x46 = 0x0444
|
||||
0x47 = 0x0433
|
||||
0x48 = 0x0445
|
||||
0x49 = 0x0438
|
||||
0x4A = 0x0439
|
||||
0x4B = 0x043A
|
||||
0x4C = 0x043B
|
||||
0x4D = 0x043C
|
||||
0x4E = 0x043D
|
||||
0x4F = 0x043E
|
||||
0x50 = 0x043F
|
||||
0x51 = 0x044F
|
||||
0x52 = 0x0440
|
||||
0x53 = 0x0441
|
||||
0x54 = 0x0442
|
||||
0x55 = 0x0443
|
||||
0x56 = 0x0436
|
||||
0x57 = 0x0432
|
||||
0x58 = 0x044C
|
||||
0x59 = 0x044B
|
||||
0x5A = 0x0437
|
||||
0x5B = 0x0448
|
||||
0x5C = 0x044D
|
||||
0x5D = 0x0449
|
||||
0x5E = 0x0447
|
||||
0x5F = 0x044A
|
||||
0x25 - 0x5F = 0x0025 -
|
||||
0x60 = 0x042E
|
||||
0x61 = 0x0410
|
||||
0x62 = 0x0411
|
||||
|
|
|
@ -1,47 +1,55 @@
|
|||
# $NetBSD: Makefile.inc,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.2 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
.PATH: ${.CURDIR}/KOI
|
||||
|
||||
SRCS_mapper.dir+= mapper.dir.KOI
|
||||
SRCS_charset.pivot+= charset.pivot.KOI
|
||||
CLEANFILES+= mapper.dir.KOI charset.pivot.KOI
|
||||
MAPS_KOI= GOST19768-74%UCS.mps \
|
||||
UCS%GOST19768-74.mps \
|
||||
ISO-5427%UCS.mps \
|
||||
UCS%ISO-5427.mps \
|
||||
KOI7%UCS.mps \
|
||||
UCS%KOI7.mps
|
||||
PART_KOI8!= sed '/^\#/d;/^$$/d;' ${.CURDIR}/KOI/KOI8.part
|
||||
|
||||
mapper.dir.KOI: ${.CURDIR}/KOI/KOI8.part
|
||||
mapper.dir.KOI: ${.CURDIR}/KOI/KOI8.part mapper.dir.KOI.src
|
||||
${_MKTARGET_CREATE}
|
||||
( \
|
||||
echo "# KOI"; \
|
||||
for i in 7 8-BASE ${PART_KOI8}; do \
|
||||
printf "%-31s %-31s %s\n" KOI$$i"/UCS" \
|
||||
cat ${.CURDIR}/KOI/mapper.dir.KOI.src; \
|
||||
for i in ${PART_KOI8}; do \
|
||||
printf "%-31s %-31s %s\n" KOI$$i"EXT/UCS" \
|
||||
mapper_std KOI/KOI$$i"%UCS.mps"; \
|
||||
printf "%-31s %-31s %s\n" UCS/KOI$$i \
|
||||
printf "%-31s %-31s %s\n" UCS/KOI$$i"EXT" \
|
||||
mapper_std KOI/UCS%KOI$$i".mps"; \
|
||||
done; \
|
||||
for i in ${PART_KOI8}; do \
|
||||
printf "%-31s %-31s %s\n" KOI$$i"-PARALLEL/UCS" \
|
||||
mapper_parallel KOI8-BASE/UCS,KOI$$i"/UCS"; \
|
||||
printf "%-31s %-31s %s\n" UCS/KOI$$i"-PARALLEL" \
|
||||
mapper_parallel UCS/KOI$$i",UCS/KOI8-BASE"; \
|
||||
printf "%-31s %-31s %s\n" KOI$$i"/UCS" \
|
||||
mapper_parallel GOST19768-74/UCS,KOI$$i"EXT/UCS"; \
|
||||
printf "%-31s %-31s %s\n" UCS/KOI$$i \
|
||||
mapper_parallel UCS/GOST19768-74,UCS/KOI$$i"EXT"; \
|
||||
done; \
|
||||
echo; \
|
||||
) > ${.TARGET}
|
||||
|
||||
charset.pivot.KOI: ${.CURDIR}/KOI/KOI8.part
|
||||
charset.pivot.KOI: ${.CURDIR}/KOI/KOI8.part charset.pivot.KOI.src
|
||||
${_MKTARGET_CREATE}
|
||||
( \
|
||||
echo "# KOI"; \
|
||||
for i in 7 8-BASE ${PART_KOI8}; do \
|
||||
cat ${.CURDIR}/KOI/charset.pivot.KOI.src; \
|
||||
for i in ${PART_KOI8}; do \
|
||||
printf "%-31s %-31s%d\n" KOI$$i UCS 1; \
|
||||
printf "%-31s %-31s%d\n" UCS KOI$$i 1; \
|
||||
done; \
|
||||
for i in ${PART_KOI8}; do \
|
||||
printf "%-31s %-31s%d\n" KOI$$i"-PARALLEL" UCS 1; \
|
||||
printf "%-31s %-31s%d\n" UCS KOI$$i"-PARALLEL" 1; \
|
||||
done; \
|
||||
echo; \
|
||||
) > ${.TARGET}
|
||||
|
||||
.for i in 7 8-BASE ${PART_KOI8}
|
||||
FILES+= ${MAPS_KOI}
|
||||
CLEANFILES+= ${MAPS_KOI}
|
||||
.for i in ${MAPS_KOI}
|
||||
FILESDIR_$i= ${BINDIR}/KOI
|
||||
.endfor
|
||||
|
||||
.for i in ${PART_KOI8}
|
||||
FILES+= KOI${i:S/:/@/}%UCS.mps UCS%KOI${i:S/:/@/}.mps
|
||||
CLEANFILES+= KOI${i:S/:/@/}%UCS.mps UCS%KOI${i:S/:/@/}.mps
|
||||
FILESDIR_KOI${i:S/:/@/}%UCS.mps= ${BINDIR}/KOI
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: UCS%KOI8-BASE.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
|
||||
# $NetBSD: UCS%GOST19768-74.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME "UCS/KOI8-BASE"
|
||||
NAME "UCS/GOST19768-74"
|
||||
SRC_ZONE 0x0410-0x044F
|
||||
OOB_MODE INVALID
|
||||
DST_INVALID 0x100
|
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: UCS%ISO-5427.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME "UCS/ISO-5427"
|
||||
SRC_ZONE 0x00-0xA4
|
||||
OOB_MODE INVALID
|
||||
DST_INVALID 0xFF
|
||||
DST_UNIT_BITS 8
|
||||
|
||||
BEGIN_MAP
|
||||
# this mapping generated from:
|
||||
# - Basic Cyrillic Graphic Character Set
|
||||
# http://www.itscj.ipsj.or.jp/ISO-IR/037.pdf
|
||||
#
|
||||
0x0000 - 0x0023 = 0x00 -
|
||||
0x0025 - 0x003F = 0x25 -
|
||||
0xA4 = 0x24
|
||||
END_MAP
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: UCS%KOI7.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
|
||||
# $NetBSD: UCS%KOI7.src,v 1.2 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
TYPE ROWCOL
|
||||
NAME "UCS/KOI7"
|
||||
|
@ -9,10 +9,11 @@ DST_UNIT_BITS 8
|
|||
|
||||
BEGIN_MAP
|
||||
#
|
||||
# This table is generated from RFC1345.
|
||||
# This table is generated from RFC1345 and
|
||||
# http://www.iis.ru/cyrillic/resource/tables/cpkoi7gost19768-74.gif
|
||||
#
|
||||
0x0000 - 0x0023 = 0x00 -
|
||||
0x0025 - 0x003F = 0x25 -
|
||||
0x0025 - 0x005F = 0x25 -
|
||||
0x007F = 0x7F
|
||||
0x00A4 = 0x24
|
||||
0x0410 = 0x61
|
||||
|
@ -46,36 +47,4 @@ BEGIN_MAP
|
|||
0x042D = 0x7C
|
||||
0x042E = 0x60
|
||||
0x042F = 0x71
|
||||
0x0430 = 0x41
|
||||
0x0431 = 0x42
|
||||
0x0432 = 0x57
|
||||
0x0433 = 0x47
|
||||
0x0434 = 0x44
|
||||
0x0435 = 0x45
|
||||
0x0436 = 0x56
|
||||
0x0437 = 0x5A
|
||||
0x0438 = 0x49
|
||||
0x0439 = 0x4A
|
||||
0x043A = 0x4B
|
||||
0x043B = 0x4C
|
||||
0x043C = 0x4D
|
||||
0x043D = 0x4E
|
||||
0x043E = 0x4F
|
||||
0x043F = 0x50
|
||||
0x0440 = 0x52
|
||||
0x0441 = 0x53
|
||||
0x0442 = 0x54
|
||||
0x0443 = 0x55
|
||||
0x0444 = 0x46
|
||||
0x0445 = 0x48
|
||||
0x0446 = 0x43
|
||||
0x0447 = 0x5E
|
||||
0x0448 = 0x5B
|
||||
0x0449 = 0x5D
|
||||
0x044A = 0x5F
|
||||
0x044B = 0x59
|
||||
0x044C = 0x58
|
||||
0x044D = 0x5C
|
||||
0x044E = 0x40
|
||||
0x044F = 0x51
|
||||
END_MAP
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
# $NetBSD: charset.pivot.KOI.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
ISO-5427 UCS 1
|
||||
UCS ISO-5427 1
|
||||
KOI7 UCS 1
|
||||
UCS KOI7 1
|
|
@ -0,0 +1,14 @@
|
|||
# $NetBSD: mapper.dir.KOI.src,v 1.1 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
GOST19768-74/UCS mapper_std KOI/GOST19768-74%UCS.mps
|
||||
UCS/GOST19768-74 mapper_std KOI/UCS%GOST19768-74.mps
|
||||
GOST19768-74:GR/GOST19768-74 mapper_zone 0x00 - 0x7F : +0x80
|
||||
GOST19768-74/GOST19768-74:GR mapper_zone 0x80 - 0xFF : -0x80
|
||||
GOST19768-74:GR/UCS mapper_serial GOST19768-74:GR/GOST19768-74,GOST19768-74/UCS
|
||||
UCS/GOST19768-74:GR mapper_serial UCS/GOST19768-74,GOST19768-74/GOST19768-74:GR
|
||||
ISO-5427EXT/UCS mapper_std KOI/ISO-5427%UCS.mps
|
||||
UCS/ISO-5427EXT mapper_std KOI/UCS%ISO-5427.mps
|
||||
ISO-5427/UCS mapper_parallel GOST19768-74:GR/UCS,ISO-5427EXT/UCS
|
||||
UCS/ISO-5427 mapper_parallel UCS/GOST19768-74:GR,UCS/ISO-5427EXT
|
||||
KOI7/UCS mapper_std KOI/KOI7%UCS.mps
|
||||
UCS/KOI7 mapper_std KOI/UCS%KOI7.mps
|
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: KOI.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
|
||||
# $NetBSD: KOI.src,v 1.2 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
NAME "KOIx"
|
||||
ENCODING "NONE"
|
||||
DEFCSID "KOIx-PARALLEL" 0
|
||||
DEFCSID "KOIx" 0
|
||||
INVALID 0x3F # '?'
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# $NetBSD: KOI7-switched.src,v 1.2 2006/04/08 14:26:45 tnozaki Exp $
|
||||
# $NetBSD: KOI7-switched.src,v 1.3 2006/09/16 08:38:20 tnozaki Exp $
|
||||
|
||||
NAME "KOI7-switched"
|
||||
ENCODING "ISO2022"
|
||||
VARIABLE "INIT0=94@ 1=94N SO SI"
|
||||
DEFCSID "ISO646-US" 0
|
||||
DEFCSID "ISO646-IRV:1983" 0x40000000
|
||||
DEFCSID "KOI7" 0x4E000000
|
||||
INVALID 0x3F
|
||||
DEFCSID "ISO-5427" 0x4E000000
|
||||
DEFCSID "ISO646-US" 0
|
||||
INVALID 0x4000003F
|
||||
|
|
Loading…
Reference in New Issue