Blame SOURCES/lynx-2.8.8-redhat.patch

f11bd6
From 8c053103d8253f5868807853cb7b921e5cb07214 Mon Sep 17 00:00:00 2001
f11bd6
From: Kamil Dudka <kdudka@redhat.com>
f11bd6
Date: Wed, 13 Feb 2013 15:17:08 +0100
f11bd6
Subject: [PATCH] lynx-2.8.6-redhat.patch rebased for 2.8.8
f11bd6
f11bd6
---
f11bd6
 lynx.cfg   |   14 +++++++++++---
f11bd6
 userdefs.h |   16 ++++++++--------
f11bd6
 2 files changed, 19 insertions(+), 11 deletions(-)
f11bd6
f11bd6
diff --git a/lynx.cfg b/lynx.cfg
f11bd6
index ee2aad3..f732558 100644
f11bd6
--- a/lynx.cfg
f11bd6
+++ b/lynx.cfg
f11bd6
@@ -1,8 +1,11 @@
f11bd6
 # $LynxId: lynx.cfg,v 1.222 2012/11/14 01:18:19 tom Exp $
f11bd6
 # lynx.cfg file.
f11bd6
-# The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
f11bd6
+# The default placement for this file is /etc/lynx.cfg (Red Hat Linux, Fedora)
f11bd6
 #                                     or Lynx_Dir:lynx.cfg (VMS)
f11bd6
 #
f11bd6
+# Please don't edit this file directly (it is updated with every Red Hat
f11bd6
+# Linux update, overwriting your changes). Instead, edit /etc/lynx-site.cfg.
f11bd6
+#
f11bd6
 # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
f11bd6
 #PRCS LYNX_VERSION "2.8.8dev.15"
f11bd6
 #
f11bd6
@@ -90,7 +93,7 @@
f11bd6
 #
f11bd6
 # Normally we expect you will connect to a remote site, e.g., the Lynx starting
f11bd6
 # site:
f11bd6
-STARTFILE:http://lynx.isc.org/
f11bd6
+STARTFILE:http://start.fedoraproject.org
f11bd6
 #
f11bd6
 # As an alternative, you may want to use a local URL.  A good choice for this is
f11bd6
 # the user's home directory:
f11bd6
@@ -436,7 +439,7 @@ DEFAULT_INDEX_FILE:http://scout.wisc.edu/
f11bd6
 # Find RFC 1345 at
f11bd6
 .url http://tools.ietf.org/html/rfc1345
f11bd6
 #
f11bd6
-#CHARACTER_SET:iso-8859-1
f11bd6
+CHARACTER_SET:utf-8
f11bd6
 
f11bd6
 .h2 LOCALE_CHARSET
f11bd6
 # LOCALE_CHARSET overrides CHARACTER_SET if true, using the current locale to
f11bd6
@@ -1817,6 +1820,10 @@ DEFAULT_INDEX_FILE:http://scout.wisc.edu/
f11bd6
 .ex
f11bd6
 #DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE
f11bd6
 
f11bd6
+# Added by Red Hat:
f11bd6
+DOWNLOADER:View with less:less %s:TRUE
f11bd6
+
f11bd6
+ 
f11bd6
 .h1 Interaction
f11bd6
 
f11bd6
 .h2 NO_DOT_FILES
f11bd6
@@ -3397,6 +3404,7 @@ COLOR:6:brightred:black
f11bd6
 #ENABLE_LYNXRC:VI_KEYS:ON
f11bd6
 #ENABLE_LYNXRC:VISITED_LINKS:ON
f11bd6
 .fi
f11bd6
+INCLUDE:/etc/lynx-site.cfg
f11bd6
 
f11bd6
 .h1 External Programs
f11bd6
 # Any of the compiled-in pathnames of external programs can be overridden
f11bd6
diff --git a/userdefs.h b/userdefs.h
f11bd6
index 066e01b..45a1642 100644
f11bd6
--- a/userdefs.h
f11bd6
+++ b/userdefs.h
f11bd6
@@ -105,7 +105,7 @@
f11bd6
  * mailcap files (see the examples in the samples directory).
f11bd6
  */
f11bd6
 #ifndef LYNX_CFG_FILE
f11bd6
-#define LYNX_CFG_FILE "Lynx_Dir:lynx.cfg"
f11bd6
+#define LYNX_CFG_FILE "/etc/lynx.cfg"
f11bd6
 #endif /* LYNX_CFG_FILE */
f11bd6
 
f11bd6
 /**************************
f11bd6
@@ -115,8 +115,8 @@
f11bd6
  * Mappings in these global and personal files override any SUFFIX
f11bd6
  * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
f11bd6
  */
f11bd6
-#define GLOBAL_EXTENSION_MAP "Lynx_Dir:mime.types"
f11bd6
-#define PERSONAL_EXTENSION_MAP "mime.types"
f11bd6
+#define GLOBAL_EXTENSION_MAP "/etc/mime.types"
f11bd6
+#define PERSONAL_EXTENSION_MAP ".mime.types"
f11bd6
 
f11bd6
 /**************************
f11bd6
  * The MAILCAP file allows you to map file MIME types to
f11bd6
@@ -125,7 +125,7 @@
f11bd6
  * Mappings in these global and personal files override any VIEWER
f11bd6
  * definitions in lynx.cfg and built-in defaults from src/HTInit.c.
f11bd6
  */
f11bd6
-#define GLOBAL_MAILCAP "Lynx_Dir:mailcap"
f11bd6
+#define GLOBAL_MAILCAP "/etc/mailcap"
f11bd6
 #define PERSONAL_MAILCAP ".mailcap"
f11bd6
 
f11bd6
 /**************************
f11bd6
@@ -295,7 +295,7 @@
f11bd6
 #ifdef DOSPATH
f11bd6
 #define LYNX_CFG_FILE "./lynx.cfg"
f11bd6
 #else
f11bd6
-#define LYNX_CFG_FILE "/usr/local/lib/lynx.cfg"
f11bd6
+#define LYNX_CFG_FILE "/etc/lynx.cfg"
f11bd6
 #endif /* DOSPATH */
f11bd6
 #endif /* LYNX_CFG_FILE */
f11bd6
 #endif /* HAVE_CONFIG_H */
f11bd6
@@ -339,7 +339,7 @@
f11bd6
  * use any default viewers for image types.  Note that open is used as
f11bd6
  * the default for NeXT, instead of the XLOADIMAGE_COMMAND definition.
f11bd6
  */
f11bd6
-#define XLOADIMAGE_COMMAND "xli %s &"
f11bd6
+#define XLOADIMAGE_COMMAND "display %s &"
f11bd6
 
f11bd6
 /**************************
f11bd6
  * For UNIX systems, SYSTEM_MAIL and SYSTEM_MAIL_FLAGS are set by the
f11bd6
@@ -360,7 +360,7 @@
f11bd6
  * the "TMPDIR" (unix), or "TEMP" or "TMP" (Windows,DOS,OS/2)
f11bd6
  * variable.
f11bd6
  */
f11bd6
-#define TEMP_SPACE "/tmp/"
f11bd6
+#define TEMP_SPACE "~"
f11bd6
 
f11bd6
 /********************************
f11bd6
  * Comment this line out to disable code that implements command logging
f11bd6
@@ -1162,7 +1162,7 @@
f11bd6
  * OSU server distribution.
f11bd6
  */
f11bd6
 #ifndef HAVE_CONFIG_H
f11bd6
-/* #define LYNXCGI_LINKS */
f11bd6
+#define LYNXCGI_LINKS 
f11bd6
 #endif
f11bd6
 
f11bd6
 /*********************************
f11bd6
-- 
f11bd6
1.7.1
f11bd6