Updates to .lynx.cfg and .lynxrc.

This commit is contained in:
Darren 'Tadgy' Austin 2019-06-14 18:23:03 +01:00
commit 196ef4b1de
3 changed files with 104 additions and 82 deletions

19
.lynx-bookmarks.html Normal file
View file

@ -0,0 +1,19 @@
<head>
<META http-equiv="content-type" content="text/html;charset=utf-8">
<title>Bookmark file</title>
</head>
<!--
You can delete links using the remove bookmark command. It is usually
the 'R' key but may have been remapped by you or your system
administrator.<br>
This file also may be edited with a standard text editor to delete
outdated or invalid links, or to change their order.
Note: if you edit this file manually
you should not change the format within the lines
or add other HTML markup.
Make sure any bookmark link is saved as a single line.
-->
<p>
<ol>

113
.lynx.cfg
View file

@ -90,7 +90,7 @@
#
# Normally we expect you will connect to a remote site, e.g., the Lynx starting
# site:
STARTFILE:http://www.google.co.uk/
STARTFILE:https://www.google.co.uk/
#
# As an alternative, you may want to use a local URL. A good choice for this is
# the user's home directory:
@ -116,7 +116,7 @@ STARTFILE:http://www.google.co.uk/
#
#HELPFILE:http://lynx.isc.org/release/breakout/lynx_help/lynx_help_main.html
.ex
HELPFILE:file://localhost/usr/share/lynx/lynx_help/lynx_help_main.html.gz
HELPFILE:https://lynx.invisible-island.net/lynx_help/
.h2 DEFAULT_INDEX_FILE
# DEFAULT_INDEX_FILE is the default file retrieved when the
@ -124,7 +124,7 @@ HELPFILE:file://localhost/usr/share/lynx/lynx_help/lynx_help_main.html.gz
# An index to your CWIS can be placed here or a document containing
# pointers to lots of interesting places on the web.
#
DEFAULT_INDEX_FILE:http://www.google.co.uk/
DEFAULT_INDEX_FILE:https://www.google.co.uk/
.h1 Interaction
@ -135,7 +135,7 @@ DEFAULT_INDEX_FILE:http://www.google.co.uk/
# buffer of previously entered goto URLs can still be invoked via the
# Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
#
GOTOBUFFER:TRUE
GOTOBUFFER:FALSE
.h2 JUMP_PROMPT
# JUMP_PROMPT is the default statusline prompt for selecting a jumps file
@ -225,8 +225,7 @@ GOTOBUFFER:TRUE
# This definition will be overridden if a "LYNX_SAVE_SPACE" environment
# variable has been set on Unix, or logical has been defined on VMS.
#
# FIXME: Maybe set this:
#SAVE_SPACE:~/foo/
SAVE_SPACE:~/Downloads
.h2 REUSE_TEMPFILES
# Lynx uses temporary files for (among other purposes) the content of
@ -246,7 +245,7 @@ GOTOBUFFER:TRUE
# behaviour when returning to such a page via HISTORY or PREV_DOC functions
# (most users will not encounter and notice this difference).
#
#REUSE_TEMPFILES:FALSE
REUSE_TEMPFILES:TRUE
.h2 LYNX_HOST_NAME
# If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
@ -289,7 +288,7 @@ GOTOBUFFER:TRUE
# This setting is useful only if SESSION_FILE is defined here or in the user's
# .lynxrc file.
#
AUTO_SESSION:TRUE
AUTO_SESSION:FALSE
.h2 SESSION_FILE
# SESSION_FILE defines the file name where lynx will store user sessions.
@ -437,7 +436,6 @@ SESSION_FILE:/home/tadgy/.lynx.session
# Find RFC 1345 at
.url http://tools.ietf.org/html/rfc1345
#
# FIXME: May need to be set to iso-8859-1:
CHARACTER_SET:utf-8
.h2 LOCALE_CHARSET
@ -679,7 +677,7 @@ PREFERRED_LANGUAGE:en_GB,en
# will be made gopher://gopher.wfbr.edu).
#
URL_DOMAIN_PREFIXES:www.
URL_DOMAIN_SUFFIXES:.co.uk,.com,.org.uk,.org,.net
URL_DOMAIN_SUFFIXES:.uk,.co.uk,.com,.org.uk,.org,.net
.h2 FORMS_OPTIONS
# Toggle whether the Options Menu is key-based or form-based;
@ -750,9 +748,9 @@ SHOW_KB_NAME:KB
# Use the NO_PAUSE option (like the command-line -nopause) to override
# all of the delay times.
#
INFOSECS:0.5
MESSAGESECS:1
ALERTSECS:2
INFOSECS:1
MESSAGESECS:2
ALERTSECS:4
#NO_PAUSE:FALSE
.h2 DEBUGSECS
@ -883,7 +881,7 @@ SOURCE_CACHE:FILE
# be preserved (and used as cache), if set to DROP lynx will drop the
# source cache for that document (i.e. only completely downloaded documents
# will be cached in that case).
SOURCE_CACHE_FOR_ABORTED:KEEP
SOURCE_CACHE_FOR_ABORTED:DROP
.h2 ALWAYS_RESUBMIT_POSTS
# If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
@ -1711,6 +1709,7 @@ DEFAULT_BOOKMARK_FILE:/home/tadgy/.lynx-bookmarks.html
# Warning: Note that setting 'il' as an entry in this list will block proxying
# for the .mil domain as well as the .il domain. If the entry is '.il' this
# will not happen.
no_proxy:.lan
.h1 External Programs
@ -1909,7 +1908,6 @@ REFERER_WITH_QUERY:PARTIAL
#
# The definition here will override the setting in userdefs.h.
#
# FIXME: May be less spammy with this false:
VERBOSE_IMAGES:TRUE
.h2 MAKE_LINKS_FOR_ALL_IMAGES
@ -1992,7 +1990,6 @@ SUBSTITUTE_UNDERSCORES:TRUE
# The compilation default, or default defined here, can be toggled via a
# "-minimal" command line switch, and via the LYK_MINIMAL command key.
#
# FIXME: May need to be false:
MINIMAL_COMMENTS:FALSE
.h2 SOFT_DQUOTES
@ -2022,7 +2019,6 @@ MINIMAL_COMMENTS:FALSE
# http and https, since they are less common and may actually be valid in
# some cases.
#
# FIXME: May need to be uncommented:
#STRIP_DOTDOT_URLS:TRUE
.h1 Appearance
@ -2115,6 +2111,8 @@ SCAN_FOR_BURIED_NEWS_REFS:FALSE
#PERSONAL_EXTENSION_MAP:.mime.types
# VMS (sought in user's sys$login directory):
#PERSONAL_EXTENSION_MAP:mime.types
GLOBAL_EXTENSION_MAP=/etc/mime.types
PERSONAL_EXTENSION_MAP:.mime.types
.h2 SUFFIX_ORDER
# With SUFFIX_ORDER the precedence of suffix mappings can be changed.
@ -3278,7 +3276,6 @@ HTMLSRC_ATTRNAME_XFORM:1
# reasonable (otherwise all text will probably have color corresponding to the
# A element).
#
# FIXME: May need to be true:
#FORCE_EMPTY_HREFLESS_A:FALSE
.h2 HIDDEN_LINK_MARKER
@ -3291,8 +3288,7 @@ HTMLSRC_ATTRNAME_XFORM:1
# link becomes non-hidden so it won't be handled as hidden link, e.g., listed
# among hidden links on 'l'isting page.
#
# FIXME: May be change to empty:
HIDDEN_LINK_MARKER:[LINK]
HIDDEN_LINK_MARKER:[HIDDEN-LINK]
.h2 XHTML_PARSING
# XHTML_PARSING - HTML parsing
@ -3301,7 +3297,6 @@ HIDDEN_LINK_MARKER:[LINK]
# <p />
# <a />
# When the option is false, lynx will not treat the tag as an ending.
# FIXME: May be set to true:
#XHTML_PARSING:FALSE
.h1 Appearance
@ -3357,11 +3352,11 @@ LEFTARROW_IN_TEXTFIELD_PROMPT:TRUE
.h2 CONNECT_TIMEOUT
# Specifies (in seconds) connect timeout. Default value is rather huge.
CONNECT_TIMEOUT:60
CONNECT_TIMEOUT:15
.h2 READ_TIMEOUT
# Specifies (in seconds) read-timeout. Default value is rather huge.
READ_TIMEOUT:60
READ_TIMEOUT:10
.h1 Internal Behavior
# These settings control internal lynx behavior - the way it interacts with the
@ -3389,61 +3384,61 @@ READ_TIMEOUT:60
# Note that a few settings (Cookies and Show images) are comprised of more than
# one lynx.cfg setting.
.nf
#ENABLE_LYNXRC:ACCEPT_ALL_COOKIES:ON
ENABLE_LYNXRC:ACCEPT_ALL_COOKIES:ON
ENABLE_LYNXRC:ASSUME_CHARSET:ON
ENABLE_LYNXRC:AUTO_SESSION:ON
#ENABLE_LYNXRC:BOOKMARK_FILE:ON
#ENABLE_LYNXRC:CASE_SENSITIVE_SEARCHING:ON
#ENABLE_LYNXRC:CHARACTER_SET:ON
#ENABLE_LYNXRC:COOKIE_ACCEPT_DOMAINS:ON
#ENABLE_LYNXRC:COOKIE_FILE:ON
#ENABLE_LYNXRC:COOKIE_LOOSE_INVALID_DOMAINS:ON
#ENABLE_LYNXRC:COOKIE_QUERY_INVALID_DOMAINS:ON
#ENABLE_LYNXRC:COOKIE_REJECT_DOMAINS:ON
#ENABLE_LYNXRC:COOKIE_STRICT_INVALID_DOMAINS:ON
#ENABLE_LYNXRC:DIR_LIST_STYLE:ON
ENABLE_LYNXRC:BOOKMARK_FILE:ON
ENABLE_LYNXRC:CASE_SENSITIVE_SEARCHING:ON
ENABLE_LYNXRC:CHARACTER_SET:ON
ENABLE_LYNXRC:COOKIE_ACCEPT_DOMAINS:ON
ENABLE_LYNXRC:COOKIE_FILE:ON
ENABLE_LYNXRC:COOKIE_LOOSE_INVALID_DOMAINS:ON
ENABLE_LYNXRC:COOKIE_QUERY_INVALID_DOMAINS:ON
ENABLE_LYNXRC:COOKIE_REJECT_DOMAINS:ON
ENABLE_LYNXRC:COOKIE_STRICT_INVALID_DOMAINS:ON
ENABLE_LYNXRC:DIR_LIST_STYLE:ON
ENABLE_LYNXRC:DISPLAY:ON
#ENABLE_LYNXRC:EMACS_KEYS:ON
#ENABLE_LYNXRC:FILE_EDITOR:ON
#ENABLE_LYNXRC:FILE_SORTING_METHOD:ON
ENABLE_LYNXRC:EMACS_KEYS:ON
ENABLE_LYNXRC:FILE_EDITOR:ON
ENABLE_LYNXRC:FILE_SORTING_METHOD:ON
ENABLE_LYNXRC:FORCE_COOKIE_PROMPT:ON
ENABLE_LYNXRC:FORCE_SSL_PROMPT:ON
ENABLE_LYNXRC:FTP_PASSIVE:ON
ENABLE_LYNXRC:HTML5_CHARSETS:ON
#ENABLE_LYNXRC:KBLAYOUT:ON
#ENABLE_LYNXRC:KEYPAD_MODE:ON
#ENABLE_LYNXRC:LINEEDIT_MODE:ON
#ENABLE_LYNXRC:LOCALE_CHARSET:ON
ENABLE_LYNXRC:KBLAYOUT:ON
ENABLE_LYNXRC:KEYPAD_MODE:ON
ENABLE_LYNXRC:LINEEDIT_MODE:ON
ENABLE_LYNXRC:LOCALE_CHARSET:ON
ENABLE_LYNXRC:MAKE_LINKS_FOR_ALL_IMAGES:ON
ENABLE_LYNXRC:MAKE_PSEUDO_ALTS_FOR_INLINES:ON
#ENABLE_LYNXRC:MULTI_BOOKMARK:ON
ENABLE_LYNXRC:MULTI_BOOKMARK:ON
ENABLE_LYNXRC:NO_PAUSE:ON
#ENABLE_LYNXRC:PERSONAL_MAIL_ADDRESS:ON
#ENABLE_LYNXRC:PREFERRED_CHARSET:ON
ENABLE_LYNXRC:PERSONAL_MAIL_ADDRESS:ON
ENABLE_LYNXRC:PREFERRED_CHARSET:ON
ENABLE_LYNXRC:PREFERRED_ENCODING:ON
#ENABLE_LYNXRC:PREFERRED_LANGUAGE:ON
ENABLE_LYNXRC:PREFERRED_LANGUAGE:ON
ENABLE_LYNXRC:PREFERRED_MEDIA_TYPES:ON
#ENABLE_LYNXRC:RAW_MODE:ON
#ENABLE_LYNXRC:RUN_ALL_EXECUTION_LINKS:ON
#ENABLE_LYNXRC:RUN_EXECUTION_LINKS_ON_LOCAL_FILES:ON
ENABLE_LYNXRC:RAW_MODE:ON
ENABLE_LYNXRC:RUN_ALL_EXECUTION_LINKS:ON
ENABLE_LYNXRC:RUN_EXECUTION_LINKS_ON_LOCAL_FILES:ON
ENABLE_LYNXRC:SCROLLBAR:ON
#ENABLE_LYNXRC:SELECT_POPUPS:ON
ENABLE_LYNXRC:SELECT_POPUPS:ON
ENABLE_LYNXRC:SEND_USERAGENT:ON
ENABLE_LYNXRC:SESSION_FILE:ON
ENABLE_LYNXRC:SET_COOKIES:ON
#ENABLE_LYNXRC:SHOW_COLOR:ON
#ENABLE_LYNXRC:SHOW_CURSOR:ON
#ENABLE_LYNXRC:SHOW_DOTFILES:ON
ENABLE_LYNXRC:SHOW_COLOR:ON
ENABLE_LYNXRC:SHOW_CURSOR:ON
ENABLE_LYNXRC:SHOW_DOTFILES:ON
ENABLE_LYNXRC:SHOW_KB_RATE:ON
#ENABLE_LYNXRC:SUB_BOOKMARKS:ON
ENABLE_LYNXRC:SUB_BOOKMARKS:ON
ENABLE_LYNXRC:TAGSOUP:ON
ENABLE_LYNXRC:UNDERLINE_LINKS:ON
#ENABLE_LYNXRC:USER_MODE:ON
ENABLE_LYNXRC:USER_MODE:ON
ENABLE_LYNXRC:SEND_USERAGENT:ON
ENABLE_LYNXRC:USERAGENT:ON
#ENABLE_LYNXRC:VERBOSE_IMAGES:ON
#ENABLE_LYNXRC:VI_KEYS:ON
#ENABLE_LYNXRC:VISITED_LINKS:ON
ENABLE_LYNXRC:VERBOSE_IMAGES:ON
ENABLE_LYNXRC:VI_KEYS:ON
ENABLE_LYNXRC:VISITED_LINKS:ON
.fi
.h1 External Programs
@ -3562,7 +3557,6 @@ ENABLE_LYNXRC:USERAGENT:ON
# reported, but not attempted. The default "prompt" permits the user to make
# this choice on a case-by-case basis.
#
# FIXME: Set in .lynxrc:
#FORCE_SSL_PROMPT:PROMPT
.h2 FORCE_COOKIE_PROMPT
@ -3571,7 +3565,6 @@ ENABLE_LYNXRC:USERAGENT:ON
# reported, but not attempted. The default "prompt" permits the user to make
# this choice on a case-by-case basis.
#
# FIXME: Set in .lynxrc:
#FORCE_COOKIE_PROMPT:PROMPT
.h2 SSL_CERT_FILE
@ -3579,7 +3572,7 @@ ENABLE_LYNXRC:USERAGENT:ON
# 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

54
.lynxrc
View file

@ -2,11 +2,11 @@
#
# This file contains options saved from the Lynx Options Screen (normally
# with the 'o' key). To save options with that screen, you must select the
# tickbox:
# checkbox:
# Save options to disk
#
# You must then save the settings using the link on the line above the
# tickbox:
# checkbox:
# Accept Changes
#
# You may also use the command-line option "-forms_options", which displays
@ -88,11 +88,11 @@ anonftp_password=
# bookmark_file specifies the name and location of the default bookmark
# file into which the user can paste links for easy access at a later
# date.
bookmark_file=/home/tadgy/.lynx-bookmarks.html
bookmark_file=.lynx-bookmarks.html
# If case_sensitive_searching is "on" then when the user invokes a search
# using the 's' or '/' keys, the search performed will be case-sensitive
# instead of case-INsensitive. The default is usually "off".
# using the 's' or '/' keys, the search performed will be case sensitive
# instead of case INsensitive. The default is usually "off".
case_sensitive_searching=off
# The character_set definition controls the representation of 8 bit
@ -169,7 +169,7 @@ cookie_file=/home/tadgy/.lynx.cookies
# be applied. A domain with loose checking will be allowed to set cookies
# with an invalid path or domain attribute. All domains will default to
# querying the user for an invalid path or domain.
cookie_loose_invalid_domains=
cookie_loose_invalid_domains=.google.co.uk,google.co.uk,www.google.co.uk,.google.com,google.com,www.google.com
cookie_query_invalid_domains=
@ -187,6 +187,9 @@ dir_list_order=ORDER_BY_NAME
# "DIRECTORIES_FIRST" lists directories first.
dir_list_style=DIRECTORIES_FIRST
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
display=
# If emacs_keys is to "on" then the normal EMACS movement keys:
# ^N = down ^P = up
# ^B = left ^F = right
@ -197,7 +200,7 @@ emacs_keys=off
# or sending mail. If no editor is specified, then file editing is disabled
# unless it is activated from the command line, and the built-in line editor
# will be used for sending mail.
file_editor=nano -UHwxz
file_editor=nano
# The file_sorting_method specifies which value to sort on when viewing
# file lists such as FTP directories. The options are:
@ -256,6 +259,9 @@ keypad_mode=LINKS_ARE_NOT_NUMBERED
# Bash-like Bindings
lineedit_mode=Default Binding
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
locale_charset=off
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
make_pseudo_alts_for_inlines=on
@ -293,7 +299,7 @@ multi_bookmarkY=
multi_bookmarkZ=
# personal_mail_address specifies your personal mail address. The
# address will be sent during HTTP file transfers for authorisation and
# address will be sent during HTTP file transfers for authorization and
# logging purposes, and for mailed comments.
# If you do not want this information given out, set the NO_FROM_HEADER
# to TRUE in lynx.cfg, or use the -nofrom command line switch. You also
@ -338,6 +344,9 @@ preferred_language=en_GB,en
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
preferred_media_types=INTERNAL
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
raw_mode=off
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
scrollbar=off
@ -345,7 +354,7 @@ scrollbar=off
# lacks a MULTIPLE attribute are presented as a vertical list of radio
# buttons or via a popup menu. Note that if the MULTIPLE attribute is
# present in the SELECT start tag, Lynx always will create a vertical list
# of tickboxes for the OPTIONs. A value of "on" will set popup menus
# of checkboxes for the OPTIONs. A value of "on" will set popup menus
# as the default while a value of "off" will set use of radio boxes.
# The default can be overridden via the -popup command line toggle.
select_popups=on
@ -356,21 +365,21 @@ send_useragent=on
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
set_cookies=on
# show_color specifies how to set the colour mode at startup. A value of
# "never" will force colour mode off (treat the terminal as monochrome)
# at startup even if the terminal appears to be colour capable. A value of
# "always" will force colour mode on even if the terminal appears to be
# show_color specifies how to set the color mode at startup. A value of
# "never" will force color mode off (treat the terminal as monochrome)
# at startup even if the terminal appears to be color capable. A value of
# "always" will force color mode on even if the terminal appears to be
# monochrome, if this is supported by the library used to build lynx.
# A value of "default" will yield the behaviour of assuming
# a monochrome terminal unless colour capability is inferred at startup
# A value of "default" will yield the behavior of assuming
# a monochrome terminal unless color capability is inferred at startup
# based on the terminal type, or the -color command line switch is used, or
# the COLORTERM environment variable is set. The default behaviour always is
# the COLORTERM environment variable is set. The default behavior always is
# used in anonymous accounts or if the "option_save" restriction is set.
# The effect of the saved value can be overridden via
# the -color and -nocolor command line switches.
# The mode set at startup can be changed via the "show colour" option in
# The mode set at startup can be changed via the "show color" option in
# the 'o'ptions menu. If the option settings are saved, the "on" and
# "off" "show colour" settings will be treated as "default".
# "off" "show color" settings will be treated as "default".
show_color=default
# show_cursor specifies whether to 'hide' the cursor to the right (and
@ -379,14 +388,14 @@ show_color=default
# Positioning the cursor to the left of the current link or option is
# helpful for speech or braille interfaces, and when the terminal is
# one which does not distinguish the current link based on highlighting
# or colour. A value of "on" will set positioning to the left as the
# or color. A value of "on" will set positioning to the left as the
# default while a value of "off" will set 'hiding' of the cursor.
# The default can be overridden via the -show_cursor command line toggle.
show_cursor=off
# show_dotfiles specifies that the directory listing should include
# "hidden" (dot) files/directories. If set "on", this will be
# honoured only if enabled via userdefs.h and/or lynx.cfg, and not
# honored only if enabled via userdefs.h and/or lynx.cfg, and not
# restricted via a command line switch. If display of hidden files
# is disabled, creation of such files via Lynx also is disabled.
show_dotfiles=off
@ -420,7 +429,7 @@ underline_links=on
user_mode=ADVANCED
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
useragent=Lynx/2.8
useragent=Lynx/2
# If verbose_images is "on", lynx will print the name of the image
# source file in place of [INLINE], [LINK] or [IMAGE]
@ -435,7 +444,7 @@ verbose_images=on
# and the keymap display, respectively.
vi_keys=off
# The visited_links setting controls how Lynx organises the information
# The visited_links setting controls how Lynx organizes the information
# in the Visited Links Page.
visited_links=LAST_REVERSED
@ -447,3 +456,4 @@ session_file=/home/tadgy/.lynx.session
# Normally disabled. See ENABLE_LYNXRC in lynx.cfg
no_pause=off