patch-lynx_cfg 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. $Id$
  2. $MirOS: ports/www/lynx/patches/patch-lynx_cfg,v 1.7 2007/05/20 12:06:19 tg Exp $
  3. mostly site policy and compatibility, usability
  4. --- lynx2-8-7.orig/lynx.cfg 2007-05-18 00:53:22.000000000 +0200
  5. +++ lynx2-8-7/lynx.cfg 2009-06-13 11:46:29.000000000 +0200
  6. @@ -93,12 +93,12 @@
  7. #
  8. # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  9. # site:
  10. -STARTFILE:http://lynx.isc.org/
  11. +#STARTFILE:http://lynx.isc.org/
  12. #
  13. # As an alternative, you may want to use a local URL. A good choice for this is
  14. # the user's home directory:
  15. .ex
  16. -#STARTFILE:file://localhost/~/
  17. +STARTFILE:file://localhost/~/
  18. #
  19. # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  20. # you can connect to reliably. Otherwise users will become confused and think
  21. @@ -409,7 +409,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  22. # values and their relationship to the locale value is not. GNU libiconv
  23. # happens to give useful values, but other implementations are not guaranteed
  24. # to do this.
  25. -#LOCALE_CHARSET:FALSE
  26. +LOCALE_CHARSET:TRUE
  27. .h2 ASSUME_CHARSET
  28. @@ -424,7 +424,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  29. # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will
  30. # not be saved as permanent value in user's .lynxrc file to avoid more chaos.
  31. #
  32. -#ASSUME_CHARSET:iso-8859-1
  33. +ASSUME_CHARSET:utf-8
  34. .h2 ASSUMED_DOC_CHARSET_CHOICE
  35. @@ -552,7 +552,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  36. # the 'o'ptions menu and save that preference in their RC file.
  37. # This may be a comma-separated list of languages in decreasing preference.
  38. #
  39. -#PREFERRED_LANGUAGE:en
  40. +#PREFERRED_LANGUAGE:
  41. .h2 PREFERRED_CHARSET
  42. @@ -571,7 +571,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  43. # the sending of an unacceptable response is also allowed. See RFC 2068
  44. # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt).
  45. #
  46. -#PREFERRED_CHARSET:
  47. +PREFERRED_CHARSET:utf-8
  48. .h2 CHARSETS_DIRECTORY
  49. @@ -652,22 +652,22 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  50. # Set the threshold # of lines Lynx must render before it
  51. # redraws the screen in PARTIAL mode. Anything < 0 implies
  52. # use of the screen size.
  53. -#PARTIAL_THRES:-1
  54. +PARTIAL_THRES:3
  55. .h2 SHOW_KB_RATE
  56. # While getting large files, Lynx shows the approximate rate of transfer.
  57. -# Set this to change the units shown. "Kilobytes" denotes 1024 bytes:
  58. +# Set this to change the units shown.
  59. # NONE to disable the display of transfer rate altogether.
  60. -# TRUE or KB for Kilobytes/second.
  61. +# TRUE or KB for Kibibytes/second.
  62. # FALSE or BYTES for bytes/second.
  63. -# KB,ETA to show Kilobytes/second with estimated completion time.
  64. -# BYTES,ETA to show BYTES/second with estimated completion time.
  65. +# KB,ETA to show Kibibytes/second with estimated completion time.
  66. +# BYTES,ETA to show bytes/second with estimated completion time.
  67. # Note that the "ETA" values are available if USE_READPROGRESS was defined.
  68. -#SHOW_KB_RATE:TRUE
  69. +SHOW_KB_RATE:BYTES,ETA
  70. .h2 SHOW_KB_NAME
  71. -# Set the abbreviation for Kilobytes (1024).
  72. +# Set the abbreviation for Kibibytes (1024 Bytes).
  73. # Quoting from
  74. # http://www.romulus2.com/articles/guides/misc/bitsbytes.shtml
  75. # In December 1998, the International Electrotechnical Commission (IEC)
  76. @@ -677,9 +677,6 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  77. # metric prefixes and adding the first two letters of the word "binary". Thus,
  78. # for instance, instead of Kilobyte (KB) or Gigabyte (GB), the new terms would
  79. # be kibibyte (KiB) or gibibyte (GiB).
  80. -#
  81. -# If you prefer using the conventional (and more common) "KB", modify this
  82. -# setting.
  83. #SHOW_KB_NAME:KiB
  84. .h1 Timeouts
  85. @@ -1076,7 +1073,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  86. # default or that defined here can be toggled via the -force_secure
  87. # command line switch.
  88. #
  89. -#FORCE_SSL_COOKIES_SECURE:FALSE
  90. +FORCE_SSL_COOKIES_SECURE:TRUE
  91. .h1 Internal Behavior
  92. @@ -1263,7 +1260,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  93. # line break. Note that the valid way to insert extra blank lines in HTML
  94. # is via a PRE block with only newlines in the block.
  95. #
  96. -#COLLAPSE_BR_TAGS:TRUE
  97. +COLLAPSE_BR_TAGS:FALSE
  98. .h2 TAGSOUP
  99. @@ -1366,7 +1363,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  100. # The default is FALSE, so that the feature needs to be enabled here
  101. # explicitly if you want it.
  102. #
  103. -#PERSISTENT_COOKIES:FALSE
  104. +PERSISTENT_COOKIES:TRUE
  105. .h2 COOKIE_FILE
  106. @@ -1920,7 +1917,7 @@ DEFAULT_INDEX_FILE:http://lynx.isc.org/
  107. # prefer the more conservative action of requiring an explicit Y or y to
  108. # confirm. The default defined here will override that in userdefs.h.
  109. #
  110. -#QUIT_DEFAULT_YES:TRUE
  111. +QUIT_DEFAULT_YES:FALSE
  112. .h1 HTML Parsing
  113. @@ -3208,7 +3205,7 @@ COLOR:6:brightred:black
  114. # otherwise. Set this setting to TRUE if you prefer numbered links, but wish
  115. # to get valid HTML source when printing or mailing when in psrc view.
  116. # Default is FALSE.
  117. -#PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:FALSE
  118. +PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:TRUE
  119. .h1 HTML Parsing
  120. @@ -3241,13 +3238,11 @@ COLOR:6:brightred:black
  121. .h2 JUSTIFY
  122. # JUSTIFY - Appearance
  123. -# This option mirrors command-line option with same name. Default is TRUE. If
  124. -# true, most of text (except headers and like this) will be justified. This
  125. -# has no influence on CJK text rendering.
  126. -#
  127. -# This option is only available if Lynx was compiled with EXP_JUSTIFY_ELTS.
  128. +# This option mirrors command-line option with same name. Default is FALSE.
  129. +# If true, most of text (except headers and like this) will be justified.
  130. +# This has no influence on CJK text rendering.
  131. #
  132. -#JUSTIFY:FALSE
  133. +JUSTIFY:TRUE
  134. .h2 JUSTIFY_MAX_VOID_PERCENT
  135. # JUSTIFY_MAX_VOID_PERCENT - Appearance
  136. @@ -3275,7 +3270,7 @@ COLOR:6:brightred:black
  137. # explicit activation can also be requested with the -tna command line
  138. # option.
  139. #
  140. -#TEXTFIELDS_NEED_ACTIVATION:FALSE
  141. +TEXTFIELDS_NEED_ACTIVATION:TRUE
  142. .h2 LEFTARROW_IN_TEXTFIELD_PROMPT
  143. # LEFTARROW_IN_TEXTFIELD_PROMPT
  144. @@ -3285,7 +3280,7 @@ COLOR:6:brightred:black
  145. # only if the contents of the fields have been changed since entering it.
  146. # If set to TRUE, the confirmation prompt is always issued.
  147. #
  148. -#LEFTARROW_IN_TEXTFIELD_PROMPT:FALSE
  149. +LEFTARROW_IN_TEXTFIELD_PROMPT:TRUE
  150. .h1 Timeouts
  151. @@ -3322,7 +3317,7 @@ COLOR:6:brightred:black
  152. # one lynx.cfg setting.
  153. .nf
  154. #ENABLE_LYNXRC:accept_all_cookies:ON
  155. -#ENABLE_LYNXRC:assume_charset:OFF
  156. +ENABLE_LYNXRC:assume_charset:ON
  157. #ENABLE_LYNXRC:bookmark_file:ON
  158. #ENABLE_LYNXRC:case_sensitive_searching:ON
  159. #ENABLE_LYNXRC:character_set:ON
  160. @@ -3337,34 +3332,35 @@ COLOR:6:brightred:black
  161. #ENABLE_LYNXRC:emacs_keys:ON
  162. #ENABLE_LYNXRC:file_editor:ON
  163. #ENABLE_LYNXRC:file_sorting_method:ON
  164. -#ENABLE_LYNXRC:force_cookie_prompt:OFF
  165. -#ENABLE_LYNXRC:force_ssl_prompt:OFF
  166. -#ENABLE_LYNXRC:ftp_passive:OFF
  167. +ENABLE_LYNXRC:force_cookie_prompt:ON
  168. +ENABLE_LYNXRC:force_ssl_prompt:ON
  169. +ENABLE_LYNXRC:ftp_passive:ON
  170. #ENABLE_LYNXRC:kblayout:ON
  171. #ENABLE_LYNXRC:keypad_mode:ON
  172. #ENABLE_LYNXRC:lineedit_mode:ON
  173. #ENABLE_LYNXRC:locale_charset:ON
  174. -#ENABLE_LYNXRC:make_links_for_all_images:OFF
  175. -#ENABLE_LYNXRC:make_pseudo_alts_for_inlines:OFF
  176. +ENABLE_LYNXRC:make_links_for_all_images:ON
  177. +ENABLE_LYNXRC:make_pseudo_alts_for_inlines:ON
  178. #ENABLE_LYNXRC:multi_bookmark:ON
  179. #ENABLE_LYNXRC:personal_mail_address:ON
  180. #ENABLE_LYNXRC:preferred_charset:ON
  181. -#ENABLE_LYNXRC:preferred_encoding:OFF
  182. +ENABLE_LYNXRC:preferred_encoding:ON
  183. #ENABLE_LYNXRC:preferred_language:ON
  184. -#ENABLE_LYNXRC:preferred_media_types:OFF
  185. -#ENABLE_LYNXRC:raw_mode:OFF
  186. +ENABLE_LYNXRC:preferred_media_types:ON
  187. +ENABLE_LYNXRC:raw_mode:ON
  188. #ENABLE_LYNXRC:run_all_execution_links:ON
  189. #ENABLE_LYNXRC:run_execution_links_on_local_files:ON
  190. -#ENABLE_LYNXRC:scrollbar:OFF
  191. +ENABLE_LYNXRC:scrollbar:ON
  192. #ENABLE_LYNXRC:select_popups:ON
  193. -#ENABLE_LYNXRC:set_cookies:OFF
  194. +ENABLE_LYNXRC:set_cookies:ON
  195. #ENABLE_LYNXRC:show_color:ON
  196. #ENABLE_LYNXRC:show_cursor:ON
  197. #ENABLE_LYNXRC:show_dotfiles:ON
  198. -#ENABLE_LYNXRC:show_kb_rate:OFF
  199. +ENABLE_LYNXRC:show_kb_name:OFF
  200. +ENABLE_LYNXRC:show_kb_rate:ON
  201. #ENABLE_LYNXRC:sub_bookmarks:ON
  202. #ENABLE_LYNXRC:tagsoup:OFF
  203. -#ENABLE_LYNXRC:underline_links:OFF
  204. +ENABLE_LYNXRC:underline_links:ON
  205. #ENABLE_LYNXRC:user_mode:ON
  206. #ENABLE_LYNXRC:useragent:OFF
  207. #ENABLE_LYNXRC:verbose_images:ON