From bd0812f69bc4946474e749dafefa20a6d6a99073 Mon Sep 17 00:00:00 2001 From: Tatsuya Kinoshita Date: Mon, 23 May 2016 20:07:33 +0900 Subject: Update 020_debian.patch to v0.5.3+git20160511 - Fix crash with crafted html files (closes: #820162, #820373) - Cleanup obsolete INIT_MAILCAP (closes: #820902) --- debian/patches/020_debian.patch | 7742 ++++++++++++++++++++++++++++++++++----- 1 file changed, 6782 insertions(+), 960 deletions(-) (limited to 'debian/patches/020_debian.patch') diff --git a/debian/patches/020_debian.patch b/debian/patches/020_debian.patch index ed91ddf..f322eb6 100644 --- a/debian/patches/020_debian.patch +++ b/debian/patches/020_debian.patch @@ -60,10 +60,128 @@ index 8f443c1..5fb6581 100755 $input = "w3m-control: GOTO_LINK"; } diff --git a/ChangeLog b/ChangeLog -index 88358ef..a95580f 100644 +index 88358ef..e166aa5 100644 --- a/ChangeLog +++ b/ChangeLog -@@ -1,3 +1,882 @@ +@@ -1,3 +1,1000 @@ ++2016-05-11 Tatsuya Kinoshita ++ ++ * config.guess, config.sub: ++ Update config.* with autotools-dev 20160430.1. ++ ++2016-04-14 Tatsuya Kinoshita ++ ++ * doc-de/README.func, doc-jp/README.func, doc/README.func: ++ * w3m-doc/sample/keymap.cgi: Cleanup obsolete INIT_MAILCAP. ++ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820902 ++ ++ * NEWS: Update NEWS. ++ ++2016-04-08 Tatsuya Kinoshita ++ ++ * libwc/johab.c: Fix segfault on bogus text for wc_N_to_johab1. ++ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820373 ++ ++2016-04-07 Tatsuya Kinoshita ++ ++ * libwc/map/big5_ucs.map, libwc/map/cns11643_ucs.map: ++ * libwc/map/gb12345_ucs.map, libwc/map/gb2312_ucs.map: ++ * libwc/map/gbk_ucs.map, libwc/map/hkscs_ucs.map: ++ * libwc/map/jisx0208x0212x0213_ucs.map, libwc/map/ksx1001_ucs.map: ++ * libwc/map/sjis_ext_ucs.map, libwc/map/uhc_ucs.map, libwc/ucs.c: ++ * libwc/ucs.map: Fix segfault on bogus text for wc_any_to_ucs. ++ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820162 ++ ++2016-04-03 Tatsuya Kinoshita ++ ++ * doc/FAQ.html, doc/MANUAL.html: Update English documents. ++ ++2016-04-03 Markus Hiereth ++ ++ * doc/FAQ.html, doc/MANUAL.html: Update English documents. ++ Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#25 ++ ++2016-04-02 Tatsuya Kinoshita ++ ++ * configure, configure.ac, doc-de/README.func, scripts/Makefile.in: ++ * scripts/w3mhelp-funcdesc.de.pl.in, scripts/w3mhelp.cgi.in: ++ Support German translated help messages (translation is in progress). ++ Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765682 ++ ++ * doc-jp/w3m.1, doc/w3m.1: Update manpage footers to w3m 0.5.3. ++ ++ * doc-jp/MANUAL.html, doc-jp/w3m.1, w3m-doc/outline.html.in: ++ * w3mhelp-lynx_ja.html.in, w3mhelp-w3m_ja.html.in: ++ Update Japanese documents for extbrowser4..9. ++ ++2016-04-02 Justin B Rye ++ ++ * doc/FAQ.html, doc/MANUAL.html, doc/README.func, doc/menu.submenu: ++ * main.c, menu.c, scripts/w3mhelp-funcdesc.ja.pl.in: ++ * scripts/w3mhelp.cgi.in, w3mhelp-lynx_en.html.in: ++ * w3mhelp-w3m_en.html.in: English fixes. ++ cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772341#15 ++ Origin: https://lists.debian.org/debian-l10n-english/2014/12/msg00002.html ++ Origin: https://lists.debian.org/debian-l10n-english/2014/12/msg00030.html ++ Origin: https://lists.debian.org/debian-l10n-english/2015/02/msg00011.html ++ ++2016-03-30 Leo Famulari ++ ++ * url.c: Disable RC4. ++ Origin: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=62339e2d493bf87a3aabe12e45458581e9705d83 ++ ++2016-03-29 Tatsuya Kinoshita ++ ++ * url.c: Fix variable is reassigned a value before the old one has ++ been used. ++ ++ * regex.c: Fix printf format specifier mismatch when REGEX_DEBUG. ++ ++ * w3mimg/fb/fb.c: Fix invalid braces when not Linux or FreeBSD. ++ ++ * local.c: Fix uninitialized variable when not HAVE_PUTENV. ++ ++ * w3mimgdisplay.c: Fix realloc mistake for DrawImage. ++ ++ * file.c: Fix mistake of unescape spaces for _doFileCopy. ++ cf. [w3m-dev-en 00751], [w3m-dev-en 00752] on 2002-06-09 ++ ++ * url.c: Fix style of array index is used before limits check. ++ Bug: https://sourceforge.net/p/w3m/feature-requests/25/ ++ ++2016-03-22 Tatsuya Kinoshita ++ ++ * menu.c, proto.h: Fix build failure when not USE_MOUSE for sgrmouse. ++ cf. https://twitter.com/naota344/status/711541592167854081 ++ ++2016-03-20 Tatsuya Kinoshita ++ ++ * rc.c: Fix reverse ordered config parameters. ++ ++2016-03-19 Tatsuya Kinoshita ++ ++ * doc/FAQ.html: Update FAQ for extbrowser. ++ ++2016-03-14 Tatsuya Kinoshita ++ ++ * po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po, rc.c: ++ Update PO strings for extbrowser2..9. ++ ++2016-03-13 Tatsuya Kinoshita ++ ++ * acinclude.m4, configure: ++ Set firefox instead of mozilla to default browser. ++ ++ * po/Makefile.in.in, po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po: ++ * po/zh_TW.po: Update PO strings for extbrowser4..9. ++ ++ * doc-jp/MANUAL.html, doc/MANUAL.html, fm.h, main.c, rc.c: ++ Add extbrowser4, extbrowser5, ..., and extbrowser9. ++ e.g. ++ - extbrowser8 url=%s && printf %s "$url" | xsel && printf %s "$url" | xsel -b ++ - extbrowser9 mpv %s & ++ cf. https://github.com/spcmd/w3m ++ +2016-02-28 Tatsuya Kinoshita + + * menu.c: Fix SIGFPE for ACCESSKEY. @@ -968,6 +1086,48 @@ index 7d692f9..8fa799e 100644 for dir in $(SCRIPTSUBDIRS); \ do \ (cd $$dir && $(MAKE) $(MAKE_ARGS)); \ +diff --git a/NEWS b/NEWS +index 66e309d..b876c20 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,3 +1,37 @@ ++w3m X.X.X - YYYY-MM-DD ++ ++* new features ++ - support OSC 5379 remote imaging and sixel graphics ++ - support SGR style mouse handler ++ - support 32-bit color images ++ - support FreeBSD framebuffer ++ - support button element ++ - support meta charset ++ - add extbrowser4..9 ++ - add display_borders to display 0 pixel table borders ++ - add siteconf feature ++ - add translations for de, zh_CN and zh_TW ++* bug fixes ++ - disable SSLv2 and SSLv3 by default [CVE-2014-3566] ++ - set ssl_verify_server to 1 by default ++ - disable RC4, export ciphers, and keys < 128 bits ++ - use SSL_OP_NO_COMPRESSION due to "CRIME attack" [CVE-2012-4929] ++ - use SSL_MODE_RELEASE_BUFFERS ++ - disable USE_EGD for LibreSSL ++ - appease gcc -Werror=format-security ++ - fix segfaults ++ - option -s is now "squeeze multiple blank lines" to work as pager, and ++ -j and -e are obsolete, so use -O{s|j|e} to specify display charset ++ - accept single quoted meta refresh URL ++ - assume "text" if a form input type is unknown ++ - accept cookies by default ++ - set argv_is_url to 1 by default ++ - set alt_entity to 0 by default ++ - fix build problems with Boehm GC 7.2, imlib2 1.4.6 and glibc 2.14 ++ - fix parallel make failure ++ - fix incorrect ucs_ambwidth_map ++ - and many fixes ++ + w3m 0.5.3 - 2011-01-15 + + * security fix diff --git a/README b/README index 8778d80..765c996 100644 --- a/README @@ -1133,7 +1293,7 @@ index f345c74..248815d 100644 void Strtruncate(Str, int); void Strlower(Str); diff --git a/acinclude.m4 b/acinclude.m4 -index e4ccc3d..60705f4 100644 +index e4ccc3d..ed1035d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -6,7 +6,8 @@ dnl w3m autoconf macros @@ -1146,6 +1306,19 @@ index e4ccc3d..60705f4 100644 CURRENT_VERSION=`sed -n 's/.*define CURRENT_VERSION *"w3m\/\(.*\)".*$/\1/p' version.c`]) # # ---------------------------------------------------------------- +@@ -330,10 +331,10 @@ AC_DEFINE_UNQUOTED(DEF_MAILER, "$w3m_mailer")]) + # ---------------------------------------------------------------- + AC_DEFUN([AC_W3M_EXT_BROWSER], + [AC_SUBST(DEF_EXT_BROWSER) +-w3m_browser="/usr/bin/mozilla" ++w3m_browser="/usr/bin/firefox" + AC_MSG_CHECKING(which external browser is used by default) + AC_ARG_WITH(browser, +- [ --with-browser=BROWSER default browser (/usr/bin/mozilla)], ++ [ --with-browser=BROWSER default browser (/usr/bin/firefox)], + [w3m_browser="$with_browser"]) + AC_MSG_RESULT($w3m_browser) + AC_DEFINE_UNQUOTED(DEF_EXT_BROWSER, "$w3m_browser")]) @@ -400,10 +401,10 @@ AC_DEFUN([AC_W3M_TERMLIB], AC_ARG_WITH(termlib, [ --with-termlib[=LIBS] terminal library @@ -1425,7 +1598,7 @@ index 5afc26a..3b2352a 100644 unlink(buf->savecache); buf->savecache = NULL; diff --git a/config.guess b/config.guess -index 51fab47..1659250 100755 +index 51fab47..0967f2a 100755 --- a/config.guess +++ b/config.guess @@ -1,13 +1,12 @@ @@ -1433,10 +1606,10 @@ index 51fab47..1659250 100755 # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003 Free Software Foundation, Inc. -+# Copyright 1992-2015 Free Software Foundation, Inc. ++# Copyright 1992-2016 Free Software Foundation, Inc. -timestamp='2004-03-12' -+timestamp='2015-08-20' ++timestamp='2016-04-02' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1471,7 +1644,7 @@ index 51fab47..1659250 100755 -# config.sub. If it succeeds, it prints the system name on stdout, and -# exits with 0. Otherwise, it exits with 1. +# You can get the latest version of this script from: -+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD ++# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # -# The plan is that this can be called by configure scripts if you -# don't specify an explicit build system type. @@ -1486,7 +1659,7 @@ index 51fab47..1659250 100755 Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. -+Copyright 1992-2015 Free Software Foundation, Inc. ++Copyright 1992-2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -1609,7 +1782,7 @@ index 51fab47..1659250 100755 ;; esac # The OS release -@@ -189,78 +221,44 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +@@ -189,78 +221,48 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in release='-gnu' ;; *) @@ -1678,6 +1851,10 @@ index 51fab47..1659250 100755 - exit 0 ;; + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} ++ exit ;; ++ *:LibertyBSD:*:*) ++ UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` ++ echo ${UNAME_MACHINE_ARCH}-unknown-libertybsd${UNAME_RELEASE} + exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} @@ -1709,14 +1886,66 @@ index 51fab47..1659250 100755 ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on -@@ -306,40 +304,46 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +@@ -270,76 +272,82 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") +- UNAME_MACHINE="alpha" ;; ++ UNAME_MACHINE=alpha ;; + "EV4.5 (21064)") +- UNAME_MACHINE="alpha" ;; ++ UNAME_MACHINE=alpha ;; + "LCA4 (21066/21068)") +- UNAME_MACHINE="alpha" ;; ++ UNAME_MACHINE=alpha ;; + "EV5 (21164)") +- UNAME_MACHINE="alphaev5" ;; ++ UNAME_MACHINE=alphaev5 ;; + "EV5.6 (21164A)") +- UNAME_MACHINE="alphaev56" ;; ++ UNAME_MACHINE=alphaev56 ;; + "EV5.6 (21164PC)") +- UNAME_MACHINE="alphapca56" ;; ++ UNAME_MACHINE=alphapca56 ;; + "EV5.7 (21164PC)") +- UNAME_MACHINE="alphapca57" ;; ++ UNAME_MACHINE=alphapca57 ;; + "EV6 (21264)") +- UNAME_MACHINE="alphaev6" ;; ++ UNAME_MACHINE=alphaev6 ;; + "EV6.7 (21264A)") +- UNAME_MACHINE="alphaev67" ;; ++ UNAME_MACHINE=alphaev67 ;; + "EV6.8CB (21264C)") +- UNAME_MACHINE="alphaev68" ;; ++ UNAME_MACHINE=alphaev68 ;; + "EV6.8AL (21264B)") +- UNAME_MACHINE="alphaev68" ;; ++ UNAME_MACHINE=alphaev68 ;; + "EV6.8CX (21264D)") +- UNAME_MACHINE="alphaev68" ;; ++ UNAME_MACHINE=alphaev68 ;; + "EV6.9A (21264/EV69A)") +- UNAME_MACHINE="alphaev69" ;; ++ UNAME_MACHINE=alphaev69 ;; + "EV7 (21364)") +- UNAME_MACHINE="alphaev7" ;; ++ UNAME_MACHINE=alphaev7 ;; + "EV7.9 (21364A)") +- UNAME_MACHINE="alphaev79" ;; ++ UNAME_MACHINE=alphaev79 ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` +- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - exit 0 ;; - Alpha*:OpenVMS:*:*) - echo alpha-hp-vms - exit 0 ;; ++ echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 @@ -1770,7 +1999,7 @@ index 51fab47..1659250 100755 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then -@@ -347,32 +351,51 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +@@ -347,32 +355,51 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in else echo pyramid-pyramid-bsd fi @@ -1809,16 +2038,16 @@ index 51fab47..1659250 100755 + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + eval $set_cc_for_build -+ SUN_ARCH="i386" ++ SUN_ARCH=i386 + # If there is a compiler, see if it is configured for 64-bit objects. + # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. + # This test works for both compilers. -+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then ++ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ -+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ ++ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then -+ SUN_ARCH="x86_64" ++ SUN_ARCH=x86_64 + fi + fi + echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` @@ -1833,7 +2062,7 @@ index 51fab47..1659250 100755 sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) -@@ -381,10 +404,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +@@ -381,13 +408,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` @@ -1845,8 +2074,12 @@ index 51fab47..1659250 100755 + exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 -@@ -396,10 +419,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +- test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 ++ test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos${UNAME_RELEASE} +@@ -396,10 +423,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in echo sparc-sun-sunos${UNAME_RELEASE} ;; esac @@ -1859,7 +2092,7 @@ index 51fab47..1659250 100755 # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor -@@ -409,41 +432,41 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +@@ -409,41 +436,41 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) @@ -1918,7 +2151,7 @@ index 51fab47..1659250 100755 mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c -@@ -467,35 +490,36 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in +@@ -467,35 +494,36 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in exit (-1); } EOF @@ -1968,7 +2201,7 @@ index 51fab47..1659250 100755 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ -@@ -508,29 +532,29 @@ EOF +@@ -508,29 +536,29 @@ EOF else echo i586-dg-dgux${UNAME_RELEASE} fi @@ -2007,7 +2240,7 @@ index 51fab47..1659250 100755 ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` -@@ -538,7 +562,7 @@ EOF +@@ -538,7 +566,7 @@ EOF IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} @@ -2016,7 +2249,7 @@ index 51fab47..1659250 100755 *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build -@@ -553,49 +577,54 @@ EOF +@@ -553,49 +581,54 @@ EOF exit(0); } EOF @@ -2085,7 +2318,7 @@ index 51fab47..1659250 100755 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in -@@ -604,52 +633,52 @@ EOF +@@ -604,74 +637,84 @@ EOF 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` @@ -2097,17 +2330,18 @@ index 51fab47..1659250 100755 - case "${sc_kernel_bits}" in - 32) HP_ARCH="hppa2.0n" ;; - 64) HP_ARCH="hppa2.0w" ;; +- '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 +- esac ;; +- esac + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "${sc_cpu_version}" in -+ 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 -+ 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 ++ 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 ++ 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "${sc_kernel_bits}" in -+ 32) HP_ARCH="hppa2.0n" ;; -+ 64) HP_ARCH="hppa2.0w" ;; - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 -- esac ;; -- esac ++ 32) HP_ARCH=hppa2.0n ;; ++ 64) HP_ARCH=hppa2.0w ;; ++ '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 + esac ;; + esac fi @@ -2175,11 +2409,13 @@ index 51fab47..1659250 100755 + exit (0); + } EOF - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` +- (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` ++ (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa -@@ -657,9 +686,19 @@ EOF + fi ;; esac - if [ ${HP_ARCH} = "hppa2.0w" ] +- if [ ${HP_ARCH} = "hppa2.0w" ] ++ if [ ${HP_ARCH} = hppa2.0w ] then - # avoid double evaluation of $set_cc_for_build - test -n "$CC_FOR_BUILD" || eval $set_cc_for_build @@ -2195,12 +2431,14 @@ index 51fab47..1659250 100755 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + -+ if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | ++ if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ then - HP_ARCH="hppa2.0w" +- HP_ARCH="hppa2.0w" ++ HP_ARCH=hppa2.0w else -@@ -667,11 +706,11 @@ EOF +- HP_ARCH="hppa64" ++ HP_ARCH=hppa64 fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} @@ -2214,7 +2452,7 @@ index 51fab47..1659250 100755 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c -@@ -699,340 +738,348 @@ EOF +@@ -699,340 +742,351 @@ EOF exit (0); } EOF @@ -2308,12 +2546,13 @@ index 51fab47..1659250 100755 + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` +- FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; -+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` ++ FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` ++ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; @@ -2322,8 +2561,8 @@ index 51fab47..1659250 100755 - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" - exit 0 ;; -+ FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` -+ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` ++ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` ++ FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) @@ -2440,7 +2679,7 @@ index 51fab47..1659250 100755 # other systems with GNU libc and userland - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu - exit 0 ;; -+ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} ++ echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} + exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix @@ -2464,7 +2703,7 @@ index 51fab47..1659250 100755 + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 -+ if test "$?" = 0 ; then LIBC="gnulibc1" ; fi ++ if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) @@ -2515,6 +2754,9 @@ index 51fab47..1659250 100755 - echo ${UNAME_MACHINE}-unknown-linux-gnu - exit 0 ;; + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} ++ exit ;; ++ k1om:Linux:*:*) ++ echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; m32r*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -2771,7 +3013,7 @@ index 51fab47..1659250 100755 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then -@@ -1040,15 +1087,16 @@ EOF +@@ -1040,15 +1094,16 @@ EOF else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi @@ -2791,7 +3033,7 @@ index 51fab47..1659250 100755 i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` -@@ -1140,68 +1201,109 @@ EOF +@@ -1140,278 +1208,203 @@ EOF else echo ns32k-sni-sysv fi @@ -2995,6 +3237,9 @@ index 51fab47..1659250 100755 + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} ++ exit ;; ++ SX-ACE:SUPER-UX:*:*) ++ echo sxace-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} @@ -3015,9 +3260,9 @@ index 51fab47..1659250 100755 + UNAME_PROCESSOR=powerpc + fi + if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then -+ if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then ++ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ -+ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ ++ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in @@ -3040,8 +3285,9 @@ index 51fab47..1659250 100755 + exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` - if test "$UNAME_PROCESSOR" = "x86"; then -@@ -1209,22 +1311,28 @@ EOF +- if test "$UNAME_PROCESSOR" = "x86"; then ++ if test "$UNAME_PROCESSOR" = x86; then + UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} @@ -3076,7 +3322,11 @@ index 51fab47..1659250 100755 *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 -@@ -1235,183 +1343,55 @@ EOF + # operating systems. +- if test "$cputype" = "386"; then ++ if test "$cputype" = 386; then + UNAME_MACHINE=i386 + else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 @@ -3126,7 +3376,7 @@ index 51fab47..1659250 100755 + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) -+ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' ++ echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE} | sed -e 's/ .*$//'` + exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos @@ -3136,6 +3386,9 @@ index 51fab47..1659250 100755 + exit ;; + x86_64:VMkernel:*:*) + echo ${UNAME_MACHINE}-unknown-esx ++ exit ;; ++ amd64:Isilon\ OneFS:*:*) ++ echo x86_64-unknown-onefs + exit ;; esac @@ -3292,14 +3545,14 @@ index 51fab47..1659250 100755 cat >&2 <." +@@ -55,8 +53,7 @@ timestamp='2004-03-12' + me=`echo "$0" | sed -e 's,.*/,,'` + + usage="\ +-Usage: $0 [OPTION] CPU-MFR-OPSYS +- $0 [OPTION] ALIAS ++Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS + + Canonicalize a configuration name. + +@@ -70,8 +67,7 @@ Report bugs and patches to ." version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -Free Software Foundation, Inc. -+Copyright 1992-2015 Free Software Foundation, Inc. ++Copyright 1992-2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." -@@ -83,11 +80,11 @@ Try \`$me --help' for more information." +@@ -83,11 +79,11 @@ Try \`$me --help' for more information." while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) @@ -3426,7 +3689,7 @@ index ba33103..1acc966 100755 -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. -@@ -99,7 +96,7 @@ while test $# -gt 0 ; do +@@ -99,7 +95,7 @@ while test $# -gt 0 ; do *local*) # First pass through any local machine types. echo $1 @@ -3435,7 +3698,7 @@ index ba33103..1acc966 100755 * ) break ;; -@@ -118,11 +115,18 @@ esac +@@ -118,11 +114,18 @@ esac # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in @@ -3456,7 +3719,7 @@ index ba33103..1acc966 100755 *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] -@@ -145,10 +149,13 @@ case $os in +@@ -145,10 +148,13 @@ case $os in -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ @@ -3471,7 +3734,7 @@ index ba33103..1acc966 100755 -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 -@@ -163,13 +170,17 @@ case $os in +@@ -163,13 +169,17 @@ case $os in os=-chorusos basic_machine=$1 ;; @@ -3492,7 +3755,7 @@ index ba33103..1acc966 100755 -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` -@@ -186,6 +197,10 @@ case $os in +@@ -186,6 +196,10 @@ case $os in # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; @@ -3503,7 +3766,7 @@ index ba33103..1acc966 100755 -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` -@@ -203,6 +218,12 @@ case $os in +@@ -203,6 +217,12 @@ case $os in -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; @@ -3516,7 +3779,7 @@ index ba33103..1acc966 100755 -lynx*) os=-lynxos ;; -@@ -227,57 +248,114 @@ case $basic_machine in +@@ -227,57 +247,114 @@ case $basic_machine in # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ @@ -3647,7 +3910,7 @@ index ba33103..1acc966 100755 # We use `pc' rather than `unknown' # because (1) that's what they normally are, and -@@ -293,59 +371,89 @@ case $basic_machine in +@@ -293,59 +370,89 @@ case $basic_machine in # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ @@ -3758,7 +4021,7 @@ index ba33103..1acc966 100755 ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. -@@ -363,7 +471,7 @@ case $basic_machine in +@@ -363,7 +470,7 @@ case $basic_machine in basic_machine=a29k-amd os=-udi ;; @@ -3767,7 +4030,7 @@ index ba33103..1acc966 100755 basic_machine=abacus-unknown ;; adobe68k) -@@ -409,6 +517,13 @@ case $basic_machine in +@@ -409,6 +516,13 @@ case $basic_machine in basic_machine=m68k-apollo os=-bsd ;; @@ -3775,13 +4038,13 @@ index ba33103..1acc966 100755 + basic_machine=i386-pc + os=-aros + ;; -+ asmjs) ++ asmjs) + basic_machine=asmjs-unknown + ;; aux) basic_machine=m68k-apple os=-aux -@@ -417,10 +532,35 @@ case $basic_machine in +@@ -417,10 +531,35 @@ case $basic_machine in basic_machine=ns32k-sequent os=-dynix ;; @@ -3817,7 +4080,7 @@ index ba33103..1acc966 100755 convex-c1) basic_machine=c1-convex os=-bsd -@@ -445,13 +585,20 @@ case $basic_machine in +@@ -445,13 +584,20 @@ case $basic_machine in basic_machine=j90-cray os=-unicos ;; @@ -3840,7 +4103,7 @@ index ba33103..1acc966 100755 cris | cris-* | etrax*) basic_machine=cris-axis ;; -@@ -481,6 +628,14 @@ case $basic_machine in +@@ -481,6 +627,14 @@ case $basic_machine in basic_machine=m88k-motorola os=-sysv3 ;; @@ -3855,7 +4118,7 @@ index ba33103..1acc966 100755 dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx -@@ -592,7 +747,6 @@ case $basic_machine in +@@ -592,7 +746,6 @@ case $basic_machine in i370-ibm* | ibm*) basic_machine=i370-ibm ;; @@ -3863,7 +4126,7 @@ index ba33103..1acc966 100755 i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 -@@ -631,6 +785,17 @@ case $basic_machine in +@@ -631,6 +784,17 @@ case $basic_machine in basic_machine=m68k-isi os=-sysv ;; @@ -3881,7 +4144,7 @@ index ba33103..1acc966 100755 m88k-omron*) basic_machine=m88k-omron ;; -@@ -642,10 +807,21 @@ case $basic_machine in +@@ -642,10 +806,21 @@ case $basic_machine in basic_machine=ns32k-utek os=-sysv ;; @@ -3904,7 +4167,7 @@ index ba33103..1acc966 100755 miniframe) basic_machine=m68000-convergent ;; -@@ -659,10 +835,6 @@ case $basic_machine in +@@ -659,10 +834,6 @@ case $basic_machine in mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; @@ -3915,7 +4178,7 @@ index ba33103..1acc966 100755 monitor) basic_machine=m68k-rom68k os=-coff -@@ -671,14 +843,29 @@ case $basic_machine in +@@ -671,14 +842,29 @@ case $basic_machine in basic_machine=powerpc-unknown os=-morphos ;; @@ -3945,7 +4208,7 @@ index ba33103..1acc966 100755 ncr3000) basic_machine=i486-ncr os=-sysv4 -@@ -743,9 +930,11 @@ case $basic_machine in +@@ -743,9 +929,11 @@ case $basic_machine in np1) basic_machine=np1-gould ;; @@ -3960,7 +4223,7 @@ index ba33103..1acc966 100755 ;; nsr-tandem) basic_machine=nsr-tandem -@@ -754,9 +943,8 @@ case $basic_machine in +@@ -754,9 +942,8 @@ case $basic_machine in basic_machine=hppa1.1-oki os=-proelf ;; @@ -3971,7 +4234,7 @@ index ba33103..1acc966 100755 ;; os400) basic_machine=powerpc-ibm -@@ -778,6 +966,14 @@ case $basic_machine in +@@ -778,6 +965,14 @@ case $basic_machine in basic_machine=i860-intel os=-osf ;; @@ -3986,7 +4249,7 @@ index ba33103..1acc966 100755 pbd) basic_machine=sparc-tti ;; -@@ -787,6 +983,12 @@ case $basic_machine in +@@ -787,6 +982,12 @@ case $basic_machine in pc532 | pc532-*) basic_machine=ns32k-pc532 ;; @@ -3999,7 +4262,7 @@ index ba33103..1acc966 100755 pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; -@@ -816,9 +1018,10 @@ case $basic_machine in +@@ -816,9 +1017,10 @@ case $basic_machine in ;; power) basic_machine=power-ibm ;; @@ -4012,7 +4275,7 @@ index ba33103..1acc966 100755 ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown -@@ -843,6 +1046,14 @@ case $basic_machine in +@@ -843,6 +1045,14 @@ case $basic_machine in basic_machine=i586-unknown os=-pw32 ;; @@ -4027,7 +4290,7 @@ index ba33103..1acc966 100755 rom68k) basic_machine=m68k-rom68k os=-coff -@@ -869,6 +1080,10 @@ case $basic_machine in +@@ -869,6 +1079,10 @@ case $basic_machine in sb1el) basic_machine=mipsisa64sb1el-unknown ;; @@ -4038,7 +4301,7 @@ index ba33103..1acc966 100755 sei) basic_machine=mips-sei os=-seiux -@@ -880,6 +1095,9 @@ case $basic_machine in +@@ -880,6 +1094,9 @@ case $basic_machine in basic_machine=sh-hitachi os=-hms ;; @@ -4048,7 +4311,7 @@ index ba33103..1acc966 100755 sh64) basic_machine=sh64-unknown ;; -@@ -901,6 +1119,9 @@ case $basic_machine in +@@ -901,6 +1118,9 @@ case $basic_machine in basic_machine=i860-stratus os=-sysv4 ;; @@ -4058,7 +4321,7 @@ index ba33103..1acc966 100755 sun2) basic_machine=m68000-sun ;; -@@ -957,17 +1178,9 @@ case $basic_machine in +@@ -957,17 +1177,9 @@ case $basic_machine in basic_machine=t90-cray os=-unicos ;; @@ -4079,7 +4342,7 @@ index ba33103..1acc966 100755 ;; tx39) basic_machine=mipstx39-unknown -@@ -1029,9 +1242,16 @@ case $basic_machine in +@@ -1029,9 +1241,16 @@ case $basic_machine in basic_machine=hppa1.1-winbond os=-proelf ;; @@ -4096,7 +4359,7 @@ index ba33103..1acc966 100755 ymp) basic_machine=ymp-cray os=-unicos -@@ -1040,6 +1260,10 @@ case $basic_machine in +@@ -1040,6 +1259,10 @@ case $basic_machine in basic_machine=z8k-unknown os=-sim ;; @@ -4107,7 +4370,7 @@ index ba33103..1acc966 100755 none) basic_machine=none-none os=-none -@@ -1059,6 +1283,9 @@ case $basic_machine in +@@ -1059,6 +1282,9 @@ case $basic_machine in romp) basic_machine=romp-ibm ;; @@ -4117,7 +4380,7 @@ index ba33103..1acc966 100755 rs6000) basic_machine=rs6000-ibm ;; -@@ -1075,13 +1302,10 @@ case $basic_machine in +@@ -1075,13 +1301,10 @@ case $basic_machine in we32k) basic_machine=we32k-att ;; @@ -4133,7 +4396,7 @@ index ba33103..1acc966 100755 basic_machine=sparc-sun ;; cydra) -@@ -1125,9 +1349,12 @@ esac +@@ -1125,9 +1348,12 @@ esac if [ x"$os" != x"" ] then case $os in @@ -4148,7 +4411,7 @@ index ba33103..1acc966 100755 -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -@@ -1148,26 +1375,31 @@ case $os in +@@ -1148,26 +1374,32 @@ case $os in # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ @@ -4164,7 +4427,7 @@ index ba33103..1acc966 100755 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ -+ | -bitrig* | -openbsd* | -solidbsd* \ ++ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ @@ -4184,7 +4447,8 @@ index ba33103..1acc966 100755 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ -+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) ++ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ ++ | -onefs* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -4215,7 +4479,7 @@ index ba33103..1acc966 100755 os=-tpf ;; -triton*) -@@ -1291,8 +1523,13 @@ case $os in +@@ -1291,8 +1523,15 @@ case $os in -aros*) os=-aros ;; @@ -4228,10 +4492,12 @@ index ba33103..1acc966 100755 + os=-dicos + ;; + -nacl*) ++ ;; ++ -ios) ;; -none) ;; -@@ -1316,6 +1553,12 @@ else +@@ -1316,6 +1555,12 @@ else # system, and we'll never get to this point. case $basic_machine in @@ -4244,7 +4510,7 @@ index ba33103..1acc966 100755 *-acorn) os=-riscix1.2 ;; -@@ -1325,9 +1568,24 @@ case $basic_machine in +@@ -1325,9 +1570,24 @@ case $basic_machine in arm*-semi) os=-aout ;; @@ -4272,7 +4538,7 @@ index ba33103..1acc966 100755 # This must come before the *-dec entry. pdp10-*) os=-tops20 -@@ -1346,13 +1604,13 @@ case $basic_machine in +@@ -1346,13 +1606,13 @@ case $basic_machine in ;; m68000-sun) os=-sunos3 @@ -4289,7 +4555,7 @@ index ba33103..1acc966 100755 mips*-cisco) os=-elf ;; -@@ -1371,9 +1629,15 @@ case $basic_machine in +@@ -1371,9 +1631,15 @@ case $basic_machine in *-be) os=-beos ;; @@ -4305,7 +4571,7 @@ index ba33103..1acc966 100755 *-wec) os=-proelf ;; -@@ -1476,7 +1740,7 @@ case $basic_machine in +@@ -1476,7 +1742,7 @@ case $basic_machine in -sunos*) vendor=sun ;; @@ -4314,7 +4580,7 @@ index ba33103..1acc966 100755 vendor=ibm ;; -beos*) -@@ -1539,7 +1803,7 @@ case $basic_machine in +@@ -1539,7 +1805,7 @@ case $basic_machine in esac echo $basic_machine$os @@ -4324,10 +4590,15 @@ index ba33103..1acc966 100755 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) diff --git a/configure b/configure -index 4c1bc06..c721825 100755 +index 4c1bc06..9cb3074 100755 --- a/configure +++ b/configure -@@ -1490,7 +1490,7 @@ Optional Packages: +@@ -1486,11 +1486,11 @@ Optional Packages: + --with-migemo=MIGEMO_COMMAND migemo command + --with-editor=EDITOR default editor (/usr/bin/vi) + --with-mailer=MAILER default mailer (/usr/bin/mail) +- --with-browser=BROWSER default browser (/usr/bin/mozilla) ++ --with-browser=BROWSER default browser (/usr/bin/firefox) --with-ssl=PREFIX support https protocol --with-termlib=LIBS terminal library LIBS is space separated list of: @@ -4404,6 +4675,15 @@ index 4c1bc06..c721825 100755 else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with FB support" >&5 $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with FB support" >&2;} +@@ -7344,7 +7345,7 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + +-w3m_browser="/usr/bin/mozilla" ++w3m_browser="/usr/bin/firefox" + { $as_echo "$as_me:${as_lineno-$LINENO}: checking which external browser is used by default" >&5 + $as_echo_n "checking which external browser is used by default... " >&6; } + @@ -7977,7 +7978,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_termlib" >&5 @@ -4422,6 +4702,15 @@ index 4c1bc06..c721825 100755 ; return 0; } +@@ -9076,7 +9077,7 @@ RC_DIR="~/.$PACKAGE" + $as_echo "#define RC_DIR \"\$RC_DIR\"" >>confdefs.h + + +-DOCDIRS="doc:en_English doc-jp:ja_Japanese" ++DOCDIRS="doc:en_English doc-jp:ja_Japanese doc-de:de_German" + cat >>confdefs.h <<_ACEOF + #define DOCDIRS "$DOCDIRS" + _ACEOF @@ -9084,7 +9085,8 @@ _ACEOF @@ -4432,6 +4721,19 @@ index 4c1bc06..c721825 100755 CURRENT_VERSION=`sed -n 's/.*define CURRENT_VERSION *"w3m\/\(.*\)".*$/\1/p' version.c` ac_config_files="$ac_config_files Makefile posubst po/Makefile.in scripts/Makefile scripts/dirlist.cgi scripts/w3mhelp.cgi scripts/w3mmail.cgi scripts/xface2xpm scripts/multipart/Makefile scripts/multipart/multipart.cgi scripts/w3mman/Makefile scripts/w3mman/w3mman scripts/w3mman/w3mman.1 scripts/w3mman/w3mman2html.cgi libwc/Makefile w3mimg/Makefile w3mimg/fb/Makefile w3mimg/x11/Makefile w3mimg/win/Makefile w3mhelp-w3m_en.html w3mhelp-w3m_ja.html w3mhelp-lynx_en.html w3mhelp-lynx_ja.html" +diff --git a/configure.ac b/configure.ac +index 7308fc6..3332251 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -172,7 +172,7 @@ AC_SUBST(RC_DIR) + RC_DIR="~/.$PACKAGE" + AC_DEFINE(RC_DIR, "$RC_DIR") + AC_SUBST(DOCDIRS) +-DOCDIRS="doc:en_English doc-jp:ja_Japanese" ++DOCDIRS="doc:en_English doc-jp:ja_Japanese doc-de:de_German" + AC_DEFINE_UNQUOTED(DOCDIRS, "$DOCDIRS") + + AC_W3M_VERSION diff --git a/cookie.c b/cookie.c index 8020f6d..705e277 100644 --- a/cookie.c @@ -4636,6 +4938,156 @@ index e00eb0c..d4f336a 100644 if (image->width > 0) w = image->width - sx; else +diff --git a/doc-de/README.func b/doc-de/README.func +new file mode 100644 +index 0000000..9d062be +--- /dev/null ++++ b/doc-de/README.func +@@ -0,0 +1,144 @@ ++ABORT Quit w3m without confirmation ++ACCESSKEY Pop up accesskey menu ++ADD_BOOKMARK Add current page to bookmarks ++ALARM Set alarm ++BACK Back to previous buffer ++BEGIN Go to the first line ++BOOKMARK View bookmarks ++CENTER_H Move to the center line ++CENTER_V Move to the center column ++CHARSET Change the current document charset ++CLOSE_TAB Close current tab ++CLOSE_TAB_MOUSE Close tab on mouse cursor (for mouse action) ++COMMAND Execute w3m command(s) ++COOKIE View cookie list ++DEFAULT_CHARSET Change the default document charset ++DEFINE_KEY Define a binding between a keystroke and a user command ++DELETE_PREVBUF Delete previous buffer (mainly for local-CGI) ++DICT_WORD Execute dictionary command (see README.dict) ++DICT_WORD_AT Execute dictionary command for word at cursor ++DISPLAY_IMAGE Restart loading and drawing of images ++DOWN Scroll down one line ++DOWNLOAD Save document (source) to file ++DOWNLOAD_LIST Display download list panel ++EDIT Edit current document ++EDIT_SCREEN Edit currently rendered document ++END Go to the last line ++EXEC_SHELL Execute shell command ++EXIT Quit w3m without confirmation ++EXTERN Execute external browser ++EXTERN_LINK View current link using external browser ++FRAME Render frames ++GOTO Go to URL ++GOTO_LINE Go to specified line ++GOTO_LINK Follow current link ++GOTO_RELATIVE Go to relative URL ++HELP View help ++HISTORY View browser history ++INFO View info of current document ++INTERRUPT Suspend w3m ++ISEARCH Incremental search forward ++ISEARCH_BACK Incremental search backward ++LEFT Shift screen one column ++LINE_BEGIN Go to the beginning of line ++LINE_END Go to the end of line ++LINE_INFO Show current line number ++LINK_BEGIN Go to the first link ++LINK_END Go to the last link ++LINK_MENU Pop up link element menu ++LIST Show all links and images ++LIST_MENU Pop up link list menu and go to selected link ++LOAD Load local file ++MAIN_MENU Pop up menu ++MARK Set/unset mark ++MARK_MID Mark Message-ID-like strings as links ++MARK_URL Mark URL-like strings as links ++MARK_WORD Mark current word as link ++MENU Pop up menu ++MENU_MOUSE Pop up menu at mouse cursor (for mouse action) ++MOUSE_TOGGLE Toggle mouse support ++MOVE_DOWN Move cursor down (a half screen scroll at the end of screen) ++MOVE_DOWN1 Move cursor down (1 line scroll at the end of screen) ++MOVE_LEFT Move cursor left (a half screen shift at the left edge) ++MOVE_LEFT1 Move cursor left (1 column shift at the left edge) ++MOVE_LIST_MENU Pop up link list menu and move cursor to selected link ++MOVE_MOUSE Move cursor to mouse cursor (for mouse action) ++MOVE_RIGHT Move cursor right (a half screen shift at the right edge) ++MOVE_RIGHT1 Move cursor right (1 column shift at the right edge) ++MOVE_UP Move cursor up (a half screen scroll at the top of screen) ++MOVE_UP1 Move cursor up (1 line scroll at the top of screen) ++MSGS Display error messages ++NEW_TAB Open new tab ++NEXT Move to next buffer ++NEXT_DOWN Move downward to next link ++NEXT_LEFT Move left to next link ++NEXT_LEFT_UP Move left (or upward) to next link ++NEXT_LINK Move to next link ++NEXT_MARK Move to next word ++NEXT_PAGE Move to next page ++NEXT_RIGHT Move right to next link ++NEXT_RIGHT_DOWN Move right (or downward) to next link ++NEXT_TAB Move to next tab ++NEXT_UP Move upward to next link ++NEXT_VISITED Move to next visited link ++NEXT_WORD Move to next word ++NOTHING Do nothing ++NULL Do nothing ++OPTIONS Display option setting panel ++PEEK Peek at current URL ++PEEK_IMG Peek at image URL ++PEEK_LINK Peek at link URL ++PIPE_BUF Send rendered document to pipe ++PIPE_SHELL Execute shell command and browse ++PREV Move to previous buffer ++PREV_LINK Move to previous link ++PREV_MARK Move to previous mark ++PREV_PAGE Move to previous page ++PREV_TAB Move to previous tab ++PREV_VISITED Move to previous visited link ++PREV_WORD Move to previous word ++PRINT Save buffer to file ++QUIT Quit w3m ++READ_SHELL Execute shell command and load ++REDO Cancel the last undo ++REDRAW Redraw screen ++REG_MARK Set mark using regexp ++REINIT Reload configuration files ++RELOAD Reload buffer ++RESHAPE Re-render buffer ++RIGHT Shift screen one column right ++SAVE Save document (source) to file ++SAVE_IMAGE Save image to file ++SAVE_LINK Save link to file ++SAVE_SCREEN Save buffer to file ++SEARCH Search forward ++SEARCH_BACK Search backward ++SEARCH_FORE Search forward ++SEARCH_NEXT Search next regexp ++SEARCH_PREV Search previous regexp ++SELECT Go to buffer selection panel ++SELECT_MENU Pop up buffer selection menu ++SETENV Set environment variable ++SET_OPTION Set option ++SHELL Execute shell command ++SHIFT_LEFT Shift screen left ++SHIFT_RIGHT Shift screen right ++SOURCE View HTML source ++STOP_IMAGE Stop loading and drawing of images ++SUBMIT Submit form ++SUSPEND Suspend w3m ++TAB_GOTO Open URL on new tab ++TAB_GOTO_RELATIVE Open relative URL on new tab ++TAB_LEFT Move current tab left ++TAB_LINK Open current link on new tab ++TAB_MENU Pop up tab selection menu ++TAB_MOUSE Move to tab on mouse cursor (for mouse action) ++TAB_RIGHT Move current tab right ++UNDO Cancel the last cursor movement ++UP Scroll up one line ++VERSION Display version of w3m ++VIEW View HTML source ++VIEW_BOOKMARK View bookmarks ++VIEW_IMAGE Bild anzeigen ++WHEREIS Search forward ++WRAP_TOGGLE Toggle search wrap mode diff --git a/doc-jp/FAQ.html b/doc-jp/FAQ.html index e16a986..86ef05a 100644 --- a/doc-jp/FAQ.html @@ -4650,7 +5102,7 @@ index e16a986..86ef05a 100644 利用する場合,

diff --git a/doc-jp/MANUAL.html b/doc-jp/MANUAL.html -index 41d70f1..a8623e2 100644 +index 41d70f1..66fdc6e 100644 --- a/doc-jp/MANUAL.html +++ b/doc-jp/MANUAL.html @@ -51,15 +51,9 @@ w3m @@ -4680,6 +5132,30 @@ index 41d70f1..a8623e2 100644

連続する空行を1行にまとめて表示する.
-X
w3m終了時に,以前の画面に戻らない. +@@ -211,9 +205,9 @@ HTML文 + F<FRAMESET>を含む文書を表示しているときに,<FRAME> + タグの指す複数の文書を1つの文書に変換して表示します. + M現在見ているページを,外部ブラウザを使って表示します. +-2M, 3M で2番目と3番目のブラウザを使います. ++2M, 3M, ..., 9M で2番目,3番目,9番目のブラウザを使います. + ESC M現在のリンク先を,外部ブラウザを使って表示します. +-2ESC M, 3ESC M で2番目と3番目のブラウザを使います. ++2ESC M, 3ESC M, ..., 9ESC M で2番目,3番目,9番目のブラウザを使います. + + +

ファイルとURL関係の操作

+@@ -349,9 +343,9 @@ Lynx + F<FRAMESET>を含む文書を表示しているときに,<FRAME> + タグの指す複数の文書を1つの文書に変換して表示します. + M現在見ているページを,外部ブラウザを使って表示します. +-2M, 3M で2番目と3番目のブラウザを使います. ++2M, 3M, ..., 9M で2番目,3番目,9番目のブラウザを使います. + ESC M現在のリンク先を,外部ブラウザを使って表示します. +-2ESC M, 3ESC M で2番目と3番目のブラウザを使います. ++2ESC M, 3ESC M, ..., 9ESC M で2番目,3番目,9番目のブラウザを使います. + + +

ファイルとURL関係の操作

@@ -489,8 +483,7 @@ w3m w3mを使えば,HTTPサーバなしでCGIスクリプトを起動することができます. このとき,w3mがサーバのふりをしてスクリプトを起動し,その出力を @@ -4730,6 +5206,18 @@ index 4aedfde..47d5fd6 100644 while line = $stdin.gets next if line =~ /^#/ next if line =~ /^\s*$/ +diff --git a/doc-jp/README.func b/doc-jp/README.func +index 542aaa9..1b2a060 100644 +--- a/doc-jp/README.func ++++ b/doc-jp/README.func +@@ -36,7 +36,6 @@ GOTO_RELATIVE + HELP ヘルプファイルを表示します + HISTORY URL履歴を表示します + INFO 現在の文書に関する情報を表示します +-INIT_MAILCAP mailcap を再読み込みします(主に local-CGI 用) + INTERRUPT 文書の読み込みを中断します + ISEARCH ファイルの末尾にむかってインクリメンタルサーチします + ISEARCH_BACK ファイルの先頭にむかってインクリメンタルサーチします diff --git a/doc-jp/README.siteconf b/doc-jp/README.siteconf new file mode 100644 index 0000000..90066f7 @@ -4810,9 +5298,16 @@ index 869c716..e4085c8 100644 keymap = INFO keymap > SHIFT_RIGHT diff --git a/doc-jp/w3m.1 b/doc-jp/w3m.1 -index 89aacb6..099a803 100644 +index 89aacb6..a54e078 100644 --- a/doc-jp/w3m.1 +++ b/doc-jp/w3m.1 +@@ -1,5 +1,5 @@ + .\" +-.TH W3M 1 "Jun 6 2000" "UNIX" ++.TH W3M 1 "2016-04-02" "w3m 0.5.3" + .SH NAME + .B w3m + \- text base pager/WWW browser @@ -39,19 +39,10 @@ text/plain 標準入力の内容を表示するときに保存される最大行数を指定する. デフォルトは10000. @@ -4844,19 +5339,1034 @@ index 89aacb6..099a803 100644 連続する空行を1行にまとめて表示する. .TP .B \-X +@@ -327,13 +318,13 @@ URL + .TP + .B M + 現在見ているページを,外部ブラウザを使って表示します. +-.B 2M, 3M +-で2番目と3番目のブラウザを使います. ++.B 2M, 3M, ..., 9M ++で2番目,3番目,9番目のブラウザを使います. + .TP + .B "ESC M" + 現在のリンク先を,外部ブラウザを使って表示します. +-.B "2ESC M", "3ESC M" +-で2番目と3番目のブラウザを使います. ++.B "2ESC M", "3ESC M", ..., "9ESC M" ++で2番目,3番目,9番目のブラウザを使います. + .SS ファイルとURL関係の操作 + .TP + .B U diff --git a/doc/FAQ.html b/doc/FAQ.html -index ed2a704..4d82790 100644 +index ed2a704..34da9f1 100644 --- a/doc/FAQ.html +++ b/doc/FAQ.html -@@ -222,7 +222,7 @@ from the server each time it accesses it. If possible, use a cache server. -
Use 'a' (or 'd' with Lynx-like keybindings) or ESC RET. If you want to download an inline image, use ESC 'I'. -

-

How do I specify a proxy server?

+@@ -1,151 +1,423 @@ +- +- +-W3M FAQ +- +- +-

  +-

Frequently Asked Questions and Answers about w3m

+-
+-Akinori Ito
+-aito@fw.ipsj.or.jp
+-Corrected by Tom Berger <tom.be@gmx.net> +-
+-

+-

Index
+-

+-
+-

    +-
  • General Questions, How to Get It, Required Environment

  • +-
      +-
    • How do I pronounce "w3m"?

      +-
    • Why is it called "w3m"?

      +-
    • On which platforms does w3m work?

      +-
    • Where can I get more information about w3m?

      +-
    • Is there a mailing list for w3m?

      +-
    • Are there any binary distributions?

      +-
    +-
    +-
  • Compile and Install

    +-
    +-
  • Options, Commands, Usage

    +-
      +-
    • w3m quits if started without parameters. What's wrong?

      +-
    • w3m starts with black characters on a black screen. How do I change this?

      +-
    • Does w3m support colours?

      +-
    • Does w3m support monochrome display?

      +-
    • How do I shift the display?

      +-
    • How do I move from anchor to anchor?

      +-
    • Netscape displays a word red, but w3m doesn't. Why?

      +-
    • How do I change the colour of anchor-/image-/form links?

      +-
    • w3m doesn't seem to use the variable EDITOR. Why?

      +-
    • How do I quit a search or URL text input?

      +-
    +-
    +-
  • Questions about WWW usage

    +-
      +-
    • How do I fill in forms with w3m?

      +-
    • Seems like w3m is slower than Netscape or Lynx. Why?

      +-
    • Loading time doesn't decrease when loading a previously seen page

      +-
    • How do I download a linked file?

      +-
    • How do I specify a proxy server?

      +-
    • w3m freezes when I invoke an external browser.

      +-
    • How do I change the default image viewer?

      +-
    • How do I enter a URL?

      +-
    • w3m appends a URL to the former one despite of having cleared the line with Ctrl-u. What to do?

      +-
    +-
    +-
  • Misc

    +-
      +-
    • What is w3m's configuration file?

      +-
    • What are these w3mxxxx files in my ~/.w3m directory for?

      +-
    +-
      +-
    +-

    General Questions, How to Get It, Required Environment

    +-
    +-
    +-

    How do I pronounce "w3m"?

    +-
    It's "W-three-M". It doesn't rhyme with "pteranodon". +-

    +-

    Why is it called "w3m"?

    +-
    It's an abbreviation of "WWW-wo-Miru", which is Japanese for +-"See the WWW". So in English the name of this browser would be +-something like "stw3". +-

    +-

    On which platforms does w3m work?

    +-
    It runs on various versions of Unix, since version 990226 on OS/2 and since +-version 990303 also on MS-Windows with Cygwin32. +-
    +-Current versions have been confirmed to run on: +-
      +-
    • SunOS 4.1.x +-
    • HP-UX 9.x, 10.x +-
    • Solaris 2.5.x, 2.6, 8 +-
    • Linux 2.0.30 +-
    • FreeBSD 2.2.8, 3.1, 3.2, 4.6 +-
    • NetBSD/macppc, m68k +-
    • EWS4800 Rel.12.2 Rev.A +-
    • Digital UNIX: v3.2D, v4.0D +-
    • IRIX 5.3, IRIX 6.5 +-
    • OS/2 with emx +-
    • Windows 9x/NT with Cygwin32 b20.1 +-
    • MS-DOS with DJGPP and WATT32 packet driver +-
    • MacOS X Server +-
    • MacOS X 10.1, 10.2 +-
    +-

    Where can I get more information about w3m?

    +-
    At the English w3m home page. +-

    Is there a mailing list for w3m?

    +-
    There is a mailing list for developpers (w3m-dev-en). Please see +-w3m page +-for details. You may also mail your comments to the author. +-

    Are there any binary distributions?

    +-
    So far there are only binaries for the win/cygnus32 version. You can get +-them from here. +-Contact the author if you want to contribute binaries for other platforms. +-
    +-
    +-
    +-
    +-Up to index +-
    +-
    +-

    Compile and Install

    +-No problem :-) +-

    Options, Commands, Usage

    +-
    +-
    +-

    w3m quits if started without parameters. What's wrong?

    +-
    w3m is a pager. Therefore it just quits when invoked without any +-arguments. Possible arguments are: +-
      +-
    1. A filename or an URL +-
    2. Pipe from standard input +-
    3. The -B option (Show bookmark file) +-
    4. The -v option (visual startup) +-
    5. From a specified HTTP_HOME or WWW_HOME variable +-
    +-

    +-

    w3m starts with black characters on black background. How do I change +-this?

    +-
    +-When compiled with colour support, w3m assumes a white background and therefore +-displays black characters. +-
    +-You may either change the background colour of your terminal (e.g. with the -bg +-option in a xterm) or take these steps: +-
      +-
    • invoke w3m with 'w3m -M' (for monochrome), +-
    • type 'o' for getting to the options screen +-
    • Mark 'Display with colour' as ON and choose an arbitrary colour. +-Click on [OK]. +-
    +-

    +-

    Does w3m support colours?

    +-
    Yes. When you run './configure', answer the question +-

    ++ ++ ++ ++ ++ W3M FAQ ++ ++ ++

    ++ Frequently Asked Questions and Answers about w3m ++

    ++

    ++ Akinori Ito
    ++ aito@fw.ipsj.or.jp
    ++ Corrected by Tom Berger <tom.be@gmx.net> ++

    ++

    ++ ++ Index ++ ++

    ++
      ++
    • ++ ++ ++ General Questions, How to Get It, Required Environment ++ ++ ++
    • ++
        ++
      • ++ ++ How do I pronounce w3m? ++ ++
      • ++
      • ++ ++ Why is it called w3m? ++ ++
      • ++
      • ++ ++ On which platforms does w3m work? ++ ++
      • ++
      • ++ ++ Where can I get more information about w3m? ++ ++
      • ++
      • ++ ++ Is there a mailing list for w3m? ++ ++
      • ++
      • ++ ++ Are there any binary distributions? ++ ++
      • ++
      ++
    • ++ ++ ++ Compile and Install ++ ++ ++
    • ++
    • ++ ++ ++ Options, Commands, Usage ++ ++ ++
    • ++
        ++
      • ++ ++ w3m quits if started without parameters. What's wrong? ++ ++
      • ++
      • ++ ++ w3m starts with black characters on a black background. How do ++ I change this? ++ ++
      • ++
      • ++ ++ Does w3m support colors? ++ ++
      • ++
      • ++ ++ Does w3m support monochrome displays? ++ ++
      • ++
      • ++ ++ How do I shift the display? ++ ++
      • ++
      • ++ ++ How do I move from anchor to anchor? ++ ++
      • ++
      • ++ ++ Graphical browsers display a word red, but w3m doesn't. Why? ++ ++
      • ++
      • ++ ++ How do I change the color of anchor/image/form links? ++ ++
      • ++
      • ++ ++ w3m doesn't seem to use the variable EDITOR. Why? ++ ++
      • ++
      • ++ ++ How do I quit a search or URL text input? ++ ++
      • ++
      ++
    • ++ ++ ++ Questions about WWW usage ++ ++ ++
    • ++
        ++
      • ++ ++ How do I fill in forms with w3m? ++ ++
      • ++
      • ++ ++ Seems like w3m is slower than some other browsers. Why? ++ ++
      • ++
      • ++ ++ Loading time doesn't decrease when loading a previously seen ++ page. ++ ++
      • ++
      • ++ ++ How do I download a linked file? ++ ++
      • ++
      • ++ ++ How do I specify a proxy server? ++ ++
      • ++
      • ++ ++ w3m freezes when I invoke an external browser. ++ ++
      • ++
      • ++ ++ How do I change the default image viewer? ++ ++
      • ++
      • ++ ++ How do I enter a URL? ++ ++
      • ++
      • ++ ++ w3m appends a URL to the former one even when I clear the line ++ with Ctrl-u. What should I do? ++ ++
      • ++
      ++
    • ++ ++ ++ Miscellaneous ++ ++ ++
    • ++
        ++
      • ++ ++ What is w3m's configuration file? ++ ++
      • ++
      • ++ ++ What are these w3mxxxx files in my ~/.w3m directory for? ++ ++
      • ++
      ++
    ++

    ++ ++ General Questions, How to Get It, Required Environment ++ ++

    ++
    ++
    ++ ++ How do I pronounce w3m? ++ ++
    ++
    ++

    ++ It's W-three-M. It doesn't rhyme with pteranodon. ++

    ++
    ++
    ++ ++ Why is it called w3m? ++ ++
    ++
    ++

    ++ It's an abbreviation of WWW-wo-Miru, which is Japanese ++ for See the WWW. So in English the name of this browser ++ would be something like stw3. ++

    ++
    ++
    ++ ++ On which platforms does w3m work? ++ ++
    ++
    ++

    ++ It runs on various versions of Unix, since version 990226 on OS/2 ++ and since version 990303 also on MS-Windows with Cygwin32. ++

    ++

    ++ More recent versions have been confirmed to run on: ++

    ++
      ++
    • ++ SunOS 4.1.x ++
    • ++
    • ++ HP-UX 9.x, 10.x ++
    • ++
    • ++ Solaris 2.5.x, 2.6, 8 ++
    • ++
    • ++ Linux 2.0.1 to 3.17 ++
    • ++
    • ++ FreeBSD 2.2.8, 3.1, 3.2, 4.6 ++
    • ++
    • ++ NetBSD/macppc, m68k ++
    • ++
    • ++ EWS4800 Rel.12.2 Rev.A ++
    • ++
    • ++ Digital UNIX: v3.2D, v4.0D ++
    • ++
    • ++ IRIX 5.3, IRIX 6.5 ++
    • ++
    • ++ OS/2 with emx ++
    • ++
    • ++ Windows 9x/NT with Cygwin32 b20.1 ++
    • ++
    • ++ MS-DOS with DJGPP and WATT32 packet driver ++
    • ++
    • ++ MacOS X Server ++
    • ++
    • ++ MacOS X 10.1, 10.2 ++
    • ++
    ++
    ++
    ++ ++ Where can I get more information about w3m? ++ ++
    ++
    ++

    ++ At the ++ English w3m ++ home page. ++

    ++
    ++
    ++ ++ Is there a mailing list for w3m? ++ ++
    ++
    ++

    ++ There is a mailing list for developers (w3m-dev-en). Please see ++ the w3m home ++ page for details. You may also mail your comments to ++ the author. ++

    ++
    ++
    ++ ++ Are there any binary distributions? ++ ++
    ++
    ++

    ++ So far there are only binaries for the win/cygnus32 version. ++ ++ Contact the author if you ++ want to contribute binaries for other platforms. ++

    ++
    ++
    ++

    ++ ++ Up to index ++ ++

    ++

    ++ ++ Compile and Install ++ ++

    ++

    ++ No problem :-) ++

    ++

    ++ ++ Options, Commands, Usage ++ ++

    ++
    ++
    ++ ++ w3m quits if started without parameters. What's wrong? ++ ++
    ++
    ++

    ++ w3m is a pager. Therefore it just quits when invoked ++ without any arguments. Possible arguments are: ++

    ++
      ++
    1. ++ A filename or URL ++
    2. ++
    3. ++ Pipe from standard input ++
    4. ++
    5. ++ The -B option (show bookmark file) ++
    6. ++
    7. ++ The -v option (visual startup) ++
    8. ++
    9. ++ A specified HTTP_HOME or WWW_HOME variable ++
    10. ++
    ++
    ++
    ++ ++ w3m starts with black characters on a black background. How do I ++ change this? ++ ++
    ++
    ++

    ++ When compiled with color support, w3m assumes a white background ++ and therefore displays black characters. ++

    ++

    ++ You may either change the background color of your terminal ++ (e.g. with the -bg option in a xterm) or take these steps: ++

    ++
      ++
    • ++ invoke w3m with w3m -M (for monochrome), ++
    • ++
    • ++ type o to get to the options screen ++
    • ++
    • ++ Mark Display with color as YES and choose an ++ arbitrary color. ++
    • ++
    • ++ Click on [OK]. ++
    • ++
    ++
    ++
    ++ ++ Does w3m support colors? ++ ++
    ++
    ++

    ++ Yes. When you run ./configure, answer the question ++

    +
    +-Let's do some configurations. Choose config option among the list."
    ++Let's do some configurations. Choose config option among the list.
    + 
    + 1 - Baby model    (no color, no menu, no mouse, no cookie, no SSL)
    + 2 - Little model  (color, menu, no mouse, no cookie, no SSL)
    +@@ -153,139 +425,311 @@ Let's do some configurations. Choose config option among the list."
    + 4 - Cookie model  (color, menu, mouse, cookie, no SSL)
    + 5 - Monster model (with everything; you need openSSL library)
    + 6 - Customize
    +-Which? 
    ++Which?
    + 
    +-

    +-with 2,3,4 or 5. +-

    +-

    Does w3m support monochrome display?

    +-
    Yes. You may either +-
      +-
    1. Answer the above mentioned 'configure' question with 1, or +-
    2. Invoke w3m with the -M option, or +-
    3. Type 'o' within w3m to enter the options screen and turn off colour display +-mode. +-
    +-

    How do I shift the display?

    +-
    You can shift the display by moving the cursor to the edge of the screen. You +-may also use the ">"/"<" or "."/"," keys. +-
    +-Another idea would be adjusting the xterm with the -geometry option (e.g. +-something like 'xterm -geometry 110x45 -bg white -name w3m -e w3m -B'). +-

    How do I move from anchor to anchor?

    +-
    You can move to the next anchor using TAB. ESC TAB moves cursor to the previous anchor. +-

    +-

    Netscape displays a word red, but w3m doesn't. Why?

    +-
    w3m doesn't support <FONT COLOR=".."> tags. It won't be impossible to implement this, but I think it would make the document more difficult to read. +-

    +-

    How do I change the colour of anchor-/image-/form links?

    +-
    Type 'o' within w3m to get the 'options' screen. You can change these +-settings there. +-
    +-

    w3m doesn't seem to use the variable EDITOR. Why?

    +-
    Go to the 'options' screen using the "o" key. Any entry in the 'Editor' field will override the environment variable. +-
    +-If you want to use the editor specified by EDITOR blank the field and push [OK]. +-

    +-

    How do I quit a search or URL text input?

    +-
    Clear input text using Ctrl-u and hit RETURN. +-
    +-
    +-
    +-
    +-Up to index +-
    +-
    +-

    Questions about WWW usage

    +-
    +-
    +-

    How do I fill in forms with w3m?

    +-
    Form input fields are displayed in red (or reverse). Move the cursor to +-them and hit RETURN. Then, +-
      +-
    • if it is a text input field, put in your text on the bottom line, +-
    • if it is a radiobutton or checkbox, that item is selected, +-
    • if it is a textarea, an editor is spawned, +-
    • if it is 'submit' or 'reset', well, just do it. +-
    +-

    Seems like w3m is slower than Netscape or Lynx. Why?

    +-
    w3m renders a HTML document in two passes. Therefore it displays the documentnot before having read the entire document. +-
    +-Netscape or Lynx display the document before having read the whole page, +-and therefore seem faster. +-

    +-

    Loading time doesn't decrease when loading a previously seen page

    +-
    w3m doesn't have its own cache. Therefore, it reads the document +-from the server each time it accesses it. If possible, use a cache server. +-

    +-

    How do I download a linked file?

    +-
    Use 'a' (or 'd' with Lynx-like keybindings) or ESC RET. If you want to download an inline image, use ESC 'I'. +-

    +-

    How do I specify a proxy server?

    -
    Set the environment variable HTTP_PROXY or use the option setting panel -+
    Set the environment variables HTTP_PROXY, HTTPS_PROXY, GOPHER_PROXY and FTP_PROXY, or use the option setting panel - ("o" key). For example, if you want to use port 8000 of proxy.hogege.com, specify -

    +-("o" key). For example, if you want to use port 8000 of proxy.hogege.com, specify +-

    ++

    ++ with 2, 3, 4, or 5. ++

    ++
    ++
    ++ ++ Does w3m support monochrome displays? ++ ++
    ++
    ++

    ++ Yes. You may either ++

    ++
      ++
    1. ++ Answer the above-mentioned configure question with 1, ++ or ++
    2. ++
    3. ++ Invoke w3m with the -M option, or ++
    4. ++
    5. ++ Type o within w3m to enter the options screen and turn ++ off color display mode. ++
    6. ++
    ++
    ++
    ++ ++ How do I shift the display? ++ ++
    ++
    ++

    ++ You can shift the display by moving the cursor to the edge of ++ the screen. You may also use the >/< or ++ ./, keys. ++

    ++

    ++ Another idea would be adjusting the xterm with the -geometry ++ option (e.g. something like xterm -geometry 110x45 -bg white ++ -name w3m -e w3m -B). ++

    ++
    ++
    ++ ++ How do I move from anchor to anchor? ++ ++
    ++
    ++

    ++ You can move to the next anchor using TAB. ESC TAB moves the ++ cursor to the previous anchor. ++

    ++
    ++
    ++ ++ Graphical browsers display a word red, but w3m doesn't. Why? ++ ++
    ++
    ++

    ++ w3m doesn't support the HTML COLOR="..." attribute. It wouldn't ++ be impossible to implement this, but I think it would make ++ documents more difficult to read. ++

    ++
    ++
    ++ ++ How do I change the color of anchor/image/form links? ++ ++
    ++
    ++

    ++ Type o within w3m to get the options screen. You ++ can change these settings there. ++

    ++
    ++
    ++ ++ w3m doesn't seem to use the variable EDITOR. Why? ++ ++
    ++
    ++

    ++ Go to the options screen using the o key. Any ++ entry in the Editor field will override the environment ++ variable. ++

    ++

    ++ If you want to use the editor specified by EDITOR, blank the ++ field and press [OK]. ++

    ++
    ++
    ++ ++ How do I quit a search or URL text input? ++ ++
    ++
    ++

    ++ Clear input text using CTRL-u and hit RETURN. ++

    ++
    ++
    ++

    ++ ++ Up to index ++ ++

    ++

    ++ ++ Questions about WWW usage ++ ++

    ++
    ++
    ++ ++ How do I fill in forms with w3m? ++ ++
    ++
    ++

    ++ Form input fields are displayed in red (or reverse). Move the ++ cursor to them and hit RETURN. Then, ++

    ++
      ++
    • ++ if it is a text input field, put in your text on the bottom ++ line, ++
    • ++
    • ++ if it is a radiobutton or checkbox, that item is selected, ++
    • ++
    • ++ if it is a textarea, an editor is spawned, ++
    • ++
    • ++ if it is submit or reset, well, just do it. ++
    • ++
    ++
    ++
    ++ ++ Seems like w3m is slower than some other browsers. Why? ++ ++
    ++
    ++

    ++ w3m renders a HTML document in two passes. Therefore it doesn't ++ start to display the document until it has finished reading it. ++

    ++

    ++ Most other browsers display the document before having read the ++ whole page, and therefore seem faster. ++

    ++
    ++
    ++ ++ Loading time doesn't decrease when loading a previously seen ++ page. ++ ++
    ++
    ++

    ++ w3m doesn't have its own cache. Therefore, it reads the document ++ from the server each time it accesses it. If possible, use a ++ cache server. ++

    ++
    ++
    ++ ++ How do I download a linked file? ++ ++
    ++
    ++

    ++ Use a (or d with Lynx-like keybindings) or ESC RET. ++ If you want to download an inline image, use ESC I. ++

    ++
    ++
    ++ ++ How do I specify a proxy server? ++ ++
    ++
    ++

    ++ Set the environment variables HTTP_PROXY, HTTPS_PROXY, GOPHER_PROXY ++ and FTP_PROXY, or use the option setting panel (o key). For ++ example, if you want to use port 8000 of proxy.example.org, specify ++

    +-    http://proxy.hogege.com:8000/
    ++    http://proxy.example.org:8000/
    + 
    +-

    +-

    w3m freezes when I invoke an external browser.

    +-
    Enter w3m's option screen using the 'o' key and specify +-

    ++

    ++
    ++ ++ w3m freezes when I invoke an external browser. ++ ++
    ++
    ++

    ++ Enter w3m's option screen using the o key and specify ++

    +
    +-    netscape %s &
    ++    firefox %s &
    + 
    +-

    +-(if you are using netscape). +-

    +-

    How do I change the default image viewer?

    +-
    By default w3m uses xv to view images. If you want to change it into, let's say, 'display', add the following line to ~/.w3m/mailcap or /etc/mailcap. +-

    ++

    ++ (if you are using Firefox). Note that %s is replaced with the URL ++ when invoking. ++

    ++
    ++
    ++ ++ How do I change the default image viewer? ++ ++
    ++
    ++

    ++ By default w3m uses xv to view images. If you want to change it ++ into, let's say, display, add the following line to ++ ~/.w3m/mailcap or /etc/mailcap. ++

    +
    + image/*; display %s
    + 
    +-

    +-You can specify external viewers of other file types as well: +-

    ++

    ++ You can specify external viewers of other file types as well: ++

    +
    + image/*;                     display %s
    + application/postscript;      ghostview %s
    + application/x-dvi;           xdvi %s
    + 
    +-

    How do I enter a URL?

    +-
    Type SHIFT-U +-

    +-

    w3m appends a URL to the former one despite of having cleared the line +-with Ctrl-u. What to do?

    +-
    Enter the complete adress, e.g. http://www.slashdot.org. +-
    +-
    +-
    +-
    +-Up to index +-
    +-
    +-

    Miscellaneous

    +-
    +-
    +-

    What is w3m's configuration file?

    +-
    It is ~/.w3m/config. +-With this file, you can adjust w3m's behavior by changing values of options +-that are described to be varied with the option setting panel. +-Each line contains setting for one option, which is a pair of an option name +-and its value with a space as a separator. +-

    +-

    What are these w3mxxxx files in my ~/.w3m directory for?

    +-
    These are temporary files used by w3m when reading documents from a +-WWW server. They are not cache files and are usually deleted when w3m is +-terminated. If there remain any temp files, please remove them by yourself. +-

    +-

    +-
    +-
    +-
    +-Up to index +-
    +-
    +- +- ++
    ++
    ++ ++ How do I enter a URL? ++ ++
    ++
    ++

    ++ Type SHIFT-u ++

    ++
    ++
    ++ ++ w3m appends a URL to the former one even when I clear the line ++ with CTRL-u. What should I do? ++ ++
    ++
    ++

    ++ Enter the complete address, e.g. http://www.slashdot.org. ++

    ++
    ++
    ++

    ++ ++ Up to index ++ ++

    ++

    ++ ++ Miscellaneous ++ ++

    ++
    ++
    ++ ++ What is w3m's configuration file? ++ ++
    ++
    ++

    ++ It is ~/.w3m/config. ++

    ++

    ++ With this file, you can adjust w3m's behavior by changing the ++ values of options whose effects are described in the option ++ setting panel. Each line contains one option setting, consisting ++ of an option name and its value with a space as a separator. ++

    ++
    ++
    ++ ++ What are these w3mxxxx files in my ~/.w3m directory for? ++ ++
    ++
    ++

    ++ These are temporary files used by w3m when reading documents ++ from a WWW server. They are not cache files and are usually ++ deleted when w3m is terminated. If any temp files are left ++ behind, please remove them yourself. ++

    ++
    ++
    ++

    ++ ++ Up to index ++ ++

    ++ ++ diff --git a/doc/HISTORY b/doc/HISTORY index b8f5b94..7f7ae2b 100644 --- a/doc/HISTORY @@ -4908,45 +6418,2736 @@ index b8f5b94..7f7ae2b 100644 From: "OMAE, jun" diff --git a/doc/MANUAL.html b/doc/MANUAL.html -index aff0189..8353f33 100644 +index aff0189..44379e9 100644 --- a/doc/MANUAL.html +++ b/doc/MANUAL.html -@@ -55,12 +55,10 @@ If you don't specify this option, -
    -l number -
    Specify line number preserved internally when reading text/plain document - fron standard input. Default is 10000. +@@ -1,508 +1,2207 @@ +- ++ + +-w3m manual +- +- +-

    w3m MANUAL

    +-
    +-Akinori Ito
    +-aito@fw.ipsj.or.jp +-
    +-

    Index

    +- +-
  • Introduction +-
  • Options +-
  • Document color +-
  • Key binding +-
  • Lynx-like key binding +-
  • Mouse operation +-
  • Key customization +-
  • Local CGI +-
  • +- +-
    +- +-

    Introduction

    +-w3m is a pager/text-based WWW browser. You can browse local documents and/or +-documents on the WWW using a terminal emulator. +- +-
    +- +-

    Options

    +- +-Command line usage is +-

    ++ ++ ++ ++ w3m manual ++ ++ ++ ++ ++ ++ ++

    w3m MANUAL

    ++
    ++ Akinori Ito
    ++ aito@fw.ipsj.or.jp ++
    ++

    Index

    ++ ++
    ++

    ++ Introduction ++

    ++

    ++ w3m is a pager/text-based WWW browser. You can browse local ++ documents and/or documents on the WWW using a terminal emulator. ++

    ++
    ++

    ++ Options ++

    ++

    ++ Command line usage is ++

    +
    +     w3m [options] [file|URL]
    + 
    +-

    +-If you specify filenames/URLs on command line, these documents are displayed. +-If you specify nothing, w3m reads a document from standard input and display it. +-If no filename and/or URLs are specified and standard input is tty, w3m terminates +-without displaying anything. +- +-

    +-Options are as follows: +-

    +-
    +<line number> +-
    Move to the specified line. +-
    -t width +-
    Specify tab width. Default is 8. +-
    -r +-
    When displaying text/plain document, prohibit emphasis using backspace. +-If you don't specify this option, +-``A^H_'' is interpreted as underlined character and ``A^HA'' as a bold character. +-
    -l number +-
    Specify line number preserved internally when reading text/plain document +-fron standard input. Default is 10000. -
    -s -
    Display documents with Shift_JIS code. -
    -e -
    Display documents with EUC_JP code. -
    -j -
    Display documents with ISO-2022-JP code. -+
    -O charset -+
    Specify display/output charset. -+
    -I charset -+
    Specify document charset. -
    -T type -
    Specify document type. Without this option, document type - is determined from extension of a file. If the determination -@@ -90,7 +88,7 @@ It is useful when reading E-mail or NetNews messages. -
    Monochrome display mode. -
    -F -
    Automatically render frame. +-
    -T type +-
    Specify document type. Without this option, document type +-is determined from extension of a file. If the determination +-fails, the document is regarded as text/plain. +-

    +-Example:
    +-Read HTML document from standard input and display it ++

    ++ If you specify filenames/URLs on the command line, these documents ++ are displayed. If you specify nothing, w3m will read a document ++ from standard input and display it. If it doesn't find a document ++ there either then normally w3m will terminate. ++

    ++

    ++ Options include: ++

    ++
    ++
    ++ +number ++
    ++
    ++

    ++ Move to the specified line-number. ++

    ++
    ++
    ++ -t width ++ ++
    ++
    ++

    ++ Specify tab width. Default is 8. ++ ++

    ++
    ++
    ++ -r ++
    ++
    ++

    ++ When displaying text/plain documents, prohibit emphasis using ++ backspace. If you don't specify this option, A^H_ is ++ interpreted as an underlined A and A^HA as a bold ++ A. ++ ++

    ++
    ++
    ++ -l number ++
    ++
    ++

    ++ Specify the number of lines that should be cached while reading a ++ text/plain document from standard input. Default is 10,000. ++

    ++
    ++
    ++ -O charset ++
    ++
    ++

    ++ Specify display/output charset. ++ ++

    ++
    ++
    ++ -I charset ++
    ++
    ++

    ++ Specify document charset. ++ ++

    ++
    ++
    ++ -T type ++
    ++
    ++

    ++ Specify document type. Without this option, document type is ++ determined from the extension of a file. If the determination ++ fails, the document is regarded as text/plain. For example: ++

    ++

    ++ Read HTML document from standard input and display it ++

    +
    +-   cat hoge.html | w3m -T text/html
    ++   cat example.html | w3m -T text/html
    + 
    +-

    +-Display HTML source ++

    ++ Display HTML source ++

    +
    +-   w3m -T text/plain hoge.html
    ++   w3m -T text/plain example.html
    + 
    +-
    -m +-
    Display document with Internet message mode. +-With this option, w3m determines document type from header information. +-It is useful when reading E-mail or NetNews messages. +-
    -v +-
    visual startup mode. +-
    -B +-
    Show the bookmark. +-
    -bookmark file +-
    Specify bookmark file. +-
    -M +-
    Monochrome display mode. +-
    -F +-
    Automatically render frame. -
    -S -+
    -s -
    Squeeze blank lines. -
    -X -
    Upon exit, do not display preserved screen. -@@ -468,8 +466,7 @@ and keymap.lynx) as examples. - You can run CGI scripts using w3m, without any HTTP server. - It means that w3m behaves like an HTTP server and activates CGI script, - then w3m reads the output of the script and display it. The +-
    Squeeze blank lines. +-
    -X +-
    Upon exit, do not display preserved screen. +-
    -W +-
    Toggle wrap search mode. +-
    -o option=value +-
    Specify option. The option names and values are +-same as that appears in ~/.w3m/config. +-
    -cookie +-
    Process cookies. +-
    -no-cookie +-
    Don't process cookies. +-
    -num +-
    Show linenumber. +-
    -dump +-
    Read document specified by URL and dump formatted text into standard +-output. The width of the document become 80. This width can be overridden +-with -cols option. +-
    -cols width +-
    Specify document width. Used with -dump option. +-
    -ppc count +-
    Specify the number of pixels per character (default 8.0). Larger +- values will make tables narrower. +-
    -dump_source +-
    Read document specified by URL and dump the source. +-
    -dump_head +-
    Read document specified by URL and dump headers. +-
    -dump_both +-
    Read document specified by URL and dump headers and the source. +-
    -dump_extra +-
    Read document specified by URL and dump extra informations, headers and the source. +-
    -post file +-
    use POST method with file content. +-
    -header string +-
    insert string as a header. +-
    -no-proxy +-
    Don't use proxy server. +-
    -no-graph +-
    Use ASCII character to draw frames. +-
    -no-mouse +-
    Don't activate mouse. +-
    -config file +-
    specify config file. +-
    +- +-
    +- +-

    Document color

    +- +-Links and images are displayed as follows. +-
    +- +- +- +- +- +-
     Color modeMonochrome mode
    linksblueunderline
    inline imagesgreenreverse
    form inputredreverse
    +-
    +-These colors can be customized using option setting command "o". +- +-
    +- +-

    Key binding

    +- +-After invocation, you can operate w3m by one-character commands from +-the keyboard. +-

    +-Here's the original key-binding table. If you are using Lynx-like key +-bindings, see the Lynx-like key binding. +- +-

    Page/Cursor motion

    +- +-
    SPC,C-vForward page +-
    b,ESC vBackward page +-
    l,C-fCursor right +-
    h,C-bCursor left +-
    j,C-nCursor down +-
    k,C-pCursor up +-
    JRoll up one line +-
    KRoll down one line +-
    ^,C-aGo to the beginning of line +-
    $,C-eGo to the end of line +-
    wGo to next word +-
    WGo to previous word +-
    >Shift screen right +-
    <Shift screen left +-
    .Shift screen one column right +-
    ,Shift screen one column left +-
    g,M-<Go to the first line +-
    G,M->Go to the last line +-
    ESC gGo to specified line +-
    ZMove to the center line +-
    zMove to the center column +-
    TABMove to next hyperlink +-
    C-u,ESC TABMove to previous hyperlink +-
    [Move to the first hyperlink +-
    ]Move to the last hyperlink +-
    +- +-

    Hyperlink operation

    +- +-
    RETFollow hyperlink +-
    a, ESC RETSave link to file +-
    uPeek link URL +-
    iPeek image URL +-
    IView inline image +-
    ESC ISave inline image to file +-
    :Mark URL-like strings as anchors +-
    ESC :Mark Message-ID-like strings as news anchors +-
    cPeek current URL +-
    =Display information about current document +-
    C-gShow current line number +-
    C-hView history of URL +-
    FRender frame +-
    MBrowse current document using external browser +-(use 2M and 3M to invoke second and third browser) +-
    ESC MBrowse link using external browser +-(use 2ESC M and 3ESC M to invoke second and third browser) +-
    +- +-

    File/Stream operation

    +- +-
    UOpen URL +-
    VView new file +-
    @Execute shell command and load +-
    #Execute shell command and browse +-
    +- +-

    Buffer operation

    +- +-
    BBack to the previous buffer +-
    vView HTML source +-
    sSelect buffer +-
    EEdit buffer source +-
    C-lRedraw screen +-
    RReload buffer +-
    SSave buffer +-
    ESC sSave source +-
    ESC eEdit buffer image +-
    +- +-

    Buffer selection mode

    +- +-
    k, C-pSelect previous buffer +-
    j, C-nSelect next buffer +-
    DDelect current buffer +-
    RETGo to the selected buffer +-
    +- +-

    Bookmark operation

    +- +-
    ESC bLoad bookmark +-
    ESC aAdd current to bookmark +-
    ++
    ++
    ++ -m ++
    ++
    ++

    ++ Display document using Internet message mode. With this ++ option, w3m determines document type from header information. ++ This is useful when reading e-mail or Usenet news posts. ++ ++

    ++
    ++
    ++ -v ++
    ++
    ++

    ++ Show w3m's startup page. ++ ++

    ++
    ++
    ++ -B ++
    ++
    ++

    ++ Show w3m's bookmarks page. ++ ++

    ++
    ++
    ++ -bookmark file ++
    ++
    ++

    ++ Specify a custom bookmarks file. ++

    ++
    ++
    ++ -M ++
    ++
    ++

    ++ Monochrome display mode. ++ ++

    ++
    ++
    ++ -F ++
    ++
    ++

    ++ Automatically render HTML frames. ++ ++

    ++
    ++
    ++ -s ++
    ++
    ++

    ++ Squeeze blank lines. ++ ++

    ++
    ++
    ++ -X ++
    ++
    ++

    ++ Upon exit, do not reinitialize the terminal. ++

    ++
    ++
    ++ -W ++
    ++
    ++

    ++ Toggle wrapping mode in searches. ++ + +-

    Search

    +- +-
    /,C-sSearch forward +-
    ?,C-rSearch backward +-
    nSearch next +-
    NSearch previous +-
    C-wToggle wrap search mode +-
    ++

    ++
    ++
    ++ -o option=value ++
    ++
    ++

    ++ Specify option. The available option names and values are the ++ same as in ~/.w3m/config. ++ ++

    ++
    ++
    ++ -cookie ++
    ++
    ++

    ++ Process cookies. ++ + +-

    Mark operation

    +- +-
    C-SPCSet/unset mark +-
    ESC pGo to previous mark +-
    ESC nGo to next mark +-
    "Mark by regular expression +-
    ++

    ++
    ++
    ++ -no-cookie ++
    ++
    ++

    ++ Don't process cookies. ++ + +-

    Miscellany

    +- +-
    !Execute shell command +-
    HHelp (load this file) +-
    oSet option +-
    C-kShow cookie jar +-
    C-cStop +-
    C-zSuspend +-
    qQuit (with confirmation, if you like) +-
    QQuit without confirmation +-
    ++

    ++
    ++
    ++ -num ++
    ++
    ++

    ++ Show line-numbers. ++ ++

    ++
    ++
    ++ -dump ++
    ++
    ++

    ++ Read document specified by URL and dump page rendered as text ++ into standard output. A width of 80 columns is used unless option ++ -cols sets another value. ++ ++ + +-

    Line-edit mode

    +- +-
    C-fMove cursor forward +-
    C-bMove cursor backward +-
    C-hDelete previous character +-
    C-dDelete current character +-
    C-kKill everything after cursor +-
    C-uKill everything before cursor +-
    C-aMove to the top of line +-
    C-eMove to the bottom of line +-
    C-pFetch the previous string from the history list +-
    C-nFetch the next string from the history list +-
    TAB,SPCComplete filename +-
    RETURNAccept +-
    ++

    ++
    ++
    ++ -cols width ++
    ++
    ++

    ++ Specify document width. Used with -dump option. ++

    ++
    ++
    ++ -ppc count ++
    ++
    ++

    ++ Specify the number of pixels per character (default 8.0). Larger ++ values will make tables narrower. ++ ++

    ++
    ++
    ++ -dump_source ++
    ++
    ++

    ++ Read document specified by URL and dump the source. ++ ++

    ++
    ++
    ++ -dump_head ++
    ++
    ++

    ++ Read document specified by URL and dump headers. ++ ++

    ++
    ++
    ++ -dump_both ++
    ++
    ++

    ++ Read document specified by URL and dump headers and the source. ++ + +-


    +- +-

    Lynx-like key binding

    ++

    ++
    ++
    ++ -dump_extra ++
    ++
    ++

    ++ Read document specified by URL and dump extra informations, ++ headers, and the source. ++ + +-If you have chosen `Lynx-like key binding' at the compile time, +-you can use the following key binding. ++

    ++
    ++
    ++ -post file ++
    ++
    ++

    ++ Use POST method with file content. ++ + +-

    Page/Cursor motion

    +- +-
    SPC,C-v,+Forward page +-
    b,ESC v,-Previous page +-
    lCursor right +-
    hCursor left +-
    jCursor down +-
    kCursor up +-
    JRoll up one line +-
    KRoll down one line +-
    ^Go to the beginning of line +-
    $Go to the end of line +-
    >Shift screen right +-
    <Shift screen left +-
    C-aGo to the first line +-
    C-eGo to the last line +-
    GGo to the specified line +-
    ZMove to the center line +-
    zMove to the center column +-
    TAB,C-n,Down arrowMove to next hyperlink +-
    ESC TAB,C-p,Up arrowMove to previous link +-
    C-gShow current page position +-
    ++

    ++
    ++
    ++ -header string ++
    ++
    ++

    ++ Insert string as a header. ++ + ++

    ++
    ++
    ++ -no-proxy ++
    ++
    ++

    ++ Don't use proxy server. ++

    ++
    ++
    ++ -no-graph ++
    ++
    ++

    ++ Use ASCII characters to draw frames rather than graphical ones. ++ + +-

    Hyperlink operation

    +- +-
    RET, C-f, Right arrowFollow hyperlink +-
    d, ESC RETSave link to file +-
    uPeek link URL +-
    iPeek image URL +-
    IView inline image +-
    ESC ISave inline image to file +-
    :Mark URL-like strings as anchors +-
    ESC :Mark Message-ID-like strings as news anchors +-
    cPeek current URL +-
    =Display information about current document +-
    C-hView history of URL +-
    FRender frame +-
    MBrowse current document using external browser +-(use 2M and 3M to invoke second and third browser) +-
    ESC MBrowse link using external browser +-(use 2ESC M and 3ESC M to invoke second and third browser) +-
    +- +-

    File/Stream operation

    +- +-
    g,UOpen URL +-
    VView new file +-
    @Execute shell command and load +-
    #Execute shell command and browse +-
    +- +-

    Buffer operation

    +- +-
    B, C-b, Left arrowBack to the previous buffer +-
    \View HTML source +-
    s, C-hSelect buffer +-
    EEdit buffer source +-
    C-l, C-wRedraw screen +-
    R, C-rReload buffer +-
    S, pSave buffer +-
    ESC sSave source +-
    ESC eEdit buffer image +-
    +- +-

    Buffer selection mode

    +- +-
    k, C-pSelect previous buffer +-
    j, C-nSelect next buffer +-
    DDelect current buffer +-
    RETGo to the selected buffer +-
    +- +-

    Bookmark operation

    +- +-
    v, ESC bLoad bookmark +-
    a, ESC aAdd current to bookmark +-
    +- +-

    Search

    +- +-
    /, C-sSearch forward +-
    nSearch next +-
    wToggle wrap search mode +-
    +- +-

    Mark operation

    +- +-
    C-SPCSet/unset mark +-
    PGo to previous mark +-
    NGo to next mark +-
    "Mark by regular expression +-
    +- +-

    Miscellany

    +- +-
    !Execute shell command +-
    H, ?Help (load this file) +-
    oSet option +-
    C-kShow cookie jar +-
    C-cStop +-
    C-zSuspend +-
    qQuit (with confirmation, if you like) +-
    QQuit without confirmation +-
    +- +-

    Line-edit mode

    +- +-
    C-fMove cursor forward +-
    C-bMove cursor backward +-
    C-hDelete previous character +-
    C-dDelete current character +-
    C-kKill everything after cursor +-
    C-uKill everything before cursor +-
    C-aMove to the top of line +-
    C-eMove to the bottom of line +-
    C-pFetch the previous string from the history list +-
    C-nFetch the next string from the history list +-
    TAB,SPCComplete filename +-
    RETURNAccept +-
    +- +-
    +- +-

    Mouse operation

    +-If w3m is compiled with mouse option and you are using +-xterm/kterm/rxvt (in this case, you have to set the TERM +-environment variable to `xterm' or `kterm'.) or GPM +-environment, you can use mouse +-for the navigation. +-

    +- +-
    left click +-Move the cursor to the place pointed by the mouse cursor. +-If you click the cursor and it is on an anchor, follow the anchor. +-
    middle click +-Back to the previous buffer. +-
    right click +-Open pop-up menu. You can choose an item by clicking it. +-
    left drag +-Scroll document. The default behavior is to grab the document +-and drag it. You can reverse the behavior (grab the window and drag it) +-with the option setting panel. +-
    +-

    +- +- +-


    +- +-

    Key customization

    +-You can customize the key binding (except line-editing keymap) +-by describing ~/.w3m/keymap. For example, ++

    ++
    ++
    ++ -no-mouse ++
    ++
    ++

    ++ Deactivate mouse support. ++

    ++
    ++
    ++ -config file ++
    ++
    ++

    ++ Specify config file. ++

    ++
    ++
    ++
    ++

    ++ Document colors ++

    ++

    ++ Links and images are displayed as follows. ++

    ++
    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++   ++ ++ Color mode ++ ++ Monochrome mode ++
    ++ links ++ ++ blue ++ ++ underline ++
    ++ inline images ++ ++ green ++ ++ reverse ++
    ++ form input ++ ++ red ++ ++ reverse ++
    ++
    ++

    ++ These colors can be customized using the option setting command ++ o. ++

    ++
    ++

    ++ Key bindings ++

    ++ ++

    ++ After invoking w3m, you can control it with keyboard commands. ++

    ++

    ++ Here's the original key-binding table. If you are using Lynx-like ++ key bindings, see the Lynx-like key ++ bindings. Throughout, the C- and M- notations ++ indicate the modifiers control and meta (which can be ++ replaced with alt or ESC); on the other hand 2 M ++ simply means 2 followed by M. ++

    ++ ++

    ++ In-page navigation ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ SPC, C-v, +, PGDN ++ ++ Forward page ++
    ++ b, M-v, -, PGUP ++ ++ Backward page ++
    ++ l, C-f, RIGHT ++ ++ Cursor right ++
    ++ h, C-b, LEFT ++ ++ Cursor left ++
    ++ j, C-n, DOWN ++ ++ Cursor down ++
    ++ k, C-p, UP ++ ++ Cursor up ++
    ++ J ++ ++ Scroll screen up one line ++
    ++ K ++ ++ Scroll screen down one line ++
    ++ ^, C-a ++ ++ Go to the beginning of line ++
    ++ $, C-e ++ ++ Go to the end of line ++
    ++ w ++ ++ Go to the next word ++
    ++ W ++ ++ Go to the previous word ++
    ++ > ++ ++ Shift screen right ++
    ++ < ++ ++ Shift screen left ++
    ++ . ++ ++ Shift screen one column right ++
    ++ , ++ ++ Shift screen one column left ++
    ++ g, M-<, HOME ++ ++ Go to the first line ++
    ++ G, M->, END ++ ++ Go to the last line ++
    ++ M-g ++ ++ Go to the specified line ++
    ++ Z ++ ++ Center on cursor column ++
    ++ z ++ ++ Center on cursor line ++
    ++ TAB ++ ++ Move to the next hyperlink ++
    ++ C-u, M-TAB ++ ++ Move to the previous hyperlink ++
    ++ [ ++ ++ Move to the first hyperlink ++
    ++ ] ++ ++ Move to the last hyperlink ++
    ++

    Hyperlink operation

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ C-j, C-m, RET ++ ++ Follow hyperlink ++
    ++ a, M-RET ++ ++ Save link to file ++
    ++ u ++ ++ Show link URL ++
    ++ i ++ ++ Show image URL ++
    ++ I ++ ++ View inline image ++
    ++ M-I ++ ++ Save inline image to file ++
    ++ : ++ ++ Mark URL-like strings as hyperlinks ++
    ++ M-: ++ ++ Mark Message-ID-like strings as links ++
    ++ c ++ ++ Show current URL ++
    ++ = ++ ++ Show information about current document ++
    ++ C-g ++ ++ Show current position in page ++
    ++ C-h ++ ++ Show browsing history ++
    ++ M ++ ++ Browse current document using external browser (prefix 2, 3, ..., ++ or 9 to invoke alternate configured browsers, e.g. 3 M) ++
    ++ M-M ++ ++ Browse link using external browser (prefixed as above, e.g. ++ 3 M-M) ++
    ++

    ++ Bookmark management ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ M-b ++ ++ Go to the bookmarks page ++
    ++ M-a ++ ++ Bookmark current page ++
    ++

    ++ File/stream operation ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ U ++ ++ Open new URL ++
    ++ V ++ ++ Open new file ++
    ++ @ ++ ++ Execute shell command and view output ++
    ++ # ++ ++ Execute shell command and browse output ++
    ++

    ++ Content operations ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ v ++ ++ Toggle viewing as text or rendered HTML ++
    ++ F ++ ++ Toggle rendering HTML frames ++
    ++ C-l ++ ++ Redraw screen ++
    ++ R ++ ++ Reload ++
    ++ E ++ ++ Edit local source ++
    ++ M-e ++ ++ Edit rendered copy of page ++
    ++ M-s ++ ++ Save source ++
    ++ S ++ ++ Save rendered copy of page ++
    ++

    ++ Buffer/tab navigation ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ B ++ ++ Go back, popping the buffer stack ++
    ++ s ++ ++ Show buffer-stack menu ++
    ++ M-t ++ ++ Show tab menu ++
    ++ T ++ ++ Open current page as new tab ++
    ++ C-t ++ ++ Open link as new tab ++
    ++ } ++ ++ Switch to next tab ++
    ++ { ++ ++ Switch to previous tab ++
    ++ C-q ++ ++ Close current tab ++
    ++

    ++ Search ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ / ++ ++ Search forward ++
    ++ ? ++ ++ Search backward ++
    ++ C-s ++ ++ Incremental search forward ++
    ++ C-r ++ ++ Incremental search backward ++
    ++ n ++ ++ Next match ++
    ++ N ++ ++ Previous match ++
    ++ C-w ++ ++ Toggle wrapping mode in searches ++
    ++

    ++ Mark management ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ C-SPC ++ ++ Set/unset mark ++
    ++ M-p ++ ++ Go to the previous mark ++
    ++ M-n ++ ++ Go to the next mark ++
    ++ " ++ ++ Mark all occurrences of a regular expression ++
    ++

    ++ Miscellany ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ ! ++ ++ Execute shell command ++
    ++ M-c ++ ++ Invoke w3m function ++
    ++ H ++ ++ Show help panel ++
    ++ o ++ ++ Show options panel ++
    ++ C-k ++ ++ Show cookie jar ++
    ++ C-c ++ ++ Interrupt ++
    ++ C-z ++ ++ Suspend w3m ++
    ++ q ++ ++ Quit (with confirmation dialog) ++
    ++ Q ++ ++ Quit without confirmation ++
    ++ ++

    ++ Two special operational modes exist which have built-in (not ++ redefinable) keymappings: ++

    ++

    ++ Menu selection mode ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ k, C-p, UP ++ ++ Select previous item ++
    ++ j, C-n, DOWN ++ ++ Select next item ++
    ++ D ++ ++ Delete current item ++
    ++ SPC, RET ++ ++ Go to the selected item ++
    ++

    ++ Line-editing mode ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ C-f, RIGHT ++ ++ Move cursor forward ++
    ++ C-b, LEFT ++ ++ Move cursor backward ++
    ++ C-h, BKSPC ++ ++ Delete previous character ++
    ++ C-d ++ ++ Delete current character ++
    ++ C-k ++ ++ Kill everything after cursor ++
    ++ C-u ++ ++ Kill everything before cursor ++
    ++ C-a ++ ++ Move to the beginning of line ++
    ++ C-e ++ ++ Move to the end of line ++
    ++ C-p, UP ++ ++ Fetch the previous string from the history list ++
    ++ C-n, DOWN ++ ++ Fetch the next string from the history list ++
    ++ TAB, SPC ++ ++ Try to complete filename ++
    ++ RET ++ ++ Accept ++
    ++
    ++

    ++ Lynx-like key bindings ++

    ++

    ++ If w3m was compiled with Lynx-like key bindings, you can use ++ the following key bindings. ++

    ++

    ++ In-page navigation ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ SPC, C-v, + ++ ++ Forward page ++
    ++ b, M-v, - ++ ++ Backward page ++
    ++ l ++ ++ Cursor right ++
    ++ h ++ ++ Cursor left ++
    ++ j ++ ++ Cursor down ++
    ++ k ++ ++ Cursor up ++
    ++ J ++ ++ Scroll screen up one line ++
    ++ K ++ ++ Scroll screen down one line ++
    ++ ^ ++ ++ Go to the beginning of line ++
    ++ $ ++ ++ Go to the end of line ++
    ++ > ++ ++ Shift screen right ++
    ++ < ++ ++ Shift screen left ++
    ++ . ++ ++ Shift screen one column right ++
    ++ , ++ ++ Shift screen one column left ++
    ++ C-a, M-< ++ ++ Go to the first line ++
    ++ C-e, M-> ++ ++ Go to the last line ++
    ++ G ++ ++ Go to the specified line ++
    ++ w ++ ++ Go to the next word ++
    ++ W ++ ++ Go to the previous word ++
    ++ Z ++ ++ Center on cursor line ++
    ++ z ++ ++ Center on cursor column ++
    ++ TAB, C-n, DOWN ++ ++ Move to the next hyperlink ++
    ++ M-TAB, C-p, C-u, UP ++ ++ Move to the previous link ++
    ++ C-g ++ ++ Show current position in page ++
    ++ [ ++ ++ Move to the first hyperlink ++
    ++ ] ++ ++ Move to the last hyperlink ++
    ++

    ++ Hyperlink operation ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ C-f, C-j, C-m, RET, RIGHT ++ ++ Follow hyperlink ++
    ++ d, M-RET ++ ++ Save link to file ++
    ++ u ++ ++ Show link URL ++
    ++ i ++ ++ Show image URL ++
    ++ I ++ ++ View inline image ++
    ++ M-I ++ ++ Save inline image to file ++
    ++ : ++ ++ Mark URL-like strings as hyperlinks ++
    ++ M-: ++ ++ Mark Message-ID-like strings as news anchors ++
    ++ c ++ ++ Show current URL ++
    ++ = ++ ++ Show information about current document ++
    ++ C-h ++ ++ Show browsing history ++
    ++ M ++ ++ Browse current document using external browser (prefix 2, 3, ..., ++ or 9 to invoke alternate configured browsers, e.g. 3 M) ++
    ++ M-M ++ ++ Browse link using external browser (prefixed as above, e.g. ++ 3 M-M) ++
    ++

    ++ Bookmark management ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ v, M-b ++ ++ Go to the bookmarks page ++
    ++ a, M-a ++ ++ Bookmark current page ++
    ++

    ++ File/stream operation ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ g, U ++ ++ Open new URL ++
    ++ V ++ ++ Open new file ++
    ++ @ ++ ++ Execute shell command and view output ++
    ++ # ++ ++ Execute shell command and browse output ++
    ++

    ++ Content operations ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ \ ++ ++ Toggle viewing as text or rendered HTML ++
    ++ F ++ ++ Toggle rendering HTML frames ++
    ++ C-l, C-w ++ ++ Redraw screen ++
    ++ R, C-r ++ ++ Reload ++
    ++ E ++ ++ Edit local source ++
    ++ M-e ++ ++ Edit rendered copy of page ++
    ++ M-s ++ ++ Save source ++
    ++ S, p ++ ++ Save rendered copy of page ++
    ++

    ++ Buffer/tab navigation ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ B, C-b, LEFT ++ ++ Go back, popping the buffer stack ++
    ++ s, C-h ++ ++ Show buffer-stack menu ++
    ++ M-t ++ ++ Show tab menu ++
    ++ T ++ ++ Open current page as new tab ++
    ++ C-t ++ ++ Open link as new tab ++
    ++ } ++ ++ Switch to next tab ++
    ++ { ++ ++ Switch to previous tab ++
    ++ C-q ++ ++ Close current tab ++
    ++

    ++ Search ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ /, C-s ++ ++ Search forward ++
    ++ n ++ ++ Next match ++
    ++ w ++ ++ Toggle wrapping mode in searches ++
    ++

    ++ Mark management ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ C-SPC ++ ++ Set/unset mark ++
    ++ P ++ ++ Go to the previous mark ++
    ++ N ++ ++ Go to the next mark ++
    ++ " ++ ++ Mark all occurrences of a regular expression ++
    ++

    ++ Miscellany ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ ! ++ ++ Execute shell command ++
    ++ M-c ++ ++ Invoke w3m function ++
    ++ H, ? ++ ++ Show help panel ++
    ++ o ++ ++ Show options panel ++
    ++ C-k ++ ++ Show cookie jar ++
    ++ C-c ++ ++ Interrupt ++
    ++ C-z ++ ++ Suspend w3m ++
    ++ q ++ ++ Quit (with confirmation dialog) ++
    ++ Q ++ ++ Quit without confirmation ++
    ++

    ++ The Lynx-like configuration leaves keymappings unchanged in the ++ menu-selection and line-editing modes. ++

    ++
    ++

    ++ Mouse operation ++

    ++

    ++ If w3m is compiled with mouse support and you are invoking w3m ++ either from a console with GPM or from an X terminal emulator, you ++ can use the mouse for navigation (in the case of rxvt, you need to ++ set the TERM environment variable to xterm or kterm). ++

    ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
    ++ left click ++ ++ Move the cursor to the place indicated by the mouse cursor. ++ If you click the cursor and it is on a hyperlink, follow the ++ link. ++
    ++ middle click ++ ++ Back to the previous buffer. ++
    ++ right click ++ ++ Open pop-up menu. You can choose an item by clicking it. ++
    ++ left drag ++ ++ Scroll document. The default behavior is to grab the document ++ and drag it. You can reverse the behavior (grab the window and ++ drag it) with the option setting panel. ++
    ++
    ++

    ++ Key customization ++

    ++

    ++ You can customize the key bindings (except the line-editing keymap) ++ in a ~/.w3m/keymap file. For example, ++

    +
    + 
    +    keymap C-o NEXT_PAGE
    + 
    + 
    +-binds `NEXT_PAGE' function (normally bound to SPC and C-v) +-to control-o. See README.func for +-list of available functions. Original and Lynx-like keymap +-definitions are provided (keymap.default +-and keymap.lynx) as examples. +- +-
    +- +-

    Local CGI

    +-You can run CGI scripts using w3m, without any HTTP server. +-It means that w3m behaves like an HTTP server and activates CGI script, +-then w3m reads the output of the script and display it. The -bookmark registration -and helper-app editor -+bookmark registration and helper-app editor - are realized as local CGI scripts. - Using local CGI, w3m can be used as a general purpose form interface. -

    +-are realized as local CGI scripts. +-Using local CGI, w3m can be used as a general purpose form interface. +-

    +-For security reason, CGI scripts invoked by w3m must be in one of +-these directories. +-

      +-
    • The directory where w3m-related files are stored +-(typically /usr/local/lib/w3m). This directory can be referred +-as $LIB. +-
    • /cgi-bin/ directory. You can map /cgi-bin/ to any directory you like +-with option setting panel (``Directory corresponds to /cgi-bin'' field). +-You can specify multiple paths separated by `:', like +-/usr/local/cgi-bin:/home/aito/cgi-bin. To use /cgi-bin/ directory, +-you must use file:/cgi-bin URL as follows: ++

      ++ binds the NEXT_PAGE function (normally bound to SPC and C-v) ++ to control-o. See README.func for a ++ list of available functions. Original and Lynx-like keymap ++ definitions are provided (keymap.default ++ and keymap.lynx) as examples. ++

      ++
      ++

      ++ Local CGI ++

      ++

      ++ You can run CGI scripts using w3m, without any HTTP server. ++ This means that w3m behaves like an HTTP server and runs the CGI ++ script, then reads the output of the script and displays it. For ++ example, the bookmark registration system and default directory ++ browser are realized as local CGI scripts. Moreover, such scripts ++ allow w3m to be used as a form interface to acquire all kinds of ++ data. ++

      ++

      ++ For security reason, CGI scripts invoked by w3m must be in one of ++ the following directories: ++

      ++
        ++
      • ++ The directory where w3m-related files are stored (typically ++ /usr/local/lib/w3m). This directory can be referenced as $LIB. ++
      • ++
      • ++ The /cgi-bin/ directory. You can map /cgi-bin/ to any directory you ++ like in the option setting panel (the Directory corresponds to ++ /cgi-bin field). You can specify multiple paths separated by ++ :, like /usr/local/cgi-bin:/home/aito/cgi-bin. To use a ++ /cgi-bin/ directory, you must use a file:/cgi-bin URL as follows: +
        +  w3m -o cgi_bin=/path/to/cgi-bin file:/cgi-bin/script.cgi
        + 
        +-It is not recommended to include current directory to this path. +-
      +-

      +-The CGI script can use special header `w3m-control:' to control w3m. +-This field can take any function (see README.func), +-and the specified function is invoked after the document is displayed. +-For example, The CGI output ++ It is not recommended to include the current directory to this path. ++

    • ++
    ++

    ++ The CGI script can use the special header w3m-control: to ++ control w3m. This field can take any function (see ++ README.func), and the specified function ++ is invoked after the document is displayed. For example, the CGI ++ output ++

    +
    + 
    + Content-Type: text/plain
    + W3m-control: BACK
    + 
    + 
    +-will display blank page and delete that buffer immediately. +-This is useful when you don't want to display any page after +-the script is invoked. The next example ++

    ++ will display a blank page and delete that buffer immediately. ++ This is useful when you don't want to display any page after ++ the script is invoked. The next example ++

    +
    + 
    + Content-Type: text/plain
    +@@ -510,26 +2209,32 @@ W3m-control: DELETE_PREVBUF
    + 
    + contents.....
    + 
    +-will override the current buffer. +-

    +-One w3m-control: header have to contain only one function, but you can +-include more than one w3m-control: lines in the HTTP header. +-In addition, you can specify an argument to GOTO function: ++

    ++ will override the current buffer. ++

    ++

    ++ Each w3m-control: header can contain only one function, but you can ++ include more than one w3m-control: line in the HTTP header. ++ In addition, you can specify an argument to the GOTO function: ++

    +
    + 
    + Content-Type: text/plain
    +-W3m-control: GOTO http://www.yahoo.com/
    ++W3m-control: GOTO http://www.example.org/
    + 
    + 
    +-This example works exactly the same way to the Location header: ++

    ++ This example works exactly the same way as the Location header: ++

    +
    + 
    + Content-Type: text/plain
    +-Location: http://www.yahoo.com/
    ++Location: http://www.example.org/
    + 
    + 
    +-Note that this header has no effect when the CGI script is invoked +-through HTTP server. +- +- ++

    ++ Note that this header has no effect when the CGI script is invoked ++ through an HTTP server. ++

    ++ + diff --git a/doc/README b/doc/README index 324ea3e..60d6d19 100644 --- a/doc/README @@ -4975,16 +9176,216 @@ index 56cca50..da16947 100644 use cookie_avoid_wrong_number_of_dots to avoid this restriction. You can set this in "Domains to avoid [wrong number diff --git a/doc/README.func b/doc/README.func -index 0b2c034..26de39d 100644 +index 0b2c034..12d49db 100644 --- a/doc/README.func +++ b/doc/README.func -@@ -1,5 +1,5 @@ +@@ -1,25 +1,25 @@ ABORT Quit w3m without confirmation -ACCESSSKEY Popup acceskey menu -+ACCESSKEY Popup accesskey menu - ADD_BOOKMARK Add current page to bookmark +-ADD_BOOKMARK Add current page to bookmark ++ACCESSKEY Pop up accesskey menu ++ADD_BOOKMARK Add current page to bookmarks ALARM Set alarm BACK Back to previous buffer + BEGIN Go to the first line +-BOOKMARK Read bookmark ++BOOKMARK View bookmarks + CENTER_H Move to the center line + CENTER_V Move to the center column +-CHARSET Change the current document charset ++CHARSET Change the current document charset + CLOSE_TAB Close current tab +-CLOSE_TAB_MOUSE Close tab on mouse cursor (for mouse action) +-COMMAND Execute w3m command(s) ++CLOSE_TAB_MOUSE Close tab on mouse cursor (for mouse action) ++COMMAND Execute w3m command(s) + COOKIE View cookie list +-DEFAULT_CHARSET Change the default document charset +-DEFINE_KEY Define a binding between a key stroke and a user command +-DELETE_PREVBUF Delete previous buffer (mainly for local-CGI) ++DEFAULT_CHARSET Change the default document charset ++DEFINE_KEY Define a binding between a keystroke and a user command ++DELETE_PREVBUF Delete previous buffer (mainly for local-CGI) + DICT_WORD Execute dictionary command (see README.dict) +-DICT_WORD_AT Execute dictionary command for word at cursor ++DICT_WORD_AT Execute dictionary command for word at cursor + DISPLAY_IMAGE Restart loading and drawing of images + DOWN Scroll down one line +-DOWNLOAD Save document source to file ++DOWNLOAD Save document (source) to file + DOWNLOAD_LIST Display download list panel + EDIT Edit current document + EDIT_SCREEN Edit currently rendered document +@@ -28,75 +28,74 @@ EXEC_SHELL Execute shell command + EXIT Quit w3m without confirmation + EXTERN Execute external browser + EXTERN_LINK View current link using external browser +-FRAME Render frame ++FRAME Render frames + GOTO Go to URL + GOTO_LINE Go to specified line +-GOTO_LINK Go to current link ++GOTO_LINK Follow current link + GOTO_RELATIVE Go to relative URL + HELP View help +-HISTORY View history of URL ++HISTORY View browser history + INFO View info of current document +-INTERRUPT Stop loading document +-INIT_MAILCAP Reread mailcap (mainly for local-CGI) +-ISEARCH Incremental search forward ++INTERRUPT Suspend w3m ++ISEARCH Incremental search forward + ISEARCH_BACK Incremental search backward + LEFT Shift screen one column + LINE_BEGIN Go to the beginning of line + LINE_END Go to the end of line + LINE_INFO Show current line number +-LINK_BEGIN Go to the first link +-LINK_END Go to the last link +-LINK_MENU Popup link element menu ++LINK_BEGIN Go to the first link ++LINK_END Go to the last link ++LINK_MENU Pop up link element menu + LIST Show all links and images +-LIST_MENU Popup link list menu and go to selected link ++LIST_MENU Pop up link list menu and go to selected link + LOAD Load local file +-MAIN_MENU Popup menu ++MAIN_MENU Pop up menu + MARK Set/unset mark +-MARK_MID Mark Message-ID-like strings as anchors +-MARK_URL Mark URL-like strings as anchors +-MARK_WORD Mark current word as anchor +-MENU Popup menu +-MENU_MOUSE Popup menu at mouse cursor (for mouse action) +-MOUSE_TOGGLE Toggle activity of mouse +-MOVE_DOWN Move cursor down (a half screen scroll at the end of screen) +-MOVE_DOWN1 Move cursor down (1 line scroll at the end of screen) +-MOVE_LEFT Move cursor left (a half screen shift at the left edge) +-MOVE_LEFT1 Move cursor left (1 columns shift at the left edge) +-MOVE_LIST_MENU Popup link list menu and move cursor to selected link ++MARK_MID Mark Message-ID-like strings as links ++MARK_URL Mark URL-like strings as links ++MARK_WORD Mark current word as link ++MENU Pop up menu ++MENU_MOUSE Pop up menu at mouse cursor (for mouse action) ++MOUSE_TOGGLE Toggle mouse support ++MOVE_DOWN Move cursor down (a half screen scroll at the end of screen) ++MOVE_DOWN1 Move cursor down (1 line scroll at the end of screen) ++MOVE_LEFT Move cursor left (a half screen shift at the left edge) ++MOVE_LEFT1 Move cursor left (1 column shift at the left edge) ++MOVE_LIST_MENU Pop up link list menu and move cursor to selected link + MOVE_MOUSE Move cursor to mouse cursor (for mouse action) +-MOVE_RIGHT Move cursor right (a half screen shift at the right edge) +-MOVE_RIGHT1 Move cursor right (1 columns shift at the right edge) +-MOVE_UP Move cursor up (a half screen scroll at the top of screen) +-MOVE_UP1 Move cursor up (1 line scrol at the top of screen) +-MSGS Display error messages +-NEW_TAB Open new tab ++MOVE_RIGHT Move cursor right (a half screen shift at the right edge) ++MOVE_RIGHT1 Move cursor right (1 column shift at the right edge) ++MOVE_UP Move cursor up (a half screen scroll at the top of screen) ++MOVE_UP1 Move cursor up (1 line scroll at the top of screen) ++MSGS Display error messages ++NEW_TAB Open new tab + NEXT Move to next buffer +-NEXT_DOWN Move to next downward link +-NEXT_LEFT Move to next left link +-NEXT_LEFT_UP Move to next left (or upward) link ++NEXT_DOWN Move downward to next link ++NEXT_LEFT Move left to next link ++NEXT_LEFT_UP Move left (or upward) to next link + NEXT_LINK Move to next link + NEXT_MARK Move to next word + NEXT_PAGE Move to next page +-NEXT_RIGHT Move to next right link +-NEXT_RIGHT_DOWN Move to next right (or downward) link ++NEXT_RIGHT Move right to next link ++NEXT_RIGHT_DOWN Move right (or downward) to next link + NEXT_TAB Move to next tab +-NEXT_UP Move to next upward link +-NEXT_VISITED Move to next visited link ++NEXT_UP Move upward to next link ++NEXT_VISITED Move to next visited link + NEXT_WORD Move to next word +-NOTHING Do nothing ++NOTHING Do nothing + NULL Do nothing +-OPTIONS Option setting panel +-PEEK Peek current URL +-PEEK_IMG Peek image URL +-PEEK_LINK Peek link URL +-PIPE_BUF Send rendered document to pipe ++OPTIONS Display option setting panel ++PEEK Peek at current URL ++PEEK_IMG Peek at image URL ++PEEK_LINK Peek at link URL ++PIPE_BUF Send rendered document to pipe + PIPE_SHELL Execute shell command and browse + PREV Move to previous buffer + PREV_LINK Move to previous link + PREV_MARK Move to previous mark + PREV_PAGE Move to previous page + PREV_TAB Move to previous tab +-PREV_VISITED Move to previous visited link ++PREV_VISITED Move to previous visited link + PREV_WORD Move to previous word + PRINT Save buffer to file + QUIT Quit w3m +@@ -106,40 +105,40 @@ REDRAW Redraw screen + REG_MARK Set mark using regexp + REINIT Reload configuration files + RELOAD Reload buffer +-RESHAPE Re-render buffer ++RESHAPE Re-render buffer + RIGHT Shift screen one column right +-SAVE Save document source to file ++SAVE Save document (source) to file + SAVE_IMAGE Save image to file + SAVE_LINK Save link to file +-SAVE_SCREEN Save rendered document to file ++SAVE_SCREEN Save buffer to file + SEARCH Search forward + SEARCH_BACK Search backward + SEARCH_FORE Search forward + SEARCH_NEXT Search next regexp + SEARCH_PREV Search previous regexp + SELECT Go to buffer selection panel +-SELECT_MENU Popup buffer selection menu +-SETENV Set environment variable +-SET_OPTION Set option ++SELECT_MENU Pop up buffer selection menu ++SETENV Set environment variable ++SET_OPTION Set option + SHELL Execute shell command + SHIFT_LEFT Shift screen left + SHIFT_RIGHT Shift screen right + SOURCE View HTML source + STOP_IMAGE Stop loading and drawing of images + SUBMIT Submit form +-SUSPEND Stop loading document ++SUSPEND Suspend w3m + TAB_GOTO Open URL on new tab + TAB_GOTO_RELATIVE Open relative URL on new tab + TAB_LEFT Move current tab left + TAB_LINK Open current link on new tab +-TAB_MENU Popup tab selection menu ++TAB_MENU Pop up tab selection menu + TAB_MOUSE Move to tab on mouse cursor (for mouse action) + TAB_RIGHT Move current tab right + UNDO Cancel the last cursor movement + UP Scroll up one line +-VERSION Display version of w3m ++VERSION Display version of w3m + VIEW View HTML source +-VIEW_BOOKMARK View bookmark ++VIEW_BOOKMARK View bookmarks + VIEW_IMAGE View image +-WHEREIS Search forward +-WRAP_TOGGLE Toggle wrap search mode ++WHEREIS Search forward ++WRAP_TOGGLE Toggle search wrap mode diff --git a/doc/README.img b/doc/README.img index 0c10114..f11362f 100644 --- a/doc/README.img @@ -5123,16 +9524,28 @@ index 869c716..e4085c8 100644 keymap < SHIFT_LEFT keymap = INFO keymap > SHIFT_RIGHT +diff --git a/doc/menu.submenu b/doc/menu.submenu +index e55193d..e837f46 100644 +--- a/doc/menu.submenu ++++ b/doc/menu.submenu +@@ -39,6 +39,6 @@ menu Link + end + + menu Bookmark +- func "Read bookmark (b)" BOOKMARK "bB" ++ func "View bookmarks (b)" BOOKMARK "bB" + func "Add page to bookmark(a)" ADD_BOOKMARK "aA" + end diff --git a/doc/w3m.1 b/doc/w3m.1 -index 8f071c6..0762f51 100644 +index 8f071c6..dbd01af 100644 --- a/doc/w3m.1 +++ b/doc/w3m.1 -@@ -1,13 +1,11 @@ +@@ -1,13 +1,10 @@ .nr N -1 .nr D 5 -.TH W3M 1 Local -+.TH W3M 1 "2014-11-29" - .UC 4 +-.UC 4 ++.TH W3M 1 "2016-04-02" "w3m 0.5.3" .SH NAME -w3m \- a text based Web browser and pager +w3m \- a text based web browser and pager @@ -5144,7 +9557,7 @@ index 8f071c6..0762f51 100644 .SH DESCRIPTION .\" This defines appropriate quote strings for nroff and troff .ds lq \&" -@@ -17,234 +15,285 @@ w3m \- a text based Web browser and pager +@@ -17,234 +14,283 @@ w3m \- a text based Web browser and pager .\" Just in case these number registers aren't set yet... .if \nN==0 .nr N 10 .if \nD==0 .nr D 5 @@ -5566,7 +9979,7 @@ index 8f071c6..0762f51 100644 -.\" .I ${HOME}/.w3m/urimethodmap +.\" .I $~/.w3m/urimethodmap .\" ??? - .SH NOTES +-.SH NOTES -This is the -.I -w3m @@ -5583,7 +9996,6 @@ index 8f071c6..0762f51 100644 -.br -or on its English version of the site at: - http://w3m.sourceforge.net/index.en.html -+This is the \fIw3m\fP 0.5.3 Release. +.SH SEE ALSO +README and example files are to be found in the doc directory of your \fIw3m\fP installation. Recent information about \fIw3m\fP may be found on +.UR http://w3m.sourceforge.net @@ -5633,7 +10045,7 @@ index 8fe1215..dcc6edd 100644 QuietMessage = TRUE; fmInitialized = FALSE; diff --git a/file.c b/file.c -index 567d41e..9d1dc9a 100644 +index 567d41e..e26f383 100644 --- a/file.c +++ b/file.c @@ -26,6 +26,8 @@ @@ -6749,6 +11161,15 @@ index 567d41e..9d1dc9a 100644 ISclose(f1); if (is_pipe) pclose(f2); +@@ -7998,7 +8160,7 @@ _doFileCopy(char *tmpf, char *defstr, int download) + else { + if (q) { + p = unescape_spaces(Strnew_charp(q))->ptr; +- p = conv_to_system(q); ++ p = conv_to_system(p); + } + p = expandPath(p); + if (checkOverWrite(p) < 0) @@ -8317,21 +8479,23 @@ uncompress_stream(URLFile *uf, char **src) } if (pid2 == 0) { @@ -6788,7 +11209,7 @@ index 567d41e..9d1dc9a 100644 } ungetc(c, fp); diff --git a/fm.h b/fm.h -index 8378939..f4194ee 100644 +index 8378939..4bd83bc 100644 --- a/fm.h +++ b/fm.h @@ -76,6 +76,7 @@ typedef int wc_ces; /* XXX: not used */ @@ -6893,7 +11314,17 @@ index 8378939..f4194ee 100644 #define DUMP_BUFFER 0x01 #define DUMP_HEAD 0x02 -@@ -972,6 +998,7 @@ global int BackgroundExtViewer init(TRUE); +@@ -968,10 +994,17 @@ global int MailtoOptions init(MAILTO_OPTIONS_IGNORE); + global char *ExtBrowser init(DEF_EXT_BROWSER); + global char *ExtBrowser2 init(NULL); + global char *ExtBrowser3 init(NULL); ++global char *ExtBrowser4 init(NULL); ++global char *ExtBrowser5 init(NULL); ++global char *ExtBrowser6 init(NULL); ++global char *ExtBrowser7 init(NULL); ++global char *ExtBrowser8 init(NULL); ++global char *ExtBrowser9 init(NULL); + global int BackgroundExtViewer init(TRUE); global int disable_secret_security_check init(FALSE); global char *passwd_file init(PASSWD_FILE); global char *pre_form_file init(PRE_FORM_FILE); @@ -6901,7 +11332,7 @@ index 8378939..f4194ee 100644 global char *ftppasswd init(NULL); global int ftppass_hostnamegen init(TRUE); global int do_download init(FALSE); -@@ -1065,11 +1092,12 @@ global char SimplePreserveSpace init(FALSE); +@@ -1065,11 +1098,12 @@ global char SimplePreserveSpace init(FALSE); #define wc_Str_conv(x,charset0,charset1) (x) #define wc_Str_conv_strict(x,charset0,charset1) (x) #endif @@ -6915,7 +11346,7 @@ index 8378939..f4194ee 100644 extern char *graph_symbol[]; extern char *graph2_symbol[]; extern int symbol_width; -@@ -1113,9 +1141,9 @@ global MouseAction mouse_action; +@@ -1113,9 +1147,9 @@ global MouseAction mouse_action; #ifdef USE_COOKIE global int default_use_cookie init(TRUE); @@ -6928,7 +11359,7 @@ index 8378939..f4194ee 100644 #define ACCEPT_BAD_COOKIE_DISCARD 0 #define ACCEPT_BAD_COOKIE_ACCEPT 1 #define ACCEPT_BAD_COOKIE_ASK 2 -@@ -1135,7 +1163,7 @@ global int view_unseenobject init(TRUE); +@@ -1135,7 +1169,7 @@ global int view_unseenobject init(TRUE); #endif #if defined(USE_SSL) && defined(USE_SSL_VERIFY) @@ -6937,7 +11368,7 @@ index 8378939..f4194ee 100644 global char *ssl_cert_file init(NULL); global char *ssl_key_file init(NULL); global char *ssl_ca_path init(NULL); -@@ -1144,15 +1172,17 @@ global int ssl_path_modified init(FALSE); +@@ -1144,15 +1178,17 @@ global int ssl_path_modified init(FALSE); #endif /* defined(USE_SSL) && * defined(USE_SSL_VERIFY) */ #ifdef USE_SSL @@ -8621,6 +13052,172 @@ index 33d9a19..385adde 100644 cc.ccs == WC_CCS_JOHAB_2 || cc.ccs == WC_CCS_JOHAB_3) && cs94w_gmap[WC_F_KS_X_1001 - WC_F_ISO_BASE]) { wc_wchar_t cc2 = wc_johab_to_ksx1001(cc); +diff --git a/libwc/johab.c b/libwc/johab.c +index 8d587b8..498b1bb 100644 +--- a/libwc/johab.c ++++ b/libwc/johab.c +@@ -160,9 +160,9 @@ wc_N_to_johab1(wc_uint32 code) + { + wc_uint32 a, b, c; + +- a = N_johab1_map[0][(code / 28) / 21]; +- b = N_johab1_map[1][(code / 28) % 21]; +- c = N_johab1_map[2][ code % 28 ]; ++ a = N_johab1_map[0][(code / 28) / 21 & 0x1F]; ++ b = N_johab1_map[1][(code / 28) % 21 & 0x1F]; ++ c = N_johab1_map[2][ code % 28 & 0x1F]; + return 0x8000 | (a << 10) | (b << 5) | c; + } + +diff --git a/libwc/map/big5_ucs.map b/libwc/map/big5_ucs.map +index 0c6fd12..ac817a9 100644 +--- a/libwc/map/big5_ucs.map ++++ b/libwc/map/big5_ucs.map +@@ -1,6 +1,8 @@ + /* Big5 (Chinese Taiwan) */ + +-static wc_uint16 big5_ucs_map[ 0x59 * 0x9D ] = { ++#define N_big5_ucs_map (0x59 * 0x9D) ++ ++static wc_uint16 big5_ucs_map[ N_big5_ucs_map ] = { + 0x3000, /* 0xA140 */ + 0xFF0C, /* 0xA141 */ + 0x3001, /* 0xA142 */ +diff --git a/libwc/map/cns11643_ucs.map b/libwc/map/cns11643_ucs.map +index b426dd3..fcba334 100644 +--- a/libwc/map/cns11643_ucs.map ++++ b/libwc/map/cns11643_ucs.map +@@ -1,6 +1,8 @@ + /* CNS 11643 (Chinese Taiwan) */ + +-static wc_uint16 cns116431_ucs_map[ 0x5E * 0x5E ] = { ++#define N_cns116431_ucs_map (0x5E * 0x5E) ++ ++static wc_uint16 cns116431_ucs_map[ N_cns116431_ucs_map ] = { + 0x3000, /* 0x2121 */ + 0xFF0C, /* 0x2122 */ + 0x3001, /* 0x2123 */ +@@ -8839,7 +8841,9 @@ static wc_uint16 cns116431_ucs_map[ 0x5E * 0x5E ] = { + 0, /* 0x7E7E */ + }; + +-static wc_uint16 cns116432_ucs_map[ 0x5E * 0x5E ] = { ++#define N_cns116432_ucs_map (0x5E * 0x5E) ++ ++static wc_uint16 cns116432_ucs_map[ N_cns116432_ucs_map ] = { + 0x4E42, /* 0x2121 */ + 0x4E5C, /* 0x2122 */ + 0x51F5, /* 0x2123 */ +diff --git a/libwc/map/gb12345_ucs.map b/libwc/map/gb12345_ucs.map +index 55558c7..3fb338d 100644 +--- a/libwc/map/gb12345_ucs.map ++++ b/libwc/map/gb12345_ucs.map +@@ -1,6 +1,8 @@ + /* GB 12345 (Chinese) */ + +-static wc_uint16 gb12345_ucs_map[ 0x5E * 0x5E ] = { ++#define N_gb12345_ucs_map (0x5E * 0x5E) ++ ++static wc_uint16 gb12345_ucs_map[ N_gb12345_ucs_map ] = { + 0x3000, /* 0x2121 */ + 0x3001, /* 0x2122 */ + 0x3002, /* 0x2123 */ +diff --git a/libwc/map/gb2312_ucs.map b/libwc/map/gb2312_ucs.map +index 38fb88f..3d37465 100644 +--- a/libwc/map/gb2312_ucs.map ++++ b/libwc/map/gb2312_ucs.map +@@ -1,6 +1,8 @@ + /* GB 2312 (Chinese) */ + +-static wc_uint16 gb2312_ucs_map[ 0x5E * 0x5E ] = { ++#define N_gb2312_ucs_map (0x5E * 0x5E) ++ ++static wc_uint16 gb2312_ucs_map[ N_gb2312_ucs_map ] = { + 0x3000, /* 0x2121 */ + 0x3001, /* 0x2122 */ + 0x3002, /* 0x2123 */ +diff --git a/libwc/map/gbk_ucs.map b/libwc/map/gbk_ucs.map +index 5a0d5ba..d092fd7 100644 +--- a/libwc/map/gbk_ucs.map ++++ b/libwc/map/gbk_ucs.map +@@ -6,7 +6,9 @@ static wc_map ucs_gbk_80_map[ N_ucs_gbk_80_map ] = { + { 0x20AC, 0x0080 }, + }; + +-static wc_uint16 gbk_ucs_map[ 0x7E * 0xBE - 0x5E * 0x5E + 0x0A + 0x16 + 0x06 ] = { ++#define N_gbk_ucs_map (0x7E * 0xBE - 0x5E * 0x5E + 0x0A + 0x16 + 0x06) ++ ++static wc_uint16 gbk_ucs_map[ N_gbk_ucs_map ] = { + 0x4E02, /* 0x8140 */ + 0x4E04, /* 0x8141 */ + 0x4E05, /* 0x8142 */ +diff --git a/libwc/map/hkscs_ucs.map b/libwc/map/hkscs_ucs.map +index 96d1566..2fbe6b4 100644 +--- a/libwc/map/hkscs_ucs.map ++++ b/libwc/map/hkscs_ucs.map +@@ -1,6 +1,8 @@ + /* HKSCS (Chinese Hong Kong) */ + +-static wc_uint16 hkscs_ucs_map[ 0x1E * 0x9D ] = { ++#define N_hkscs_ucs_map (0x1E * 0x9D) ++ ++static wc_uint16 hkscs_ucs_map[ N_hkscs_ucs_map ] = { + 0, /* 0x8840 */ + 0, /* 0x8841 */ + 0, /* 0x8842 */ +diff --git a/libwc/map/jisx0208x0212x0213_ucs.map b/libwc/map/jisx0208x0212x0213_ucs.map +index 1a1d706..28c2a6c 100644 +--- a/libwc/map/jisx0208x0212x0213_ucs.map ++++ b/libwc/map/jisx0208x0212x0213_ucs.map +@@ -1,6 +1,8 @@ + /* JIS X 0208, JIS X 0212, JIS X 0213 (Japanese) */ + +-static wc_uint16 jisx0208x02131_ucs_map[ 0x5E * 0x5E ] = { ++#define N_jisx0208x02131_ucs_map (0x5E * 0x5E) ++ ++static wc_uint16 jisx0208x02131_ucs_map[ N_jisx0208x02131_ucs_map ] = { + 0x3000, /* JIS X 0208 0x2121 */ + 0x3001, /* JIS X 0208 0x2122 */ + 0x3002, /* JIS X 0208 0x2123 */ +@@ -8839,7 +8841,9 @@ static wc_uint16 jisx0208x02131_ucs_map[ 0x5E * 0x5E ] = { + 0, /* JIS X 0213-1 0x7E7E */ + }; + +-static wc_uint16 jisx0212x02132_ucs_map[ 0x5E * 0x5E ] = { ++#define N_jisx0212x02132_ucs_map (0x5E * 0x5E) ++ ++static wc_uint16 jisx0212x02132_ucs_map[ N_jisx0212x02132_ucs_map ] = { + 0, /* JIS X 0213-2 0x2121 */ + 0x4E02, /* JIS X 0213-2 0x2122 */ + 0x4E0F, /* JIS X 0213-2 0x2123 */ +diff --git a/libwc/map/ksx1001_ucs.map b/libwc/map/ksx1001_ucs.map +index 9a17d61..cb62f98 100644 +--- a/libwc/map/ksx1001_ucs.map ++++ b/libwc/map/ksx1001_ucs.map +@@ -1,6 +1,8 @@ + /* KS X 1001 (Korean) */ + +-static wc_uint16 ksx1001_ucs_map[ 0x5E * 0x5E ] = { ++#define N_ksx1001_ucs_map (0x5E * 0x5E) ++ ++static wc_uint16 ksx1001_ucs_map[ N_ksx1001_ucs_map ] = { + 0x3000, /* 0x2121 */ + 0x3001, /* 0x2122 */ + 0x3002, /* 0x2123 */ +diff --git a/libwc/map/sjis_ext_ucs.map b/libwc/map/sjis_ext_ucs.map +index a82995c..cc748ba 100644 +--- a/libwc/map/sjis_ext_ucs.map ++++ b/libwc/map/sjis_ext_ucs.map +@@ -1,6 +1,8 @@ + /* Shift_JIS/CP932 (Japanese) */ + +-static wc_uint16 sjis_ext_ucs_map[ 0x5E * 10 ] = { ++#define N_sjis_ext_ucs_map (0x5E * 10) ++ ++static wc_uint16 sjis_ext_ucs_map[ N_sjis_ext_ucs_map ] = { + 0x2460, /* 0x8740 */ + 0x2461, /* 0x8741 */ + 0x2462, /* 0x8742 */ diff --git a/libwc/map/ucs_ambwidth.map b/libwc/map/ucs_ambwidth.map index 6f03ba8..35ceedb 100644 --- a/libwc/map/ucs_ambwidth.map @@ -8802,6 +13399,20 @@ index 6f03ba8..35ceedb 100644 { 0x26E8, 0x26FF }, { 0x273D, 0x273D }, { 0x2757, 0x2757 }, +diff --git a/libwc/map/uhc_ucs.map b/libwc/map/uhc_ucs.map +index b6b43ca..55efc09 100644 +--- a/libwc/map/uhc_ucs.map ++++ b/libwc/map/uhc_ucs.map +@@ -1,6 +1,8 @@ + /* UHC/CP949 (Korean) */ + +-static wc_uint16 uhc_ucs_map[ 0x20 * 0xB2 + 0x27 * 0x54 + 2 ] = { ++#define N_uhc_ucs_map (0x20 * 0xB2 + 0x27 * 0x54 + 2) ++ ++static wc_uint16 uhc_ucs_map[ N_uhc_ucs_map ] = { + 0xAC02, /* 0x8141 */ + 0xAC03, /* 0x8142 */ + 0xAC05, /* 0x8143 */ diff --git a/libwc/status.c b/libwc/status.c index d25c924..4a2ebf8 100644 --- a/libwc/status.c @@ -8816,7 +13427,7 @@ index d25c924..4a2ebf8 100644 #include "wc.h" #ifdef USE_UNICODE diff --git a/libwc/ucs.c b/libwc/ucs.c -index d7b6948..5e78b4e 100644 +index d7b6948..727e574 100644 --- a/libwc/ucs.c +++ b/libwc/ucs.c @@ -100,6 +100,7 @@ wc_ucs_to_any(wc_uint32 ucs, wc_table *t) @@ -8827,6 +13438,123 @@ index d7b6948..5e78b4e 100644 return cc; } +@@ -108,6 +109,7 @@ wc_any_to_ucs(wc_wchar_t cc) + { + int f; + wc_uint16 *map = NULL; ++ wc_uint32 map_size = 0x80; + wc_map *map2; + + f = WC_CCS_INDEX(cc.ccs); +@@ -138,6 +140,7 @@ wc_any_to_ucs(wc_wchar_t cc) + if (f < WC_F_ISO_BASE || f > WC_F_CS94W_END) + return 0; + map = cs94w_ucs_map[f - WC_F_ISO_BASE]; ++ map_size = cs94w_ucs_map_size[f - WC_F_ISO_BASE]; + cc.code = WC_CS94W_N(cc.code); + break; + case WC_CCS_A_CS96: +@@ -150,6 +153,7 @@ wc_any_to_ucs(wc_wchar_t cc) + if (f < WC_F_ISO_BASE || f > WC_F_CS96W_END) + return WC_C_UCS4_ERROR; + map = cs96w_ucs_map[f - WC_F_ISO_BASE]; ++ map_size = cs96w_ucs_map_size[f - WC_F_ISO_BASE]; + cc.code = WC_CS96W_N(cc.code); + break; + case WC_CCS_A_CS942: +@@ -180,6 +184,7 @@ wc_any_to_ucs(wc_wchar_t cc) + if (f < WC_F_PCS_BASE || f > WC_F_PCSW_END) + return WC_C_UCS4_ERROR; + map = pcsw_ucs_map[f - WC_F_PCS_BASE]; ++ map_size = pcsw_ucs_map_size[f - WC_F_PCS_BASE]; + switch (cc.ccs) { + case WC_CCS_BIG5: + cc.code = WC_BIG5_N(cc.code); +@@ -271,6 +276,8 @@ wc_any_to_ucs(wc_wchar_t cc) + } + if (map == NULL) + return WC_C_UCS4_ERROR; ++ if (map_size == 0 || cc.code > map_size - 1) ++ return WC_C_UCS4_ERROR; + cc.code = map[cc.code]; + return cc.code ? cc.code : WC_C_UCS4_ERROR; + } +diff --git a/libwc/ucs.map b/libwc/ucs.map +index dfac6d9..5d6f688 100644 +--- a/libwc/ucs.map ++++ b/libwc/ucs.map +@@ -195,7 +195,28 @@ static wc_uint16 *cs94w_ucs_map[] = { + jisx0212x02132_ucs_map, /* 50 (JIS X 0213-2) */ + }; + ++static wc_uint32 cs94w_ucs_map_size[] = { ++ N_jisx0208x02131_ucs_map, /* 40 (JIS C 6226) */ ++ N_gb2312_ucs_map, /* 41 (GB 2312) */ ++ N_jisx0208x02131_ucs_map, /* 42 (JIS X 0208) */ ++ N_ksx1001_ucs_map, /* 43 (KS X 1001) */ ++ N_jisx0212x02132_ucs_map, /* 44 (JIS X 0212) */ ++ 0, /* 45 (ISO IR 165) */ ++ 0, /* 46 */ ++ N_cns116431_ucs_map, /* 47 (CNS 11643-1) */ ++ N_cns116432_ucs_map, /* 48 (CNS 11643-2) */ ++ 0, /* 49 (CNS 11643-3) */ ++ 0, /* 4A (CNS 11643-4) */ ++ 0, /* 4B (CNS 11643-5) */ ++ 0, /* 4C (CNS 11643-6) */ ++ 0, /* 4D (CNS 11643-7) */ ++ 0, /* 4E (KSP 9566) */ ++ N_jisx0208x02131_ucs_map, /* 4F (JIS X 0213-1) */ ++ N_jisx0212x02132_ucs_map, /* 50 (JIS X 0213-2) */ ++}; ++ + static wc_uint16 **cs96w_ucs_map; ++static wc_uint32 *cs96w_ucs_map_size; + + static wc_uint16 *pcsw_ucs_map[] = { + big5_ucs_map, /* Big5 */ +@@ -233,6 +254,42 @@ static wc_uint16 *pcsw_ucs_map[] = { + hkscs_ucs_map, /* HKSCS-2 */ + }; + ++static wc_uint32 pcsw_ucs_map_size[] = { ++ N_big5_ucs_map, /* Big5 */ ++ N_big5_ucs_map, /* Big5-1 */ ++ N_big5_ucs_map, /* Big5-2 */ ++ 0, /* CNS 11643-8 */ ++ 0, /* CNS 11643-9 */ ++ 0, /* CNS 11643-10 */ ++ 0, /* CNS 11643-11 */ ++ 0, /* CNS 11643-12 */ ++ 0, /* CNS 11643-13 */ ++ 0, /* CNS 11643-14 */ ++ 0, /* CNS 11643-15 */ ++ 0, /* CNS 11643-16 */ ++ 0, /* CNS 11643-X */ ++ N_gb12345_ucs_map, /* GB 12345 */ ++ 0, /* Johab (special conversion) */ ++ 0, /* Johab-1 (special conversion) */ ++ 0, /* Johab-2 (special conversion) */ ++ N_ksx1001_ucs_map, /* Johab-3 */ ++ N_sjis_ext_ucs_map, /* Shift_JIS(CP932) ext */ ++ N_sjis_ext_ucs_map, /* Shift_JIS(CP932) ext-1 */ ++ N_sjis_ext_ucs_map, /* Shift_JIS(CP932) ext-2 */ ++ N_gbk_ucs_map, /* GBK(CP936) */ ++ N_gbk_ucs_map, /* GBK(CP936)-1 */ ++ N_gbk_ucs_map, /* GBK(CP936)-2 */ ++ 0, /* GB18030 GBK-ext (special conversion) */ ++ 0, /* GB18030 GBK-ext-1 (special conversion) */ ++ 0, /* GB18030 GBK-ext-2 (special conversion) */ ++ N_uhc_ucs_map, /* UHC(CP949) */ ++ N_uhc_ucs_map, /* UHC(CP949)-1 */ ++ N_uhc_ucs_map, /* UHC(CP949)-2 */ ++ N_hkscs_ucs_map, /* HKSCS */ ++ N_hkscs_ucs_map, /* HKSCS-1 */ ++ N_hkscs_ucs_map, /* HKSCS-2 */ ++}; ++ + static wc_wchar_t + ucs_cs94_conv(wc_ccs ccs, wc_uint16 c) + { diff --git a/linein.c b/linein.c index b7e81b6..d8f9023 100644 --- a/linein.c @@ -8874,7 +13602,7 @@ index b7e81b6..d8f9023 100644 } else { diff --git a/local.c b/local.c -index f5a73a2..202e9c4 100644 +index f5a73a2..46ac579 100644 --- a/local.c +++ b/local.c @@ -109,6 +109,7 @@ loadLocalDir(char *dname) @@ -8894,7 +13622,36 @@ index f5a73a2..202e9c4 100644 lbuf[l] = '\0'; Strcat_m_charp(tmp, " -> ", html_quote(conv_from_system(lbuf)), NULL); -@@ -359,6 +360,10 @@ localcgi_post(char *uri, char *qstr, FormList *request, char *referer) +@@ -212,18 +213,17 @@ set_environ(char *var, char *value) + if (var != NULL && value != NULL) + setenv(var, value, 1); + #else /* not HAVE_SETENV */ +-#ifdef HAVE_PUTENV + static Hash_sv *env_hash = NULL; + Str tmp = Strnew_m_charp(var, "=", value, NULL); + + if (env_hash == NULL) + env_hash = newHash_sv(20); + putHash_sv(env_hash, var, (void *)tmp->ptr); ++#ifdef HAVE_PUTENV + putenv(tmp->ptr); + #else /* not HAVE_PUTENV */ + extern char **environ; + char **ne; +- char *p; + int i, l, el; + char **e, **newenv; + +@@ -250,7 +250,7 @@ set_environ(char *var, char *value) + if (newenv == NULL) + return; + for (e = environ, ne = newenv; *e != NULL; *(ne++) = *(e++)) ; +- *(ne++) = p; ++ *(ne++) = tmp->ptr; + *ne = NULL; + environ = newenv; + #endif /* not HAVE_PUTENV */ +@@ -359,6 +359,10 @@ localcgi_post(char *uri, char *qstr, FormList *request, char *referer) int status; pid_t pid; char *file = uri, *name = uri, *path_info = NULL, *tmpf = NULL; @@ -8905,7 +13662,7 @@ index f5a73a2..202e9c4 100644 #ifdef __MINGW32_VERSION return NULL; -@@ -373,18 +378,25 @@ localcgi_post(char *uri, char *qstr, FormList *request, char *referer) +@@ -373,18 +377,25 @@ localcgi_post(char *uri, char *qstr, FormList *request, char *referer) if (!fw) return NULL; } @@ -8935,7 +13692,7 @@ index f5a73a2..202e9c4 100644 set_cgi_environ(name, file, uri); if (path_info) set_environ("PATH_INFO", path_info); -@@ -415,12 +427,11 @@ localcgi_post(char *uri, char *qstr, FormList *request, char *referer) +@@ -415,12 +426,11 @@ localcgi_post(char *uri, char *qstr, FormList *request, char *referer) } #ifdef HAVE_CHDIR /* ifndef __EMX__ ? */ @@ -8965,7 +13722,7 @@ index c0461df..f0c6242 100644 int quoted; char *q = NULL; diff --git a/main.c b/main.c -index b421943..d4f6b21 100644 +index b421943..56301cc 100644 --- a/main.c +++ b/main.c @@ -1,6 +1,7 @@ @@ -9008,7 +13765,16 @@ index b421943..d4f6b21 100644 fprintf(f, " -B load bookmark\n"); fprintf(f, " -bookmark file specify bookmark file\n"); fprintf(f, " -T type specify content-type\n"); -@@ -248,7 +256,11 @@ fusage(FILE * f, int err) +@@ -214,7 +222,7 @@ fusage(FILE * f, int err) + #endif /* USE_COLOR */ + fprintf(f, + " -N open URL of command line on each new tab\n"); +- fprintf(f, " -F automatically render frame\n"); ++ fprintf(f, " -F automatically render frames\n"); + fprintf(f, + " -cols width specify column width (used with -dump)\n"); + fprintf(f, +@@ -248,8 +256,12 @@ fusage(FILE * f, int err) #endif /* USE_COOKIE */ fprintf(f, " -graph use DEC special graphics for border of table and menu\n"); fprintf(f, " -no-graph use ACII character for border of table and menu\n"); @@ -9016,10 +13782,12 @@ index b421943..d4f6b21 100644 + fprintf(f, " -s squeeze multiple blank lines\n"); +#else fprintf(f, " -S squeeze multiple blank lines\n"); +- fprintf(f, " -W toggle wrap search mode\n"); +#endif - fprintf(f, " -W toggle wrap search mode\n"); ++ fprintf(f, " -W toggle search wrap mode\n"); fprintf(f, " -X don't use termcap init/deinit\n"); fprintf(f, + " -title[=TERM] set buffer name to terminal title string\n"); @@ -372,6 +384,13 @@ make_optional_header_string(char *s) return hs; } @@ -9301,6 +14069,15 @@ index b421943..d4f6b21 100644 } static int +@@ -2502,7 +2610,7 @@ DEFUN(selBuf, SELECT, "Go to buffer selection panel") + } + + /* Suspend (on BSD), or run interactive shell (on SysV) */ +-DEFUN(susp, INTERRUPT SUSPEND, "Stop loading document") ++DEFUN(susp, INTERRUPT SUSPEND, "Suspend w3m") + { + #ifndef SIGSTOP + char *shell; @@ -2804,12 +2912,15 @@ loadLink(char *url, char *target, char *referer, FormList *request) union frameset_element *f_element = NULL; int flag = 0; @@ -9318,9 +14095,21 @@ index b421943..d4f6b21 100644 base->scheme == SCM_LOCAL || base->scheme == SCM_LOCAL_CGI) referer = NO_REFERER; if (referer == NULL) -@@ -2961,7 +3072,6 @@ handleMailto(char *url) +@@ -2830,7 +2941,7 @@ loadLink(char *url, char *target, char *referer, FormList *request) + if (!on_target) /* open link as an indivisual page */ + return loadNormalBuf(buf, TRUE); + +- if (do_download) /* download (thus no need to render frame) */ ++ if (do_download) /* download (thus no need to render frames) */ + return loadNormalBuf(buf, FALSE); + + if (target == NULL || /* no target specified (that means this page is not a frame page) */ +@@ -2959,9 +3070,8 @@ handleMailto(char *url) + } + /* follow HREF link */ - DEFUN(followA, GOTO_LINK, "Go to current link") +-DEFUN(followA, GOTO_LINK, "Go to current link") ++DEFUN(followA, GOTO_LINK, "Follow current link") { - Line *l; Anchor *a; @@ -9406,6 +14195,50 @@ index b421943..d4f6b21 100644 /* go to the next anchor */ DEFUN(nextA, NEXT_LINK, "Move to next link") { +@@ -3863,37 +3994,37 @@ nextY(int d) + } + + /* go to the next left anchor */ +-DEFUN(nextL, NEXT_LEFT, "Move to next left link") ++DEFUN(nextL, NEXT_LEFT, "Move left to next link") + { + nextX(-1, 0); + } + + /* go to the next left-up anchor */ +-DEFUN(nextLU, NEXT_LEFT_UP, "Move to next left (or upward) link") ++DEFUN(nextLU, NEXT_LEFT_UP, "Move left (or upward) to next link") + { + nextX(-1, -1); + } + + /* go to the next right anchor */ +-DEFUN(nextR, NEXT_RIGHT, "Move to next right link") ++DEFUN(nextR, NEXT_RIGHT, "Move right to next link") + { + nextX(1, 0); + } + + /* go to the next right-down anchor */ +-DEFUN(nextRD, NEXT_RIGHT_DOWN, "Move to next right (or downward) link") ++DEFUN(nextRD, NEXT_RIGHT_DOWN, "Move right (or downward) to next link") + { + nextX(1, 1); + } + + /* go to the next downward anchor */ +-DEFUN(nextD, NEXT_DOWN, "Move to next downward link") ++DEFUN(nextD, NEXT_DOWN, "Move downward to next link") + { + nextY(1); + } + + /* go to the next upward anchor */ +-DEFUN(nextU, NEXT_UP, "Move to next upward link") ++DEFUN(nextU, NEXT_UP, "Move upward to next link") + { + nextY(-1); + } @@ -4055,6 +4186,7 @@ goURL0(char *prompt, int relative) char *url, *referer; ParsedURL p_url, *current; @@ -9487,15 +14320,82 @@ index b421943..d4f6b21 100644 parseURL2(url, &p_url, current); pushHashHist(URLHist, parsedURL2Str(&p_url)->ptr); cmd_loadURL(url, current, referer, NULL); -@@ -4329,7 +4454,7 @@ anchorMn(Anchor *(*menu_func) (Buffer *), int go) +@@ -4151,14 +4276,14 @@ cmd_loadBuffer(Buffer *buf, int prop, int linkid) + } + + /* load bookmark */ +-DEFUN(ldBmark, BOOKMARK VIEW_BOOKMARK, "Read bookmark") ++DEFUN(ldBmark, BOOKMARK VIEW_BOOKMARK, "View bookmarks") + { + cmd_loadURL(BookmarkFile, NULL, NO_REFERER, NULL); + } + + + /* Add current to bookmark */ +-DEFUN(adBmark, ADD_BOOKMARK, "Add current page to bookmark") ++DEFUN(adBmark, ADD_BOOKMARK, "Add current page to bookmarks") + { + Str tmp; + FormList *request; +@@ -4188,7 +4313,7 @@ DEFUN(adBmark, ADD_BOOKMARK, "Add current page to bookmark") + } + + /* option setting */ +-DEFUN(ldOpt, OPTIONS, "Option setting panel") ++DEFUN(ldOpt, OPTIONS, "Display option setting panel") + { + cmd_loadBuffer(load_option_panel(), BP_NO_URL, LB_NOLINK); + } +@@ -4291,7 +4416,7 @@ follow_map(struct parsed_tagarg *arg) + + #ifdef USE_MENU + /* link menu */ +-DEFUN(linkMn, LINK_MENU, "Popup link element menu") ++DEFUN(linkMn, LINK_MENU, "Pop up link element menu") + { + LinkList *l = link_menu(Currentbuf); + ParsedURL p_url; +@@ -4329,19 +4454,19 @@ anchorMn(Anchor *(*menu_func) (Buffer *), int go) } /* accesskey */ -DEFUN(accessKey, ACCESSKEY, "Popup acceskey menu") -+DEFUN(accessKey, ACCESSKEY, "Popup accesskey menu") ++DEFUN(accessKey, ACCESSKEY, "Pop up accesskey menu") { anchorMn(accesskey_menu, TRUE); } + + /* list menu */ +-DEFUN(listMn, LIST_MENU, "Popup link list menu and go to selected link") ++DEFUN(listMn, LIST_MENU, "Pop up link list menu and go to selected link") + { + anchorMn(list_menu, TRUE); + } + + DEFUN(movlistMn, MOVE_LIST_MENU, +- "Popup link list menu and move cursor to selected link") ++ "Pop up link list menu and move cursor to selected link") + { + anchorMn(list_menu, FALSE); + } +@@ -4375,7 +4500,7 @@ DEFUN(cooLst, COOKIE, "View cookie list") + + #ifdef USE_HISTORY + /* History page */ +-DEFUN(ldHist, HISTORY, "View history of URL") ++DEFUN(ldHist, HISTORY, "View browser history") + { + cmd_loadBuffer(historyBuffer(URLHist), BP_NO_URL, LB_NOLINK); + } +@@ -4449,7 +4574,7 @@ DEFUN(svBuf, PRINT SAVE_SCREEN, "Save rendered document to file") + } + + /* save source */ +-DEFUN(svSrc, DOWNLOAD SAVE, "Save document source to file") ++DEFUN(svSrc, DOWNLOAD SAVE, "Save document (source) to file") + { + char *file; + @@ -4510,8 +4635,7 @@ _peekURL(int only_img) s = parsedURL2Str(&pu); } @@ -9506,6 +14406,31 @@ index b421943..d4f6b21 100644 #ifdef USE_M17N s = checkType(s, &pp, NULL); p = NewAtom_N(Lineprop, s->length); +@@ -4529,13 +4653,13 @@ _peekURL(int only_img) + } + + /* peek URL */ +-DEFUN(peekURL, PEEK_LINK, "Peek link URL") ++DEFUN(peekURL, PEEK_LINK, "Peek at link URL") + { + _peekURL(0); + } + + /* peek URL of image */ +-DEFUN(peekIMG, PEEK_IMG, "Peek image URL") ++DEFUN(peekIMG, PEEK_IMG, "Peek at image URL") + { + _peekURL(1); + } +@@ -4549,7 +4673,7 @@ currentURL(void) + return parsedURL2Str(&Currentbuf->currentURL); + } + +-DEFUN(curURL, PEEK, "Peek current URL") ++DEFUN(curURL, PEEK, "Peek at current URL") + { + static Str s = NULL; + #ifdef USE_M17N @@ -4570,7 +4694,7 @@ DEFUN(curURL, PEEK, "Peek current URL") offset = 0; s = currentURL(); @@ -9515,30 +14440,99 @@ index b421943..d4f6b21 100644 #ifdef USE_M17N s = checkType(s, &pp, NULL); p = NewAtom_N(Lineprop, s->length); -@@ -5398,6 +5522,60 @@ DEFUN(mouse, MOUSE, "mouse operation") - process_mouse(btn, x, y); +@@ -4915,13 +5039,13 @@ chkURLBuffer(Buffer *buf) + buf->check_url |= CHK_URL; } -+DEFUN(sgrmouse, SGRMOUSE, "SGR 1006 mouse operation") -+{ -+ int btn = 0, x = 0, y = 0; -+ unsigned char c; -+ -+ do { -+ c = getch(); -+ if (IS_DIGIT(c)) -+ btn = btn * 10 + c - '0'; -+ else if (c == ';') -+ break; -+ else -+ return; -+ } while (1); -+ -+#if defined(__CYGWIN__) && CYGWIN_VERSION_DLL_MAJOR < 1005 -+ if (cygwin_mouse_btn_swapped) { -+ if (btn == MOUSE_BTN2_DOWN) -+ btn = MOUSE_BTN3_DOWN; -+ else if (btn == MOUSE_BTN3_DOWN) +-DEFUN(chkURL, MARK_URL, "Mark URL-like strings as anchors") ++DEFUN(chkURL, MARK_URL, "Mark URL-like strings as links") + { + chkURLBuffer(Currentbuf); + displayBuffer(Currentbuf, B_FORCE_REDRAW); + } + +-DEFUN(chkWORD, MARK_WORD, "Mark current word as anchor") ++DEFUN(chkWORD, MARK_WORD, "Mark current word as link") + { + char *p; + int spos, epos; +@@ -4948,15 +5072,15 @@ chkNMIDBuffer(Buffer *buf) + buf->check_url |= CHK_NMID; + } + +-DEFUN(chkNMID, MARK_MID, "Mark Message-ID-like strings as anchors") ++DEFUN(chkNMID, MARK_MID, "Mark Message-ID-like strings as links") + { + chkNMIDBuffer(Currentbuf); + displayBuffer(Currentbuf, B_FORCE_REDRAW); + } + #endif /* USE_NNTP */ + +-/* render frame */ +-DEFUN(rFrame, FRAME, "Render frame") ++/* render frames */ ++DEFUN(rFrame, FRAME, "Render frames") + { + Buffer *buf; + +@@ -5010,6 +5134,24 @@ invoke_browser(char *url) + case 3: + browser = ExtBrowser3; + break; ++ case 4: ++ browser = ExtBrowser4; ++ break; ++ case 5: ++ browser = ExtBrowser5; ++ break; ++ case 6: ++ browser = ExtBrowser6; ++ break; ++ case 7: ++ browser = ExtBrowser7; ++ break; ++ case 8: ++ browser = ExtBrowser8; ++ break; ++ case 9: ++ browser = ExtBrowser9; ++ break; + } + if (browser == NULL || *browser == '\0') { + browser = inputStr("Browse command: ", NULL); +@@ -5362,7 +5504,7 @@ process_mouse(int btn, int x, int y) + } + } + +-DEFUN(msToggle, MOUSE_TOGGLE, "Toggle activity of mouse") ++DEFUN(msToggle, MOUSE_TOGGLE, "Toggle mouse support") + { + if (use_mouse) { + use_mouse = FALSE; +@@ -5398,6 +5540,60 @@ DEFUN(mouse, MOUSE, "mouse operation") + process_mouse(btn, x, y); + } + ++DEFUN(sgrmouse, SGRMOUSE, "SGR 1006 mouse operation") ++{ ++ int btn = 0, x = 0, y = 0; ++ unsigned char c; ++ ++ do { ++ c = getch(); ++ if (IS_DIGIT(c)) ++ btn = btn * 10 + c - '0'; ++ else if (c == ';') ++ break; ++ else ++ return; ++ } while (1); ++ ++#if defined(__CYGWIN__) && CYGWIN_VERSION_DLL_MAJOR < 1005 ++ if (cygwin_mouse_btn_swapped) { ++ if (btn == MOUSE_BTN2_DOWN) ++ btn = MOUSE_BTN3_DOWN; ++ else if (btn == MOUSE_BTN3_DOWN) + btn = MOUSE_BTN2_DOWN; + }; +#endif @@ -9576,7 +14570,25 @@ index b421943..d4f6b21 100644 #ifdef USE_GPM int gpm_process_mouse(Gpm_Event * event, void *data) -@@ -5604,7 +5782,7 @@ execdict(char *word) +@@ -5473,7 +5669,7 @@ DEFUN(movMs, MOVE_MOUSE, "Move cursor to mouse cursor (for mouse action)") + #define FRAME_WIDTH 1 + #endif + +-DEFUN(menuMs, MENU_MOUSE, "Popup menu at mouse cursor (for mouse action)") ++DEFUN(menuMs, MENU_MOUSE, "Pop up menu at mouse cursor (for mouse action)") + { + if (!mouse_action.in_action) + return; +@@ -5523,7 +5719,7 @@ DEFUN(dispVer, VERSION, "Display version of w3m") + disp_message(Sprintf("w3m version %s", w3m_version)->ptr, TRUE); + } + +-DEFUN(wrapToggle, WRAP_TOGGLE, "Toggle wrap search mode") ++DEFUN(wrapToggle, WRAP_TOGGLE, "Toggle search wrap mode") + { + if (WrapSearch) { + WrapSearch = FALSE; +@@ -5604,7 +5800,7 @@ execdict(char *word) disp_message("Execution failed", TRUE); return; } @@ -9585,7 +14597,7 @@ index b421943..d4f6b21 100644 buf->filename = w; buf->buffername = Sprintf("%s %s", DICTBUFFERNAME, word)->ptr; if (buf->type == NULL) -@@ -5671,7 +5849,7 @@ set_buffer_environ(Buffer *buf) +@@ -5671,7 +5867,7 @@ set_buffer_environ(Buffer *buf) set_environ("W3M_CURRENT_FORM", form2str((FormItemList *)a->url)); else set_environ("W3M_CURRENT_FORM", ""); @@ -9594,7 +14606,7 @@ index b421943..d4f6b21 100644 l->real_linenumber)->ptr); set_environ("W3M_CURRENT_COLUMN", Sprintf("%d", buf->currentColumn + -@@ -5747,8 +5925,14 @@ deleteFiles() +@@ -5747,8 +5943,14 @@ deleteFiles() Firstbuf = buf; } } @@ -9610,6 +14622,15 @@ index b421943..d4f6b21 100644 } void +@@ -5970,7 +6172,7 @@ DEFUN(reinit, REINIT, "Reload configuration files") + } + + DEFUN(defKey, DEFINE_KEY, +- "Define a binding between a key stroke and a user command") ++ "Define a binding between a keystroke and a user command") + { + char *data; + diff --git a/map.c b/map.c index 90aa35a..bb240ea 100644 --- a/map.c @@ -9732,7 +14753,7 @@ index 64fd0ad..bc7a5be 100644 #define SWAPI(a,b) { int tmp = a; a = b; b = tmp; } diff --git a/menu.c b/menu.c -index 774b1bd..11a5369 100644 +index 774b1bd..dfbeabe 100644 --- a/menu.c +++ b/menu.c @@ -57,6 +57,7 @@ static int mCancel(char c); @@ -9834,7 +14855,38 @@ index 774b1bd..11a5369 100644 #ifdef USE_GPM static int gpm_process_menu_mouse(Gpm_Event * event, void *data) -@@ -1365,9 +1408,7 @@ initSelectMenu(void) +@@ -1261,6 +1304,12 @@ mMouse(char c) + { + return (MENU_NOTHING); + } ++ ++static int ++mSgrMouse(char c) ++{ ++ return (MENU_NOTHING); ++} + #endif /* not USE_MOUSE */ + + /* --- MenuFunctions (END) --- */ +@@ -1289,7 +1338,7 @@ mainMenu(int x, int y) + popupMenu(x, y, &MainMenu); + } + +-DEFUN(mainMn, MAIN_MENU MENU, "Popup menu") ++DEFUN(mainMn, MAIN_MENU MENU, "Pop up menu") + { + Menu *menu = &MainMenu; + char *data; +@@ -1317,7 +1366,7 @@ DEFUN(mainMn, MAIN_MENU MENU, "Popup menu") + + /* --- SelectMenu --- */ + +-DEFUN(selMn, SELECT_MENU, "Popup buffer selection menu") ++DEFUN(selMn, SELECT_MENU, "Pop up buffer selection menu") + { + int x = Currentbuf->cursorX + Currentbuf->rootX, + y = Currentbuf->cursorY + Currentbuf->rootY; +@@ -1365,9 +1414,7 @@ initSelectMenu(void) break; default: Strcat_char(str, ' '); @@ -9845,7 +14897,16 @@ index 774b1bd..11a5369 100644 Strcat_charp(str, p); break; } -@@ -1513,9 +1554,7 @@ initSelTabMenu(void) +@@ -1464,7 +1511,7 @@ smDelBuf(char c) + + /* --- SelTabMenu --- */ + +-DEFUN(tabMn, TAB_MENU, "Popup tab selection menu") ++DEFUN(tabMn, TAB_MENU, "Pop up tab selection menu") + { + int x = Currentbuf->cursorX + Currentbuf->rootX, + y = Currentbuf->cursorY + Currentbuf->rootY; +@@ -1513,9 +1560,7 @@ initSelTabMenu(void) case SCM_MISSING: break; default: @@ -9856,7 +14917,7 @@ index 774b1bd..11a5369 100644 Strcat_charp(str, p); break; } -@@ -1845,10 +1884,8 @@ link_menu(Buffer *buf) +@@ -1845,10 +1890,8 @@ link_menu(Buffer *buf) Strcat_charp(str, " "); if (!l->url) p = ""; @@ -9868,7 +14929,7 @@ index 774b1bd..11a5369 100644 Strcat_charp(str, p); label[i] = str->ptr; if (len < str->length) -@@ -1913,6 +1950,7 @@ accesskey_menu(Buffer *buf) +@@ -1913,6 +1956,7 @@ accesskey_menu(Buffer *buf) } label[nitem] = NULL; @@ -9876,7 +14937,7 @@ index 774b1bd..11a5369 100644 new_option_menu(&menu, label, &key, NULL); menu.initial = 0; -@@ -2025,7 +2063,6 @@ list_menu(Buffer *buf) +@@ -2025,7 +2069,6 @@ list_menu(Buffer *buf) label[nitem] = NULL; set_menu_frame(); @@ -10064,6 +15125,27 @@ index 1489115..ddd267b 100644 # Set of available languages. -ja +ja de zh_CN zh_TW +diff --git a/po/Makefile.in.in b/po/Makefile.in.in +index 83d8838..ef8bd94 100644 +--- a/po/Makefile.in.in ++++ b/po/Makefile.in.in +@@ -153,14 +153,14 @@ $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + --files-from=$(srcdir)/POTFILES.in \ +- --copyright-holder='$(COPYRIGHT_HOLDER)' \ ++ --copyright-holder="$(COPYRIGHT_HOLDER)" \ + --msgid-bugs-address="$$msgid_bugs_address" \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + --files-from=$(srcdir)/POTFILES.in \ +- --copyright-holder='$(COPYRIGHT_HOLDER)' \ ++ --copyright-holder="$(COPYRIGHT_HOLDER)" \ + --package-name="$${package_gnu}@PACKAGE@" \ + --package-version='@VERSION@' \ + --msgid-bugs-address="$$msgid_bugs_address" \ diff --git a/po/Makevars b/po/Makevars index 2f57810..a60a09d 100644 --- a/po/Makevars @@ -10079,10 +15161,10 @@ index 2f57810..a60a09d 100644 # bugs in the untranslated strings: diff --git a/po/de.po b/po/de.po new file mode 100644 -index 0000000..19a3d3a +index 0000000..96489c1 --- /dev/null +++ b/po/de.po -@@ -0,0 +1,914 @@ +@@ -0,0 +1,936 @@ +# German translation of w3m +# Copyright (C) 2014 THE w3m'S COPYRIGHT HOLDER +# This file is distributed under the same license as the w3m package. @@ -10091,9 +15173,9 @@ index 0000000..19a3d3a +msgstr "" +"Project-Id-Version: w3m 0.5.3\n" +"Report-Msgid-Bugs-To: satodai@w3m.jp\n" -+"POT-Creation-Date: 2015-04-29 16:18+0900\n" -+"PO-Revision-Date: 2015-04-29 09:45+0200\n" -+"Last-Translator: Markus Hiereth \n" ++"POT-Creation-Date: 2016-03-14 19:47+0900\n" ++"PO-Revision-Date: 2016-03-14 19:51+0900\n" ++"Last-Translator: Tatsuya Kinoshita \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" @@ -10102,75 +15184,75 @@ index 0000000..19a3d3a +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.7.1\n" + -+#: menu.c:267 ++#: menu.c:269 +msgid " Back (b) " +msgstr " Zur端ck (b) " + -+#: menu.c:268 ++#: menu.c:270 +msgid " Select Buffer(s) " +msgstr " Puffer ausw辰hlen (s) " + -+#: menu.c:270 ++#: menu.c:272 +msgid " Select Tab (t) " +msgstr " Reiter ausw辰hlen (t) " + -+#: menu.c:272 ++#: menu.c:274 +msgid " View Source (v) " +msgstr " Codeansicht (v) " + -+#: menu.c:273 ++#: menu.c:275 +msgid " Edit Source (e) " +msgstr " Code bearbeiten (e) " + -+#: menu.c:274 ++#: menu.c:276 +msgid " Save Source (S) " +msgstr " Code speichern (S) " + -+#: menu.c:275 ++#: menu.c:277 +msgid " Reload (r) " +msgstr " Erneut laden (r) " + -+#: menu.c:276 menu.c:283 menu.c:287 ++#: menu.c:278 menu.c:285 menu.c:289 +msgid " ---------------- " +msgstr " ---------------------- " + -+#: menu.c:277 ++#: menu.c:279 +msgid " Go Link (a) " +msgstr " Ziel 旦ffnen.. (a) " + -+#: menu.c:278 ++#: menu.c:280 +msgid " on New Tab (n) " +msgstr " ..in neuem Reiter (n) " + -+#: menu.c:279 ++#: menu.c:281 +msgid " Save Link (A) " +msgstr " Ziel speichern (A) " + -+#: menu.c:280 ++#: menu.c:282 +msgid " View Image (i) " +msgstr " Bild anzeigen (i) " + -+#: menu.c:281 ++#: menu.c:283 +msgid " Save Image (I) " +msgstr " Bild speichern (I) " + -+#: menu.c:282 ++#: menu.c:284 +msgid " View Frame (f) " +msgstr " Frames zeigen (f) " + -+#: menu.c:284 ++#: menu.c:286 +msgid " Bookmark (B) " +msgstr " Lesezeichen (B) " + -+#: menu.c:285 ++#: menu.c:287 +msgid " Help (h) " +msgstr " Hilfe (h) " + -+#: menu.c:286 ++#: menu.c:288 +msgid " Option (o) " +msgstr " Einstellungen (o) " + -+#: menu.c:288 ++#: menu.c:290 +msgid " Quit (q) " +msgstr " Programm verlassen (q) " + @@ -10478,514 +15560,536 @@ index 0000000..19a3d3a +msgstr "Umgang mit mailto-URLs" + +#: rc.c:146 -+msgid "External Browser" -+msgstr "Externer Browser" ++msgid "External browser" ++msgstr "Externer browser" + +#: rc.c:147 -+msgid "Second External Browser" -+msgstr "Zweiter externer Browser" ++msgid "2nd external browser" ++msgstr "Zweiter externer browser" + +#: rc.c:148 -+msgid "Third External Browser" -+msgstr "Dritter externer Browser" ++msgid "3rd external browser" ++msgstr "Dritter externer browser" ++ ++#: rc.c:149 ++msgid "4th external browser" ++msgstr "Vierter externer browser" ++ ++#: rc.c:150 ++msgid "5th external browser" ++msgstr "F端nfter externer browser" ++ ++#: rc.c:151 ++msgid "6th external browser" ++msgstr "Sechster externer browser" ++ ++#: rc.c:152 ++msgid "7th external browser" ++msgstr "Siebter externer browser" ++ ++#: rc.c:153 ++msgid "8th external browser" ++msgstr "Achter externer browser" ++ ++#: rc.c:154 ++msgid "9th external browser" ++msgstr "Neunter externer browser" + +# entsprechend file:///usr/share/doc/w3m/README.passwd +# Pr端fung beanstandete auch passwd_file mit Zugriffbytes 600, mh, 05.10.2014 -+#: rc.c:149 ++#: rc.c:155 +msgid "Disable secret file security check" +msgstr "Keine Pr端fung der Sicherheit bei Dateien mit geheimem Inhalt" + -+#: rc.c:150 ++#: rc.c:156 +msgid "Password file" +msgstr "Passwort-Datei" + -+#: rc.c:151 ++#: rc.c:157 +msgid "File for setting form on loading" +msgstr "Datei mit vordefinierten Eingaben f端r Formulare" + -+#: rc.c:152 ++#: rc.c:158 +msgid "File for preferences for each site" +msgstr "Datei mit adress-spezifischen Voreinstellungen" + -+#: rc.c:153 ++#: rc.c:159 +msgid "Password for anonymous FTP (your mail address)" +msgstr "Passwort f端r anonyme FTP-Anmeldung (Ihre Mailadresse)" + -+#: rc.c:154 ++#: rc.c:160 +msgid "Generate domain part of password for FTP" +msgstr "Domain-Teil des FTP-Passwortes erzeugen" + -+#: rc.c:155 ++#: rc.c:161 +msgid "User-Agent identification string" +msgstr "Browserkennung 端bermitteln" + -+#: rc.c:156 ++#: rc.c:162 +msgid "Accept-Encoding header" +msgstr "Accept-Encoding-Kopfzeile" + -+#: rc.c:157 ++#: rc.c:163 +msgid "Accept header" +msgstr "Accept-Kopfzeile" + -+#: rc.c:158 ++#: rc.c:164 +msgid "Accept-Language header" +msgstr "Accept-Language-Kopfzeile" + -+#: rc.c:159 ++#: rc.c:165 +msgid "Treat URL-like strings as links in all pages" +msgstr "URL-artige Zeichenketten auf allen Seiten als Links auffassen" + -+#: rc.c:160 ++#: rc.c:166 +msgid "Wrap search" +msgstr "Im Dokument umlaufend suchen" + -+#: rc.c:161 ++#: rc.c:167 +msgid "Display unseen objects (e.g. bgimage tag)" +msgstr "Nicht gezeigte Objekte melden (z.B. Hintergrundbild)" + -+#: rc.c:162 ++#: rc.c:168 +msgid "Uncompress compressed data automatically when downloading" +msgstr "Komprimierte Daten beim Download selbstst辰ndig dekomprimieren" + +# String nicht in Optionen-Men端 gefunden. mh, 05.10.2014 -+#: rc.c:164 ++#: rc.c:170 +msgid "Run external viewer in a separate session" +msgstr "Externe Anzeigeprogramme in eigener Sitzung laufen lassen" + -+#: rc.c:166 ++#: rc.c:172 +msgid "Run external viewer in the background" +msgstr "Externe Anzeigeprogramme im Hintergrund laufen lassen" + -+#: rc.c:168 ++#: rc.c:174 +msgid "Use external program for directory listing" +msgstr "Externes Programm zum Auflisten von Verzeichnissen verwenden" + -+#: rc.c:169 ++#: rc.c:175 +msgid "URL of directory listing command" +msgstr "URL des Befehls zum Auflisten von Verzeichnissen" + -+#: rc.c:171 ++#: rc.c:177 +msgid "Enable dictionary lookup through CGI" +msgstr "W旦rterbuchabfrage mittels CGI aktivieren" + -+#: rc.c:172 ++#: rc.c:178 +msgid "URL of dictionary lookup command" +msgstr "URL des Befehls zur W旦rterbuch-Abfrage" + -+#: rc.c:174 ++#: rc.c:180 +msgid "Display link name for images lacking ALT" +msgstr "Bei Bildern ohne ALT-Angabe Linkziel anzeigen" + -+#: rc.c:175 ++#: rc.c:181 +msgid "Index file for directories" +msgstr "Indexdatei f端r Verzeichnisse" + -+#: rc.c:176 ++#: rc.c:182 +msgid "Prepend http:// to URL automatically" +msgstr "Ziel-Eingaben gegebenenfalls http:// voranstellen" + -+#: rc.c:177 ++#: rc.c:183 +msgid "Default value for open-URL command" +msgstr "Vorgabewert bei der Adresseneingabe" + -+#: rc.c:178 ++#: rc.c:184 +msgid "Decode Content-Transfer-Encoding when saving" +msgstr "Beim Speichern entsprechend Content-Transfer-Encoding entschl端sseln" + -+#: rc.c:179 ++#: rc.c:185 +msgid "Preserve timestamp when saving" +msgstr "Zeitstempel beim Speichern erhalten" + -+#: rc.c:181 ++#: rc.c:187 +msgid "Enable mouse" +msgstr "Maus aktivieren" + -+#: rc.c:182 ++#: rc.c:188 +msgid "Scroll in reverse direction of mouse drag" +msgstr "Mausbewegungen entgegengesetzt scrollen" + -+#: rc.c:183 ++#: rc.c:189 +msgid "Behavior of wheel scroll speed" +msgstr "Umsetzung der Mausradbewegung" + -+#: rc.c:184 ++#: rc.c:190 +msgid "(A only)Scroll by # (%) of screen" +msgstr "(nur A) Um # % des Fensters scrollen" + -+#: rc.c:185 ++#: rc.c:191 +msgid "(B only)Scroll by # lines" +msgstr "(nur B) Um # Zeilen scrollen" + -+#: rc.c:187 ++#: rc.c:193 +msgid "Free memory of undisplayed buffers" +msgstr "Speicherplatz nicht angezeigter Puffer freigeben" + -+#: rc.c:188 ++#: rc.c:194 +msgid "Suppress `Referer:' header" +msgstr "Referer-Kopfzeile unterdr端cken" + -+#: rc.c:189 ++#: rc.c:195 +msgid "Search case-insensitively" +msgstr "Gro- und Kleinschreibung beim Suchen ignorieren" + -+#: rc.c:190 ++#: rc.c:196 +msgid "Use LESSOPEN" +msgstr "LESSOPEN verwenden" + -+#: rc.c:193 ++#: rc.c:199 +msgid "Perform SSL server verification" +msgstr "SSL-Server-Verifizierung durchf端hren" + -+#: rc.c:194 ++#: rc.c:200 +msgid "PEM encoded certificate file of client" +msgstr "PEM-kodierte Zertifikatsdatei des Clients" + -+#: rc.c:195 ++#: rc.c:201 +msgid "PEM encoded private key file of client" +msgstr "PEM-kodierte private Schl端sseldatei des Clients" + -+#: rc.c:196 ++#: rc.c:202 +msgid "Path to directory for PEM encoded certificates of CAs" +msgstr "Pfad zum Verzeichnis f端r PEM-kodierte Zertifikate von CAs" + -+#: rc.c:197 ++#: rc.c:203 +msgid "File consisting of PEM encoded certificates of CAs" +msgstr "Datei mit PEM-kodierten Zertifikaten von CAs" + -+#: rc.c:199 ++#: rc.c:205 +msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" +msgstr "Liste unzul辰ssiger SSL-Verfahren (2: SSLv2, 3: SSLv3, t: TLSv1)" + -+#: rc.c:202 ++#: rc.c:208 +msgid "Enable cookie processing" +msgstr "Cookie-Verarbeitung aktivieren" + -+#: rc.c:203 ++#: rc.c:209 +msgid "Print a message when receiving a cookie" +msgstr "Den Empfang von Cookies melden" + -+#: rc.c:204 ++#: rc.c:210 +msgid "Accept cookies" +msgstr "Cookies akzeptieren" + -+#: rc.c:205 ++#: rc.c:211 +msgid "Action to be taken on invalid cookie" +msgstr "Reaktion auf ung端ltiges Cookie" + -+#: rc.c:206 ++#: rc.c:212 +msgid "Domains to reject cookies from" +msgstr "Domains, deren Cookies abzulehnen sind" + -+#: rc.c:207 ++#: rc.c:213 +msgid "Domains to accept cookies from" +msgstr "Domains, deren Cookies akzeptiert werden" + +# Variable vom Typ String im Abschnitt Cookies-Einstellungen, mh 10.10.2014 -+#: rc.c:208 -+#, fuzzy ++#: rc.c:214 +msgid "Domains to avoid [wrong number of dots]" +msgstr "Zu meidende Domains (falsche Anzahl von Punkten)" + -+#: rc.c:210 ++#: rc.c:216 +msgid "Number of redirections to follow" +msgstr "Anzahl zu akzeptierender Umleitungen" + +# Konfigurationsvariable vom Typ string, mh, 05.10.2014 -+#: rc.c:211 ++#: rc.c:217 +msgid "Enable processing of meta-refresh tag" +msgstr "Meta-Refresh-Element verarbeiten" + -+#: rc.c:214 ++#: rc.c:220 +msgid "Enable Migemo (Roma-ji search)" +msgstr "Romaji-Suche mittels Migemo aktivieren" + -+#: rc.c:215 ++#: rc.c:221 +msgid "Migemo command" +msgstr "Migemo-Befehl" + -+#: rc.c:219 ++#: rc.c:225 +msgid "Display charset" +msgstr "Zeichenkodierung der Anzeige" + -+#: rc.c:220 ++#: rc.c:226 +msgid "Default document charset" +msgstr "Zeichenkodierungs-Vorgabe f端r Dokumente" + -+#: rc.c:221 ++#: rc.c:227 +msgid "Automatic charset detect when loading" +msgstr "Selbstst辰ndige Erkennung der Zeichenkodierung beim Laden" + -+#: rc.c:222 ++#: rc.c:228 +msgid "System charset" +msgstr "Zeichenkodierung des Systems" + -+#: rc.c:223 ++#: rc.c:229 +msgid "System charset follows locale(LC_CTYPE)" +msgstr "Zeichenkodierung des Systems entsprechend Locale (LC_CTYPE)" + +# war zuvor +# msgstr "Halfdump mit der zur Anzeige benutzten Zeichenkodierung exportieren" -+#: rc.c:224 ++#: rc.c:230 +msgid "Output halfdump with display charset" +msgstr "Halfdump in der zur Anzeige benutzten Kodierung" + +# Konfigurationsvariable vom Typ boolean, mh, 05.10.2014 -+#: rc.c:225 -+#, fuzzy ++#: rc.c:231 +msgid "Use multi column characters" +msgstr "Spalten端bergreifende Zeichen verwenden" + -+#: rc.c:226 ++#: rc.c:232 +msgid "Use combining characters" +msgstr "Kombinationszeichen verwenden" + -+#: rc.c:227 ++#: rc.c:233 +msgid "Use double width for some Unicode characters" +msgstr "Einzelnen Unicode-Zeichen zwei Spalten einr辰umen" + -+#: rc.c:228 ++#: rc.c:234 +msgid "Use Unicode language tags" +msgstr "Unicode-Sprach-Tags verwenden" + -+#: rc.c:229 ++#: rc.c:235 +msgid "Charset conversion using Unicode map" +msgstr "Zeichen in Unicode kodieren" + -+#: rc.c:230 ++#: rc.c:236 +msgid "Charset conversion when loading" +msgstr "Zeichenkodierung beim Laden anpassen" + -+#: rc.c:231 ++#: rc.c:237 +msgid "Adjust search string for document charset" +msgstr "Zu suchende Zeichenkette der Kodierung des Dokumentes anpassen" + -+#: rc.c:232 ++#: rc.c:238 +msgid "Fix character width when conversion" +msgstr "Bei Umwandlung an der Breite von Zeichen festhalten" + -+#: rc.c:233 ++#: rc.c:239 +msgid "Use GB 12345 Unicode map instead of GB 2312's" +msgstr "GB-12345-Unicode statt GB 2312 verwenden" + -+#: rc.c:234 ++#: rc.c:240 +msgid "Use JIS X 0201 Roman for ISO-2022-JP" +msgstr "JIS X 0201 Roman statt ISO-2022-JP verwenden" + -+#: rc.c:235 ++#: rc.c:241 +msgid "Use JIS C 6226:1978 for ISO-2022-JP" +msgstr "JIS C 6226:1978 statt ISO-2022-JP verwenden" + -+#: rc.c:236 ++#: rc.c:242 +msgid "Use JIS X 0201 Katakana" +msgstr "JIS X 0201 Katakana verwenden" + -+#: rc.c:237 ++#: rc.c:243 +msgid "Use JIS X 0212:1990 (Supplemental Kanji)" +msgstr "JIS X 0212:1990 verwenden (erg辰nzendes Kanji)" + -+#: rc.c:238 ++#: rc.c:244 +msgid "Use JIS X 0213:2000 (2000JIS)" +msgstr "JIS X 0213:2000 verwenden (2000JIS)" + -+#: rc.c:239 ++#: rc.c:245 +msgid "Strict ISO-2022-JP/KR/CN" +msgstr "Striktes ISO-2022-JP/KR/CN" + -+#: rc.c:240 ++#: rc.c:246 +msgid "Treat 4 bytes char. of GB18030 as Unicode" +msgstr "4-Byte-Zeichen von GB 18030 als Unicode auffassen" + -+#: rc.c:241 ++#: rc.c:247 +msgid "Simple Preserve space" +msgstr "Einfache Platzerhaltung" + -+#: rc.c:244 ++#: rc.c:250 +msgid "keymap file" +msgstr "Tastaturbelegungs-Datei" + -+#: rc.c:261 ++#: rc.c:267 +msgid "black" +msgstr "schwarz" + -+#: rc.c:262 ++#: rc.c:268 +msgid "red" +msgstr "rot" + -+#: rc.c:263 ++#: rc.c:269 +msgid "green" +msgstr "gr端n" + -+#: rc.c:264 ++#: rc.c:270 +msgid "yellow" +msgstr "gelb" + -+#: rc.c:265 ++#: rc.c:271 +msgid "blue" +msgstr "blau" + -+#: rc.c:266 ++#: rc.c:272 +msgid "magenta" +msgstr "magenta" + -+#: rc.c:267 ++#: rc.c:273 +msgid "cyan" +msgstr "cyan" + -+#: rc.c:268 ++#: rc.c:274 +msgid "white" +msgstr "wei" + -+#: rc.c:269 ++#: rc.c:275 +msgid "terminal" +msgstr "wie Terminal" + -+#: rc.c:288 ++#: rc.c:294 +msgid "none" +msgstr "keiner" + -+#: rc.c:289 ++#: rc.c:295 +msgid "current URL" +msgstr "aktuelle URL" + -+#: rc.c:290 ++#: rc.c:296 +msgid "link URL" +msgstr "Link-URL" + -+#: rc.c:295 ++#: rc.c:301 +msgid "simple" +msgstr "einfach" + -+#: rc.c:296 ++#: rc.c:302 +msgid "use tag" +msgstr "durch Tags" + -+#: rc.c:297 ++#: rc.c:303 +msgid "fontify" +msgstr "hervorgehoben" + -+#: rc.c:303 ++#: rc.c:309 +msgid "A:relative to screen height" +msgstr "A: relativ zu Fensterh旦he" + -+#: rc.c:304 ++#: rc.c:310 +msgid "B:fixed speed" +msgstr "B: feste Geschwindigkeit" + -+#: rc.c:311 ++#: rc.c:317 +msgid "unspecified" +msgstr "nicht spezifiziert" + -+#: rc.c:312 ++#: rc.c:318 +msgid "inet inet6" +msgstr "inet inet6" + -+#: rc.c:313 ++#: rc.c:319 +msgid "inet6 inet" +msgstr "inet6 inet" + -+#: rc.c:314 ++#: rc.c:320 +msgid "inet only" +msgstr "nur inet" + -+#: rc.c:315 ++#: rc.c:321 +msgid "inet6 only" +msgstr "nur inet6" + -+#: rc.c:322 ++#: rc.c:328 +msgid "discard" +msgstr "verwerfen" + -+#: rc.c:324 ++#: rc.c:330 +msgid "accept" +msgstr "annehmen" + -+#: rc.c:326 ++#: rc.c:332 +msgid "ask" +msgstr "nachfragen" + +# geh旦rt zu rc.c:142 +# erscheint in Pulldown-Men端, daher verk端rzt. mh 09.10.2014 -+#: rc.c:333 ++#: rc.c:339 +msgid "use internal mailer instead" +msgstr "Mail intern erstellen" + +# geh旦rt zu rc.c:142 +# erscheint in Pulldown-Men端, daher verk端rzt. mh 09.10.2014 -+#: rc.c:335 ++#: rc.c:341 +msgid "ignore options and use only the address" +msgstr "Optionen ignorieren" + +# geh旦rt zu rc.c:142 +# erscheint in Pulldown-Men端, daher verk端rzt. mh 09.10.2014 -+#: rc.c:336 ++#: rc.c:342 +msgid "use full mailto URL" +msgstr "komplett verwenden" + -+#: rc.c:345 ++#: rc.c:351 +msgid "OFF" +msgstr "AUS" + -+#: rc.c:346 ++#: rc.c:352 +msgid "Only ISO 2022" +msgstr "Nur ISO-2022" + -+#: rc.c:347 ++#: rc.c:353 +msgid "ON" +msgstr "AN" + +# Wert aus einem Set zur Wiedergabe von R辰ndern, mh, 05.10.2014 -+#: rc.c:353 ++#: rc.c:359 +msgid "ASCII" +msgstr "ASCII" + +# Wert aus einem Set zur Wiedergabe von R辰ndern, mh, 05.10.2014 +# hier ist "Zeichensatz" akzeptabel mh, 09.10.2014 -+#: rc.c:354 ++#: rc.c:360 +msgid "charset specific" +msgstr "zeichensatzspezifisch" + +# Wert aus einem Set zur Wiedergabe von R辰ndern, mh, 05.10.2014 -+#: rc.c:355 ++#: rc.c:361 +msgid "DEC special graphics" +msgstr "mit DEC-Grafiken" + -+#: rc.c:722 ++#: rc.c:740 +msgid "Display Settings" +msgstr "Einstellungen zur Anzeige" + -+#: rc.c:724 ++#: rc.c:742 +msgid "Color Settings" +msgstr "Farbeinstellungen" + -+#: rc.c:726 ++#: rc.c:744 +msgid "Miscellaneous Settings" +msgstr "Weitere Einstellungen" + -+#: rc.c:727 ++#: rc.c:745 +msgid "Directory Settings" +msgstr "Verzeichnis-Einstellungen" + -+#: rc.c:728 ++#: rc.c:746 +msgid "External Program Settings" +msgstr "Einstellungen f端r externe Programme" + -+#: rc.c:729 ++#: rc.c:747 +msgid "Network Settings" +msgstr "Netzwerk-Einstellungen" + -+#: rc.c:730 ++#: rc.c:748 +msgid "Proxy Settings" +msgstr "Proxy-Einstellungen" + -+#: rc.c:732 ++#: rc.c:750 +msgid "SSL Settings" +msgstr "SSL-Einstellungen" + -+#: rc.c:735 ++#: rc.c:753 +msgid "Cookie Settings" +msgstr "Cookie-Einstellungen" + -+#: rc.c:738 ++#: rc.c:756 +msgid "Charset Settings" +msgstr "Zeichenkodierungs-Einstellungen" + @@ -10994,11 +16098,11 @@ index 0000000..19a3d3a +#. * header. For example, ja.po should translate it as +#. * "ja;q=1.0, en;q=0.5" like that. +#. -+#: rc.c:1220 ++#: rc.c:1238 +msgid "en;q=1.0" +msgstr "de;q=1.0, en;q=0.5" diff --git a/po/ja.po b/po/ja.po -index d67c695..ef079e4 100644 +index d67c695..3810d30 100644 --- a/po/ja.po +++ b/po/ja.po @@ -1,6 +1,6 @@ @@ -11009,15 +16113,15 @@ index d67c695..ef079e4 100644 # This file is distributed under the same license as the w3m package. # Fumitoshi UKAI , 2003. # -@@ -8,11 +8,11 @@ msgid "" +@@ -8,865 +8,897 @@ msgid "" msgstr "" "Project-Id-Version: w3m 0.5.3\n" "Report-Msgid-Bugs-To: satodai@w3m.jp\n" -"POT-Creation-Date: 2010-08-20 18:44+0900\n" -"PO-Revision-Date: 2010-08-20 18:45+0900\n" -"Last-Translator: Fumitoshi UKAI \n" -+"POT-Creation-Date: 2015-04-29 16:18+0900\n" -+"PO-Revision-Date: 2015-04-29 16:38+0900\n" ++"POT-Creation-Date: 2016-03-14 19:47+0900\n" ++"PO-Revision-Date: 2016-03-14 19:51+0900\n" +"Last-Translator: Tatsuya Kinoshita \n" "Language-Team: Japanese\n" -"Language: \n" @@ -11025,17 +16129,105 @@ index d67c695..ef079e4 100644 "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -@@ -90,783 +90,791 @@ msgstr "激с (o)" - msgid " Quit (q) " - msgstr "腟篋 (q)" + "Plural-Forms: nplurals=1; plural=0;\n" --#: rc.c:60 -+#: rc.c:62 - msgid "External Viewer Setup" - msgstr "紊ャ若≪膩" +-#: menu.c:267 ++#: menu.c:269 + msgid " Back (b) " + msgstr "祉 (b)" --#: rc.c:61 -+#: rc.c:63 +-#: menu.c:268 ++#: menu.c:270 + msgid " Select Buffer(s) " + msgstr "♂御 (s)" + +-#: menu.c:270 ++#: menu.c:272 + msgid " Select Tab (t) " + msgstr "帥御 (t)" + +-#: menu.c:272 ++#: menu.c:274 + msgid " View Source (v) " + msgstr "純若鴻茵腓 (v)" + +-#: menu.c:273 ++#: menu.c:275 + msgid " Edit Source (e) " + msgstr "純若鴻膩 (e)" + +-#: menu.c:274 ++#: menu.c:276 + msgid " Save Source (S) " + msgstr "純若鴻篆絖 (S)" + +-#: menu.c:275 ++#: menu.c:277 + msgid " Reload (r) " + msgstr "茯粋昭 (r)" + +-#: menu.c:276 menu.c:283 menu.c:287 ++#: menu.c:278 menu.c:285 menu.c:289 + msgid " ---------------- " + msgstr "----------------" + +-#: menu.c:277 ++#: menu.c:279 + msgid " Go Link (a) " + msgstr "潟茵腓 (a)" + +-#: menu.c:278 ++#: menu.c:280 + msgid " on New Tab (n) " + msgstr "違帥ц;腓 (n)" + +-#: menu.c:279 ++#: menu.c:281 + msgid " Save Link (A) " + msgstr "潟篆絖 (A)" + +-#: menu.c:280 ++#: menu.c:282 + msgid " View Image (i) " + msgstr "糸茵腓 (i)" + +-#: menu.c:281 ++#: menu.c:283 + msgid " Save Image (I) " + msgstr "糸篆絖 (I)" + +-#: menu.c:282 ++#: menu.c:284 + msgid " View Frame (f) " + msgstr "若茵腓 (f)" + +-#: menu.c:284 ++#: menu.c:286 + msgid " Bookmark (B) " + msgstr "若 (B)" + +-#: menu.c:285 ++#: menu.c:287 + msgid " Help (h) " + msgstr " (h)" + +-#: menu.c:286 ++#: menu.c:288 + msgid " Option (o) " + msgstr "激с (o)" + +-#: menu.c:288 ++#: menu.c:290 + msgid " Quit (q) " + msgstr "腟篋 (q)" + +-#: rc.c:60 ++#: rc.c:62 + msgid "External Viewer Setup" + msgstr "紊ャ若≪膩" + +-#: rc.c:61 ++#: rc.c:63 msgid "Tab width in characters" msgstr "帥綛" @@ -11399,648 +16591,767 @@ index d67c695..ef079e4 100644 msgstr "mailto 帥違宴" -#: rc.c:143 +-msgid "External Browser" +#: rc.c:146 - msgid "External Browser" ++msgid "External browser" msgstr "紊" -#: rc.c:144 +-msgid "Second External Browser" +#: rc.c:147 - msgid "Second External Browser" ++msgid "2nd external browser" msgstr "紊吟2" -#: rc.c:145 +-msgid "Third External Browser" +#: rc.c:148 - msgid "Third External Browser" ++msgid "3rd external browser" msgstr "紊吟3" -#: rc.c:146 +#: rc.c:149 ++msgid "4th external browser" ++msgstr "紊吟4" ++ ++#: rc.c:150 ++msgid "5th external browser" ++msgstr "紊吟5" ++ ++#: rc.c:151 ++msgid "6th external browser" ++msgstr "紊吟6" ++ ++#: rc.c:152 ++msgid "7th external browser" ++msgstr "紊吟7" ++ ++#: rc.c:153 ++msgid "8th external browser" ++msgstr "紊吟8" ++ ++#: rc.c:154 ++msgid "9th external browser" ++msgstr "紊吟9" ++ ++#: rc.c:155 msgid "Disable secret file security check" msgstr "鴻若<ゃ若激с潟с" -#: rc.c:147 -+#: rc.c:150 ++#: rc.c:156 msgid "Password file" msgstr "鴻若<ゃ" -#: rc.c:148 -+#: rc.c:151 ++#: rc.c:157 msgid "File for setting form on loading" msgstr "梧莨惹若荐絎<ゃ" -#: rc.c:149 -+#: rc.c:152 ++#: rc.c:158 +msgid "File for preferences for each site" +msgstr "泣ゃヨ┃絎<ゃ" + -+#: rc.c:153 ++#: rc.c:159 msgid "Password for anonymous FTP (your mail address)" msgstr "FTP鴻若(mail address篏帥)" -#: rc.c:150 -+#: rc.c:154 ++#: rc.c:160 msgid "Generate domain part of password for FTP" msgstr "FTP鴻若<ゃ喝" -#: rc.c:151 -+#: rc.c:155 ++#: rc.c:161 msgid "User-Agent identification string" msgstr "User-Agent" -#: rc.c:152 -+#: rc.c:156 ++#: rc.c:162 msgid "Accept-Encoding header" msgstr "х軒号(Accept-Encoding:)" -#: rc.c:153 -+#: rc.c:157 ++#: rc.c:163 msgid "Accept header" msgstr "ゃ<c≪帥ゃ(Accept:)" -#: rc.c:154 -+#: rc.c:158 ++#: rc.c:164 msgid "Accept-Language header" msgstr "ゃ荐茯(Accept-Language:)" -#: rc.c:155 -+#: rc.c:159 ++#: rc.c:165 msgid "Treat URL-like strings as links in all pages" msgstr "若吾URL蘂絖潟" -#: rc.c:156 -+#: rc.c:160 ++#: rc.c:166 msgid "Wrap search" msgstr "菴罎膣" -#: rc.c:157 -+#: rc.c:161 ++#: rc.c:167 msgid "Display unseen objects (e.g. bgimage tag)" msgstr "糸靁吾潟篏" -#: rc.c:158 -+#: rc.c:162 ++#: rc.c:168 msgid "Uncompress compressed data automatically when downloading" msgstr "潟若х軒若帥茹e" -#: rc.c:160 -+#: rc.c:164 ++#: rc.c:170 msgid "Run external viewer in a separate session" msgstr "紊ャ若≪ャ祉激с潟у" -#: rc.c:162 -+#: rc.c:166 ++#: rc.c:172 msgid "Run external viewer in the background" msgstr "紊ャ若≪違潟у" -#: rc.c:164 -+#: rc.c:168 ++#: rc.c:174 msgid "Use external program for directory listing" msgstr "c鴻紊潟潟篏帥" -#: rc.c:165 -+#: rc.c:169 ++#: rc.c:175 msgid "URL of directory listing command" msgstr "c鴻潟潟" -#: rc.c:167 -+#: rc.c:171 ++#: rc.c:177 msgid "Enable dictionary lookup through CGI" msgstr "莨後CGI腟宴с" -#: rc.c:168 -+#: rc.c:172 ++#: rc.c:178 msgid "URL of dictionary lookup command" msgstr "莨後潟潟URL" -#: rc.c:170 -+#: rc.c:174 ++#: rc.c:180 msgid "Display link name for images lacking ALT" msgstr "腥冴IMG ALT絮с潟茵腓冴" -#: rc.c:171 -+#: rc.c:175 ++#: rc.c:181 msgid "Index file for directories" msgstr "cゃ潟鴻<ゃ" -#: rc.c:172 -+#: rc.c:176 ++#: rc.c:182 msgid "Prepend http:// to URL automatically" msgstr "URL http:// 茖" -#: rc.c:173 -+#: rc.c:177 ++#: rc.c:183 msgid "Default value for open-URL command" msgstr "URL絖" -#: rc.c:174 -+#: rc.c:178 ++#: rc.c:184 msgid "Decode Content-Transfer-Encoding when saving" msgstr "篆絖 Content-Transfer-Encoding 潟若" -#: rc.c:175 -+#: rc.c:179 ++#: rc.c:185 msgid "Preserve timestamp when saving" msgstr "篆絖帥ゃ鴻帥潟篆" -#: rc.c:177 -+#: rc.c:181 ++#: rc.c:187 msgid "Enable mouse" msgstr "鴻篏帥" -#: rc.c:178 -+#: rc.c:182 ++#: rc.c:188 msgid "Scroll in reverse direction of mouse drag" msgstr "鴻医篏" -#: rc.c:179 -+#: rc.c:183 ++#: rc.c:189 msgid "Behavior of wheel scroll speed" msgstr "ゃ若с鴻若綺宴" -#: rc.c:180 -+#: rc.c:184 ++#: rc.c:190 msgid "(A only)Scroll by # (%) of screen" msgstr "(A)脂≪篏%鴻若" -#: rc.c:181 -+#: rc.c:185 ++#: rc.c:191 msgid "(B only)Scroll by # lines" msgstr "(B)鴻若茵" -#: rc.c:183 -+#: rc.c:187 ++#: rc.c:193 msgid "Free memory of undisplayed buffers" msgstr "茵腓冴<<≪茹f障" -#: rc.c:184 -+#: rc.c:188 ++#: rc.c:194 msgid "Suppress `Referer:' header" msgstr "Referer: " -#: rc.c:185 -+#: rc.c:189 ++#: rc.c:195 msgid "Search case-insensitively" msgstr "泣若紊ф絖絨絖阪ャ" -#: rc.c:186 -+#: rc.c:190 ++#: rc.c:196 msgid "Use LESSOPEN" msgstr "LESSOPEN篏睡" -#: rc.c:189 -+#: rc.c:193 ++#: rc.c:199 msgid "Perform SSL server verification" msgstr "SSL泣若茯荐若茵" -#: rc.c:190 -+#: rc.c:194 ++#: rc.c:200 msgid "PEM encoded certificate file of client" msgstr "SSLゃ≪潟PEM綵√頥惹吾<ゃ" -#: rc.c:191 -+#: rc.c:195 ++#: rc.c:201 msgid "PEM encoded private key file of client" msgstr "SSLゃ≪潟PEM綵√霡絲泣<ゃ" -#: rc.c:192 -+#: rc.c:196 ++#: rc.c:202 msgid "Path to directory for PEM encoded certificates of CAs" msgstr "SSL茯荐弱PEM綵√頥惹悟召c吾" -#: rc.c:193 -+#: rc.c:197 ++#: rc.c:203 msgid "File consisting of PEM encoded certificates of CAs" msgstr "SSL茯荐弱PEM綵√頥惹悟召<ゃ" -#: rc.c:195 -+#: rc.c:199 ++#: rc.c:205 msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" msgstr "篏帥SSL<純鴻(2: SSLv2, 3: SSLv3, t:TLSv1)" -#: rc.c:198 -+#: rc.c:202 ++#: rc.c:208 msgid "Enable cookie processing" msgstr "若篏睡" -#: rc.c:199 -+#: rc.c:203 ++#: rc.c:209 msgid "Print a message when receiving a cookie" msgstr "若篁<祉若吾茵腓冴" -#: rc.c:200 -+#: rc.c:204 ++#: rc.c:210 msgid "Accept cookies" msgstr "若篁" -#: rc.c:201 -+#: rc.c:205 ++#: rc.c:211 msgid "Action to be taken on invalid cookie" msgstr "馹若с篁" -#: rc.c:202 -+#: rc.c:206 ++#: rc.c:212 msgid "Domains to reject cookies from" msgstr "若篁<ゃ" -#: rc.c:203 -+#: rc.c:207 ++#: rc.c:213 msgid "Domains to accept cookies from" msgstr "若篁<ゃ" -#: rc.c:204 -+#: rc.c:208 ++#: rc.c:214 msgid "Domains to avoid [wrong number of dots]" msgstr "[wrong number of dots] ∴<ゃ" -#: rc.c:206 -+#: rc.c:210 ++#: rc.c:216 msgid "Number of redirections to follow" msgstr "緇ゃ" -#: rc.c:207 -+#: rc.c:211 ++#: rc.c:217 msgid "Enable processing of meta-refresh tag" msgstr "meta refresh 絲上" -#: rc.c:210 -+#: rc.c:214 ++#: rc.c:220 msgid "Enable Migemo (Roma-ji search)" msgstr "Migemo(若絖罎膣)篏睡" -#: rc.c:211 -+#: rc.c:215 ++#: rc.c:221 msgid "Migemo command" msgstr "Migemo潟潟" -#: rc.c:215 -+#: rc.c:219 ++#: rc.c:225 msgid "Display charset" msgstr "茵腓榊絖潟若" -#: rc.c:216 -+#: rc.c:220 ++#: rc.c:226 msgid "Default document charset" msgstr "吾罔羣絖潟若" -#: rc.c:217 -+#: rc.c:221 ++#: rc.c:227 msgid "Automatic charset detect when loading" msgstr "吾茯粋昭炊絖潟若ゅ茵" -#: rc.c:218 -+#: rc.c:222 ++#: rc.c:228 msgid "System charset" msgstr "激鴻絖潟若" -#: rc.c:219 -+#: rc.c:223 ++#: rc.c:229 msgid "System charset follows locale(LC_CTYPE)" msgstr "Locale(LC_CTYPE) 緇c激鴻絖潟若荐絎" -#: rc.c:220 -+#: rc.c:224 ++#: rc.c:230 msgid "Output halfdump with display charset" msgstr "茵腓榊絖潟若 halfdump 阪茵" -#: rc.c:221 -+#: rc.c:225 ++#: rc.c:231 msgid "Use multi column characters" msgstr "茲違絖篏帥" -#: rc.c:222 -+#: rc.c:226 ++#: rc.c:232 msgid "Use combining characters" msgstr "腟絖篏帥" -#: rc.c:223 -+#: rc.c:227 ++#: rc.c:233 msgid "Use double width for some Unicode characters" msgstr "腮Unicode絖茹" -#: rc.c:224 -+#: rc.c:228 ++#: rc.c:234 msgid "Use Unicode language tags" msgstr "Unicode 荐茯帥違篏帥" -#: rc.c:225 -+#: rc.c:229 ++#: rc.c:235 msgid "Charset conversion using Unicode map" msgstr "Unicode篁潟若紊" -#: rc.c:226 -+#: rc.c:230 ++#: rc.c:236 msgid "Charset conversion when loading" msgstr "吾茯粋昭炊絖潟若紊" -#: rc.c:227 -+#: rc.c:231 ++#: rc.c:237 msgid "Adjust search string for document charset" msgstr "罎膣∽絖吾絖潟若紊" -#: rc.c:228 -+#: rc.c:232 ++#: rc.c:238 msgid "Fix character width when conversion" msgstr "絖綛紊紊" -#: rc.c:229 -+#: rc.c:233 ++#: rc.c:239 msgid "Use GB 12345 Unicode map instead of GB 2312's" msgstr "GB 12345 Unicode GB 2312 篏帥" -#: rc.c:230 -+#: rc.c:234 ++#: rc.c:240 msgid "Use JIS X 0201 Roman for ISO-2022-JP" msgstr "ISO-2022-JP JIS X 0201-Roman 篏帥" -#: rc.c:231 -+#: rc.c:235 ++#: rc.c:241 msgid "Use JIS C 6226:1978 for ISO-2022-JP" msgstr "ISO-2022-JP JIS C 6226:1978(JIS) 篏帥" -#: rc.c:232 -+#: rc.c:236 ++#: rc.c:242 msgid "Use JIS X 0201 Katakana" msgstr "JIS X 0201-Katakana 篏帥" -#: rc.c:233 -+#: rc.c:237 ++#: rc.c:243 msgid "Use JIS X 0212:1990 (Supplemental Kanji)" msgstr "JIS X 0212:1990(茖羲√) 篏帥" -#: rc.c:234 -+#: rc.c:238 ++#: rc.c:244 msgid "Use JIS X 0213:2000 (2000JIS)" msgstr "JIS X 0213:2000(2000JIS) 篏帥" -#: rc.c:235 -+#: rc.c:239 ++#: rc.c:245 msgid "Strict ISO-2022-JP/KR/CN" msgstr "ウ若 ISO-2022-JP/KR/CN 篏帥" -#: rc.c:236 -+#: rc.c:240 ++#: rc.c:246 msgid "Treat 4 bytes char. of GB18030 as Unicode" msgstr "GB18030 4ゃ絖 Unicode 宴" -#: rc.c:237 -+#: rc.c:241 ++#: rc.c:247 msgid "Simple Preserve space" msgstr "膣腥榊純篆絖" -#: rc.c:240 -+#: rc.c:244 ++#: rc.c:250 msgid "keymap file" msgstr "keymap<ゃ" -#: rc.c:257 -+#: rc.c:261 ++#: rc.c:267 msgid "black" msgstr "藥" -#: rc.c:258 -+#: rc.c:262 ++#: rc.c:268 msgid "red" msgstr "莎" -#: rc.c:259 -+#: rc.c:263 ++#: rc.c:269 msgid "green" msgstr "膩" -#: rc.c:260 -+#: rc.c:264 ++#: rc.c:270 msgid "yellow" msgstr "藥" -#: rc.c:261 -+#: rc.c:265 ++#: rc.c:271 msgid "blue" msgstr "" -#: rc.c:262 -+#: rc.c:266 ++#: rc.c:272 msgid "magenta" msgstr "膣" -#: rc.c:263 -+#: rc.c:267 ++#: rc.c:273 msgid "cyan" msgstr "腥肴" -#: rc.c:264 -+#: rc.c:268 ++#: rc.c:274 msgid "white" msgstr "" -#: rc.c:265 -+#: rc.c:269 ++#: rc.c:275 msgid "terminal" msgstr "腴" -#: rc.c:284 -+#: rc.c:288 ++#: rc.c:294 msgid "none" msgstr "<" -#: rc.c:285 -+#: rc.c:289 ++#: rc.c:295 msgid "current URL" msgstr "憜URL" -#: rc.c:286 -+#: rc.c:290 ++#: rc.c:296 msgid "link URL" msgstr "潟URL" -#: rc.c:291 -+#: rc.c:295 ++#: rc.c:301 msgid "simple" msgstr "激潟" -#: rc.c:292 -+#: rc.c:296 ++#: rc.c:302 msgid "use tag" msgstr "帥違ц;腓" -#: rc.c:293 -+#: rc.c:297 ++#: rc.c:303 msgid "fontify" msgstr "絖茖蕋" -#: rc.c:299 -+#: rc.c:303 ++#: rc.c:309 msgid "A:relative to screen height" msgstr "A:脂≪泣ゃ冴罸箴" -#: rc.c:300 -+#: rc.c:304 ++#: rc.c:310 msgid "B:fixed speed" msgstr "B:筝絎茵" -#: rc.c:307 -+#: rc.c:311 ++#: rc.c:317 msgid "unspecified" msgstr "絎" -#: rc.c:308 -+#: rc.c:312 ++#: rc.c:318 msgid "inet inet6" msgstr "IPv4" -#: rc.c:309 -+#: rc.c:313 ++#: rc.c:319 msgid "inet6 inet" msgstr "IPv6" -#: rc.c:310 -+#: rc.c:314 ++#: rc.c:320 msgid "inet only" msgstr "IPv4" -#: rc.c:311 -+#: rc.c:315 ++#: rc.c:321 msgid "inet6 only" msgstr "IPv6" -#: rc.c:318 -+#: rc.c:322 ++#: rc.c:328 msgid "discard" msgstr "贋" -#: rc.c:320 -+#: rc.c:324 ++#: rc.c:330 msgid "accept" msgstr "ャ" -#: rc.c:322 -+#: rc.c:326 ++#: rc.c:332 msgid "ask" msgstr "腆肴" -#: rc.c:329 -+#: rc.c:333 ++#: rc.c:339 msgid "use internal mailer instead" msgstr "<若篏睡" -#: rc.c:331 -+#: rc.c:335 ++#: rc.c:341 msgid "ignore options and use only the address" msgstr "≪鴻推戎" -#: rc.c:332 -+#: rc.c:336 ++#: rc.c:342 msgid "use full mailto URL" msgstr "URL 篏篏睡" -#: rc.c:341 -+#: rc.c:345 ++#: rc.c:351 msgid "OFF" msgstr "≦" -#: rc.c:342 -+#: rc.c:346 ++#: rc.c:352 msgid "Only ISO 2022" msgstr "ISO 2022 " -#: rc.c:343 -+#: rc.c:347 ++#: rc.c:353 msgid "ON" msgstr "" -#: rc.c:349 -+#: rc.c:353 ++#: rc.c:359 msgid "ASCII" msgstr "ASCII" -#: rc.c:350 -+#: rc.c:354 ++#: rc.c:360 msgid "charset specific" msgstr "絖潟若箴絖" -#: rc.c:351 -+#: rc.c:355 ++#: rc.c:361 msgid "DEC special graphics" msgstr "DEC 号絖" -#: rc.c:714 -+#: rc.c:722 ++#: rc.c:740 msgid "Display Settings" msgstr "茵腓咲≫" -#: rc.c:716 -+#: rc.c:724 ++#: rc.c:742 msgid "Color Settings" msgstr "茵腓肴" -#: rc.c:718 -+#: rc.c:726 ++#: rc.c:744 msgid "Miscellaneous Settings" msgstr "紊荐絎" -#: rc.c:719 -+#: rc.c:727 ++#: rc.c:745 msgid "Directory Settings" msgstr "c荐絎" -#: rc.c:720 -+#: rc.c:728 ++#: rc.c:746 msgid "External Program Settings" msgstr "紊違" -#: rc.c:721 -+#: rc.c:729 ++#: rc.c:747 msgid "Network Settings" msgstr "若荐絎" -#: rc.c:722 -+#: rc.c:730 ++#: rc.c:748 msgid "Proxy Settings" msgstr "激荐絎" -#: rc.c:724 -+#: rc.c:732 ++#: rc.c:750 msgid "SSL Settings" msgstr "SSL荐絎" -#: rc.c:727 -+#: rc.c:735 ++#: rc.c:753 msgid "Cookie Settings" msgstr "若荐絎" -#: rc.c:730 -+#: rc.c:738 ++#: rc.c:756 msgid "Charset Settings" msgstr "絖潟若荐絎" -@@ -875,6 +883,6 @@ msgstr "絖潟若荐絎" +@@ -875,6 +907,6 @@ msgstr "絖潟若荐絎" #. * header. For example, ja.po should translate it as #. * "ja;q=1.0, en;q=0.5" like that. #. -#: rc.c:1209 -+#: rc.c:1220 ++#: rc.c:1238 msgid "en;q=1.0" msgstr "ja;q=1.0, en;q=0.5" diff --git a/po/w3m.pot b/po/w3m.pot -index e164b1e..b277bb9 100644 +index e164b1e..607e26f 100644 --- a/po/w3m.pot +++ b/po/w3m.pot -@@ -1,5 +1,5 @@ +@@ -1,6 +1,6 @@ # SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR Fumitoshi UKAI +-# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE w3m'S COPYRIGHT HOLDER - # This file is distributed under the same license as the PACKAGE package. ++# This file is distributed under the same license as the w3m package. # FIRST AUTHOR , YEAR. # + #, fuzzy @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: w3m 0.5.3\n" "Report-Msgid-Bugs-To: satodai@w3m.jp\n" -"POT-Creation-Date: 2010-08-20 18:44+0900\n" -+"POT-Creation-Date: 2015-04-29 16:18+0900\n" ++"POT-Creation-Date: 2016-03-14 19:47+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -@@ -89,783 +89,791 @@ msgstr "" +@@ -17,855 +17,887 @@ msgstr "" + "Content-Type: text/plain; charset=CHARSET\n" + "Content-Transfer-Encoding: 8bit\n" + +-#: menu.c:267 ++#: menu.c:269 + msgid " Back (b) " + msgstr "" + +-#: menu.c:268 ++#: menu.c:270 + msgid " Select Buffer(s) " + msgstr "" + +-#: menu.c:270 ++#: menu.c:272 + msgid " Select Tab (t) " + msgstr "" + +-#: menu.c:272 ++#: menu.c:274 + msgid " View Source (v) " + msgstr "" + +-#: menu.c:273 ++#: menu.c:275 + msgid " Edit Source (e) " + msgstr "" + +-#: menu.c:274 ++#: menu.c:276 + msgid " Save Source (S) " + msgstr "" + +-#: menu.c:275 ++#: menu.c:277 + msgid " Reload (r) " + msgstr "" + +-#: menu.c:276 menu.c:283 menu.c:287 ++#: menu.c:278 menu.c:285 menu.c:289 + msgid " ---------------- " + msgstr "" + +-#: menu.c:277 ++#: menu.c:279 + msgid " Go Link (a) " + msgstr "" + +-#: menu.c:278 ++#: menu.c:280 + msgid " on New Tab (n) " + msgstr "" + +-#: menu.c:279 ++#: menu.c:281 + msgid " Save Link (A) " + msgstr "" + +-#: menu.c:280 ++#: menu.c:282 + msgid " View Image (i) " + msgstr "" + +-#: menu.c:281 ++#: menu.c:283 + msgid " Save Image (I) " + msgstr "" + +-#: menu.c:282 ++#: menu.c:284 + msgid " View Frame (f) " + msgstr "" + +-#: menu.c:284 ++#: menu.c:286 + msgid " Bookmark (B) " + msgstr "" + +-#: menu.c:285 ++#: menu.c:287 + msgid " Help (h) " + msgstr "" + +-#: menu.c:286 ++#: menu.c:288 + msgid " Option (o) " + msgstr "" + +-#: menu.c:288 ++#: menu.c:290 msgid " Quit (q) " msgstr "" @@ -12414,633 +17725,660 @@ index e164b1e..b277bb9 100644 msgstr "" -#: rc.c:143 +-msgid "External Browser" +#: rc.c:146 - msgid "External Browser" ++msgid "External browser" msgstr "" -#: rc.c:144 +-msgid "Second External Browser" +#: rc.c:147 - msgid "Second External Browser" ++msgid "2nd external browser" msgstr "" -#: rc.c:145 +-msgid "Third External Browser" +#: rc.c:148 - msgid "Third External Browser" ++msgid "3rd external browser" msgstr "" -#: rc.c:146 +#: rc.c:149 ++msgid "4th external browser" ++msgstr "" ++ ++#: rc.c:150 ++msgid "5th external browser" ++msgstr "" ++ ++#: rc.c:151 ++msgid "6th external browser" ++msgstr "" ++ ++#: rc.c:152 ++msgid "7th external browser" ++msgstr "" ++ ++#: rc.c:153 ++msgid "8th external browser" ++msgstr "" ++ ++#: rc.c:154 ++msgid "9th external browser" ++msgstr "" ++ ++#: rc.c:155 msgid "Disable secret file security check" msgstr "" -#: rc.c:147 -+#: rc.c:150 ++#: rc.c:156 msgid "Password file" msgstr "" -#: rc.c:148 -+#: rc.c:151 ++#: rc.c:157 msgid "File for setting form on loading" msgstr "" -#: rc.c:149 -+#: rc.c:152 ++#: rc.c:158 +msgid "File for preferences for each site" +msgstr "" + -+#: rc.c:153 ++#: rc.c:159 msgid "Password for anonymous FTP (your mail address)" msgstr "" -#: rc.c:150 -+#: rc.c:154 ++#: rc.c:160 msgid "Generate domain part of password for FTP" msgstr "" -#: rc.c:151 -+#: rc.c:155 ++#: rc.c:161 msgid "User-Agent identification string" msgstr "" -#: rc.c:152 -+#: rc.c:156 ++#: rc.c:162 msgid "Accept-Encoding header" msgstr "" -#: rc.c:153 -+#: rc.c:157 ++#: rc.c:163 msgid "Accept header" msgstr "" -#: rc.c:154 -+#: rc.c:158 ++#: rc.c:164 msgid "Accept-Language header" msgstr "" -#: rc.c:155 -+#: rc.c:159 ++#: rc.c:165 msgid "Treat URL-like strings as links in all pages" msgstr "" -#: rc.c:156 -+#: rc.c:160 ++#: rc.c:166 msgid "Wrap search" msgstr "" -#: rc.c:157 -+#: rc.c:161 ++#: rc.c:167 msgid "Display unseen objects (e.g. bgimage tag)" msgstr "" -#: rc.c:158 -+#: rc.c:162 ++#: rc.c:168 msgid "Uncompress compressed data automatically when downloading" msgstr "" -#: rc.c:160 -+#: rc.c:164 ++#: rc.c:170 msgid "Run external viewer in a separate session" msgstr "" -#: rc.c:162 -+#: rc.c:166 ++#: rc.c:172 msgid "Run external viewer in the background" msgstr "" -#: rc.c:164 -+#: rc.c:168 ++#: rc.c:174 msgid "Use external program for directory listing" msgstr "" -#: rc.c:165 -+#: rc.c:169 ++#: rc.c:175 msgid "URL of directory listing command" msgstr "" -#: rc.c:167 -+#: rc.c:171 ++#: rc.c:177 msgid "Enable dictionary lookup through CGI" msgstr "" -#: rc.c:168 -+#: rc.c:172 ++#: rc.c:178 msgid "URL of dictionary lookup command" msgstr "" -#: rc.c:170 -+#: rc.c:174 ++#: rc.c:180 msgid "Display link name for images lacking ALT" msgstr "" -#: rc.c:171 -+#: rc.c:175 ++#: rc.c:181 msgid "Index file for directories" msgstr "" -#: rc.c:172 -+#: rc.c:176 ++#: rc.c:182 msgid "Prepend http:// to URL automatically" msgstr "" -#: rc.c:173 -+#: rc.c:177 ++#: rc.c:183 msgid "Default value for open-URL command" msgstr "" -#: rc.c:174 -+#: rc.c:178 ++#: rc.c:184 msgid "Decode Content-Transfer-Encoding when saving" msgstr "" -#: rc.c:175 -+#: rc.c:179 ++#: rc.c:185 msgid "Preserve timestamp when saving" msgstr "" -#: rc.c:177 -+#: rc.c:181 ++#: rc.c:187 msgid "Enable mouse" msgstr "" -#: rc.c:178 -+#: rc.c:182 ++#: rc.c:188 msgid "Scroll in reverse direction of mouse drag" msgstr "" -#: rc.c:179 -+#: rc.c:183 ++#: rc.c:189 msgid "Behavior of wheel scroll speed" msgstr "" -#: rc.c:180 -+#: rc.c:184 ++#: rc.c:190 msgid "(A only)Scroll by # (%) of screen" msgstr "" -#: rc.c:181 -+#: rc.c:185 ++#: rc.c:191 msgid "(B only)Scroll by # lines" msgstr "" -#: rc.c:183 -+#: rc.c:187 ++#: rc.c:193 msgid "Free memory of undisplayed buffers" msgstr "" -#: rc.c:184 -+#: rc.c:188 ++#: rc.c:194 msgid "Suppress `Referer:' header" msgstr "" -#: rc.c:185 -+#: rc.c:189 ++#: rc.c:195 msgid "Search case-insensitively" msgstr "" -#: rc.c:186 -+#: rc.c:190 ++#: rc.c:196 msgid "Use LESSOPEN" msgstr "" -#: rc.c:189 -+#: rc.c:193 ++#: rc.c:199 msgid "Perform SSL server verification" msgstr "" -#: rc.c:190 -+#: rc.c:194 ++#: rc.c:200 msgid "PEM encoded certificate file of client" msgstr "" -#: rc.c:191 -+#: rc.c:195 ++#: rc.c:201 msgid "PEM encoded private key file of client" msgstr "" -#: rc.c:192 -+#: rc.c:196 ++#: rc.c:202 msgid "Path to directory for PEM encoded certificates of CAs" msgstr "" -#: rc.c:193 -+#: rc.c:197 ++#: rc.c:203 msgid "File consisting of PEM encoded certificates of CAs" msgstr "" -#: rc.c:195 -+#: rc.c:199 ++#: rc.c:205 msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" msgstr "" -#: rc.c:198 -+#: rc.c:202 ++#: rc.c:208 msgid "Enable cookie processing" msgstr "" -#: rc.c:199 -+#: rc.c:203 ++#: rc.c:209 msgid "Print a message when receiving a cookie" msgstr "" -#: rc.c:200 -+#: rc.c:204 ++#: rc.c:210 msgid "Accept cookies" msgstr "" -#: rc.c:201 -+#: rc.c:205 ++#: rc.c:211 msgid "Action to be taken on invalid cookie" msgstr "" -#: rc.c:202 -+#: rc.c:206 ++#: rc.c:212 msgid "Domains to reject cookies from" msgstr "" -#: rc.c:203 -+#: rc.c:207 ++#: rc.c:213 msgid "Domains to accept cookies from" msgstr "" -#: rc.c:204 -+#: rc.c:208 ++#: rc.c:214 msgid "Domains to avoid [wrong number of dots]" msgstr "" -#: rc.c:206 -+#: rc.c:210 ++#: rc.c:216 msgid "Number of redirections to follow" msgstr "" -#: rc.c:207 -+#: rc.c:211 ++#: rc.c:217 msgid "Enable processing of meta-refresh tag" msgstr "" -#: rc.c:210 -+#: rc.c:214 ++#: rc.c:220 msgid "Enable Migemo (Roma-ji search)" msgstr "" -#: rc.c:211 -+#: rc.c:215 ++#: rc.c:221 msgid "Migemo command" msgstr "" -#: rc.c:215 -+#: rc.c:219 ++#: rc.c:225 msgid "Display charset" msgstr "" -#: rc.c:216 -+#: rc.c:220 ++#: rc.c:226 msgid "Default document charset" msgstr "" -#: rc.c:217 -+#: rc.c:221 ++#: rc.c:227 msgid "Automatic charset detect when loading" msgstr "" -#: rc.c:218 -+#: rc.c:222 ++#: rc.c:228 msgid "System charset" msgstr "" -#: rc.c:219 -+#: rc.c:223 ++#: rc.c:229 msgid "System charset follows locale(LC_CTYPE)" msgstr "" -#: rc.c:220 -+#: rc.c:224 ++#: rc.c:230 msgid "Output halfdump with display charset" msgstr "" -#: rc.c:221 -+#: rc.c:225 ++#: rc.c:231 msgid "Use multi column characters" msgstr "" -#: rc.c:222 -+#: rc.c:226 ++#: rc.c:232 msgid "Use combining characters" msgstr "" -#: rc.c:223 -+#: rc.c:227 ++#: rc.c:233 msgid "Use double width for some Unicode characters" msgstr "" -#: rc.c:224 -+#: rc.c:228 ++#: rc.c:234 msgid "Use Unicode language tags" msgstr "" -#: rc.c:225 -+#: rc.c:229 ++#: rc.c:235 msgid "Charset conversion using Unicode map" msgstr "" -#: rc.c:226 -+#: rc.c:230 ++#: rc.c:236 msgid "Charset conversion when loading" msgstr "" -#: rc.c:227 -+#: rc.c:231 ++#: rc.c:237 msgid "Adjust search string for document charset" msgstr "" -#: rc.c:228 -+#: rc.c:232 ++#: rc.c:238 msgid "Fix character width when conversion" msgstr "" -#: rc.c:229 -+#: rc.c:233 ++#: rc.c:239 msgid "Use GB 12345 Unicode map instead of GB 2312's" msgstr "" -#: rc.c:230 -+#: rc.c:234 ++#: rc.c:240 msgid "Use JIS X 0201 Roman for ISO-2022-JP" msgstr "" -#: rc.c:231 -+#: rc.c:235 ++#: rc.c:241 msgid "Use JIS C 6226:1978 for ISO-2022-JP" msgstr "" -#: rc.c:232 -+#: rc.c:236 ++#: rc.c:242 msgid "Use JIS X 0201 Katakana" msgstr "" -#: rc.c:233 -+#: rc.c:237 ++#: rc.c:243 msgid "Use JIS X 0212:1990 (Supplemental Kanji)" msgstr "" -#: rc.c:234 -+#: rc.c:238 ++#: rc.c:244 msgid "Use JIS X 0213:2000 (2000JIS)" msgstr "" -#: rc.c:235 -+#: rc.c:239 ++#: rc.c:245 msgid "Strict ISO-2022-JP/KR/CN" msgstr "" -#: rc.c:236 -+#: rc.c:240 ++#: rc.c:246 msgid "Treat 4 bytes char. of GB18030 as Unicode" msgstr "" -#: rc.c:237 -+#: rc.c:241 ++#: rc.c:247 msgid "Simple Preserve space" msgstr "" -#: rc.c:240 -+#: rc.c:244 ++#: rc.c:250 msgid "keymap file" msgstr "" -#: rc.c:257 -+#: rc.c:261 ++#: rc.c:267 msgid "black" msgstr "" -#: rc.c:258 -+#: rc.c:262 ++#: rc.c:268 msgid "red" msgstr "" -#: rc.c:259 -+#: rc.c:263 ++#: rc.c:269 msgid "green" msgstr "" -#: rc.c:260 -+#: rc.c:264 ++#: rc.c:270 msgid "yellow" msgstr "" -#: rc.c:261 -+#: rc.c:265 ++#: rc.c:271 msgid "blue" msgstr "" -#: rc.c:262 -+#: rc.c:266 ++#: rc.c:272 msgid "magenta" msgstr "" -#: rc.c:263 -+#: rc.c:267 ++#: rc.c:273 msgid "cyan" msgstr "" -#: rc.c:264 -+#: rc.c:268 ++#: rc.c:274 msgid "white" msgstr "" -#: rc.c:265 -+#: rc.c:269 ++#: rc.c:275 msgid "terminal" msgstr "" -#: rc.c:284 -+#: rc.c:288 ++#: rc.c:294 msgid "none" msgstr "" -#: rc.c:285 -+#: rc.c:289 ++#: rc.c:295 msgid "current URL" msgstr "" -#: rc.c:286 -+#: rc.c:290 ++#: rc.c:296 msgid "link URL" msgstr "" -#: rc.c:291 -+#: rc.c:295 ++#: rc.c:301 msgid "simple" msgstr "" -#: rc.c:292 -+#: rc.c:296 ++#: rc.c:302 msgid "use tag" msgstr "" -#: rc.c:293 -+#: rc.c:297 ++#: rc.c:303 msgid "fontify" msgstr "" -#: rc.c:299 -+#: rc.c:303 ++#: rc.c:309 msgid "A:relative to screen height" msgstr "" -#: rc.c:300 -+#: rc.c:304 ++#: rc.c:310 msgid "B:fixed speed" msgstr "" -#: rc.c:307 -+#: rc.c:311 ++#: rc.c:317 msgid "unspecified" msgstr "" -#: rc.c:308 -+#: rc.c:312 ++#: rc.c:318 msgid "inet inet6" msgstr "" -#: rc.c:309 -+#: rc.c:313 ++#: rc.c:319 msgid "inet6 inet" msgstr "" -#: rc.c:310 -+#: rc.c:314 ++#: rc.c:320 msgid "inet only" msgstr "" -#: rc.c:311 -+#: rc.c:315 ++#: rc.c:321 msgid "inet6 only" msgstr "" -#: rc.c:318 -+#: rc.c:322 ++#: rc.c:328 msgid "discard" msgstr "" -#: rc.c:320 -+#: rc.c:324 ++#: rc.c:330 msgid "accept" msgstr "" -#: rc.c:322 -+#: rc.c:326 ++#: rc.c:332 msgid "ask" msgstr "" -#: rc.c:329 -+#: rc.c:333 ++#: rc.c:339 msgid "use internal mailer instead" msgstr "" -#: rc.c:331 -+#: rc.c:335 ++#: rc.c:341 msgid "ignore options and use only the address" msgstr "" -#: rc.c:332 -+#: rc.c:336 ++#: rc.c:342 msgid "use full mailto URL" msgstr "" -#: rc.c:341 -+#: rc.c:345 ++#: rc.c:351 msgid "OFF" msgstr "" -#: rc.c:342 -+#: rc.c:346 ++#: rc.c:352 msgid "Only ISO 2022" msgstr "" -#: rc.c:343 -+#: rc.c:347 ++#: rc.c:353 msgid "ON" msgstr "" -#: rc.c:349 -+#: rc.c:353 ++#: rc.c:359 msgid "ASCII" msgstr "" -#: rc.c:350 -+#: rc.c:354 ++#: rc.c:360 msgid "charset specific" msgstr "" -#: rc.c:351 -+#: rc.c:355 ++#: rc.c:361 msgid "DEC special graphics" msgstr "" -#: rc.c:714 -+#: rc.c:722 ++#: rc.c:740 msgid "Display Settings" msgstr "" -#: rc.c:716 -+#: rc.c:724 ++#: rc.c:742 msgid "Color Settings" msgstr "" -#: rc.c:718 -+#: rc.c:726 ++#: rc.c:744 msgid "Miscellaneous Settings" msgstr "" -#: rc.c:719 -+#: rc.c:727 ++#: rc.c:745 msgid "Directory Settings" msgstr "" -#: rc.c:720 -+#: rc.c:728 ++#: rc.c:746 msgid "External Program Settings" msgstr "" -#: rc.c:721 -+#: rc.c:729 ++#: rc.c:747 msgid "Network Settings" msgstr "" -#: rc.c:722 -+#: rc.c:730 ++#: rc.c:748 msgid "Proxy Settings" msgstr "" -#: rc.c:724 -+#: rc.c:732 ++#: rc.c:750 msgid "SSL Settings" msgstr "" -#: rc.c:727 -+#: rc.c:735 ++#: rc.c:753 msgid "Cookie Settings" msgstr "" -#: rc.c:730 -+#: rc.c:738 ++#: rc.c:756 msgid "Charset Settings" msgstr "" -@@ -874,6 +882,6 @@ msgstr "" +@@ -874,6 +906,6 @@ msgstr "" #. * header. For example, ja.po should translate it as #. * "ja;q=1.0, en;q=0.5" like that. #. -#: rc.c:1209 -+#: rc.c:1220 ++#: rc.c:1238 msgid "en;q=1.0" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100644 -index 0000000..a9215c0 +index 0000000..8cfa8fd --- /dev/null +++ b/po/zh_CN.po -@@ -0,0 +1,892 @@ +@@ -0,0 +1,916 @@ +# zh_CN translation for w3m +# Copyright (C) YEAR THE w3m'S COPYRIGHT HOLDER +# This file is distributed under the same license as the w3m package. @@ -13054,9 +18392,9 @@ index 0000000..a9215c0 +msgstr "" +"Project-Id-Version: w3m 0.5.3\n" +"Report-Msgid-Bugs-To: satodai@w3m.jp\n" -+"POT-Creation-Date: 2015-04-29 16:18+0900\n" -+"PO-Revision-Date: 2015-11-10 18:58-0500\n" -+"Last-Translator: Mingye Wang (Arthur2e5) \n" ++"POT-Creation-Date: 2016-03-14 19:47+0900\n" ++"PO-Revision-Date: 2016-03-14 19:51+0900\n" ++"Last-Translator: Tatsuya Kinoshita \n" +"Language-Team: AOSC zh_CN \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" @@ -13065,75 +18403,75 @@ index 0000000..a9215c0 +"X-Generator: Poedit 1.8.6\n" +"Plural-Forms: nplurals=1; plural=0;\n" + -+#: menu.c:267 ++#: menu.c:269 +msgid " Back (b) " +msgstr " (b) " + -+#: menu.c:268 ++#: menu.c:270 +msgid " Select Buffer(s) " +msgstr " 膽峨 " + -+#: menu.c:270 ++#: menu.c:272 +msgid " Select Tab (t) " +msgstr " 膈 (t) " + -+#: menu.c:272 ++#: menu.c:274 +msgid " View Source (v) " +msgstr " ョ羣 (v) " + -+#: menu.c:273 ++#: menu.c:275 +msgid " Edit Source (e) " +msgstr " 篆号 (e) " + -+#: menu.c:274 ++#: menu.c:276 +msgid " Save Source (S) " +msgstr " 篆絖羣 (S) " + -+#: menu.c:275 ++#: menu.c:277 +msgid " Reload (r) " +msgstr " 域十 (r) " + -+#: menu.c:276 menu.c:283 menu.c:287 ++#: menu.c:278 menu.c:285 menu.c:289 +msgid " ---------------- " +msgstr " ---------------- " + -+#: menu.c:277 ++#: menu.c:279 +msgid " Go Link (a) " +msgstr " 莉育丈・ (a) " + -+#: menu.c:278 ++#: menu.c:280 +msgid " on New Tab (n) " +msgstr " 井膈 (n) " + -+#: menu.c:279 ++#: menu.c:281 +msgid " Save Link (A) " +msgstr " 篆絖丈・ (A) " + -+#: menu.c:280 ++#: menu.c:282 +msgid " View Image (i) " +msgstr " ョ丞 (i) " + -+#: menu.c:281 ++#: menu.c:283 +msgid " Save Image (I) " +msgstr " 篆絖丞 (I) " + -+#: menu.c:282 ++#: menu.c:284 +msgid " View Frame (f) " +msgstr " ョ罅 (f) " + -+#: menu.c:284 ++#: menu.c:286 +msgid " Bookmark (B) " +msgstr " 箙膈 (B) " + -+#: menu.c:285 ++#: menu.c:287 +msgid " Help (h) " +msgstr " 絽 (h) " + -+#: menu.c:286 ++#: menu.c:288 +msgid " Option (o) " +msgstr " 蕁 (o) " + -+#: menu.c:288 ++#: menu.c:290 +msgid " Quit (q) " +msgstr " (q) " + @@ -13434,494 +18772,518 @@ index 0000000..a9215c0 +msgstr " mailto 医区球篁句綺劫" + +#: rc.c:146 -+msgid "External Browser" ++msgid "External browser" +msgstr "紊羌頵" + +#: rc.c:147 -+msgid "Second External Browser" -+msgstr "膃篋紊羌頵 " ++msgid "2nd external browser" ++msgstr "膃篋紊羌頵" + +#: rc.c:148 -+msgid "Third External Browser" ++msgid "3rd external browser" +msgstr "膃筝紊羌頵" + +#: rc.c:149 ++msgid "4th external browser" ++msgstr "膃紊羌頵" ++ ++#: rc.c:150 ++msgid "5th external browser" ++msgstr "膃篋紊羌頵" ++ ++#: rc.c:151 ++msgid "6th external browser" ++msgstr "膃紊羌頵" ++ ++#: rc.c:152 ++msgid "7th external browser" ++msgstr "膃筝紊羌頵" ++ ++#: rc.c:153 ++msgid "8th external browser" ++msgstr "膃紊羌頵" ++ ++#: rc.c:154 ++msgid "9th external browser" ++msgstr "膃箙紊羌頵" ++ ++#: rc.c:155 +msgid "Disable secret file security check" +msgstr "渇腱絲篁九罍" + -+#: rc.c:150 ++#: rc.c:156 +msgid "Password file" +msgstr "絲篁" + -+#: rc.c:151 ++#: rc.c:157 +msgid "File for setting form on loading" +msgstr "莅丞舟腦e莉醇句篁" + -+#: rc.c:152 ++#: rc.c:158 +msgid "File for preferences for each site" +msgstr "筝腴合薤蕁号篁" + -+#: rc.c:153 ++#: rc.c:159 +msgid "Password for anonymous FTP (your mail address)" +msgstr "水FTP絲鐚膊怨医鐚" + -+#: rc.c:154 ++#: rc.c:160 +msgid "Generate domain part of password for FTP" +msgstr "筝 FTP 絲" + -+#: rc.c:155 ++#: rc.c:161 +msgid "User-Agent identification string" +msgstr "User-Agent 筝" + -+#: rc.c:156 ++#: rc.c:162 +msgid "Accept-Encoding header" +msgstr "・膽 (Accept-Encoding) ュご" + -+#: rc.c:157 ++#: rc.c:163 +msgid "Accept header" +msgstr "・ (Accept) ュご" + -+#: rc.c:158 ++#: rc.c:164 +msgid "Accept-Language header" +msgstr "・莚荐 (Accept-Language) ュご" + -+#: rc.c:159 ++#: rc.c:165 +msgid "Treat URL-like strings as links in all pages" +msgstr "絨蕁級≫賢膠私室篋 URL 絖膃筝峨丈・" + -+#: rc.c:160 ++#: rc.c:166 +msgid "Wrap search" +msgstr "茖膣∝" + -+#: rc.c:161 ++#: rc.c:167 +msgid "Display unseen objects (e.g. bgimage tag)" +msgstr "丞ず筝亥絲壕院 鐚箴絋鐚bdimage膈常" + -+#: rc.c:162 ++#: rc.c:168 +msgid "Uncompress compressed data automatically when downloading" +msgstr "筝莉醇区茹e茴膽井" + -+#: rc.c:164 ++#: rc.c:170 +msgid "Run external viewer in a separate session" +msgstr "Ί筝篌莚筝菴茵紊ョ" + -+#: rc.c:166 ++#: rc.c:172 +msgid "Run external viewer in the background" +msgstr "佈茵紊ョ" + -+#: rc.c:168 ++#: rc.c:174 +msgid "Use external program for directory listing" +msgstr "篏睡紊腮綺榊綵" + -+#: rc.c:169 ++#: rc.c:175 +msgid "URL of directory listing command" +msgstr "綵茵巡擦臀" + -+#: rc.c:171 ++#: rc.c:177 +msgid "Enable dictionary lookup through CGI" +msgstr "坂 CGI 莚御ヨ" + -+#: rc.c:172 ++#: rc.c:178 +msgid "URL of dictionary lookup command" +msgstr "絖御ユ上巡擦臀" + -+#: rc.c:174 ++#: rc.c:180 +msgid "Display link name for images lacking ALT" +msgstr "絲合失絨 ALT 丞丞ず丈・腱" + -+#: rc.c:175 ++#: rc.c:181 +msgid "Index file for directories" +msgstr "綵膣√篁" + -+#: rc.c:176 ++#: rc.c:182 +msgid "Prepend http:// to URL automatically" +msgstr " URL http://" + -+#: rc.c:177 ++#: rc.c:183 +msgid "Default value for open-URL command" +msgstr "綣臀巡擦藥莅ゅ" + -+#: rc.c:178 ++#: rc.c:184 +msgid "Decode Content-Transfer-Encoding when saving" +msgstr "篆絖九劫絎剛莨膽篆≧ (Content-Transfer-Encoding) 菴茵茹g" + -+#: rc.c:179 ++#: rc.c:185 +msgid "Preserve timestamp when saving" +msgstr "篆絖銀狗贋" + -+#: rc.c:181 ++#: rc.c:187 +msgid "Enable mouse" +msgstr "藜" + -+#: rc.c:182 ++#: rc.c:188 +msgid "Scroll in reverse direction of mouse drag" +msgstr "藜劫羯" + -+#: rc.c:183 ++#: rc.c:189 +msgid "Behavior of wheel scroll speed" +msgstr "羯莉羯綺茵筝" + -+#: rc.c:184 ++#: rc.c:190 +msgid "(A only)Scroll by # (%) of screen" +msgstr "(篁 A) 罸閩≧ # (%) 絮鎶蕭綺" + -+#: rc.c:185 ++#: rc.c:191 +msgid "(B only)Scroll by # lines" +msgstr "(篁 B) 罸閩≧ # 茵" + -+#: rc.c:187 ++#: rc.c:193 +msgid "Free memory of undisplayed buffers" +msgstr "丈丞ず膽絖絖" + -+#: rc.c:188 ++#: rc.c:194 +msgid "Suppress `Referer:' header" +msgstr "胼罩 'Referer:' 篁九ご" + -+#: rc.c:189 ++#: rc.c:195 +msgid "Search case-insensitively" +msgstr "膣≫阪紊у" + -+#: rc.c:190 ++#: rc.c:196 +msgid "Use LESSOPEN" +msgstr "篏睡 LESSOPEN" + -+#: rc.c:193 ++#: rc.c:199 +msgid "Perform SSL server verification" +msgstr "菴茵 SSL ≦罍" + -+#: rc.c:194 ++#: rc.c:200 +msgid "PEM encoded certificate file of client" +msgstr "絎∽欠 PEM 膽莚箙篁" + -+#: rc.c:195 ++#: rc.c:201 +msgid "PEM encoded private key file of client" +msgstr "絎∽欠 PEM 膽腱ユ篁" + -+#: rc.c:196 ++#: rc.c:202 +msgid "Path to directory for PEM encoded certificates of CAs" +msgstr "PEM 膽 CA 莚箙綵莊緇" + -+#: rc.c:197 ++#: rc.c:203 +msgid "File consisting of PEM encoded certificates of CAs" +msgstr " PEM 膽 CA 莚箙篁" + -+#: rc.c:199 ++#: rc.c:205 +msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" +msgstr "茴胼罩∝ SSL 劫茵 (2: SSLv2, 3: SSLv3, t:TLSv1)" + -+#: rc.c:202 ++#: rc.c:208 +msgid "Enable cookie processing" +msgstr "綣 Cookie 紊" + -+#: rc.c:203 ++#: rc.c:209 +msgid "Print a message when receiving a cookie" +msgstr "・銀筝 Cookie 倶丞ず筝筝羔" + -+#: rc.c:204 ++#: rc.c:210 +msgid "Accept cookies" +msgstr "・ Cookies" + -+#: rc.c:205 ++#: rc.c:211 +msgid "Action to be taken on invalid cookie" +msgstr "絲号 Cookies 菴茵篏" + -+#: rc.c:206 ++#: rc.c:212 +msgid "Domains to reject cookies from" +msgstr "膸絋筝 Cookies" + -+#: rc.c:207 ++#: rc.c:213 +msgid "Domains to accept cookies from" +msgstr "・絋筝 Cookies" + -+#: rc.c:208 ++#: rc.c:214 +msgid "Domains to avoid [wrong number of dots]" +msgstr "水莅翠 [莚号]" + -+#: rc.c:210 ++#: rc.c:216 +msgid "Number of redirections to follow" +msgstr "莊絎育" + -+#: rc.c:211 ++#: rc.c:217 +msgid "Enable processing of meta-refresh tag" +msgstr "綣 meta-refresh 膈上" + -+#: rc.c:214 ++#: rc.c:220 +msgid "Enable Migemo (Roma-ji search)" +msgstr "綣 Migemo (臀薊絖膣)" + -+#: rc.c:215 ++#: rc.c:221 +msgid "Migemo command" +msgstr "Migemo 巡擦" + -+#: rc.c:219 ++#: rc.c:225 +msgid "Display charset" +msgstr "丞ず絖膃" + -+#: rc.c:220 ++#: rc.c:226 +msgid "Default document charset" +msgstr "藥莅ゆ罅e膃" + -+#: rc.c:221 ++#: rc.c:227 +msgid "Automatic charset detect when loading" +msgstr "莉遵ユ区茵絖膃「羌" + -+#: rc.c:222 ++#: rc.c:228 +msgid "System charset" +msgstr "膤紫絖膃" + -+#: rc.c:223 ++#: rc.c:229 +msgid "System charset follows locale(LC_CTYPE)" +msgstr "号膤紫莅丞舟 (LC_CTYPE) 絎膤紫絖膃" + -+#: rc.c:224 ++#: rc.c:230 +msgid "Output halfdump with display charset" +msgstr "篏睡丞ず絖膃莨 halfdump" + -+#: rc.c:225 ++#: rc.c:231 +msgid "Use multi column characters" +msgstr "篏睡紊絖膃" + -+#: rc.c:226 ++#: rc.c:232 +msgid "Use combining characters" +msgstr "篏睡綛九膃" + -+#: rc.c:227 ++#: rc.c:233 +msgid "Use double width for some Unicode characters" +msgstr "篏 Unicode 絖膃篏睡絎遵墾" + -+#: rc.c:228 ++#: rc.c:234 +msgid "Use Unicode language tags" +msgstr "篏睡 Unicode 莚荐膈" + -+#: rc.c:229 ++#: rc.c:235 +msgid "Charset conversion using Unicode map" +msgstr "篏睡 Unicode 絨菴茵絖膃莉" + -+#: rc.c:230 ++#: rc.c:236 +msgid "Charset conversion when loading" +msgstr "莉遵ユ区茵絖膃莉" + -+#: rc.c:231 ++#: rc.c:237 +msgid "Adjust search string for document charset" +msgstr "莪贋罅e膃膣√筝" + -+#: rc.c:232 ++#: rc.c:238 +msgid "Fix character width when conversion" +msgstr "莉∽九阪絖膃絎遵墾" + -+#: rc.c:233 ++#: rc.c:239 +msgid "Use GB 12345 Unicode map instead of GB 2312's" +msgstr "篏睡 GB 12345 Unicode 絨 GB 2312" + -+#: rc.c:234 ++#: rc.c:240 +msgid "Use JIS X 0201 Roman for ISO-2022-JP" +msgstr "篏睡 JIS X 0201 臀薊絖罸篋 ISO-2022-JP" + -+#: rc.c:235 ++#: rc.c:241 +msgid "Use JIS C 6226:1978 for ISO-2022-JP" +msgstr "篏睡 JIS C 6226:1978 篋 ISO-2022-JP" + -+#: rc.c:236 ++#: rc.c:242 +msgid "Use JIS X 0201 Katakana" +msgstr "篏睡 JIS X 0201 " + -+#: rc.c:237 ++#: rc.c:243 +msgid "Use JIS X 0212:1990 (Supplemental Kanji)" +msgstr "篏睡 JIS X 0212:1990 (茵ュ羆絖)" + -+#: rc.c:238 ++#: rc.c:244 +msgid "Use JIS X 0213:2000 (2000JIS)" +msgstr "篏睡 JIS X 0213:2000 (2000JIS)" + -+#: rc.c:239 ++#: rc.c:245 +msgid "Strict ISO-2022-JP/KR/CN" +msgstr "筝ユ ISO-2022-JP/KR/CN" + -+#: rc.c:240 ++#: rc.c:246 +msgid "Treat 4 bytes char. of GB18030 as Unicode" +msgstr "茹 GB18030 膽 4 絖絖膃筝 Unicode" + -+#: rc.c:241 ++#: rc.c:247 +msgid "Simple Preserve space" +msgstr "膊篆腥咲" + -+#: rc.c:244 ++#: rc.c:250 +msgid "keymap file" +msgstr "絨篁" + -+#: rc.c:261 ++#: rc.c:267 +msgid "black" +msgstr "藥" + -+#: rc.c:262 ++#: rc.c:268 +msgid "red" +msgstr "膾∵" + -+#: rc.c:263 ++#: rc.c:269 +msgid "green" +msgstr "膸粋" + -+#: rc.c:264 ++#: rc.c:270 +msgid "yellow" +msgstr "藥" + -+#: rc.c:265 ++#: rc.c:271 +msgid "blue" +msgstr "" + -+#: rc.c:266 ++#: rc.c:272 +msgid "magenta" +msgstr "膾" + -+#: rc.c:267 ++#: rc.c:273 +msgid "cyan" +msgstr "" + -+#: rc.c:268 ++#: rc.c:274 +msgid "white" +msgstr "処" + -+#: rc.c:269 ++#: rc.c:275 +msgid "terminal" +msgstr "膸腴" + -+#: rc.c:288 ++#: rc.c:294 +msgid "none" +msgstr "" + -+#: rc.c:289 ++#: rc.c:295 +msgid "current URL" +msgstr "綵 URL" + -+#: rc.c:290 ++#: rc.c:296 +msgid "link URL" +msgstr "丈・ URL" + -+#: rc.c:295 ++#: rc.c:301 +msgid "simple" +msgstr "膊" + -+#: rc.c:296 ++#: rc.c:302 +msgid "use tag" +msgstr "篏睡膈" + -+#: rc.c:297 ++#: rc.c:303 +msgid "fontify" +msgstr "" + -+#: rc.c:303 ++#: rc.c:309 +msgid "A:relative to screen height" +msgstr "A:後剛絮鎶蕭綺" + -+#: rc.c:304 ++#: rc.c:310 +msgid "B:fixed speed" +msgstr "B:阪綺" + -+#: rc.c:311 ++#: rc.c:317 +msgid "unspecified" +msgstr "絎" + -+#: rc.c:312 ++#: rc.c:318 +msgid "inet inet6" +msgstr "" + -+#: rc.c:313 ++#: rc.c:319 +msgid "inet6 inet" +msgstr "" + -+#: rc.c:314 ++#: rc.c:320 +msgid "inet only" +msgstr "篁 inet" + -+#: rc.c:315 ++#: rc.c:321 +msgid "inet6 only" +msgstr "篁 inet6" + -+#: rc.c:322 ++#: rc.c:328 +msgid "discard" +msgstr "筝√" + -+#: rc.c:324 ++#: rc.c:330 +msgid "accept" +msgstr "・" + -+#: rc.c:326 ++#: rc.c:332 +msgid "ask" +msgstr "莚∫" + -+#: rc.c:333 ++#: rc.c:339 +msgid "use internal mailer instead" +msgstr "篏睡綮咲篁九" + -+#: rc.c:335 ++#: rc.c:341 +msgid "ignore options and use only the address" +msgstr "綽順ラ蕁壕Ü戎医" + -+#: rc.c:336 ++#: rc.c:342 +msgid "use full mailto URL" +msgstr "篏睡岩肩 mailto URL" + -+#: rc.c:345 ++#: rc.c:351 +msgid "OFF" +msgstr "" + -+#: rc.c:346 ++#: rc.c:352 +msgid "Only ISO 2022" +msgstr "篁 ISO 2022" + -+#: rc.c:347 ++#: rc.c:353 +msgid "ON" +msgstr "綣" + -+#: rc.c:353 ++#: rc.c:359 +msgid "ASCII" +msgstr "ASCII" + -+#: rc.c:354 ++#: rc.c:360 +msgid "charset specific" +msgstr "絖膃劫" + -+#: rc.c:355 ++#: rc.c:361 +msgid "DEC special graphics" +msgstr "DEC 号上" + -+#: rc.c:722 ++#: rc.c:740 +msgid "Display Settings" +msgstr "丞ず莅丞舟" + -+#: rc.c:724 ++#: rc.c:742 +msgid "Color Settings" +msgstr "蘂画丞舟" + -+#: rc.c:726 ++#: rc.c:744 +msgid "Miscellaneous Settings" +msgstr "蕁壕丞舟" + -+#: rc.c:727 ++#: rc.c:745 +msgid "Directory Settings" +msgstr "綵莅丞舟" + -+#: rc.c:728 ++#: rc.c:746 +msgid "External Program Settings" +msgstr "紊腮綺顒丞舟" + -+#: rc.c:729 ++#: rc.c:747 +msgid "Network Settings" +msgstr "臀膸莅丞舟" + -+#: rc.c:730 ++#: rc.c:748 +msgid "Proxy Settings" +msgstr "篁g莅丞舟" + -+#: rc.c:732 ++#: rc.c:750 +msgid "SSL Settings" +msgstr "SSL 莅丞舟" + -+#: rc.c:735 ++#: rc.c:753 +msgid "Cookie Settings" +msgstr "Cookie 莅丞舟" + -+#: rc.c:738 ++#: rc.c:756 +msgid "Charset Settings" +msgstr "絖膃莅丞舟" + @@ -13930,15 +19292,15 @@ index 0000000..a9215c0 +#. * header. For example, ja.po should translate it as +#. * "ja;q=1.0, en;q=0.5" like that. +#. -+#: rc.c:1220 ++#: rc.c:1238 +msgid "en;q=1.0" +msgstr "zh-CN;q=1.0, zh-Hans;q=0.9, zh;q=0.8, en;q=0.6" diff --git a/po/zh_TW.po b/po/zh_TW.po new file mode 100644 -index 0000000..40cae87 +index 0000000..954a4d2 --- /dev/null +++ b/po/zh_TW.po -@@ -0,0 +1,892 @@ +@@ -0,0 +1,916 @@ +# zh_TW translation for w3m, machine converted +# Copyright (C) YEAR THE w3m'S COPYRIGHT HOLDER +# This file is distributed under the same license as the w3m package. @@ -13952,9 +19314,9 @@ index 0000000..40cae87 +msgstr "" +"Project-Id-Version: w3m 0.5.3\n" +"Report-Msgid-Bugs-To: satodai@w3m.jp\n" -+"POT-Creation-Date: 2015-04-29 16:18+0900\n" -+"PO-Revision-Date: 2015-11-10 18:58-0500\n" -+"Last-Translator: Mingye Wang (Arthur2e5) \n" ++"POT-Creation-Date: 2016-03-14 19:47+0900\n" ++"PO-Revision-Date: 2016-03-14 19:51+0900\n" ++"Last-Translator: Tatsuya Kinoshita \n" +"Language-Team: AOSC zh_TW fuzzy \n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" @@ -13963,75 +19325,75 @@ index 0000000..40cae87 +"X-Generator: Poedit 1.8.6\n" +"Plural-Forms: nplurals=1; plural=0;\n" + -+#: menu.c:267 ++#: menu.c:269 +msgid " Back (b) " +msgstr " 緇 (b) " + -+#: menu.c:268 ++#: menu.c:270 +msgid " Select Buffer(s) " +msgstr " 御膩茵 " + -+#: menu.c:270 ++#: menu.c:272 +msgid " Select Tab (t) " +msgstr " 御罔膠 (t) " + -+#: menu.c:272 ++#: menu.c:274 +msgid " View Source (v) " +msgstr " 罟∵羣腆 (v) " + -+#: menu.c:273 ++#: menu.c:275 +msgid " Edit Source (e) " +msgstr " 篆号腆 (e) " + -+#: menu.c:274 ++#: menu.c:276 +msgid " Save Source (S) " +msgstr " 峨羣腆 (S) " + -+#: menu.c:275 ++#: menu.c:277 +msgid " Reload (r) " +msgstr " 域 (r) " + -+#: menu.c:276 menu.c:283 menu.c:287 ++#: menu.c:278 menu.c:285 menu.c:289 +msgid " ---------------- " +msgstr " ---------------- " + -+#: menu.c:277 ++#: menu.c:279 +msgid " Go Link (a) " +msgstr " 莉育g (a) " + -+#: menu.c:278 ++#: menu.c:280 +msgid " on New Tab (n) " +msgstr " 井膠 (n) " + -+#: menu.c:279 ++#: menu.c:281 +msgid " Save Link (A) " +msgstr " 峨g (A) " + -+#: menu.c:280 ++#: menu.c:282 +msgid " View Image (i) " +msgstr " 罟∵ (i) " + -+#: menu.c:281 ++#: menu.c:283 +msgid " Save Image (I) " +msgstr " 峨 (I) " + -+#: menu.c:282 ++#: menu.c:284 +msgid " View Frame (f) " +msgstr " 罟∵罅 (f) " + -+#: menu.c:284 ++#: menu.c:286 +msgid " Bookmark (B) " +msgstr " 悟韻 (B) " + -+#: menu.c:285 ++#: menu.c:287 +msgid " Help (h) " +msgstr " 綛 (h) " + -+#: menu.c:286 ++#: menu.c:288 +msgid " Option (o) " +msgstr " 檎 (o) " + -+#: menu.c:288 ++#: menu.c:290 +msgid " Quit (q) " +msgstr " (q) " + @@ -14332,494 +19694,518 @@ index 0000000..40cae87 +msgstr " mailto 医弱ū糸灸散腮綣劫" + +#: rc.c:146 -+msgid "External Browser" ++msgid "External browser" +msgstr "紊頳遵" + +#: rc.c:147 -+msgid "Second External Browser" -+msgstr "膃篋紊頳遵 " ++msgid "2nd external browser" ++msgstr "膃篋紊頳遵" + +#: rc.c:148 -+msgid "Third External Browser" ++msgid "3rd external browser" +msgstr "膃筝紊頳遵" + +#: rc.c:149 ++msgid "4th external browser" ++msgstr "膃紊頳遵" ++ ++#: rc.c:150 ++msgid "5th external browser" ++msgstr "膃篋紊頳遵" ++ ++#: rc.c:151 ++msgid "6th external browser" ++msgstr "膃紊頳遵" ++ ++#: rc.c:152 ++msgid "7th external browser" ++msgstr "膃筝紊頳遵" ++ ++#: rc.c:153 ++msgid "8th external browser" ++msgstr "膃紊頳遵" ++ ++#: rc.c:154 ++msgid "9th external browser" ++msgstr "膃箙紊頳遵" ++ ++#: rc.c:155 +msgid "Disable secret file security check" +msgstr "腑絲罟罅絎罟∽" + -+#: rc.c:150 ++#: rc.c:156 +msgid "Password file" +msgstr "絲腆惹罅" + -+#: rc.c:151 ++#: rc.c:157 +msgid "File for setting form on loading" +msgstr "荐絎荀腦莠ユ罟罅" + -+#: rc.c:152 ++#: rc.c:158 +msgid "File for preferences for each site" +msgstr "腴藥薤檎罟罅" + -+#: rc.c:153 ++#: rc.c:159 +msgid "Password for anonymous FTP (your mail address)" +msgstr "水FTP絲腆種窮怨医鐚" + -+#: rc.c:154 ++#: rc.c:160 +msgid "Generate domain part of password for FTP" +msgstr " FTP 絲腆主" + -+#: rc.c:155 ++#: rc.c:161 +msgid "User-Agent identification string" +msgstr "User-Agent 筝" + -+#: rc.c:156 ++#: rc.c:162 +msgid "Accept-Encoding header" +msgstr "・膩腆 (Accept-Encoding) 演" + -+#: rc.c:157 ++#: rc.c:163 +msgid "Accept header" +msgstr "・ (Accept) 演" + -+#: rc.c:158 ++#: rc.c:164 +msgid "Accept-Language header" +msgstr "・茯荐 (Accept-Language) 演" + -+#: rc.c:159 ++#: rc.c:165 +msgid "Treat URL-like strings as links in all pages" +msgstr "絨≫賢蕁篌惹 URL 絖筝牙九g" + -+#: rc.c:160 ++#: rc.c:166 +msgid "Wrap search" +msgstr "茖絨腟" + -+#: rc.c:161 ++#: rc.c:167 +msgid "Display unseen objects (e.g. bgimage tag)" +msgstr "蕁腓榊筝亥篁 鐚箴絋鐚bdimage罔膠わ" + -+#: rc.c:162 ++#: rc.c:168 +msgid "Uncompress compressed data automatically when downloading" +msgstr "筝莠茹e茴紕膰莖" + -+#: rc.c:164 ++#: rc.c:170 +msgid "Run external viewer in a separate session" +msgstr "Ί荅延賢決紊罟∵" + -+#: rc.c:166 ++#: rc.c:172 +msgid "Run external viewer in the background" +msgstr "緇阪決紊罟∵" + -+#: rc.c:168 ++#: rc.c:174 +msgid "Use external program for directory listing" +msgstr "篏睡紊腮綣榊" + -+#: rc.c:169 ++#: rc.c:175 +msgid "URL of directory listing command" +msgstr "茵巡擦膓峨" + -+#: rc.c:171 ++#: rc.c:177 +msgid "Enable dictionary lookup through CGI" +msgstr "堺 CGI 荅御ヨ" + -+#: rc.c:172 ++#: rc.c:178 +msgid "URL of dictionary lookup command" +msgstr "絖御ヨ√巡擦膓峨" + -+#: rc.c:174 ++#: rc.c:180 +msgid "Display link name for images lacking ALT" +msgstr "絨膽阪 ALT 蕁腓咲g腮" + -+#: rc.c:175 ++#: rc.c:181 +msgid "Index file for directories" +msgstr "膣√罟罅" + -+#: rc.c:176 ++#: rc.c:182 +msgid "Prepend http:// to URL automatically" +msgstr " URL http://" + -+#: rc.c:177 ++#: rc.c:183 +msgid "Default value for open-URL command" +msgstr "膓峨巡擦荐" + -+#: rc.c:178 ++#: rc.c:184 +msgid "Decode Content-Transfer-Encoding when saving" +msgstr "峨絨у劫活叱膩腆取荐 (Content-Transfer-Encoding) 画茹g⊆" + -+#: rc.c:179 ++#: rc.c:185 +msgid "Preserve timestamp when saving" +msgstr "峨篆" + -+#: rc.c:181 ++#: rc.c:187 +msgid "Enable mouse" +msgstr "羯藜" + -+#: rc.c:182 ++#: rc.c:188 +msgid "Scroll in reverse direction of mouse drag" +msgstr "羯藜劫羯上" + -+#: rc.c:183 ++#: rc.c:189 +msgid "Behavior of wheel scroll speed" +msgstr "羯乗耳羯上綺茵" + -+#: rc.c:184 ++#: rc.c:190 +msgid "(A only)Scroll by # (%) of screen" +msgstr "( A) 罸閩≧讃 # (%) √蕭綺" + -+#: rc.c:185 ++#: rc.c:191 +msgid "(B only)Scroll by # lines" +msgstr "( B) 罸閩≧讃 # 茵" + -+#: rc.c:187 ++#: rc.c:193 +msgid "Free memory of undisplayed buffers" +msgstr "丈蕁腓阪辱峨" + -+#: rc.c:188 ++#: rc.c:194 +msgid "Suppress `Referer:' header" +msgstr "胼罩 'Referer:' 罟罅" + -+#: rc.c:189 ++#: rc.c:195 +msgid "Search case-insensitively" +msgstr "絨筝紊у鎛" + -+#: rc.c:190 ++#: rc.c:196 +msgid "Use LESSOPEN" +msgstr "篏睡 LESSOPEN" + -+#: rc.c:193 ++#: rc.c:199 +msgid "Perform SSL server verification" +msgstr "画 SSL 篌堺罟∽" + -+#: rc.c:194 ++#: rc.c:200 +msgid "PEM encoded certificate file of client" +msgstr "絎∽句 PEM 膩腆取御罅" + -+#: rc.c:195 ++#: rc.c:201 +msgid "PEM encoded private key file of client" +msgstr "絎∽句 PEM 膩腆主井罅" + -+#: rc.c:196 ++#: rc.c:202 +msgid "Path to directory for PEM encoded certificates of CAs" +msgstr "PEM 膩腆 CA 茘悟莊緇" + -+#: rc.c:197 ++#: rc.c:203 +msgid "File consisting of PEM encoded certificates of CAs" +msgstr " PEM 膩腆 CA 茘悟罟罅" + -+#: rc.c:199 ++#: rc.c:205 +msgid "List of forbidden SSL methods (2: SSLv2, 3: SSLv3, t:TLSv1)" +msgstr "茴胼罩∝ SSL 劫茵 (2: SSLv2, 3: SSLv3, t:TLSv1)" + -+#: rc.c:202 ++#: rc.c:208 +msgid "Enable cookie processing" +msgstr " Cookie " + -+#: rc.c:203 ++#: rc.c:209 +msgid "Print a message when receiving a cookie" +msgstr "・銀 Cookie 蕁腓坂荐" + -+#: rc.c:204 ++#: rc.c:210 +msgid "Accept cookies" +msgstr "・ Cookies" + -+#: rc.c:205 ++#: rc.c:211 +msgid "Action to be taken on invalid cookie" +msgstr "絨≧ Cookies 画篏" + -+#: rc.c:206 ++#: rc.c:212 +msgid "Domains to reject cookies from" +msgstr "腟絋筝 Cookies" + -+#: rc.c:207 ++#: rc.c:213 +msgid "Domains to accept cookies from" +msgstr "・絋筝 Cookies" + -+#: rc.c:208 ++#: rc.c:214 +msgid "Domains to avoid [wrong number of dots]" +msgstr "水荐 [茯ょ藥]" + -+#: rc.c:210 ++#: rc.c:216 +msgid "Number of redirections to follow" +msgstr "莊絎檎" + -+#: rc.c:211 ++#: rc.c:217 +msgid "Enable processing of meta-refresh tag" +msgstr " meta-refresh 罔膠よ" + -+#: rc.c:214 ++#: rc.c:220 +msgid "Enable Migemo (Roma-ji search)" +msgstr " Migemo (臂薤絖絨)" + -+#: rc.c:215 ++#: rc.c:221 +msgid "Migemo command" +msgstr "Migemo 巡擦" + -+#: rc.c:219 ++#: rc.c:225 +msgid "Display charset" +msgstr "蕁腓阪膃" + -+#: rc.c:220 ++#: rc.c:226 +msgid "Default document charset" +msgstr "荐篁九膃" + -+#: rc.c:221 ++#: rc.c:227 +msgid "Automatic charset detect when loading" +msgstr "莠ユ画絖膃「羝" + -+#: rc.c:222 ++#: rc.c:228 +msgid "System charset" +msgstr "膤紫輝絖膃" + -+#: rc.c:223 ++#: rc.c:229 +msgid "System charset follows locale(LC_CTYPE)" +msgstr "号膤紫輝荐絎 (LC_CTYPE) 後膤紫輝絖膃" + -+#: rc.c:224 ++#: rc.c:230 +msgid "Output halfdump with display charset" +msgstr "篏睡蕁腓阪膃莠後 halfdump" + -+#: rc.c:225 ++#: rc.c:231 +msgid "Use multi column characters" +msgstr "篏睡紊絖" + -+#: rc.c:226 ++#: rc.c:232 +msgid "Use combining characters" +msgstr "篏睡篏球" + -+#: rc.c:227 ++#: rc.c:233 +msgid "Use double width for some Unicode characters" +msgstr "篏 Unicode 絖篏睡絲綺" + -+#: rc.c:228 ++#: rc.c:234 +msgid "Use Unicode language tags" +msgstr "篏睡 Unicode 茯荐罔膠" + -+#: rc.c:229 ++#: rc.c:235 +msgid "Charset conversion using Unicode map" +msgstr "篏睡 Unicode 絨画絖膃莉" + -+#: rc.c:230 ++#: rc.c:236 +msgid "Charset conversion when loading" +msgstr "莠ユ画絖膃莉" + -+#: rc.c:231 ++#: rc.c:237 +msgid "Adjust search string for document charset" +msgstr "茯炊贋篁九膃絨絖筝" + -+#: rc.c:232 ++#: rc.c:238 +msgid "Fix character width when conversion" +msgstr "莉阪絖絲綺" + -+#: rc.c:233 ++#: rc.c:239 +msgid "Use GB 12345 Unicode map instead of GB 2312's" +msgstr "篏睡 GB 12345 Unicode 絨 GB 2312" + -+#: rc.c:234 ++#: rc.c:240 +msgid "Use JIS X 0201 Roman for ISO-2022-JP" +msgstr "篏睡 JIS X 0201 臂薤絖罸 ISO-2022-JP" + -+#: rc.c:235 ++#: rc.c:241 +msgid "Use JIS C 6226:1978 for ISO-2022-JP" +msgstr "篏睡 JIS C 6226:1978 ISO-2022-JP" + -+#: rc.c:236 ++#: rc.c:242 +msgid "Use JIS X 0201 Katakana" +msgstr "篏睡 JIS X 0201 " + -+#: rc.c:237 ++#: rc.c:243 +msgid "Use JIS X 0212:1990 (Supplemental Kanji)" +msgstr "篏睡 JIS X 0212:1990 (茖羲√)" + -+#: rc.c:238 ++#: rc.c:244 +msgid "Use JIS X 0213:2000 (2000JIS)" +msgstr "篏睡 JIS X 0213:2000 (2000JIS)" + -+#: rc.c:239 ++#: rc.c:245 +msgid "Strict ISO-2022-JP/KR/CN" +msgstr "贋 ISO-2022-JP/KR/CN" + -+#: rc.c:240 ++#: rc.c:246 +msgid "Treat 4 bytes char. of GB18030 as Unicode" +msgstr "荀 GB18030 膩腆主 4 篏腟絖 Unicode" + -+#: rc.c:241 ++#: rc.c:247 +msgid "Simple Preserve space" +msgstr "膂≦篆腥咲" + -+#: rc.c:244 ++#: rc.c:250 +msgid "keymap file" +msgstr "窮ゅ罟罅" + -+#: rc.c:261 ++#: rc.c:267 +msgid "black" +msgstr "藥" + -+#: rc.c:262 ++#: rc.c:268 +msgid "red" +msgstr "膣" + -+#: rc.c:263 ++#: rc.c:269 +msgid "green" +msgstr "膓" + -+#: rc.c:264 ++#: rc.c:270 +msgid "yellow" +msgstr "藥" + -+#: rc.c:265 ++#: rc.c:271 +msgid "blue" +msgstr "" + -+#: rc.c:266 ++#: rc.c:272 +msgid "magenta" +msgstr "膣" + -+#: rc.c:267 ++#: rc.c:273 +msgid "cyan" +msgstr "" + -+#: rc.c:268 ++#: rc.c:274 +msgid "white" +msgstr "処" + -+#: rc.c:269 ++#: rc.c:275 +msgid "terminal" +msgstr "腟腴" + -+#: rc.c:288 ++#: rc.c:294 +msgid "none" +msgstr "" + -+#: rc.c:289 ++#: rc.c:295 +msgid "current URL" +msgstr "九 URL" + -+#: rc.c:290 ++#: rc.c:296 +msgid "link URL" +msgstr "g URL" + -+#: rc.c:295 ++#: rc.c:301 +msgid "simple" +msgstr "膂≦" + -+#: rc.c:296 ++#: rc.c:302 +msgid "use tag" +msgstr "篏睡罔膠" + -+#: rc.c:297 ++#: rc.c:303 +msgid "fontify" +msgstr "" + -+#: rc.c:303 ++#: rc.c:309 +msgid "A:relative to screen height" +msgstr "A:後取√蕭綺" + -+#: rc.c:304 ++#: rc.c:310 +msgid "B:fixed speed" +msgstr "B:阪綺" + -+#: rc.c:311 ++#: rc.c:317 +msgid "unspecified" +msgstr "絎" + -+#: rc.c:312 ++#: rc.c:318 +msgid "inet inet6" +msgstr "" + -+#: rc.c:313 ++#: rc.c:319 +msgid "inet6 inet" +msgstr "" + -+#: rc.c:314 ++#: rc.c:320 +msgid "inet only" +msgstr " inet" + -+#: rc.c:315 ++#: rc.c:321 +msgid "inet6 only" +msgstr " inet6" + -+#: rc.c:322 ++#: rc.c:328 +msgid "discard" +msgstr "筝罍" + -+#: rc.c:324 ++#: rc.c:330 +msgid "accept" +msgstr "・" + -+#: rc.c:326 ++#: rc.c:332 +msgid "ask" +msgstr "荅√" + -+#: rc.c:333 ++#: rc.c:339 +msgid "use internal mailer instead" +msgstr "篏睡у産灸散渇" + -+#: rc.c:335 ++#: rc.c:341 +msgid "ignore options and use only the address" +msgstr "綽順ラ檎Ü戎医" + -+#: rc.c:336 ++#: rc.c:342 +msgid "use full mailto URL" +msgstr "篏睡翫 mailto URL" + -+#: rc.c:345 ++#: rc.c:351 +msgid "OFF" +msgstr "" + -+#: rc.c:346 ++#: rc.c:352 +msgid "Only ISO 2022" +msgstr " ISO 2022" + -+#: rc.c:347 ++#: rc.c:353 +msgid "ON" +msgstr "" + -+#: rc.c:353 ++#: rc.c:359 +msgid "ASCII" +msgstr "ASCII" + -+#: rc.c:354 ++#: rc.c:360 +msgid "charset specific" +msgstr "絖膃劫" + -+#: rc.c:355 ++#: rc.c:361 +msgid "DEC special graphics" +msgstr "DEC 号綵沿院" + -+#: rc.c:722 ++#: rc.c:740 +msgid "Display Settings" +msgstr "蕁腓肴┃絎" + -+#: rc.c:724 ++#: rc.c:742 +msgid "Color Settings" +msgstr "蕁画┃絎" + -+#: rc.c:726 ++#: rc.c:744 +msgid "Miscellaneous Settings" +msgstr "荐絎" + -+#: rc.c:727 ++#: rc.c:745 +msgid "Directory Settings" +msgstr "荐絎" + -+#: rc.c:728 ++#: rc.c:746 +msgid "External Program Settings" +msgstr "紊腮綣頥絎" + -+#: rc.c:729 ++#: rc.c:747 +msgid "Network Settings" +msgstr "膓画君荐絎" + -+#: rc.c:730 ++#: rc.c:748 +msgid "Proxy Settings" +msgstr "篁g荐絎" + -+#: rc.c:732 ++#: rc.c:750 +msgid "SSL Settings" +msgstr "SSL 荐絎" + -+#: rc.c:735 ++#: rc.c:753 +msgid "Cookie Settings" +msgstr "Cookie 荐絎" + -+#: rc.c:738 ++#: rc.c:756 +msgid "Charset Settings" +msgstr "絖膃荐絎" + @@ -14828,11 +20214,11 @@ index 0000000..40cae87 +#. * header. For example, ja.po should translate it as +#. * "ja;q=1.0, en;q=0.5" like that. +#. -+#: rc.c:1220 ++#: rc.c:1238 +msgid "en;q=1.0" +msgstr "zh-TW;q=1.0, zh-Hants;q=0.9, zh;q=0.8, en;q=0.6" diff --git a/proto.h b/proto.h -index f8a7345..0d8beb5 100644 +index f8a7345..d744e14 100644 --- a/proto.h +++ b/proto.h @@ -11,6 +11,8 @@ extern void pushEvent(int cmd, void *data); @@ -14942,7 +20328,15 @@ index f8a7345..0d8beb5 100644 extern void mouse_init(void); extern void mouse_end(void); extern void mouse_active(void); -@@ -723,6 +749,8 @@ extern int getKey(char *s); +@@ -698,6 +724,7 @@ extern void tabMs(void); + extern void closeTMs(void); + #else /* not USE_MOUSE */ + #define mouse nulcmd ++#define sgrmouse nulcmd + #define msToggle nulcmd + #define movMs nulcmd + #define menuMs nulcmd +@@ -723,6 +750,8 @@ extern int getKey(char *s); extern char *getKeyData(int key); extern char *getWord(char **str); extern char *getQWord(char **str); @@ -14951,14 +20345,14 @@ index f8a7345..0d8beb5 100644 #ifdef USE_MOUSE extern void initMouseAction(void); #endif -@@ -786,5 +814,3 @@ extern void dispVer(void); +@@ -786,5 +815,3 @@ extern void dispVer(void); void srand48(long); long lrand48(void); #endif - -#include "indep.h" diff --git a/rc.c b/rc.c -index 8441a39..0cd7634 100644 +index 8441a39..7de87b8 100644 --- a/rc.c +++ b/rc.c @@ -9,7 +9,9 @@ @@ -14979,7 +20373,22 @@ index 8441a39..0cd7634 100644 #define CMT_FOLD_TEXTAREA N_("Fold lines in TEXTAREA") #define CMT_DISP_INS_DEL N_("Display INS, DEL, S and STRIKE element") #define CMT_COLOR N_("Display with color") -@@ -146,6 +149,7 @@ static int OptionEncode = FALSE; +@@ -140,12 +143,19 @@ static int OptionEncode = FALSE; + #define CMT_EDITOR N_("Editor") + #define CMT_MAILER N_("Mailer") + #define CMT_MAILTO_OPTIONS N_("How to call Mailer for mailto URLs with options") +-#define CMT_EXTBRZ N_("External Browser") +-#define CMT_EXTBRZ2 N_("Second External Browser") +-#define CMT_EXTBRZ3 N_("Third External Browser") ++#define CMT_EXTBRZ N_("External browser") ++#define CMT_EXTBRZ2 N_("2nd external browser") ++#define CMT_EXTBRZ3 N_("3rd external browser") ++#define CMT_EXTBRZ4 N_("4th external browser") ++#define CMT_EXTBRZ5 N_("5th external browser") ++#define CMT_EXTBRZ6 N_("6th external browser") ++#define CMT_EXTBRZ7 N_("7th external browser") ++#define CMT_EXTBRZ8 N_("8th external browser") ++#define CMT_EXTBRZ9 N_("9th external browser") #define CMT_DISABLE_SECRET_SECURITY_CHECK N_("Disable secret file security check") #define CMT_PASSWDFILE N_("Password file") #define CMT_PRE_FORM_FILE N_("File for setting form on loading") @@ -14987,7 +20396,7 @@ index 8441a39..0cd7634 100644 #define CMT_FTPPASS N_("Password for anonymous FTP (your mail address)") #define CMT_FTPPASS_HOSTNAMEGEN N_("Generate domain part of password for FTP") #define CMT_USERAGENT N_("User-Agent identification string") -@@ -390,6 +394,8 @@ struct param_ptr params1[] = { +@@ -390,6 +400,8 @@ struct param_ptr params1[] = { NULL}, {"graphic_char", P_CHARINT, PI_SEL_C, (void *)&UseGraphicChar, CMT_GRAPHIC_CHAR, (void *)graphic_char_str}, @@ -14996,7 +20405,26 @@ index 8441a39..0cd7634 100644 {"fold_textarea", P_CHARINT, PI_ONOFF, (void *)&FoldTextarea, CMT_FOLD_TEXTAREA, NULL}, {"display_ins_del", P_INT, PI_SEL_C, (void *)&displayInsDel, -@@ -619,6 +625,8 @@ struct param_ptr params9[] = { +@@ -561,6 +573,18 @@ struct param_ptr params6[] = { + NULL}, + {"extbrowser3", P_STRING, PI_TEXT, (void *)&ExtBrowser3, CMT_EXTBRZ3, + NULL}, ++ {"extbrowser4", P_STRING, PI_TEXT, (void *)&ExtBrowser4, CMT_EXTBRZ4, ++ NULL}, ++ {"extbrowser5", P_STRING, PI_TEXT, (void *)&ExtBrowser5, CMT_EXTBRZ5, ++ NULL}, ++ {"extbrowser6", P_STRING, PI_TEXT, (void *)&ExtBrowser6, CMT_EXTBRZ6, ++ NULL}, ++ {"extbrowser7", P_STRING, PI_TEXT, (void *)&ExtBrowser7, CMT_EXTBRZ7, ++ NULL}, ++ {"extbrowser8", P_STRING, PI_TEXT, (void *)&ExtBrowser8, CMT_EXTBRZ8, ++ NULL}, ++ {"extbrowser9", P_STRING, PI_TEXT, (void *)&ExtBrowser9, CMT_EXTBRZ9, ++ NULL}, + {"bgextviewer", P_INT, PI_ONOFF, (void *)&BackgroundExtViewer, + CMT_BGEXTVIEW, NULL}, + {"use_lessopen", P_INT, PI_ONOFF, (void *)&use_lessopen, CMT_USE_LESSOPEN, +@@ -619,6 +643,8 @@ struct param_ptr params9[] = { CMT_FTPPASS_HOSTNAMEGEN, NULL}, {"pre_form_file", P_STRING, PI_TEXT, (void *)&pre_form_file, CMT_PRE_FORM_FILE, NULL}, @@ -15005,7 +20433,7 @@ index 8441a39..0cd7634 100644 {"user_agent", P_STRING, PI_TEXT, (void *)&UserAgent, CMT_USERAGENT, NULL}, {"no_referer", P_INT, PI_ONOFF, (void *)&NoSendReferer, CMT_NOSENDREFERER, NULL}, -@@ -771,7 +779,7 @@ create_option_search_table() +@@ -771,7 +797,7 @@ create_option_search_table() qsort(RC_search_table, RC_table_size, sizeof(struct rc_search_table), (int (*)(const void *, const void *))compare_table); @@ -15014,7 +20442,7 @@ index 8441a39..0cd7634 100644 for (i = 0; i < RC_table_size - 1; i++) { p = RC_search_table[i].param->name; q = RC_search_table[i + 1].param->name; -@@ -829,7 +837,7 @@ void +@@ -829,7 +855,7 @@ void show_params(FILE * fp) { int i, j, l; @@ -15023,7 +20451,7 @@ index 8441a39..0cd7634 100644 char *cmt; #ifdef USE_M17N -@@ -1173,6 +1181,8 @@ do_mkdir(const char *dir, long mode) +@@ -1173,6 +1199,8 @@ do_mkdir(const char *dir, long mode) #endif /* not __MINW32_VERSION */ #endif /* not __EMX__ */ @@ -15032,7 +20460,7 @@ index 8441a39..0cd7634 100644 void sync_with_option(void) { -@@ -1199,6 +1209,7 @@ sync_with_option(void) +@@ -1199,6 +1227,7 @@ sync_with_option(void) #endif loadPasswd(); loadPreForm(); @@ -15040,7 +20468,36 @@ index 8441a39..0cd7634 100644 if (AcceptLang == NULL || *AcceptLang == '\0') { /* TRANSLATORS: -@@ -1556,3 +1567,217 @@ helpFile(char *base) +@@ -1483,6 +1512,7 @@ panel_set_option(struct parsed_tagarg *arg) + { + FILE *f = NULL; + char *p; ++ Str s = Strnew(), tmp; + + if (config_file == NULL) { + disp_message("There's no config file... config not saved", FALSE); +@@ -1498,14 +1528,17 @@ panel_set_option(struct parsed_tagarg *arg) + if (arg->value) { + p = conv_to_system(arg->value); + if (set_param(arg->arg, p)) { +- if (f) +- fprintf(f, "%s %s\n", arg->arg, p); ++ tmp = Sprintf("%s %s\n", arg->arg, p); ++ Strcat(tmp, s); ++ s = tmp; + } + } + arg = arg->next; + } +- if (f) ++ if (f) { ++ fputs(s->ptr, f); + fclose(f); ++ } + sync_with_option(); + backBf(); + } +@@ -1556,3 +1589,217 @@ helpFile(char *base) return expandPath(Strnew_m_charp(w3m_help_dir(), "/", base, NULL)->ptr); } #endif @@ -15259,7 +20716,7 @@ index 8441a39..0cd7634 100644 + return NULL; +} diff --git a/regex.c b/regex.c -index 5bee4b2..5675d09 100644 +index 5bee4b2..93406e8 100644 --- a/regex.c +++ b/regex.c @@ -77,7 +77,7 @@ static longchar @@ -15271,8 +20728,117 @@ index 5bee4b2..5675d09 100644 #ifdef USE_M17N if (*p & 0x80) { +@@ -580,7 +580,7 @@ regmatch_iter(struct MatchingContext1 *c, + c->lastpos = c->str; + #ifdef REGEX_DEBUG + if (verbose) +- printf("Succeed: %s %d\n", c->str, c->lastpos - c->str); ++ printf("Succeed: %s %ld\n", c->str, (long)(c->lastpos - c->str)); + #endif + YIELD(1, c, 7); + return 0; +diff --git a/scripts/Makefile.in b/scripts/Makefile.in +index 4da9ce5..a37d792 100644 +--- a/scripts/Makefile.in ++++ b/scripts/Makefile.in +@@ -60,7 +60,7 @@ w3mhelp-funcname.pl: w3mhelp-funcname.pl.in ../funcname.tab $(top_srcdir)/doc/ke + @cat $(srcdir)/w3mhelp-funcname.pl.in >> w3mhelp-funcname.pl + @echo "done" + +-w3mhelp-funcdesc-stamp: $(top_srcdir)/doc/README.func $(top_srcdir)/doc-jp/README.func w3mhelp-funcdesc.en.pl.in w3mhelp-funcdesc.ja.pl.in ++w3mhelp-funcdesc-stamp: $(top_srcdir)/doc/README.func $(top_srcdir)/doc-jp/README.func $(top_srcdir)/doc-de/README.func w3mhelp-funcdesc.en.pl.in w3mhelp-funcdesc.ja.pl.in w3mhelp-funcdesc.de.pl.in + @echo "generating w3mhelp-funcdesc*.pl..." + @for dirlang in $(DOCDIRS); do \ + dir=`expr "$$dirlang" : "\(.*\):.*"`; \ +diff --git a/scripts/w3mhelp-funcdesc.de.pl.in b/scripts/w3mhelp-funcdesc.de.pl.in +new file mode 100644 +index 0000000..1fe37b4 +--- /dev/null ++++ b/scripts/w3mhelp-funcdesc.de.pl.in +@@ -0,0 +1,66 @@ ++# charset ++$charset = 'UTF-8'; ++ ++# Buffer selection mode ++ ++%buf_funcdesc = ( ++ 'BUF:PREV', 'Select previous buffer', ++ 'BUF:NEXT', 'Select next buffer', ++ 'BUF:DELETE', 'Delete current buffer', ++ 'BUF:GO', 'Go to the selected buffer', ++); ++ ++%lineedit_funcdesc = ( ++ 'LINEEDIT:FORWARD', 'Move cursor forward', ++ 'LINEEDIT:BACK', 'Move cursor backward', ++ 'LINEEDIT:BS', 'Delete previous character', ++ 'LINEEDIT:DEL', 'Delete current character', ++ 'LINEEDIT:KILL_AFTER', 'Kill everything after cursor', ++ 'LINEEDIT:KILL_BEFORE', 'Kill everything before cursor', ++ 'LINEEDIT:TOP', 'Move to the top of line', ++ 'LINEEDIT:BOTTOM', 'Move to the bottom of line', ++ 'LINEEDIT:PREV', 'Fetch the previous string from the history list', ++ 'LINEEDIT:NEXT', 'Fetch the next string from the history list', ++ 'LINEEDIT:EDITOR', 'Edit with external editor', ++ 'LINEEDIT:COMPLETE', 'Complete filename', ++ 'LINEEDIT:ACCEPT', 'Accept', ++); ++ ++%menu_funcdesc = ( ++ 'MENU:SELECT', 'Select item', ++ 'MENU:CLOSE', 'Close menu', ++ 'MENU:CANCEL', 'Back', ++ 'MENU:DOWN', 'Move to next item', ++ 'MENU:UP', 'Move to previous item', ++ 'MENU:LINE_UP', 'Scroll up one item', ++ 'MENU:LINE_DOWN', 'Scroll down one item', ++ 'MENU:TOP', 'Go to top item', ++ 'MENU:LAST', 'Go to last item', ++ 'MENU:NEXT', 'Go to next page', ++ 'MENU:PREV', 'Go to previous page', ++ 'MENU:SEARCH_FORE', 'Search foreward', ++ 'MENU:SEARCH_BACK', 'Search backward', ++ 'MENU:SEARCH_NEXT', 'Search next regexp', ++ 'MENU:SEARCH_PREV', 'Search previous regexp', ++ 'MENU:SUSPEND', 'Suspend', ++); ++ ++%title = ( ++ "Show keymap file", 'Show keymap file', ++ "Page/Cursor motion", 'Page/Cursor motion', ++ "Hyperlink operation", 'Hyperlink operation', ++ "File/Stream operation", 'File/Stream operation', ++ "Buffer operation", 'Buffer operation', ++ "Tab operation", 'Tab operation', ++ "Buffer selection mode", 'Buffer selection mode', ++ "Bookmark operation", 'Bookmark operation', ++ "Search", 'Search', ++ "Dictionary look-up", 'Dictionary look-up', ++ "Mark operation", 'Mark operation', ++ "Miscellany", 'Miscellany', ++ "User defined keymaps", 'User defined keymaps', ++ "Line-editing mode", 'Line-editing mode', ++ "Pop up menu", 'Pop up menu', ++); ++ ++1; +diff --git a/scripts/w3mhelp-funcdesc.ja.pl.in b/scripts/w3mhelp-funcdesc.ja.pl.in +index 051c888..b0f529e 100644 +--- a/scripts/w3mhelp-funcdesc.ja.pl.in ++++ b/scripts/w3mhelp-funcdesc.ja.pl.in +@@ -59,8 +59,8 @@ $charset = 'EUC-JP'; + "Mark operation", 'マーク操作', + "Miscellany", 'その他', + "User defined keymaps", 'ユーザ定義', +- "Line-edit mode", '行編集モード', +- "Popup menu", 'メニュー', ++ "Line-editing mode", '行編集モード', ++ "Pop up menu", 'メニュー', + ); + + 1; diff --git a/scripts/w3mhelp.cgi.in b/scripts/w3mhelp.cgi.in -index b2fca8f..31c0049 100644 +index b2fca8f..2c3f4d5 100644 --- a/scripts/w3mhelp.cgi.in +++ b/scripts/w3mhelp.cgi.in @@ -48,7 +48,7 @@ if (defined($ENV{'QUERY_STRING'})) { @@ -15284,6 +20850,50 @@ index b2fca8f..31c0049 100644 $lang = $tlang; } } +@@ -102,8 +102,7 @@ Content-Type: text/html; charset=$charset + ******* + w3m + (WWW-wo-Miru) Version $version by +-A.ITO ********
    +- ***** Key assign table ***** ++A.ITO ******** + + + HEADING +@@ -112,13 +111,13 @@ $q_version = $version; + $q_version =~ s/[^A-Za-z0-9_\$\.\-]/sprintf('%%%02X', ord($&))/ge; + $script = "$d[2] version\n"; ++ print $script, $d[1], "\">[$d[2]]\n"; + } + } + +@@ -182,7 +181,7 @@ print "
    \n
    \n"; + + print "
    \n
    \n"; + +-&show_keymap("Line-edit mode", ++&show_keymap("Line-editing mode", + split(" ", "lineedit_forward lineedit_back lineedit_backspace + lineedit_delete lineedit_kill_after lineedit_kill_before + lineedit_top lineedit_bottom lineedit_prev lineedit_next +@@ -190,7 +189,7 @@ print "
    \n
    \n"; + + print "
    \n
    \n"; + +-&show_keymap("Popup menu", ++&show_keymap("Pop up menu", + split(" ", "menu_select menu_close menu_cancel menu_down menu_up + menu_line_up menu_line_down menu_top menu_last menu_next + menu_prev menu_search_fore menu_search_back menu_search_next diff --git a/scripts/w3mman/w3mman.1.in b/scripts/w3mman/w3mman.1.in index 1c0361d..1b1d990 100644 --- a/scripts/w3mman/w3mman.1.in @@ -15814,7 +21424,7 @@ index 7a3c987..3d2ffd7 100644 #define CYGWIN_OFF {fputs("\033[?1000l",ttyf); flush_tty();} diff --git a/url.c b/url.c -index ed6062e..d346312 100644 +index ed6062e..c90cd9f 100644 --- a/url.c +++ b/url.c @@ -121,6 +121,7 @@ static struct table2 DefaultGuess[] = { @@ -15829,7 +21439,7 @@ index ed6062e..d346312 100644 SSL_load_error_strings(); if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method()))) goto eend; -+ SSL_CTX_set_cipher_list(ssl_ctx, "DEFAULT:!LOW:!EXP"); ++ SSL_CTX_set_cipher_list(ssl_ctx, "DEFAULT:!LOW:!RC4:!EXP"); option = SSL_OP_ALL; if (ssl_forbid_method) { if (strchr(ssl_forbid_method, '2')) @@ -16020,7 +21630,7 @@ index ed6062e..d346312 100644 - if (!NoSendReferer) { + no_referer = NoSendReferer; + no_referer_ptr = query_SCONF_NO_REFERER_FROM(current); -+ no_referer = NoSendReferer || (no_referer_ptr && *no_referer_ptr); ++ no_referer = no_referer || (no_referer_ptr && *no_referer_ptr); + no_referer_ptr = query_SCONF_NO_REFERER_TO(target); + no_referer = no_referer || (no_referer_ptr && *no_referer_ptr); + if (!no_referer) { @@ -16134,6 +21744,15 @@ index ed6062e..d346312 100644 if (sock < 0) return uf; if (pu->file == NULL) +@@ -2049,7 +2080,7 @@ filename_extension(char *path, int is_url) + break; + } + if (*last_dot == '.') { +- for (i = 1; last_dot[i] && i < 8; i++) { ++ for (i = 1; i < 8 && last_dot[i]; i++) { + if (is_url && !IS_ALNUM(last_dot[i])) + break; + } @@ -2234,3 +2265,66 @@ schemeToProxy(int scheme) } return pu; @@ -16212,6 +21831,44 @@ index 31d30e4..ab25163 100644 #ifndef FM_H char *w3m_version = CURRENT_VERSION; +diff --git a/w3m-doc/outline.html.in b/w3m-doc/outline.html.in +index 60bda47..4ed2a59 100644 +--- a/w3m-doc/outline.html.in ++++ b/w3m-doc/outline.html.in +@@ -146,8 +146,8 @@ w3m $B$N(Bmake$B;~$K;XDj$7$?%-! c $B8=%Z!<%8$N(B URL $B$rI=<((B + = $B8=%I%-%e%a%s%H$N>pJs$rI=<((B + F $B%U%l!<%`$rI=<($9$k(B +- M $B8=%Z!<%8$r30It%V%i%&%6$GI=<($9$k(B(2M,3M $B$G(B2$BHVL\$H(B3$BHVL\$N%V%i%&%6$r8F$S$@$9(B) +- ESC M $B%j%s%/@h$r30It%V%i%&%6$GI=<($9$k(B(2ESC M,3ESC M $B$G(B2$BHVL\$H(B3$BHVL\$N%V%i%&%6$r8F$S$@$9(B) ++ M $B8=%Z!<%8$r30It%V%i%&%6$GI=<($9$k(B(2M, 3M, ..., 9M $B$G(B2$BHVL\!$(B3$BHVL\!$(B9$BHVL\$N%V%i%&%6$r8F$S$@$9(B) ++ ESC M $B%j%s%/@h$r30It%V%i%&%6$GI=<($9$k(B(2ESC M, 3ESC M, ..., 9ESC M $B$G(B2$BHVL\!$(B3$BHVL\!$(B9$BHVL\$N%V%i%&%6$r8F$S$@$9(B) + + +
    $B%U%!%$%k(B/$B%9%H%j!<%`A`:n(B
    +@@ -257,8 +257,8 @@ w3m $B$N(Bmake$B;~$K;XDj$7$?%-!c$B8=:_$NJ8=q$N(B URL $B$rI=<($7$^$9!%(B + =$B8=:_$NJ8=q$K4X$9$k>pJs$rI=<($7$^$9!%(B + F<FRAMESET> $B$r4^$`J8=q$rI=<($7$F$$$k$H$-$K!$(B<FRAME> $B%?%0$N;X$9J#?t$NJ8=q$r(B1$B$D$NJ8=q$KJQ49$7$FI=<($7$^$9!%(B +-M$B8=:_8+$F$$$k%Z!<%8$r!$30It%V%i%&%6$r;H$C$FI=<($7$^$9!%(B 2M, 3M $B$G(B2$BHVL\$H(B3$BHVL\$N%V%i%&%6$r;H$$$^$9!%(B +-ESC M$B8=:_$N%j%s%/@h$r!$30It%V%i%&%6$r;H$C$FI=<($7$^$9!%(B 2ESC M, 3ESC M $B$G(B2$BHVL\$H(B3$BHVL\$N%V%i%&%6$r;H$$$^$9!%(B ++M$B8=:_8+$F$$$k%Z!<%8$r!$30It%V%i%&%6$r;H$C$FI=<($7$^$9!%(B 2M, 3M, ..., 9M $B$G(B2$BHVL\!$(B3$BHVL\!$(B9$BHVL\$N%V%i%&%6$r;H$$$^$9!%(B ++ESC M$B8=:_$N%j%s%/@h$r!$30It%V%i%&%6$r;H$C$FI=<($7$^$9!%(B 2ESC M, 3ESC M, ..., 9ESC M $B$G(B2$BHVL\!$(B3$BHVL\!$(B9$BHVL\$N%V%i%&%6$r;H$$$^$9!%(B + + +
    $B%U%!%$%k$H(B URL $B4X78$NA`:n(B
    +diff --git a/w3m-doc/sample/keymap.cgi b/w3m-doc/sample/keymap.cgi +index f68f5fb..d92c60f 100755 +--- a/w3m-doc/sample/keymap.cgi ++++ b/w3m-doc/sample/keymap.cgi +@@ -203,7 +203,6 @@ GOTO_LINK + HELP + HISTORY + INFO +-INIT_MAILCAP + INTERRUPT + LEFT + LINE_BEGIN diff --git a/w3mbookmark.c b/w3mbookmark.c index 4355536..a306f26 100644 --- a/w3mbookmark.c @@ -16245,6 +21902,142 @@ index 4355536..a306f26 100644 while (tl->nitem) { fputs(popText(tl), f); } +diff --git a/w3mhelp-lynx_en.html.in b/w3mhelp-lynx_en.html.in +index 7448877..d073b0f 100644 +--- a/w3mhelp-lynx_en.html.in ++++ b/w3mhelp-lynx_en.html.in +@@ -43,20 +43,20 @@ w3m + +
    RET, C-f, Right arrowFollow hyperlink +
    d, ESC RETSave link to file +-
    uPeek link URL +-
    iPeek image URL ++
    uPeek at link URL ++
    iPeek at image URL +
    IView inline image +
    ESC ISave inline image to file +-
    :Mark URL-like strings as anchors +-
    ESC :Mark Message-ID-like strings as news anchors +-
    cPeek current URL ++
    :Mark URL-like strings as links ++
    ESC :Mark Message-ID-like strings as links ++
    cPeek at current URL +
    =Display information about current document +-
    C-hView history of URL +-
    FRender frame ++
    C-hView browser history ++
    FRender frames +
    MBrowse current document using external browser +-(use 2M and 3M to invoke second and third browser) ++(prefix 2, 3, ..., or 9 to invoke alternate configured browsers, e.g. 3 M) +
    ESC MBrowse link using external browser +-(use 2ESC M and 3ESC M to invoke second and third browser) ++(prefixed as above, e.g. 3ESC M) +
    + +

    File/Stream operation

    +@@ -98,7 +98,7 @@ w3m + +
    /, C-sSearch forward +
    nSearch next +-
    wToggle wrap search mode ++
    wToggle search wrap mode +
    + +

    Mark operation

    +@@ -121,7 +121,7 @@ w3m + QQuit without confirmation + + +-

    Line-edit mode

    ++

    Line-editing mode

    + +
    C-fMove cursor forward +
    C-bMove cursor backward +diff --git a/w3mhelp-lynx_ja.html.in b/w3mhelp-lynx_ja.html.in +index d160984..828b5a3 100644 +--- a/w3mhelp-lynx_ja.html.in ++++ b/w3mhelp-lynx_ja.html.in +@@ -58,9 +58,9 @@ +
    F<FRAMESET>を含む文書を表示しているときに,<FRAME> + タグの指す複数の文書を1つの文書に変換して表示します. +
    M現在見ているページを,外部ブラウザを使って表示します. +-2M, 3M で2番目と3番目のブラウザを使います. ++2M, 3M, ..., 9M で2番目,3番目,9番目のブラウザを使います. +
    ESC M現在のリンク先を,外部ブラウザを使って表示します. +-2ESC M, 3ESC M で2番目と3番目のブラウザを使います. ++2ESC M, 3ESC M, ..., 9ESC M で2番目,3番目,9番目のブラウザを使います. +
    + +

    ファイルとURL関係の操作

    +diff --git a/w3mhelp-w3m_en.html.in b/w3mhelp-w3m_en.html.in +index eb46e8a..a692142 100644 +--- a/w3mhelp-w3m_en.html.in ++++ b/w3mhelp-w3m_en.html.in +@@ -47,21 +47,21 @@ w3m + +
    RETFollow hyperlink +
    a, ESC RETSave link to file +-
    uPeek link URL +-
    iPeek image URL ++
    uPeek at link URL ++
    iPeek at image URL +
    IView inline image +
    ESC ISave inline image to file +-
    :Mark URL-like strings as anchors +-
    ESC :Mark Message-ID-like strings as news anchors +-
    cPeek current URL ++
    :Mark URL-like strings as links ++
    ESC :Mark Message-ID-like strings as links ++
    cPeek at current URL +
    =Display information about current document +
    C-gShow current line number +-
    C-hView history of URL +-
    FRender frame ++
    C-hView browser history ++
    FRender frames +
    MBrowse current document using external browser +-(use 2M and 3M to invoke second and third browser) ++(prefix 2, 3, ..., or 9 to invoke alternate configured browsers, e.g. 3 M) +
    ESC MBrowse link using external browser +-(use 2ESC M and 3ESC M to invoke second and third browser) ++(prefixed as above, e.g. 3ESC M) +
    + +

    File/Stream operation

    +@@ -105,7 +105,7 @@ w3m + ?,C-rSearch backward + nSearch next + NSearch previous +-C-wToggle wrap search mode ++C-wToggle search wrap mode + + +

    Dictionary look-up

    +@@ -134,7 +134,7 @@ w3m + QQuit without confirmation + + +-

    Line-edit mode

    ++

    Line-editing mode

    + + + + +- +- ++ ++ +
    C-fMove cursor forward +
    C-bMove cursor backward +diff --git a/w3mhelp-w3m_ja.html.in b/w3mhelp-w3m_ja.html.in +index 95464ab..72cb849 100644 +--- a/w3mhelp-w3m_ja.html.in ++++ b/w3mhelp-w3m_ja.html.in +@@ -61,8 +61,8 @@ +
    C-g ページ中での現在位置を表示
    C-h URL履歴を表示
    F フレームを表示する
    M 現ページを外部ブラウザで表示する(2M,3Mで2番目と3番目のブラウザを呼びだす)
    ESC M リンク先を外部ブラウザで表示する(2ESC M,3ESC Mで2番目と3番目のブラウザを呼びだす)
    M 現ページを外部ブラウザで表示する(2M, 3M, ..., 9M で2番目,3番目,9番目のブラウザを呼びだす)
    ESC M リンク先を外部ブラウザで表示する(2ESC M, 3ESC M, ..., 9ESC M で2番目,3番目,9番目のブラウザを呼びだす)
    + +

    ファイル/ストリーム操作

    diff --git a/w3mhelperpanel.c b/w3mhelperpanel.c index 110794b..96b60a0 100644 --- a/w3mhelperpanel.c @@ -16274,7 +22067,7 @@ index dfc550c..8e2ad73 100644 $(RANLIB) $@ diff --git a/w3mimg/fb/fb.c b/w3mimg/fb/fb.c -index cd11128..7b6f23b 100644 +index cd11128..7960584 100644 --- a/w3mimg/fb/fb.c +++ b/w3mimg/fb/fb.c @@ -12,12 +12,24 @@ @@ -16386,7 +22179,7 @@ index cd11128..7b6f23b 100644 if (fb_fscrn_get(fbfp, &fscinfo)) { goto ERR_END; } -@@ -83,22 +142,67 @@ fb_open(void) +@@ -83,22 +142,69 @@ fb_open(void) if (fb_vscrn_get(fbfp, &vscinfo)) { goto ERR_END; } @@ -16450,11 +22243,13 @@ index cd11128..7b6f23b 100644 + if (video_adapter_info.va_flags & V_ADP_PALETTE && + video_info.vi_mem_model == V_INFO_MM_PACKED && + video_info.vi_depth == 8) { ++#else ++ if (0) { +#endif if (fb_cmap_get(fbfp, cmap)) { fprintf(stderr, "Can't get color map.\n"); fb_cmap_destroy(cmap); -@@ -111,12 +215,20 @@ fb_open(void) +@@ -111,6 +217,7 @@ fb_open(void) pixel_size = 1; } @@ -16462,20 +22257,22 @@ index cd11128..7b6f23b 100644 else if ((fscinfo.visual == FB_VISUAL_TRUECOLOR || fscinfo.visual == FB_VISUAL_DIRECTCOLOR) && (vscinfo.bits_per_pixel == 15 || - vscinfo.bits_per_pixel == 16 || +@@ -118,6 +225,14 @@ fb_open(void) vscinfo.bits_per_pixel == 24 || vscinfo.bits_per_pixel == 32)) { pixel_size = (vscinfo.bits_per_pixel + 7) / CHAR_BIT; + } +#elif defined(__FreeBSD__) + else if (video_info.vi_mem_model == V_INFO_MM_DIRECT && + (video_info.vi_depth == 15 || + video_info.vi_depth == 16 || + video_info.vi_depth == 24 || video_info.vi_depth == 32)) { + pixel_size = (video_info.vi_depth + 7) / CHAR_BIT; ++ } +#endif - } else { fprintf(stderr, "This type of framebuffer is not supported.\n"); -@@ -147,7 +259,11 @@ fb_close(void) + goto ERR_END; +@@ -147,7 +262,11 @@ fb_close(void) cmap = NULL; } if (buf != NULL) { @@ -16487,7 +22284,7 @@ index cd11128..7b6f23b 100644 buf = NULL; } -@@ -259,11 +375,19 @@ fb_image_draw(FB_IMAGE * image, int x, int y, int sx, int sy, int width, +@@ -259,11 +378,19 @@ fb_image_draw(FB_IMAGE * image, int x, int y, int sx, int sy, int width, if (y + height > fb_height()) height = fb_height() - y; @@ -16507,7 +22304,7 @@ index cd11128..7b6f23b 100644 offset_img += image->rowstride; } -@@ -336,7 +460,11 @@ fb_width(void) +@@ -336,7 +463,11 @@ fb_width(void) if (is_open != TRUE) return 0; @@ -16519,7 +22316,7 @@ index cd11128..7b6f23b 100644 } int -@@ -345,7 +473,11 @@ fb_height(void) +@@ -345,7 +476,11 @@ fb_height(void) if (is_open != TRUE) return 0; @@ -16531,7 +22328,7 @@ index cd11128..7b6f23b 100644 } int -@@ -369,7 +501,11 @@ fb_clear(int x, int y, int w, int h, int r, int g, int b) +@@ -369,7 +504,11 @@ fb_clear(int x, int y, int w, int h, int r, int g, int b) h = fb_height() - y; if (tmp == NULL) { @@ -16543,7 +22340,7 @@ index cd11128..7b6f23b 100644 if (tmp == NULL) return 1; } -@@ -384,10 +520,18 @@ fb_clear(int x, int y, int w, int h, int r, int g, int b) +@@ -384,10 +523,18 @@ fb_clear(int x, int y, int w, int h, int r, int g, int b) gg = g; bb = b; } @@ -16562,7 +22359,7 @@ index cd11128..7b6f23b 100644 } return 0; } -@@ -400,11 +544,21 @@ fb_get_packed_color(int r, int g, int b) +@@ -400,11 +547,21 @@ fb_get_packed_color(int r, int g, int b) return fb_get_cmap_index(r, g, b); } else { @@ -16584,7 +22381,7 @@ index cd11128..7b6f23b 100644 } } -@@ -433,16 +587,31 @@ fb_cmap_init(void) +@@ -433,16 +590,31 @@ fb_cmap_init(void) if (cmap == NULL) return 1; @@ -16616,7 +22413,7 @@ index cd11128..7b6f23b 100644 if (fb_cmap_get(fbfp, cmap_org)) { fprintf(stderr, "Can't get color map.\n"); -@@ -452,8 +621,13 @@ fb_cmap_init(void) +@@ -452,8 +624,13 @@ fb_cmap_init(void) } } @@ -16630,7 +22427,7 @@ index cd11128..7b6f23b 100644 for (lp = 0; lp < COLORS_MONO_8BIT; lp++) { int c; -@@ -506,73 +680,213 @@ fb_cmap_init(void) +@@ -506,73 +683,223 @@ fb_cmap_init(void) #define LUT_MAX (256) @@ -16721,6 +22518,8 @@ index cd11128..7b6f23b 100644 +#elif defined(__FreeBSD__) + if (video_info->vi_pixel_fsizes[0]) { + cmap->red = (u_char *) malloc(sizeof(u_char) * cmaplen); ++#else ++ if (0) { +#endif if (!cmap->red) { perror("red lut malloc error\n"); @@ -16737,6 +22536,8 @@ index cd11128..7b6f23b 100644 +#elif defined(__FreeBSD__) + if (video_info->vi_pixel_fsizes[1]) { + cmap->green = (u_char *) malloc(sizeof(u_char) * cmaplen); ++#else ++ if (0) { +#endif if (!cmap->green) { +#if defined(__linux__) @@ -16760,6 +22561,8 @@ index cd11128..7b6f23b 100644 +#elif defined(__FreeBSD__) + if (video_info->vi_pixel_fsizes[2]) { + cmap->blue = (u_char *) malloc(sizeof(u_char) * cmaplen); ++#else ++ if (0) { +#endif if (!cmap->blue) { +#if defined(__linux__) @@ -16790,11 +22593,15 @@ index cd11128..7b6f23b 100644 +#elif defined(__FreeBSD__) + if (video_info->vi_pixel_fsizes[3]) { + cmap->transparent = (u_char *) malloc(sizeof(u_char) * cmaplen); ++#else ++ if (0) { +#endif +#if defined(__linux__) if (!cmap->transp) { +#elif defined(__FreeBSD__) + if (!cmap->transparent) { ++#else ++ if (0) { +#endif +#if defined(__linux__) if (vscinfo->red.length) @@ -16844,7 +22651,7 @@ index cd11128..7b6f23b 100644 { if (cmap->red) free(cmap->red); -@@ -580,28 +894,57 @@ fb_cmap_destroy(struct fb_cmap *cmap) +@@ -580,28 +907,57 @@ fb_cmap_destroy(struct fb_cmap *cmap) free(cmap->green); if (cmap->blue) free(cmap->blue); @@ -16902,7 +22709,7 @@ index cd11128..7b6f23b 100644 return 0; } -@@ -612,10 +955,16 @@ fb_cmap_set(int fbfp, struct fb_cmap *cmap) +@@ -612,10 +968,16 @@ fb_cmap_set(int fbfp, struct fb_cmap *cmap) * fb_munmap() deletes the mappings */ @@ -16919,7 +22726,7 @@ index cd11128..7b6f23b 100644 if ((buf = (unsigned char *) mmap(NULL, scinfo->smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fbfp, (off_t) 0)) -@@ -623,13 +972,41 @@ fb_mmap(int fbfp, struct fb_fix_screeninfo *scinfo) +@@ -623,13 +985,41 @@ fb_mmap(int fbfp, struct fb_fix_screeninfo *scinfo) perror("mmap error"); return NULL; } @@ -16961,7 +22768,7 @@ index cd11128..7b6f23b 100644 } /* -@@ -637,6 +1014,7 @@ fb_munmap(void *buf, struct fb_fix_screeninfo *scinfo) +@@ -637,6 +1027,7 @@ fb_munmap(void *buf, struct fb_fix_screeninfo *scinfo) * * fb_fscrn_get() get information */ @@ -16969,7 +22776,7 @@ index cd11128..7b6f23b 100644 static int fb_fscrn_get(int fbfp, struct fb_fix_screeninfo *scinfo) { -@@ -646,12 +1024,14 @@ fb_fscrn_get(int fbfp, struct fb_fix_screeninfo *scinfo) +@@ -646,12 +1037,14 @@ fb_fscrn_get(int fbfp, struct fb_fix_screeninfo *scinfo) } return 0; } @@ -16984,7 +22791,7 @@ index cd11128..7b6f23b 100644 static int fb_vscrn_get(int fbfp, struct fb_var_screeninfo *scinfo) { -@@ -661,3 +1041,41 @@ fb_vscrn_get(int fbfp, struct fb_var_screeninfo *scinfo) +@@ -661,3 +1054,41 @@ fb_vscrn_get(int fbfp, struct fb_var_screeninfo *scinfo) } return 0; } @@ -17327,3 +23134,18 @@ index f5be4a8..9a539de 100644 wop->init = x11_init; wop->finish = x11_finish; wop->active = x11_active; +diff --git a/w3mimgdisplay.c b/w3mimgdisplay.c +index 5486a47..ccfa373 100644 +--- a/w3mimgdisplay.c ++++ b/w3mimgdisplay.c +@@ -281,6 +281,10 @@ DrawImage(char *buf, int redraw) + maxImage = n + 1; + imageBuf = (W3MImage *) realloc((void *)imageBuf, + sizeof(W3MImage) * maxImage); ++ if (imageBuf == NULL) { ++ fprintf(stderr, "Out of memory\n"); ++ exit(1); ++ } + for (; i < maxImage; i++) + imageBuf[i].pixmap = NULL; + } -- cgit v1.2.3