summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-11-06 01:53:43 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-11-06 01:53:43 +0000
commit56a4de48328c4166c7a421c847388b20f1f5d79c (patch)
tree7729e9ee46144cfb5b4623d1e4c5efbf875a041a /gnu/usr.bin
parentc28c51194de3bf93149e4e1f2918ac1e6d008a7c (diff)
add support for iso8859-13
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/lynx/lynx.cfg1
-rw-r--r--gnu/usr.bin/lynx/src/LYCharSets.c1
-rw-r--r--gnu/usr.bin/lynx/src/UCdomap.c2
-rw-r--r--gnu/usr.bin/lynx/src/chrtrans/iso13_uni.tbl114
-rw-r--r--gnu/usr.bin/lynx/src/chrtrans/makefile.in2
-rw-r--r--gnu/usr.bin/lynx/src/makefile.in1
-rw-r--r--gnu/usr.bin/lynx/userdefs.h1
7 files changed, 122 insertions, 0 deletions
diff --git a/gnu/usr.bin/lynx/lynx.cfg b/gnu/usr.bin/lynx/lynx.cfg
index 9c13b2878e6..6deadab1ed8 100644
--- a/gnu/usr.bin/lynx/lynx.cfg
+++ b/gnu/usr.bin/lynx/lynx.cfg
@@ -363,6 +363,7 @@ DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
# Eastern European (windows-1250) windows-1250
# Latin 3 (ISO-8859-3) iso-8859-3
# Latin 4 (ISO-8859-4) iso-8859-4
+# Baltic Rim (ISO-8859-13) iso-8859-13
# Baltic Rim (cp775) cp775
# Baltic Rim (windows-1257) windows-1257
# Cyrillic (ISO-8859-5) iso-8859-5
diff --git a/gnu/usr.bin/lynx/src/LYCharSets.c b/gnu/usr.bin/lynx/src/LYCharSets.c
index 410d7131732..b8a16a635f4 100644
--- a/gnu/usr.bin/lynx/src/LYCharSets.c
+++ b/gnu/usr.bin/lynx/src/LYCharSets.c
@@ -689,6 +689,7 @@ PRIVATE CONST names_pairs OLD_charset_names[] = {
{"ISO-8859-8-E", "iso-8859-8"},
{"ISO 8859-9 (Latin 5)","iso-8859-9"},
{"ISO 8859-10", "iso-8859-10"},
+ {"ISO 8859-13", "iso-8859-13"},
{"UNICODE UTF 8", "utf-8"},
{"RFC 1345 w/o Intro", "mnemonic+ascii+0"},
{"RFC 1345 Mnemonic", "mnemonic"},
diff --git a/gnu/usr.bin/lynx/src/UCdomap.c b/gnu/usr.bin/lynx/src/UCdomap.c
index 887ee962cad..8733b3b2b7f 100644
--- a/gnu/usr.bin/lynx/src/UCdomap.c
+++ b/gnu/usr.bin/lynx/src/UCdomap.c
@@ -63,6 +63,7 @@
#include <iso08_uni.h> /* ISO 8859-8 Hebrew */
#include <iso09_uni.h> /* ISO 8859-9 (Latin 5) */
#include <iso10_uni.h> /* ISO 8859-10 */
+#include <iso13_uni.h> /* ISO 8859-13 */
#include <iso15_uni.h> /* ISO 8859-15 (Latin 9)*/
#include <koi8r_uni.h> /* KOI8-R Cyrillic */
#include <mac_uni.h> /* Macintosh (8 bit) */
@@ -2074,6 +2075,7 @@ PUBLIC void UCInit NOARGS
UC_CHARSET_SETUP_windows_1255; /* WinHebrew (cp1255) */
UC_CHARSET_SETUP_iso_8859_9; /* ISO 8859-9 (Latin 5) */
UC_CHARSET_SETUP_iso_8859_10; /* ISO 8859-10 */
+ UC_CHARSET_SETUP_iso_8859_13; /* ISO 8859-13 */
UC_CHARSET_SETUP_utf_8; /*** UNICODE UTF-8 */
UC_CHARSET_SETUP_mnemonic_ascii_0; /* RFC 1345 w/o Intro */
diff --git a/gnu/usr.bin/lynx/src/chrtrans/iso13_uni.tbl b/gnu/usr.bin/lynx/src/chrtrans/iso13_uni.tbl
new file mode 100644
index 00000000000..e51ea23e8db
--- /dev/null
+++ b/gnu/usr.bin/lynx/src/chrtrans/iso13_uni.tbl
@@ -0,0 +1,114 @@
+# The MIME name of this charset.
+Miso-8859-13
+
+# Name as a Display Charset (used on Options screen)
+OBaltic Rim (ISO-8859-13)
+
+# This is not the default font!
+D0
+
+#
+# Name: ISO 8859-13 Latin 7 (1998) to Unicode
+# Date: 2005-12-15
+# Authors: Thomas E Dickey from
+# http://czyborra.com/charsets/iso8859.html
+# (ISO 8859 Alphabet Soup)
+
+0x20-0x7E idem # ASCII
+
+0xA0 U+00A0 # NO-BREAK SPACE
+0xA1 U+201D # RIGHT DOUBLE QUOTATION MARK
+0xA2 U+00A2 # CENT SIGN
+0xA3 U+00A3 # POUND SIGN
+0xA4 U+00A4 # CURRENCY SIGN
+0xA5 U+201E # DOUBLE LOW-9 QUOTATION MARK
+0xA6 U+00A6 # BROKEN BAR
+0xA7 U+00A7 # SECTION SIGN
+0xA8 U+00D8 # LATIN CAPITAL LETTER O WITH STROKE
+0xA9 U+00A9 # COPYRIGHT SIGN
+0xAA U+0156 # LATIN CAPITAL LETTER R WITH CEDILLA
+0xAB U+00AB # LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+0xAC U+00AC # NOT SIGN
+0xAD U+00AD # SOFT HYPHEN
+0xAE U+00AE # REGISTERED SIGN
+0xAF U+00C6 # LATIN CAPITAL LETTER AE
+0xB0 U+00B0 # DEGREE SIGN
+0xB1 U+00B1 # PLUS-MINUS SIGN
+0xB2 U+00B2 # SUPERSCRIPT TWO
+0xB3 U+00B3 # SUPERSCRIPT THREE
+0xB4 U+201C # LEFT DOUBLE QUOTATION MARK
+0xB5 U+00B5 # MICRO SIGN
+0xB6 U+00B6 # PILCROW SIGN
+0xB7 U+00B7 # MIDDLE DOT
+0xB8 U+00F8 # LATIN SMALL LETTER O WITH STROKE
+0xB9 U+00B9 # SUPERSCRIPT ONE
+0xBA U+0157 # LATIN SMALL LETTER R WITH CEDILLA
+0xBB U+00BB # RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+0xBC U+00BC # VULGAR FRACTION ONE QUARTER
+0xBD U+00BD # VULGAR FRACTION ONE HALF
+0xBE U+00BE # VULGAR FRACTION THREE QUARTERS
+0xBF U+00E6 # LATIN SMALL LETTER AE
+0xC0 U+0104 # LATIN CAPITAL LETTER A WITH OGONEK
+0xC1 U+012E # LATIN CAPITAL LETTER I WITH OGONEK
+0xC2 U+0100 # LATIN CAPITAL LETTER A WITH MACRON
+0xC3 U+0106 # LATIN CAPITAL LETTER C WITH ACUTE
+0xC4 U+00C4 # LATIN CAPITAL LETTER A WITH DIAERESIS
+0xC5 U+00C5 # LATIN CAPITAL LETTER A WITH RING ABOVE
+0xC6 U+0118 # LATIN CAPITAL LETTER E WITH OGONEK
+0xC7 U+0112 # LATIN CAPITAL LETTER E WITH MACRON
+0xC8 U+010C # LATIN CAPITAL LETTER C WITH CARON
+0xC9 U+00C9 # LATIN CAPITAL LETTER E WITH ACUTE
+0xCA U+0179 # LATIN CAPITAL LETTER Z WITH ACUTE
+0xCB U+0116 # LATIN CAPITAL LETTER E WITH DOT ABOVE
+0xCC U+0122 # LATIN CAPITAL LETTER G WITH CEDILLA
+0xCD U+0136 # LATIN CAPITAL LETTER K WITH CEDILLA
+0xCE U+012A # LATIN CAPITAL LETTER I WITH MACRON
+0xCF U+013B # LATIN CAPITAL LETTER L WITH CEDILLA
+0xD0 U+0160 # LATIN CAPITAL LETTER S WITH CARON
+0xD1 U+0143 # LATIN CAPITAL LETTER N WITH ACUTE
+0xD2 U+0145 # LATIN CAPITAL LETTER N WITH CEDILLA
+0xD3 U+00D3 # LATIN CAPITAL LETTER O WITH ACUTE
+0xD4 U+014C # LATIN CAPITAL LETTER O WITH MACRON
+0xD5 U+00D5 # LATIN CAPITAL LETTER O WITH TILDE
+0xD6 U+00D6 # LATIN CAPITAL LETTER O WITH DIAERESIS
+0xD7 U+00D7 # MULTIPLICATION SIGN
+0xD8 U+0172 # LATIN CAPITAL LETTER U WITH OGONEK
+0xD9 U+0141 # LATIN CAPITAL LETTER L WITH STROKE
+0xDA U+015A # LATIN CAPITAL LETTER S WITH ACUTE
+0xDB U+016A # LATIN CAPITAL LETTER U WITH MACRON
+0xDC U+00DC # LATIN CAPITAL LETTER U WITH DIAERESIS
+0xDD U+017B # LATIN CAPITAL LETTER Z WITH DOT ABOVE
+0xDE U+017D # LATIN CAPITAL LETTER Z WITH CARON
+0xDF U+00DF # LATIN SMALL LETTER SHARP S
+0xE0 U+0105 # LATIN SMALL LETTER A WITH OGONEK
+0xE1 U+012F # LATIN SMALL LETTER I WITH OGONEK
+0xE2 U+0101 # LATIN SMALL LETTER A WITH MACRON
+0xE3 U+0107 # LATIN SMALL LETTER C WITH ACUTE
+0xE4 U+00E4 # LATIN SMALL LETTER A WITH DIAERESIS
+0xE5 U+00E5 # LATIN SMALL LETTER A WITH RING ABOVE
+0xE6 U+0119 # LATIN SMALL LETTER E WITH OGONEK
+0xE7 U+0113 # LATIN SMALL LETTER E WITH MACRON
+0xE8 U+010D # LATIN SMALL LETTER C WITH CARON
+0xE9 U+00E9 # LATIN SMALL LETTER E WITH ACUTE
+0xEA U+017A # LATIN SMALL LETTER Z WITH ACUTE
+0xEB U+0117 # LATIN SMALL LETTER E WITH DOT ABOVE
+0xEC U+0123 # LATIN SMALL LETTER G WITH CEDILLA
+0xED U+0137 # LATIN SMALL LETTER K WITH CEDILLA
+0xEE U+012B # LATIN SMALL LETTER I WITH MACRON
+0xEF U+013C # LATIN SMALL LETTER L WITH CEDILLA
+0xF0 U+0161 # LATIN SMALL LETTER S WITH CARON
+0xF1 U+0144 # LATIN SMALL LETTER N WITH ACUTE
+0xF2 U+0146 # LATIN SMALL LETTER N WITH CEDILLA
+0xF3 U+00F3 # LATIN SMALL LETTER O WITH ACUTE
+0xF4 U+014D # LATIN SMALL LETTER O WITH MACRON
+0xF5 U+00F5 # LATIN SMALL LETTER O WITH TILDE
+0xF6 U+00F6 # LATIN SMALL LETTER O WITH DIAERESIS
+0xF7 U+00F7 # DIVISION SIGN
+0xF8 U+0173 # LATIN SMALL LETTER U WITH OGONEK
+0xF9 U+0142 # LATIN SMALL LETTER L WITH STROKE
+0xFA U+015B # LATIN SMALL LETTER S WITH ACUTE
+0xFB U+016B # LATIN SMALL LETTER U WITH MACRON
+0xFC U+00FC # LATIN SMALL LETTER U WITH DIAERESIS
+0xFD U+017C # LATIN SMALL LETTER Z WITH DOT ABOVE
+0xFE U+017E # LATIN SMALL LETTER Z WITH CARON
+0xFF U+2019 # RIGHT SINGLE QUOTATION MARK
diff --git a/gnu/usr.bin/lynx/src/chrtrans/makefile.in b/gnu/usr.bin/lynx/src/chrtrans/makefile.in
index 3db427e3fb6..73739900ef8 100644
--- a/gnu/usr.bin/lynx/src/chrtrans/makefile.in
+++ b/gnu/usr.bin/lynx/src/chrtrans/makefile.in
@@ -79,6 +79,7 @@ TABLES= \
iso08_uni.h \
iso09_uni.h \
iso10_uni.h \
+ iso13_uni.h \
iso15_uni.h \
koi8r_uni.h \
koi8u_uni.h \
@@ -146,6 +147,7 @@ iso07_uni.h: $(srcdir)/iso07_uni.tbl makeuctb$x
iso08_uni.h: $(srcdir)/iso08_uni.tbl makeuctb$x
iso09_uni.h: $(srcdir)/iso09_uni.tbl makeuctb$x
iso10_uni.h: $(srcdir)/iso10_uni.tbl makeuctb$x
+iso13_uni.h: $(srcdir)/iso13_uni.tbl makeuctb$x
iso15_uni.h: $(srcdir)/iso15_uni.tbl makeuctb$x
koi8r_uni.h: $(srcdir)/koi8r_uni.tbl makeuctb$x
koi8u_uni.h: $(srcdir)/koi8u_uni.tbl makeuctb$x
diff --git a/gnu/usr.bin/lynx/src/makefile.in b/gnu/usr.bin/lynx/src/makefile.in
index 00c3d369d0d..f71d32bab22 100644
--- a/gnu/usr.bin/lynx/src/makefile.in
+++ b/gnu/usr.bin/lynx/src/makefile.in
@@ -163,6 +163,7 @@ TABLES= \
$(CHRTR)iso08_uni.h \
$(CHRTR)iso09_uni.h \
$(CHRTR)iso10_uni.h \
+ $(CHRTR)iso13_uni.h \
$(CHRTR)iso15_uni.h \
$(CHRTR)koi8r_uni.h \
$(CHRTR)mac_uni.h \
diff --git a/gnu/usr.bin/lynx/userdefs.h b/gnu/usr.bin/lynx/userdefs.h
index 90165f5da06..170698452a0 100644
--- a/gnu/usr.bin/lynx/userdefs.h
+++ b/gnu/usr.bin/lynx/userdefs.h
@@ -680,6 +680,7 @@
* Eastern European (windows-1250) windows-1250
* Latin 3 (ISO-8859-3) iso-8859-3
* Latin 4 (ISO-8859-4) iso-8859-4
+ * Baltic Rim (ISO-8859-13) iso-8859-13
* Baltic Rim (cp775) cp775
* Baltic Rim (windows-1257) windows-1257
* Cyrillic (ISO-8859-5) iso-8859-5