_ _
___ | |__ __ _ _______ | |_
/ _ \| '_ \ / _` |_ / _ \| __|
| (_) | | | | (_| |/ / (_) | |_
\___/|_| |_|\__,_/___\___/ \__|
lynx_config —
lynx.cfg and lynxrc options
Lynx has two configuration files /etc/lynx.cfg (defaults) and
~/.lynxrc (user specific configurations).
This is the default location, this file can be changed
lynx -cfg=PATH_TO_LYNXCFG or using the environtment
variable LYNX_CFG. The format is: OPTION:VALUE .
STARTFILE:HOME_URL
DEFAULT_INDEX_FILE:HOME_URL|INDEX_FILE #Accessible when using the key I.
INCLUDE:filename[for setting1,setting2]
| - STARTFILE and DEFAULT_INDEX_FILE could be used with a bookmark file or
jumpfile. |
| - When using a local file for STARTFILE or DEFAULT_INDEX_FILE, use
file://localhost/PATH. |
| - The variable WWW_HOME will take precedence over STARTFILE. |
| - INCLUDE can be used to have specific values and include the system
lynx.cfg or other files. |
The file is saved to $HOME/.lynxrc, there is no argument to change
this. To change the location of this file
HOME=ALT_HOME_FOR_LYNX lynx . The format is:
option=value .
| lynx.cfg |
| VI_KEYS_ALWAYS_ON:TRUE|FALSE |
| lynx.cfg |
| EMACS_KEYS_ALWAYS_ON:TRUE|FALSE |
| ~/.lynxrc |
| emacs_keys=off |
| ~/.lynxrc |
| vi_keys=off |
back to top
| lynx.cfg |
| ACCEPT_ALL_COOKIES:FALSE |
| ~/.lynxrc |
| accept_all_cookies=off |
PERSISTENT_COOKIES:TRUE|FALSE(default)
COOKIE_SAVE_FILE:ABSOLUTE_PATH #file to store cookies. Requires PERSISTENT_COOKIES:TRUE
SET_COOKIES:TRUE(default)|FALSE
| lynx.cfg |
| COOKIE_FILE:ABSOLUTE_PATH #file from which to read cookies. Requires
PERSISTENT_COOKIES:TRUE |
| ~/.lynxrc |
| cookie_file= |
| lynx.cfg |
| COOKIE_REJECT_DOMAINS:DOMAIN |
| lynx.cfg |
| COOKIE_ACCEPT_DOMAINS: |
| ~/.lynxrc |
| cookie_accept_domains= |
| ~/.lynxrc |
| cookie_reject_domains= |
| - COOKIE_FILE and COOKIE_SAVE_FILE should be the same path. |
| - SET_COOKIES will prevent lynx from accepting new cookies.
If PERSISTENT_COOKIES are stored, they will
continue to be processed.
|
back to top
| Environment variable |
| lynx.cf |
| lynxrc |
| Value |
| LYNX_SAVE_SPACE |
| SAVE_SPACE |
| |
| ABSOLUTE_PATH |