ELinks 0.12pre1
[elinks/images.git] / doc / man / man1 / elinks.1.in
blobf82d52baaf1d0184b428c6163e626772ef384622
1 .\"     Title: elinks
2 .\"    Author: 
3 .\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
4 .\"      Date: 07/01/2008
5 .\"    Manual: The Elinks text-browser
6 .\"    Source: ELinks 0.12pre1
7 .\"
8 .TH "ELINKS" "1" "07/01/2008" "ELinks 0.12pre1" "The Elinks text\-browser"
9 .\" disable hyphenation
10 .nh
11 .\" disable justification (adjust text to left margin only)
12 .ad l
13 .SH "NAME"
14 elinks \- lynx\-like alternative character mode WWW browser
15 .SH "SYNOPSIS"
16 \fIelinks\fR [OPTION]\&... [URL]\&...
17 .sp
18 .SH "DESCRIPTION"
19 \fIELinks\fR is a text mode WWW browser, supporting colors, table rendering, background downloading, menu driven configuration interface, tabbed browsing and slim code.
20 .sp
21 Frames are supported. You can have different file formats associated with external viewers. mailto: and telnet: are supported via external clients.
22 .sp
23 ELinks can handle both local files and remote URLs. The main supported remote URL protocols are \fIHTTP\fR, \fIHTTPS\fR (with SSL support compiled in) and \fIFTP\fR. Additional protocol support exists for \fIBitTorrent\fR \fIfinger\fR, \fIGopher\fR, \fISMB\fR and \fINNTP\fR.
24 .sp
25 The homepage of \fIELinks\fR can be found at <http://elinks.cz/>, where the ELinks manual is also hosted.
26 .sp
27 .SH "OPTIONS"
28 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.
29 .sp
30 .PP
31 \fB\-anonymous\fR \fI[0|1]\fR (default: 0)
32 .RS 4
33 Restricts
34 ELinks
35 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.
36 .RE
37 .PP
38 \fB\-auto\-submit\fR \fI[0|1]\fR (default: 0)
39 .RS 4
40 Automatically submit the first form in the given URLs.
41 .RE
42 .PP
43 \fB\-base\-session\fR \fI<num>\fR (default: 0)
44 .RS 4
45 Used internally when opening
46 ELinks
47 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.
48 .RE
49 .PP
50 \fB\-config\-dir\fR \fI<str>\fR (default: "")
51 .RS 4
52 Path of the directory
53 ELinks
54 will read and write its config and runtime state files to instead of
55 \fI~/.elinks\fR. If the path does not begin with a '/' it is assumed to be relative to your
56 \fBHOME\fR
57 directory.
58 .RE
59 .PP
60 \fB\-config\-dump\fR
61 .RS 4
62 Print a configuration file with options set to the built\-in defaults to stdout.
63 .RE
64 .PP
65 \fB\-config\-file\fR \fI<str>\fR (default: "elinks.conf")
66 .RS 4
67 Name of the configuration file that all configuration options will be read from and written to. It should be relative to
68 config\-dir.
69 .RE
70 .PP
71 \fB\-config\-help\fR
72 .RS 4
73 Print help for configuration options and exit.
74 .RE
75 .PP
76 \fB\-default\-mime\-type\fR (alias for mime.default_type)
77 .RS 4
78 The default MIME type used for documents of unknown type.
79 .RE
80 .PP
81 \fB\-default\-keys\fR \fI[0|1]\fR (default: 0)
82 .RS 4
83 When set, all keybindings from configuration files will be ignored. It forces use of default keybindings and will reset user\-defined ones on save.
84 .RE
85 .PP
86 \fB\-dump\fR \fI[0|1]\fR (default: 0)
87 .RS 4
88 Print formatted plain\-text versions of given URLs to stdout.
89 .RE
90 .PP
91 \fB\-dump\-charset\fR (alias for document.dump.codepage)
92 .RS 4
93 Codepage used when formatting dump output.
94 .RE
95 .PP
96 \fB\-dump\-color\-mode\fR (alias for document.dump.color_mode)
97 .RS 4
98 Color mode used with
99 \-dump.
102 \fB\-dump\-width\fR (alias for document.dump.width)
103 .RS 4
104 Width of the dump output.
107 \fB\-eval\fR
108 .RS 4
109 Specify configuration file directives on the command\-line which will be evaluated after all configuration files has been read. Example usage:
110 \fB\-eval 'set protocol.file.allow_special_files = 1'\fR
113 \fB\-force\-html\fR
114 .RS 4
115 Makes
116 ELinks
117 assume documents of unknown types are HTML. Useful when using
118 ELinks
119 as an external viewer from MUAs. This is equivalent to
120 \fB\-default\-mime\-type\fR\fB text/html\fR.
123 \fB\-?\fR, \fB\-h\fR, \fB\-help\fR
124 .RS 4
125 Print usage help and exit.
128 \fB\-localhost\fR \fI[0|1]\fR (default: 0)
129 .RS 4
130 Restricts
131 ELinks
132 to work offline and only connect to servers with local addresses (ie. 127.0.0.1). No connections to remote servers will be permitted.
135 \fB\-long\-help\fR
136 .RS 4
137 Print detailed usage help and exit.
140 \fB\-lookup\fR
141 .RS 4
142 Look up specified host and print all DNS resolved IP addresses.
145 \fB\-no\-connect\fR \fI[0|1]\fR (default: 0)
146 .RS 4
148 ELinks
149 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
150 \-touch\-files.
153 \fB\-no\-home\fR \fI[0|1]\fR (default: 0)
154 .RS 4
155 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.
158 \fB\-no\-numbering\fR (alias for document.dump.numbering)
159 .RS 4
160 Prevents printing of link number in dump output. Note that this really affects only
161 \-dump, nothing else.
164 \fB\-no\-references\fR (alias for document.dump.references)
165 .RS 4
166 Prevents printing of references (URIs) of document links in dump output. Note that this really affects only
167 \-dump, nothing else.
170 \fB\-remote\fR
171 .RS 4
172 Control a remote
173 ELinks
174 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:
176 .RS 4
177 \h'-04'\(bu\h'+03'\fBping()\fR: look for a remote instance
180 .RS 4
181 \h'-04'\(bu\h'+03'\fBopenURL()\fR: prompt URL in current tab
184 .RS 4
185 \h'-04'\(bu\h'+03'\fBopenURL(\fR\fB\fIURL\fR\fR\fB)\fR: open URL in current tab
188 .RS 4
189 \h'-04'\(bu\h'+03'\fBopenURL(\fR\fB\fIURL\fR\fR\fB, \fR\fBnew\-tab\fR\fB)\fR: open URL in new tab
192 .RS 4
193 \h'-04'\(bu\h'+03'\fBopenURL(\fR\fB\fIURL\fR\fR\fB, \fR\fBnew\-window\fR\fB)\fR: open URL in new window
196 .RS 4
197 \h'-04'\(bu\h'+03'\fBaddBookmark(\fR\fB\fIURL\fR\fR\fB)\fR: bookmark URL
200 .RS 4
201 \h'-04'\(bu\h'+03'\fBinfoBox(\fR\fB\fItext\fR\fR\fB)\fR: show text in a message box
204 .RS 4
205 \h'-04'\(bu\h'+03'\fBxfeDoCommand(\fR\fBopenBrowser\fR\fB)\fR: open new window
209 \fB\-session\-ring\fR \fI<num>\fR (default: 0)
210 .RS 4
211 ID of session ring this
212 ELinks
213 session should connect to.
214 ELinks
215 works in so\-called session rings, whereby all instances of
216 ELinks
217 are interconnected and share state (cache, bookmarks, cookies, and so on). By default, all
218 ELinks
219 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
220 ELinks
221 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
222 ELinks
223 instances each running standalone, rather use the
224 \-no\-connect
225 command\-line option. Also note that normally no runtime state files are written to the disk when this option is used. See also
226 \-touch\-files.
229 \fB\-source\fR \fI[0|1]\fR (default: 0)
230 .RS 4
231 Print given URLs in source form to stdout.
234 \fB\-touch\-files\fR \fI[0|1]\fR (default: 0)
235 .RS 4
236 When enabled, runtime state files (bookmarks, history, etc.) are written to disk, even when
237 \-no\-connect
239 \-session\-ring
240 is used. The option has no effect if not used in conjunction with any of these options.
243 \fB\-verbose\fR \fI<num>\fR (default: 1)
244 .RS 4
245 The verbose level controls what messages are shown at start up and while running:
247 .RS 4
248 \h'-04'\(bu\h'+03'0 means only show serious errors
251 .RS 4
252 \h'-04'\(bu\h'+03'1 means show serious errors and warnings
255 .RS 4
256 \h'-04'\(bu\h'+03'2 means show all messages
260 \fB\-version\fR
261 .RS 4
262 Print
263 ELinks
264 version information and exit.
266 Generated using output from ELinks version 0.12pre1.
268 .SH "ENVIRONMENT VARIABLES"
270 COMSPEC, SHELL
271 .RS 4
272 The shell used for File \-> OS Shell on DOS/Windows and UNIX, respectively.
275 EDITOR
276 .RS 4
277 The program to use for external editor (when editing textareas).
280 ELINKS_CONFDIR
281 .RS 4
282 The location of the directory containing configuration files. If not set the default is
283 ~/.elinks/.
286 ELINKS_TWTERM, LINKS_TWTERM
287 .RS 4
288 The command to run when selecting File \-> New window and if
289 TWDISPLAY
290 is defined (default
291 twterm \-e).
294 ELINKS_XTERM, LINKS_XTERM
295 .RS 4
296 The command to run when selecting File \-> New window and if
297 DISPLAY
298 is defined (default
299 xterm \-e).
302 FTP_PROXY, HTTP_PROXY, HTTPS_PROXY
303 .RS 4
304 The host to proxy the various protocol traffic through.
307 NO_PROXY
308 .RS 4
309 A comma separated list of URLs which should not be proxied.
312 HOME
313 .RS 4
314 The path to the users home directory. Used when expanding
318 WWW_HOME
319 .RS 4
320 Homepage location (as in
321 \fBlynx\fR(1)).
323 .SH "FILES"
324 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 \fIdocument.css.stylesheet\fR option.
327 @sysconfdir@/elinks.conf
328 .RS 4
329 Site\-wide configuration file.
332 ~/.elinks/elinks.conf
333 .RS 4
334 Per\-user config file, loaded after site\-wide configuration.
337 ~/.elinks/bookmarks
338 .RS 4
339 Bookmarks file.
342 ~/.elinks/cookies
343 .RS 4
344 Cookies file.
347 ~/.elinks/exmodehist
348 .RS 4
349 Exmode history file.
352 ~/.elinks/formhist
353 .RS 4
354 Form history file.
357 ~/.elinks/globhist
358 .RS 4
359 History file containing most recently visited URLs.
362 ~/.elinks/gotohist
363 .RS 4
364 GoTo URL dialog history file.
367 ~/.elinks/hooks.{js,lua,pl,py,rb,scm}
368 .RS 4
369 Browser scripting hooks.
372 ~/.elinks/searchhist
373 .RS 4
374 Search history file.
377 ~/.elinks/socket
378 .RS 4
379 Internal
380 \fIELinks\fR
381 socket for communication between its instances.
384 ~/.mailcap, /etc/mailcap
385 .RS 4
386 Mappings of MIME types to external handlers.
389 ~/.mime.types, /etc/mime.types
390 .RS 4
391 Mappings of file extensions to MIME types.
393 .SH "BUGS"
394 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>.
396 .SH "LICENSE"
397 \fIELinks\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.
399 .SH "AUTHORS"
400 The \fILinks\fR browser \- on which \fIELinks\fR is based \- was written by Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>. \fIELinks\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.
402 This manual page was written by Peter Gervai <grin@tolna.net>, using excerpts from a (yet?) unknown \fILinks\fR fan for the \fIDebian 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>.
404 .SH "SEE ALSO"
405 \fBelinkskeys\fR(5), \fBelinks.conf\fR(5), \fBlinks\fR(1), \fBlynx\fR(1), \fBw3m\fR(1), \fBwget\fR(1)