2008-03-05 02:48:33 -05:00
. \" Title: elinks
. \" Author:
. \" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
2008-05-03 13:37:44 -04:00
. \" Date: 05/03/2008
2008-03-08 07:53:56 -05:00
. \" Manual: The Elinks text-browser
. \" Source: ELinks 0.12.GIT
2008-03-05 02:48:33 -05:00
. \"
2008-05-03 13:37:44 -04:00
.TH "ELINKS" "1" "05/03/2008" "ELinks 0.12.GIT" "The Elinks text\-browser"
2008-03-05 02:48:33 -05:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
elinks \- lynx\- like alternative character mode WWW browser
2005-09-15 09:58:31 -04:00
.SH "SYNOPSIS"
2008-03-05 02:48:33 -05:00
\fI elinks\fR [OPTION]\& ... [URL]\& ...
.sp
2005-09-15 09:58:31 -04:00
.SH "DESCRIPTION"
2008-03-05 02:48:33 -05:00
\fI ELinks\fR is a text mode WWW browser, supporting colors, table rendering, background downloading, menu driven configuration interface, tabbed browsing and slim code.
.sp
Frames are supported. You can have different file formats associated with external viewers. mailto: and telnet: are supported via external clients.
.sp
ELinks can handle both local files and remote URLs. The main supported remote URL protocols are \fI HTTP\fR , \fI HTTPS\fR (with SSL support compiled in) and \fI FTP\fR . Additional protocol support exists for \fI BitTorrent\fR \fI finger\fR , \fI Gopher\fR , \fI SMB\fR and \fI NNTP\fR .
.sp
The homepage of \fI ELinks\fR can be found at <http://elinks.cz/>, where the ELinks manual is also hosted.
.sp
2005-09-15 09:58:31 -04:00
.SH "OPTIONS"
2008-03-05 02:48:33 -05:00
Most options can be set in the user interface or config file, so usually you do not need to care about them. Note that this list is roughly equivalent to the output of running ELinks with the option \- \- long\- help.
.sp
.PP
2008-05-03 13:37:44 -04:00
\fB \- anonymous\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
Restricts
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
so it can run on an anonymous account. Local file browsing, downloads, and modification of options will be disabled. Execution of viewers is allowed, but entries in the association table can't be added or modified.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- auto\- submit\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
Automatically submit the first form in the given URLs.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- base\- session\fR \fI <num>\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
Used internally when opening
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
instances in new windows. The ID maps to information that will be used when creating the new instance. You don't want to use it.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- config\- dir\fR \fI <str>\fR (default: "")
2008-03-05 02:48:33 -05:00
.RS 4
Path of the directory
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
will read and write its config and runtime state files to instead of
2008-05-03 13:37:44 -04:00
\fI ~/.elinks\fR . If the path does not begin with a '/' it is assumed to be relative to your
\fB HOME\fR
2008-03-05 02:48:33 -05:00
directory.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- config\- dump\fR
2008-03-05 02:48:33 -05:00
.RS 4
Print a configuration file with options set to the built\- in defaults to stdout.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- config\- file\fR \fI <str>\fR (default: "elinks.conf")
2008-03-05 02:48:33 -05:00
.RS 4
2008-05-03 13:37:44 -04:00
Name of the configuration file that all configuration options will be read from and written to. It should be relative to
config\- dir.
2008-03-05 02:48:33 -05:00
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- config\- help\fR
2008-03-05 02:48:33 -05:00
.RS 4
Print help for configuration options and exit.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- default\- mime\- type\fR (alias for mime.default_type)
2008-03-05 02:48:33 -05:00
.RS 4
The default MIME type used for documents of unknown type.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- default\- keys\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
When set, all keybindings from configuration files will be ignored. It forces use of default keybindings and will reset user\- defined ones on save.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- dump\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
Print formatted plain\- text versions of given URLs to stdout.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- dump\- charset\fR (alias for document.dump.codepage)
2008-03-05 02:48:33 -05:00
.RS 4
Codepage used when formatting dump output.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- dump\- color\- mode\fR (alias for document.dump.color_mode)
2008-03-05 02:48:33 -05:00
.RS 4
Color mode used with
\- dump.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- dump\- width\fR (alias for document.dump.width)
2008-03-05 02:48:33 -05:00
.RS 4
Width of the dump output.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- eval\fR
2008-03-05 02:48:33 -05:00
.RS 4
Specify configuration file directives on the command\- line which will be evaluated after all configuration files has been read. Example usage:
2008-05-03 13:37:44 -04:00
\fB \- eval 'set protocol.file.allow_special_files = 1'\fR
2008-03-05 02:48:33 -05:00
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- force\- html\fR
2008-03-05 02:48:33 -05:00
.RS 4
Makes
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
assume documents of unknown types are HTML. Useful when using
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
as an external viewer from MUAs. This is equivalent to
2008-05-03 13:37:44 -04:00
\fB \- default\- mime\- type\fR \fB text/html\fR .
2008-03-05 02:48:33 -05:00
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- ?\fR , \fB \- h\fR , \fB \- help\fR
2008-03-05 02:48:33 -05:00
.RS 4
Print usage help and exit.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- localhost\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
Restricts
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
to work offline and only connect to servers with local addresses (ie. 127.0.0.1). No connections to remote servers will be permitted.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- long\- help\fR
2008-03-05 02:48:33 -05:00
.RS 4
Print detailed usage help and exit.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- lookup\fR
2008-03-05 02:48:33 -05:00
.RS 4
Look up specified host and print all DNS resolved IP addresses.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- no\- connect\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
Run
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
as a separate instance instead of connecting to an existing instance. Note that normally no runtime state files (bookmarks, history, etc.) are written to the disk when this option is used. See also
\- touch\- files.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- no\- home\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
2008-05-03 13:37:44 -04:00
Disables creation and use of files in the user specific home configuration directory (\fI ~/.elinks\fR ). It forces default configuration values to be used and disables saving of runtime state files.
2008-03-05 02:48:33 -05:00
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- no\- numbering\fR (alias for document.dump.numbering)
2008-03-05 02:48:33 -05:00
.RS 4
Prevents printing of link number in dump output. Note that this really affects only
\- dump, nothing else.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- no\- references\fR (alias for document.dump.references)
2008-03-05 02:48:33 -05:00
.RS 4
Prevents printing of references (URIs) of document links in dump output. Note that this really affects only
\- dump, nothing else.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- remote\fR
2008-03-05 02:48:33 -05:00
.RS 4
Control a remote
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
instance by passing commands to it. The option takes an additional argument containing the method which should be invoked and any parameters that should be passed to it. For ease of use, the additional method argument can be omitted in which case any URL arguments will be opened in new tabs in the remote instance. Following is a list of the supported methods:
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB ping()\fR : look for a remote instance
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB openURL()\fR : prompt URL in current tab
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB openURL(\fR \fB \fI URL\fR \fR \fB )\fR : open URL in current tab
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB openURL(\fR \fB \fI URL\fR \fR \fB , \fR \fB new\- tab\fR \fB )\fR : open URL in new tab
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB openURL(\fR \fB \fI URL\fR \fR \fB , \fR \fB new\- window\fR \fB )\fR : open URL in new window
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB addBookmark(\fR \fB \fI URL\fR \fR \fB )\fR : bookmark URL
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB infoBox(\fR \fB \fI text\fR \fR \fB )\fR : show text in a message box
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'\fB xfeDoCommand(\fR \fB openBrowser\fR \fB )\fR : open new window
2008-03-05 02:48:33 -05:00
.RE
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- session\- ring\fR \fI <num>\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
ID of session ring this
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
session should connect to.
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
works in so\- called session rings, whereby all instances of
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
are interconnected and share state (cache, bookmarks, cookies, and so on). By default, all
2008-05-03 13:37:44 -04:00
ELinks
instances connect to session ring 0. You can change that behaviour with this switch and form as many session rings as you want. Obviously, if the session\- ring with this number doesn't exist yet, it's created and this
ELinks
instance will become the master instance (that usually doesn't matter for you as a user much). Note that you usually don't want to use this unless you're a developer and you want to do some testing \- if you want the
ELinks
2008-03-05 02:48:33 -05:00
instances each running standalone, rather use the
\- no\- connect
command\- line option. Also note that normally no runtime state files are written to the disk when this option is used. See also
\- touch\- files.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- source\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
Print given URLs in source form to stdout.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- touch\- files\fR \fI [0|1]\fR (default: 0)
2008-03-05 02:48:33 -05:00
.RS 4
When enabled, runtime state files (bookmarks, history, etc.) are written to disk, even when
\- no\- connect
or
\- session\- ring
is used. The option has no effect if not used in conjunction with any of these options.
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- verbose\fR \fI <num>\fR (default: 1)
2008-03-05 02:48:33 -05:00
.RS 4
2005-09-15 09:58:31 -04:00
The verbose level controls what messages are shown at start up and while running:
2008-03-05 02:48:33 -05:00
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'0 means only show serious errors
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'1 means show serious errors and warnings
2008-03-05 02:48:33 -05:00
.RE
.sp
.RS 4
2008-05-03 13:37:44 -04:00
\h '-04'\(bu \h '+03'2 means show all messages
2008-03-05 02:48:33 -05:00
.RE
.RE
.PP
2008-05-03 13:37:44 -04:00
\fB \- version\fR
2008-03-05 02:48:33 -05:00
.RS 4
Print
2008-05-03 13:37:44 -04:00
ELinks
2008-03-05 02:48:33 -05:00
version information and exit.
.RE
Generated using output from ELinks version 0.12.GIT.
.sp
2005-09-15 09:58:31 -04:00
.SH "ENVIRONMENT VARIABLES"
2008-03-05 02:48:33 -05:00
.PP
2005-09-15 09:58:31 -04:00
COMSPEC, SHELL
2008-03-05 02:48:33 -05:00
.RS 4
The shell used for File \- > OS Shell on DOS/Windows and UNIX, respectively.
.RE
.PP
2005-09-15 09:58:31 -04:00
EDITOR
2008-03-05 02:48:33 -05:00
.RS 4
The program to use for external editor (when editing textareas).
.RE
.PP
2005-09-15 09:58:31 -04:00
ELINKS_CONFDIR
2008-03-05 02:48:33 -05:00
.RS 4
The location of the directory containing configuration files. If not set the default is
~/.elinks/.
.RE
.PP
2005-09-15 09:58:31 -04:00
ELINKS_TWTERM, LINKS_TWTERM
2008-03-05 02:48:33 -05:00
.RS 4
The command to run when selecting File \- > New window and if
TWDISPLAY
is defined (default
2008-03-02 17:29:17 -05:00
twterm \- e).
2008-03-05 02:48:33 -05:00
.RE
.PP
2005-09-15 09:58:31 -04:00
ELINKS_XTERM, LINKS_XTERM
2008-03-05 02:48:33 -05:00
.RS 4
The command to run when selecting File \- > New window and if
DISPLAY
is defined (default
2008-03-02 17:29:17 -05:00
xterm \- e).
2008-03-05 02:48:33 -05:00
.RE
.PP
2005-09-15 09:58:31 -04:00
FTP_PROXY, HTTP_PROXY, HTTPS_PROXY
2008-03-05 02:48:33 -05:00
.RS 4
The host to proxy the various protocol traffic through.
.RE
.PP
2005-09-15 09:58:31 -04:00
NO_PROXY
2008-03-05 02:48:33 -05:00
.RS 4
A comma separated list of URLs which should not be proxied.
.RE
.PP
2005-09-15 09:58:31 -04:00
HOME
2008-03-05 02:48:33 -05:00
.RS 4
The path to the users home directory. Used when expanding
~/.
.RE
.PP
2005-09-15 09:58:31 -04:00
WWW_HOME
2008-03-05 02:48:33 -05:00
.RS 4
Homepage location (as in
\fB lynx\fR (1)).
.RE
2005-09-15 09:58:31 -04:00
.SH "FILES"
2008-03-02 17:29:17 -05:00
Configuration files controlled by ELinks are located in the user configuration directory, defaulting to \fI ~/.elinks/\fR . In addition to the files listed below, a user defined CSS stylesheet can be defined using the \fI document.css.stylesheet\fR option.
.sp
2008-03-05 02:48:33 -05:00
.PP
@sysconfdir@/elinks.conf
.RS 4
Site\- wide configuration file.
.RE
.PP
~/.elinks/elinks.conf
.RS 4
Per\- user config file, loaded after site\- wide configuration.
.RE
.PP
~/.elinks/bookmarks
.RS 4
Bookmarks file.
.RE
.PP
~/.elinks/cookies
.RS 4
Cookies file.
.RE
.PP
~/.elinks/exmodehist
.RS 4
Exmode history file.
.RE
.PP
~/.elinks/formhist
.RS 4
Form history file.
.RE
.PP
~/.elinks/globhist
.RS 4
History file containing most recently visited URLs.
.RE
.PP
~/.elinks/gotohist
.RS 4
GoTo URL dialog history file.
.RE
.PP
~/.elinks/hooks.{js,lua,pl,py,rb,scm}
.RS 4
Browser scripting hooks.
.RE
.PP
~/.elinks/searchhist
.RS 4
Search history file.
.RE
.PP
~/.elinks/socket
.RS 4
Internal
\fI ELinks\fR
socket for communication between its instances.
.RE
.PP
2008-03-02 17:29:17 -05:00
~/.mailcap, /etc/mailcap
2008-03-05 02:48:33 -05:00
.RS 4
Mappings of MIME types to external handlers.
.RE
.PP
2008-03-02 17:29:17 -05:00
~/.mime.types, /etc/mime.types
2008-03-05 02:48:33 -05:00
.RS 4
Mappings of file extensions to MIME types.
.RE
2005-09-15 09:58:31 -04:00
.SH "BUGS"
2008-03-05 02:48:33 -05:00
Please report any other bugs you find to the either the ELinks mailing list at <elinks\- users@linuxfromscratch.org> or if you prefer enter them into the bug tracking system <http://bugzilla.elinks.cz/>. More information about how to get in contact with developers and getting help can be found on the community page <http://elinks.cz/community.html>.
.sp
2005-09-15 09:58:31 -04:00
.SH "LICENSE"
2008-03-05 02:48:33 -05:00
\fI ELinks\fR is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License <http://www.gnu.org/copyleft/gpl.html> as published by the Free Software Foundation; version 2 of the License.
.sp
2005-09-15 09:58:31 -04:00
.SH "AUTHORS"
2008-03-05 02:48:33 -05:00
The \fI Links\fR browser \- on which \fI ELinks\fR is based \- was written by Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. \fI ELinks\fR was written by Petr Baudis <pasky@ucw.cz>. See file AUTHORS in the source tree for a list of people contributing to this project.
.sp
This manual page was written by Peter Gervai <grin@tolna.net>, using excerpts from a (yet?) unknown \fI Links\fR fan for the \fI Debian GNU/Linux system\fR (but may be used by others). Contributions from Francis A. Holop. Extended, clarified and made more up\- to\- date by Petr Baudis <pasky@ucw.cz>. Updated by Zas <zas@norz.org>. The conversion to Asciidoc and trimming was done by Jonas Fonseca <fonseca@diku.dk>.
.sp
2005-09-15 09:58:31 -04:00
.SH "SEE ALSO"
2008-03-05 02:48:33 -05:00
\fB elinkskeys\fR (5), \fB elinks.conf\fR (5), \fB links\fR (1), \fB lynx\fR (1), \fB w3m\fR (1), \fB wget\fR (1)
.sp