lynx-cur (2.8.8dev.5-1) patch-1

Summary

 lynx.cfg |   60 ++++++++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 40 insertions(+), 20 deletions(-)

    
download this patch

Patch contents

#! /bin/sh -e
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Align the manpage to Debian behaviour

if [ $# -ne 1 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
	-patch) patch -f --no-backup-if-mismatch --dry-run -p0 < $0 && patch -f --no-backup-if-mismatch -p0 < $0;;
	-unpatch) patch -f --no-backup-if-mismatch -R -p0 < $0;;
	*)
		echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
		exit 1;;
esac
exit 0

@DPATCH@
--- lynx.cfg.orig	2010-06-26 12:06:05.000000000 +0900
+++ lynx.cfg	2010-06-26 14:13:18.000000000 +0900
@@ -93,7 +93,7 @@
 #
 # Normally we expect you will connect to a remote site, e.g., the Lynx starting
 # site:
-STARTFILE:http://lynx.isc.org/
+#STARTFILE:http://lynx.isc.org/
 #
 # As an alternative, you may want to use a local URL.  A good choice for this is
 # the user's home directory:
@@ -118,9 +118,10 @@
 # This definition will be overridden if the "LYNX_HELPFILE" environment
 # variable has been set.
 #
-HELPFILE:http://lynx.isc.org/release/lynx2-8-7/lynx_help/lynx_help_main.html
+#HELPFILE:http://lynx.isc.org/release/lynx2-8-7/lynx_help/lynx_help_main.html
 .ex
-#HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
+##HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
+HELPFILE:file://localhost/usr/share/doc/lynx-cur/lynx_help/lynx_help_main.html
 
 
 .h2 DEFAULT_INDEX_FILE
@@ -442,7 +443,7 @@
 # Lynx (case insensitive).
 # Find RFC 1345 at http://www.ics.uci.edu/pub/ietf/uri/rfc1345.txt .
 #
-#CHARACTER_SET:iso-8859-1
+CHARACTER_SET:iso-8859-1
 
 .h2 LOCALE_CHARSET
 # LOCALE_CHARSET overrides CHARACTER_SET if true, using the current locale to
@@ -453,6 +454,7 @@
 # happens to give useful values, but other implementations are not guaranteed
 # to do this.
 #LOCALE_CHARSET:FALSE
+LOCALE_CHARSET:TRUE
 
 
 .h2 ASSUME_CHARSET
@@ -539,7 +541,7 @@
 # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
 # Note that the prepending is not done for -source dumps.
 #
-#PREPEND_CHARSET_TO_SOURCE:TRUE
+PREPEND_CHARSET_TO_SOURCE:FALSE
 
 
 .h2 NCR_IN_BOOKMARKS
@@ -595,7 +597,7 @@
 # the 'o'ptions menu and save that preference in their RC file.
 # This may be a comma-separated list of languages in decreasing preference.
 #
-#PREFERRED_LANGUAGE:en
+PREFERRED_LANGUAGE:en
 
 
 .h2 PREFERRED_CHARSET
@@ -794,7 +796,7 @@
 # 'o'ptions menu and saved in the RC file, and always can be toggled
 # via the -show_cursor command line switch.
 #
-#SHOW_CURSOR:FALSE
+SHOW_CURSOR:TRUE
 
 .h2 UNDERLINE_LINKS
 # UNDERLINE_LINKS controls whether links are underlined by default, or shown
@@ -987,8 +989,8 @@
 # executed.  This is much less dangerous than enabling all execution
 # links, but can still be dangerous.
 #
-#LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
-#LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
+LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
+LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
 
 
 .h2 TRUSTED_EXEC
@@ -1036,7 +1038,7 @@
 # as well (i.e., they will only be able to access lynxexec or lynxprog
 # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
 #
-#TRUSTED_EXEC:none
+TRUSTED_EXEC:none
 
 
 .h2 ALWAYS_TRUSTED_EXEC
@@ -1058,7 +1060,7 @@
 #
 # The default ALWAYS_TRUSTED_EXEC rule is "none".
 #
-#ALWAYS_TRUSTED_EXEC:none
+ALWAYS_TRUSTED_EXEC:none
 
 
 .h2 TRUSTED_LYNXCGI
@@ -1078,7 +1080,7 @@
 #
 # The default TRUSTED_LYNXCGI rule is "none".
 #
-#TRUSTED_LYNXCGI:none
+TRUSTED_LYNXCGI:none
 
 
 .h2 LYNXCGI_ENVIRONMENT
@@ -1416,7 +1418,7 @@
 # The default is FALSE, so that the feature needs to be enabled here
 # explicitly if you want it.
 #
-#PERSISTENT_COOKIES:FALSE
+PERSISTENT_COOKIES:FALSE
 
 
 .h2 COOKIE_FILE
@@ -1869,7 +1871,7 @@
 # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
 # may save the preference in the RC file).
 #
-#NO_DOT_FILES:TRUE
+NO_DOT_FILES:FALSE
 
 
 .h1 Internal Behavior
@@ -2152,13 +2154,13 @@
 #
 # Unix:
 # ====
-#GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
+GLOBAL_EXTENSION_MAP:/etc/mime.types
 # VMS:
 # ===
 #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
 #
 #	Unix (sought in user's home directory):
-#PERSONAL_EXTENSION_MAP:.mime.types
+PERSONAL_EXTENSION_MAP:.mime.types
 #	VMS (sought in user's sys$login directory):
 #PERSONAL_EXTENSION_MAP:mime.types
 
@@ -2295,6 +2297,8 @@
 #SUFFIX:.dms:application/x-dms
 #SUFFIX:.html:text/html
 #SUFFIX:.txt:text/plain
+SUFFIX:.tgz:application/octet-stream
+SUFFIX:.deb:application/octet-stream
 
 
 .h2 XLOADIMAGE_COMMAND
@@ -2399,13 +2403,13 @@
 #
 # Unix:
 # ====
-#GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
+GLOBAL_MAILCAP:/etc/mailcap
 # VMS:
 # ===
 #GLOBAL_MAILCAP:Lynx_Dir:mailcap
 #
 # 	Sought in user's home (Unix) or sys$login (VMS) directory.
-#PERSONAL_MAILCAP:.mailcap
+PERSONAL_MAILCAP:.mailcap
 
 .h2 PREFERRED_MEDIA_TYPES
 # When doing a GET, lynx lists the MIME types which it knows how to present
@@ -3605,7 +3609,7 @@
 # should accept, in case the $SSL_CERT_FILE environment variable is not set,
 # e.g.,
 #
-#SSL_CERT_FILE:/etc/ssl/certs/ca-certificates.crt
+SSL_CERT_FILE:/etc/ssl/certs/ca-certificates.crt
 #SSL_CERT_FILE:NULL
 
 .h1 Appearance
@@ -3629,7 +3633,7 @@
 
 .h2 SYSLOG_REQUESTED_URLS
 # Log the requested URLs using the syslog interface.
-#SYSLOG_REQUESTED_URLS:TRUE
+SYSLOG_REQUESTED_URLS:FALSE
 
 .h2 SYSLOG_TEXT
 # Add the given text to calls made to syslog, to distinguish Lynx from other
@@ -3675,3 +3679,19 @@
 #
 # The default size is 8192.
 #MAX_URI_SIZE:8192
+
+# external
+EXTERNAL:ftp:w3m %s:TRUE
+EXTERNAL:file:w3m %s:TRUE
+EXTERNAL:http:w3m %s:TRUE
+EXTERNAL:http:wget %s:TRUE
+EXTERNAL:http:wget -r %s:TRUE
+EXTERNAL:ftp:netscape %s:TRUE
+EXTERNAL:file:netscape %s:TRUE
+EXTERNAL:http:netscape %s:TRUE
+# include
+INCLUDE:/etc/lynx-cur/local.cfg
+INCLUDE:~/.lynx/colors:COLOR
+INCLUDE:~/.lynx/keymap:KEYMAP
+INCLUDE:~/.lynx/viewers:VIEWER
+INCLUDE:~/.lynx/external:EXTERNAL