diff --git a/ChangeLog b/ChangeLog
index 24f0d41f..132d6ef7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,9 +3,17 @@ by doing
$ cg log
-in a checked out GIT tree, or using the gitweb interface currently
-available at
+in a checked out GIT tree, or using the gitweb interface available at:
- http://pasky.or.cz/gitweb.cgi
+ http://repo.or.cz/w/elinks.git
-(to be moved to a nicer location later).
+The data in the main repository reaches back to 2005-09-16, when
+ELinks switched from CVS to GIT. To see changes made in CVS before
+that, download the history with the contrib/grafthistory.sh script.
+Unfortunately, because files in the CVS repository have been moved or
+copied around, checking out a historical version often places files in
+the wrong directories. The history is usable for git-blame, however.
+It is currently also viewable at these sites:
+
+ http://pasky.or.cz/gitweb.cgi?p=elinks-history.git
+ http://cvsweb.elinks.cz/cvsweb.cgi/elinks/
diff --git a/Makefile.config.in b/Makefile.config.in
index b6802b17..2426ddf8 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -182,6 +182,10 @@ MAKE_COLOR = @MAKE_COLOR@
LIB_O_NAME = lib.o
+# Reverse a CONFIG_* string
+# Usage $(call not,$(CONFIG_FOO))
+not = $(if $(findstring yes,$(1)),no,yes)
+
### This is here because Makefile.config is usually the first thing
### we get and sometimes the all rule can be implicit, yet we want
### it always as the default one. So this should make sure it always
diff --git a/Makefile.lib b/Makefile.lib
index 3dd69384..96c85185 100644
--- a/Makefile.lib
+++ b/Makefile.lib
@@ -191,6 +191,21 @@ test-default:
ifdef TEST_PROGS
TESTDEPS-$(CONFIG_DEBUG) += $(top_builddir)/src/util/memdebug.o
+TESTDEPS-$(call not,$(CONFIG_SMALL)) += \
+ $(top_builddir)/src/util/fastfind.o \
+
+# Add most of the basic utility library to the test dependencies.
+TESTDEPS += \
+ $(top_builddir)/src/intl/charsets.o \
+ $(top_builddir)/src/osdep/stub.o \
+ $(top_builddir)/src/util/conv.o \
+ $(top_builddir)/src/util/error.o \
+ $(top_builddir)/src/util/file.o \
+ $(top_builddir)/src/util/hash.o \
+ $(top_builddir)/src/util/memory.o \
+ $(top_builddir)/src/util/string.o \
+ $(top_builddir)/src/util/time.o
+
TESTDEPS += $(TESTDEPS-yes)
TEST_LIB=$(top_srcdir)/test/libtest.sh
diff --git a/NEWS b/NEWS
index 5369125b..e917f75c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,8 @@
Release info
============
-You can see the complete list of recent changes, bugfixes and new features in
-the link:http://pasky.or.cz/gitweb.cgi[gitweb interface]. See the ChangeLog
+You can see the complete list of recent changes, bugfixes and new features
+in the http://repo.or.cz/w/elinks.git[gitweb interface]. See the ChangeLog
file for details.
ELinks 0.13.GIT now:
@@ -17,192 +17,160 @@ To be released as ELinks 0.12.0.
//////////////////////////////////////////////////////////////////////
This list now contains all the important changes from ELinks 0.11.0 to
-ELinks 0.12.GIT (049cc9c6b37951a739dfd6b20ca92c170188824c). The next
-step will be to scan through Bugzilla and look for bug numbers that
-were not mentioned in related commit messages.
+ELinks 0.12.GIT (0cf15ca9d9dbc00c10f23440674fcdb832dffd75) and related
+bug numbers. Each section is sorted by severity and grouped by topic.
The list no doubt includes several changes that are not really
important enough. Please move them to the separate "should be removed
from NEWS" list below, or coalesce several changes into one entry (but
-do list all bug numbers). It might be a good idea to sort the entries
-roughly in decreasing order of importance.
+do list all bug numbers).
//////////////////////////////////////////////////////////////////////
-* Notable new features
- - (unfinished enhancement 822) UTF-8 as terminal charset: not
- merely UTF-8 I/O of a unibyte codepage as in previous versions.
- Double-cell (aka fullwidth) and non-BMP characters work too, but
- combining characters and right-to-left text do not. The only
- multibyte charset ELinks can decode is still UTF-8, so if the
- server outputs e.g. Shift-JIS, you'd better recode with a proxy.
- - (enhancement 844) SMB protocol using libsmbclient. This replaces
- the smbclient-based code that was disabled in ELinks 0.11.2.
-* Incompatibilities
- - ECMAScript support is now disabled by default. It has known
- bugs (548, 755, 771) with which malicious web pages can crash or
- hang ELinks, and its security goals are undocumented. If you must
- enable ECMAScript support, it would be prudent to restrict the
- ELinks process with a sandbox of some kind.
- - (bug 871) The numbering of terminal.*.colors no longer depends on
- config options. This change makes elinks.conf portable between
- different configurations but unfortunately not between this and
- previous versions.
- - Changed Python goto_url_hook(current) to goto_url_hook(new). The
- hook can call the new function elinks.current_url() if desired.
- The Python scripting back-end is much more featureful than in
- previous releases, but it is still considered experimental.
-* Miscellaneous
- - (enhancement 752) Documentation updates
- - (enhancement 381) Reduce memory consumption of codepages and some
- other arrays.
- - (enhancement) Reject invalid UTF-8 input from documents and
- terminals.
-* Changes in terminal support
- - (enhancement) Mouse wheel support on BSD via moused -z 4
- - (enhancement) Support for mouse wheel over GPM
- - (bugfix 724) Better parsing of escape sequences and control
- sequences from the terminal.
- - (bugfix) Decode UTF-8 only from bytes, not from codes of special
- keys.
- - (new feature) 24-bit truecolor mode
- - (enhancement) "Resize terminal" tries to use the window size
- increment.
- - (new feature) Support Ctrl+Alt+letter key combinations.
- - (bugfix) Subprocess forked for SIGTSTP calls _exit, not exit.
- - (enhancement) Turn terminal transparency off by default.
-* Changes in cookies and bookmarks
- - (new feature) "Add server" button in the cookie manager.
- - (enhancement) Tell the user how to move bookmarks.
- - (enhancement 887) Save in cookie manager should save cookies even
- if unmodified.
-* Changes in the user interface
- - (new feature 145) Internal clipboard support
- - (enhancement) Localization updates
- - (bugfix 355) Add documents displayed via "What to do" dialog to
- globhist
- - (new feature) Autocreate directories needed to download a file.
- - (new feature) Option ui.show_menu_bar_always
- - (new feature) Option ui.tabs moves the tab bar to the top.
- - (new feature) New actions: kill-word-back, move-backward-word,
- move-forward-word
- - (enhancement) Ctrl+characters don't trigger hotkeys in menus and
- dialogs.
- - (bugfix 396) Never show empty filename in the what-to-do dialog
- - (bugfix 930) Refresh status bar when key prefix is eaten.
-* Changes in support for URI schemes, protocols, caching, and encodings
- - (bugfix) Fixes cache-control issue. See elinks-users mail from 28 Oct 2005
- - (new feature) LZMA decompression
- - (bugfix 517) Fixed and enabled HTTP bzip2 decompression
- - (new feature) HTTP negotiate-auth using GSSAPI
- - (bugfix 770) Download resuming simply restarts the download
- - (bugfix 691) Fix IPv4 DNS lookup bug
- - (enhancement 790) If-Modified-Since and If-None-Match
- - (bugfix) gzip_read: always call gzclearerr
- - (bugfix 107) Recognize "localhost" in file: URIs.
- - (bugfix 756) "assertion (cached)->object.refcount >= 0 failed"
- after HTTP proxy was changed
- - (bugfix) Encode and decode filenames in FSP URLs.
- - (enhancement) FSP progress indicator and password prompt.
- - (bugfix) Support much longer locale-specific timestamps when
- formatting a directory listing. LC_TIME=fi_FI.UTF-8 now works.
- - (bugfix 712) GnuTLS works on https://www-s.uiuc.edu
-* Changes in parsing and rendering of HTML (without DOM)
- - (bugfix) Use frame->name instead of target avoiding possible segfault.
- - (bugfix 284) Render closing parentheses for HTML elements SUB, SUP
- in the same line; don't let them fall to the next.
- - (enhancement) Show quote characters for HTML element Q, rather
- than italics.
- - (enhancement) Add support for parsing space separated CSS class
- attribute values
- - (bugfix 387) Treat
inside
...
as a newline.
-* Changes in parsing and rendering of non-HTML content-types
- - (new feature 121) If a mailcap entry indicates copiousoutput,
- ELinks itself acts as a pager.
- - (new feature 916) If a mailcap entry has no %s, provide the file
- as stdin.
-* Changes in the document viewer and tabs
- - (new feature) Highlight links as one enters link prefixes.
- - (new feature) Backspace backs out the last digit of the prefix.
- - (bugfix) Tabs opened by -remote now go behind existing dialogs.
- - (new feature 622) -dump-color-mode
- - (bugfix) Fix accesskeys so that they work when priority is 0
- - (enhancement) Text type-ahead searching: don't follow current link
- on enter
- - (bugfix) Take the terminal charset in account when comparing
- accesskeys.
- - (enhancement) Display accesskeys as e.g. (Alt-f), not just (f).
-* Changes in user scripting
- - (enhancement) Guile: Read hooks.scm rather than internal-hooks.scm.
- (Keep reading user-hooks.scm, too.)
- - (bugfix) Lua: Don't write to the string returned by lua_tostring.
- - (bugfix 945) Lua: Don't crash if a script calls e.g. error(nil).
- - (enhancement) SMJS: elinks.alert no longer displays as an "error".
- - (new feature) SMJS: New properties elinks.action, elinks.globhist,
- elinks.vs.
- - (new feature) SMJS: New function elinks.load_uri.
- - (new feature) SMJS: New method elinks.execute.
- - (enhancement) SMJS: Garbage-collect SMJS objects before flushing
- caches.
- - (bitrot) Perl: Don't assume POPpx stores the length to n_a.
- - (bugfix) Perl: Fix pre_format_html hook wrt. binary files.
-* Build system and compile-time errors (ignore if you don't build ELinks)
- - (bugfix) Fixed some bugs about compiling outside the source
- directory.
- - (bugfix) Don't use cmp -b, which FreeBSD doesn't support.
- - (bugfix) Don't include for MIN and MAX because it
- may interfere with CONFIG_IPV6 on Linux.
- - (bugfix) When the configure script cleans old object files, this
- no longer causes it to loop.
- - (experimental, new feature) --with-python=DIRECTORY, --with-gc=DIRECTORY
- - (bugfix) Include and fix compilation on an old
- PPC/Debian system
- - (bitrot) Fix compilation under gcc 4.x. Backported from gentoo portage.
- Also, reduce warnings on gcc 4.2 snapshots.
- - (bitrot) Update SpiderMonkey configure check Debian compatibility
- - (new feature 779) make uninstall
- - (experimental, new feature) Native Win32 port
- - (enhancement) If make -k was used and a sub-Make fails, build the
- rest before propagating.
- - (enhancement) Avoid compilation of vernum.c in 'make install'
- - (bugfix) Don't use $(AM_CFLAGS) anymore. Use $(CPPFLAGS) instead.
- - (bitrot) Fix two warnings on Mac OS X.
-* (experimental) Changes in ECMAScript support
- - (new feature) SEE ECMAScript backend, an alternative to SpiderMonkey.
- - (new feature) Handling onsubmit
- - (workaround) window.open remembers the last few URLs and doesn't
- reopen them when incremental rendering reruns the onload script.
- - (enhancement) Recognize document.location.href for SMJS.
- - (enhancement) Better handling of form.action assignments
- - (enhancement) form[x] looks up controls also by id, not only name.
- - (new feature) New property input.selectedIndex.
- - (new feature) Activate link only when onClick returns true.
- - (enhancement) input.accessKey can be any Unicode character except
- U+0000.
- - (new feature) window.setTimeout, window.status
-* (experimental) Changes in SGML/DOM implementation
- - (new feature) Minimalistic RSS renderer
- - (enhancement) Source highlighting also recognizes
- application/xhtml+xml and application/docbook+xml. It doesn't yet
- support arbitrary XML though.
- - (enhancement) Make it possible to use more CSS properties with the
- source highlighting
- - (enhancement) Handle for HTML source rendering
- - (enhancement) Add support for scanning comment endings such as
- '--!>' correctly
- - (new feature) Incremental parsing
- - And more.
+Notable new features:
+
+* enhancement 822: UTF-8 as terminal charset, not merely UTF-8 I/O
+ of a unibyte codepage as in previous versions. Double-cell (aka
+ fullwidth) and supplementary characters work too, but combining
+ characters and right-to-left text do not. The only multibyte
+ charset ELinks can decode is still UTF-8, so if the server outputs
+ e.g. Shift-JIS, you'd better recode with a proxy. See more notes
+ in features.conf.
+* enhancement 844: SMB protocol using libsmbclient. This replaces
+ the smbclient-based code that was disabled in ELinks 0.11.2.
+
+Incompatibilities:
+
+* ECMAScript support is now disabled by default. It has known
+ bugs 548 and 771 with which malicious web pages can hang ELinks,
+ and its security goals are undocumented. If you must enable
+ ECMAScript support, it would be prudent to restrict the ELinks
+ process with a sandbox of some kind.
+* ECMAScript support no longer works with SpiderMonkey versions
+ earlier than JS1.5 RC3a.
+* Gzip decompression support now requires zlib 1.2.0.2 or later.
+* bugs 871, 752: The numbering of terminal.*.colors no longer depends
+ on config options. This change makes elinks.conf portable between
+ different configurations but unfortunately not between this and
+ previous versions.
+* Changed Python goto_url_hook(current) to goto_url_hook(new). The
+ hook can call the new function elinks.current_url() if desired.
+ The Python scripting back-end is much more featureful than in
+ previous releases, but it is still considered experimental.
+* Guile scripting reads hooks.scm rather than internal-hooks.scm.
+ (It still reads user-hooks.scm, too.)
+
+Miscellaneous:
+
+* critical bug 756: ``assertion (cached)->object.refcount >= 0 failed''
+ after HTTP proxy was changed
+* tabs opened by -remote now go behind existing dialogs
+* Debian bug 257762: turn terminal transparency off by default
+* bug 724: better parsing of escape sequences and control
+ sequences from the terminal
+* bug 948: fix wrong UTF-8 output after the charset menu was used
+* gzip_read: always call gzclearerr
+* bug 816: convert entity references in input/@value only once
+* bug 916: if a mailcap entry has no %s, provide the file as stdin
+* bug 355: add documents displayed via ``What to do'' dialog to the
+ global history
+* encode and decode filenames in FSP URLs
+* don't use a busy cache entry if it has expired or should be
+ reloaded. See elinks-users mail from 28 Oct 2005.
+* several accesskey fixes
+* in Lua: don't write to the string returned by lua_tostring
+* minor bug 284: render closing bracket for HTML element SUB in the
+ same line; don't let it fall to the next
+* minor: show quote characters for HTML element Q, rather than italics
+* trivial bug 387: treat
inside
...
as a newline
+* trivial bug 930: refresh status bar when key prefix is eaten
+* trivial bug 776: ``elinks -remote http://elinks.cz/'' no longer clears
+ the screen
+* enhancement 121: if a mailcap entry indicates 'copiousoutput', ELinks
+ itself acts as a pager
+* enhancement 790: If-Modified-Since and If-None-Match
+* enhancement: HTTP negotiate-auth using GSSAPI
+* enhancement 517: fixed and enabled HTTP bzip2 decompression
+* enhancement: LZMA decompression
+* enhancement: FSP progress indicator and password prompt
+* enhancement: autocreate directories needed to download a file
+* enhancement: ``Add server'' button in the cookie manager
+* enhancement 887: ``Save'' in the cookie manager now saves cookies
+ even if unmodified
+* enhancement 145: internal clipboard support
+* enhancement: new actions kill-word-back, move-backward-word,
+ move-forward-word
+* enhancements 687, 688: options ui.tabs.top, ui.show_menu_bar_always
+* enhancement: highlight links as one enters link prefixes
+* enhancement: backspace backs out the last digit of the prefix
+* enhancement: in text type-ahead searching, don't follow current link
+ on enter
+* enhancement: add support for parsing space separated CSS class
+ attribute values
+* enhancement: mouse wheel support over GPM (contrib/gpm-wheel.patch),
+ and on BSD via moused -z 4
+* enhancement: 24-bit truecolor mode
+* enhancement 622: -dump-color-mode
+* enhancement: support Ctrl+Alt+letter key combinations
+* enhancement 381: reduce memory consumption of codepages and some
+ other arrays
+* enhancement in user SMJS: new properties/functions elinks.action,
+ elinks.execute, elinks.globhist, elinks.load_uri, elinks.vs
+
+Build system and compile-time errors (ignore if you don't build ELinks):
+
+* bug 725: fix version checking for Ruby in 'configure'
+* enhancement: if make -k was used and a sub-Make fails, build the
+ rest before propagating
+* enhancement: avoid compilation of vernum.c in 'make install'
+* enhancement: make uninstall
+* experimental enhancements: --with-python=DIRECTORY, --with-gc=DIRECTORY
+* experimental enhancement: native Win32 port
+
+Changes in the experimental ECMAScript support:
+
+* disabled by default, as mentioned under ``Incompatibilities'' above
+* execute event-handler scripts as function bodies, so ``return''
+ statements work as intended
+* fix error ``forms.namedItem is not a function''
+* enhancement: SEE ECMAScript backend, an alternative to SpiderMonkey
+* enhancement: handling onsubmit
+* workaround: window.open remembers the last few URLs and doesn't
+ reopen them when incremental rendering reruns the onload script
+* enhancement: better handling of form.action assignments
+* enhancement: form[x] looks up controls also by 'id', not only 'name'
+* enhancement: added document.location.href, input.selectedIndex,
+ window.setTimeout, window.status
+
+Changes in the experimental SGML/DOM implementation:
+
+* enhancement: minimalistic RSS renderer
+* enhancement: source highlighting also recognizes
+ application/xhtml+xml and application/docbook+xml. It doesn't yet
+ support arbitrary XML though.
+* enhancement: make it possible to use more CSS properties with the
+ source highlighting
+* enhancement: handle for HTML source rendering
+* enhancement: add support for scanning comment endings such as
+ '--!>' correctly
+* enhancement: incremental parsing
+* and more.
//////////////////////////////////////////////////////////////////////
The following changes should be removed from NEWS before ELinks 0.12.0
is released. They are currently listed here just to show that they
have already been considered.
+* Not clear whether the bugs have been fixed:
+ - (bugfix 674) Reproduceable crashes while trying to unsubscribe
+ from a community on Orkut
+ - (bugfix 770) Download resuming simply restarts the download
* Only partially fixed bugs:
- (bugfix 764) int/long type punning in options
- - (bugfix 725) Fixes version checking for Ruby in 'configure'
- (bugfix 890) Change colors 0-15 to match xterm defaults.
The bug report also requests asking xterm to report its palette,
but that part will be delayed to 0.13 or later.
+ - (bugfix 784) attributes corrupt character entity references if
+ terminal charset != document charset
* Fixed bugs that were not in previous versions:
- (bugfix) Fix a crash when adding a server in the cookie manager.
- (bugfix) cookies: "Add Server" ignores "cookies.accept_policy".
@@ -210,8 +178,6 @@ have already been considered.
- (bugfix 747) Properly deselect the main menu instead of crashing
- (bugfix 778) ELinks crashes on binary files when
document.plain.display_links is set
- - (bugfix 784) UTF-8 mode misconverts non-ASCII entity in Latin-1
- document
- (bugfix 782) UTF-8 buffer overwritten while in use
- (bugfix) switch_to_tab: Prevent "tab number out of range"
assertion failure.
@@ -219,7 +185,6 @@ have already been considered.
- (bugfix 821) I cannot enter national characters in dialog boxes
- (bugfix 834) Gzip decompression doesn't work
- (bugfix) Fix out-of-bound access to the quote_char buffer
- - (bugfix 788) compile error with --enable-perl
- (bugfix 827) Crash with term charset set to Unicode and UTF-8 I/O
disabled
- (bugfix 826) too small table for double-cell characters
@@ -235,6 +200,28 @@ have already been considered.
as entity references
- (bugfix 935) Yes and No buttons override the bottom border of the
dialog.
+ - (bugfix in SEE) Use frame->name instead of target avoiding
+ possible segfault.
+ - (bugfix 957) crash within js_Interpret: cx->fp points to freed
+ memory
+ - (bugfix 920) assertion priority >= prev_priority failed: queue is
+ not sorted
+* Already backported to a previous release but not listed there:
+ - (enhancement) Activate link only when onClick returns true.
+ Fixed bug 786 in ELinks 0.11.2.
+ - when the configure script cleans old object files, this no longer
+ causes it to loop. Commit 564b67883b189a05839bcd2a30d8d4c6eb89c66d
+ in ELinks 0.11.1.
+ - don't include for MIN and MAX because it may interfere with
+ CONFIG_IPV6 on Linux. Commit 63797ae9b331efd91be27512bd9d5b2e2ff74741
+ in ELinks 0.11.1.
+ - Debian bug 400872: include for off_t.
+ (Related to bug 936 but not the same.)
+ Commit 135a79a3c309af36cf963f1d3c34b07f296fa2f7 in ELinks 0.11.3.
+ - bug 107: recognize "localhost" in file: URIs. Cannot reproduce in
+ earlier versions.
+ - fix compilation under gcc 4.x. Backported from gentoo portage.
+ Commit bcabd8b7951f3319199811088e607501296ee573 in ELinks 0.11.3.
* Reverted changes:
- (new feature) document.write, reverted in
2c087e52e74528a720621186b91880463e039d50
@@ -263,8 +250,67 @@ have already been considered.
(commit 539f756438fca4264ab937b2ccfba2351e916a16)
- (bugfix) Don't claim that the authentication is for HTTP.
(commit ef2f6383c6f0bed576e6f69030eacc4931b42a27)
+ - (enhancement) Reject invalid UTF-8 input from documents and
+ terminals
+ - (bugfix) Decode UTF-8 only from bytes, not from codes of special
+ keys.
+ - (enhancement) "Resize terminal" tries to use the window size
+ increment.
+ - (bugfix) Subprocess forked for SIGTSTP calls _exit, not exit.
+ - (enhancement) Tell the user how to move bookmarks.
+ - (enhancement) Localization updates. For this to be important, we
+ should at least list the languages.
+ - (enhancement) Ctrl+characters don't trigger hotkeys in menus and
+ dialogs.
+ - (bitrot) Fix two warnings on Mac OS X.
+ - (enhancement) reduce warnings on gcc 4.2 snapshots
+ * don't use cmp -b, which FreeBSD doesn't support. This is commit
+ 7a5f699a88c5fc89c510854b04702c16c30ece5a in src/dom/test/ which
+ is run only by "make test" rather than "make".
+ * support much longer locale-specific timestamps when formatting a
+ directory listing. LC_TIME=fi_FI.UTF-8 now works. Let's treat
+ this as part of the UTF-8 support.
+ * enhancement in user SMJS: elinks.alert no longer displays as an
+ "error"
//////////////////////////////////////////////////////////////////////
+ELinks 0.11.3.GIT now:
+----------------------
+
+To be released as 0.11.4.
+
+* critical bug 755: fix crashes due to dangling pointers to struct
+ form_state
+* critical bug 945: don't crash if a Lua script calls e.g. error(nil)
+* major bug 956: don't reuse pointers to SpiderMonkey objects that may
+ have been collected as garbage. This fix causes bug 954.
+* CVE-2007-2027: check if the program path contains "src/" before
+ using ../po files
+* important Debian bug 380347: prevent a buffer overflow in entity_cache
+ and a possible subsequent crash
+* major bug 788: don't read STRLEN n_a, which isn't initialized by
+ POPpx of Perl v5.8.8 and later
+* fix query parsing in file: URIs for local CGI (was broken in 0.11.3)
+* bug 691: don't look up bogus IPv4 addresses based on characters of a
+ hostname
+* bug 712: GnuTLS works on https://www-s.uiuc.edu/[]
+* fix passive FTP over IPv6 when connect() fails with EINPROGRESS
+* minor bug 951 in user SMJS: garbage-collect SMJS objects on 'File ->
+ Flush all caches' to work around their holding cache entries busy
+* minor bug 396: never show empty filename in the what-to-do dialog
+* minor bug 461: ensure contrast in blank areas, to keep the cursor visible
+* minor bug 928: properly display no-break spaces in a UTF-8 document
+ if the terminal uses some other charset
+* trivial bug 947: document.html.wrap_nbsp also affects text in tables
+* build bug 950: fix ``config/install-sh: No such file or directory''
+ on SunOS
+* build bug 936: fix errors about undefined off_t (autoheader
+ incompatibility)
+* build: update SpiderMonkey configure check Debian compatibility
+* build: use $(CPPFLAGS) rather than $(AM_CFLAGS)
+* minor build bug 960: fix errors in loadmsgcat.c if mmap() exists but
+ munmap() doesn't
+
ELinks 0.11.3:
--------------
@@ -305,7 +351,7 @@ Released on 2007-04-15.
* remove a garbage character from the end of the authentication prompt
* bugs 872, 886: editing or deleting cookies in the cookie manager
should cause a save
-* secure file saving: restore umask after _all_ failure conditions
+* secure file saving: restore umask after *all* failure conditions
* decode the fragment identifier extracted from the URI when looking
it up
* bug 768 in experimental Python scripting: link with e.g. -lpython2.4
@@ -402,6 +448,7 @@ ELinks 0.10.0 (Thelma):
Released on 2004-12-24.
+* licensed under GPLv2 only
* simple CSS
* simple JavaScript/ECMAScript support by the SpiderMonkey Mozilla JS engine
* plain-text mark-up (_^Hx to underline, x^Hx to embolden)
@@ -416,12 +463,12 @@ Released on 2004-12-24.
* incremental searching (press '#/')
* Perl scripting back-end (experimental)
* build-time configurability and feature documentation through features.conf
-* Mozilla-compatible -remote option (http://www.mozilla.org/unix/remote.html)
-* support for specifying IP family as protocol postfix (i.e. http4 or ftp6)
+* Mozilla-compatible -remote option (http://www.mozilla.org/unix/remote.html[])
+* support for specifying IP family as protocol postfix (e.g. http4 or ftp6)
* internationalized domain names via libidn (RFC 3490)
* data URI protocol (RFC 2397)
* gopher protocol (RFC 1436)
-* NNTP protocol (RFC 977 and 2980) (experimental)
+* NNTP protocol (RFC 977 and RFC 2980) (experimental)
* build system fine-tuned to use automake conditionals
* -localhost option to block connections to remote hosts
* -verbose option to control messages printed at startup
diff --git a/TODO b/TODO
index 1c7fc09d..4ecf0e02 100644
--- a/TODO
+++ b/TODO
@@ -1,20 +1,18 @@
-The ELinks TODO items are kept in Bugzilla (http://bugzilla.elinks.cz/),
-look for the bugs with 'enhancement' severity. Some generic goals are still
-kept here, though, to be more on the developers' eyes ;-).
-
-
-What yet needs to take its way to Bugzilla:
-
- Rewrite HTML parser (see the SGML+DOM stuff: src/dom/ & src/document/dom)
-
- Reorganization of user interface (nothing particular at all, just an
-uncertain feel that it could be better and bear a look of some UI designer ;)
+TODO list
+=========
+The ELinks TODO items are kept in Bugzilla ;
+look for the bugs with 'enhancement' severity. More general goals are
+still kept here, though, to be more visible to developers. ;-) Finally,
+the code contains several (greppable) "FIXME" and "TODO" notes regarding
+smaller fixes and enhancements.
General goals:
- Write some more documentation.. docs, a lot of docs!
+ - Rewrite HTML parser (see the SGML+DOM stuff: src/dom/ & src/document/dom)
- General code cleanup
+ - Write more documentation; docs, a lot of docs!
- Speed/memory optimizations
+ - General code cleanup
+
+ - Speed/memory optimizations
diff --git a/autogen.sh b/autogen.sh
index 79d526c0..f1e9f900 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -12,6 +12,11 @@ aclocal
echo autoheader...
autoheader
+# The timestamp of stamp-h.in indicates when config.h.in was last
+# generated or found to be already correct. Create stamp-h.in so
+# that it gets included in elinks-*.tar.gz and Makefile won't try
+# to run a possibly incompatible version of autoheader (bug 936).
+echo timestamp > stamp-h.in
echo autoconf...
autoconf
diff --git a/configure.in b/configure.in
index e9eec53a..5e1f6bb9 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,9 @@
dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.13)
+dnl Autoconf 2.13 generates an incomplete config.h.in; see ELinks bug 936.
+dnl Autoconf 2.59 is installed in the computer that generates our daily
+dnl snapshots, so we need to be compatible with that.
+AC_PREREQ(2.59)
AC_INIT(src/main/main.c)
AC_CONFIG_AUX_DIR(config)
@@ -465,7 +468,7 @@ AC_DEFUN([EL_CONFIG_OPTIONAL_LIBRARY],
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GPM, gpm, gpm.h, gpm, Gpm_Open,
[ --without-gpm disable gpm (mouse) support])
-EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GZIP, zlib, zlib.h, z, gzdopen,
+EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_GZIP, zlib, zlib.h, z, gzclearerr,
[ --without-zlib disable zlib support])
EL_CONFIG_OPTIONAL_LIBRARY(CONFIG_BZIP2, bzlib, bzlib.h, bz2, BZ2_bzReadOpen,
@@ -572,14 +575,9 @@ AC_ARG_WITH(see, [ --with-see enable Simple Ecmascript Engine (SEE
# to compile CVS. Also, the macro seems to be really stupid regarding searching
# for Guile in $PATH etc. --pasky
-AC_MSG_CHECKING([for SEE])
-
CONFIG_ECMASCRIPT_SEE=no
if test "$enable_see" = "yes"; then
- AC_MSG_RESULT(yes);
- ## Based on the SEE_FLAGS macro.
-
if test -d "$withval"; then
SEE_PATH="$withval:$PATH"
else
@@ -587,16 +585,24 @@ if test "$enable_see" = "yes"; then
fi
AC_PATH_PROG(SEE_CONFIG, libsee-config, no, $SEE_PATH)
-
- ## First, let's just see if we can find Guile at all.
+ AC_MSG_CHECKING([for SEE (2.0.1131 or later)])
if test "$SEE_CONFIG" != no; then
- cf_result="yes";
-
+ EL_SAVE_FLAGS
SEE_LIBS="`$SEE_CONFIG --libs`"
SEE_CFLAGS="`$SEE_CONFIG --cppflags`"
- LIBS="$SEE_LIBS $LIBS"
- EL_CONFIG(CONFIG_ECMASCRIPT_SEE, [SEE])
- AC_SUBST(SEE_CFLAGS)
+ CPPFLAGS="$SEE_CFLAGS $CPPFLAGS"
+ LIBS="$SEE_LIBS $LIBS_X"
+ AC_TRY_LINK([#include ],[#if SEE_VERSION_API_MAJOR < 2
+ #error SEE too old
+ #endif
+ ], cf_result=yes, cf_result=no)
+ EL_RESTORE_FLAGS
+ if test "$cf_result" = yes; then
+ LIBS="$SEE_LIBS $LIBS"
+ EL_CONFIG(CONFIG_ECMASCRIPT_SEE, [SEE])
+ AC_SUBST(SEE_CFLAGS)
+ fi
+ AC_MSG_RESULT($cf_result)
else
if test -n "$withval" && test "x$withval" != xno; then
AC_MSG_ERROR([SEE not found])
@@ -604,18 +610,15 @@ if test "$enable_see" = "yes"; then
AC_MSG_WARN([SEE support disabled])
fi
fi
-else
- AC_MSG_RESULT(no);
fi
-
dnl ===================================================================
dnl Check for SpiderMonkey, optional even if installed.
dnl ===================================================================
AC_ARG_WITH(spidermonkey, [ --without-spidermonkey disable SpiderMonkey Mozilla JavaScript engine support],
[if test "$withval" = no; then disable_spidermonkey=yes; fi])
-AC_MSG_CHECKING([for SpiderMonkey])
+AC_MSG_CHECKING([for SpiderMonkey (1.5 RC3a or later)])
EL_SAVE_FLAGS
cf_result=no
@@ -641,7 +644,7 @@ if test -z "$disable_spidermonkey"; then
AC_TRY_LINK([#define XP_UNIX
#include ],
- [JS_GetImplementationVersion()],
+ [JS_GetReservedSlot(NULL, NULL, 0, NULL)],
cf_result=yes, cf_result=no)
fi
done
diff --git a/contrib/debian/copyright b/contrib/debian/copyright
index 31780b2a..dbe377ea 100644
--- a/contrib/debian/copyright
+++ b/contrib/debian/copyright
@@ -9,7 +9,6 @@ Copyright:
This program is free software. You may redistribute it and/or modify it
under the terms of The GNU General Public License, as published by the Free
-Software Foundation; either version 2, or (at your option) any later
-version. A copy of this license is in the file
-/usr/share/common-licenses/GPL.
+Software Foundation, specifically version 2 of the License. A copy of this
+license is in the file /usr/share/common-licenses/GPL-2.
diff --git a/contrib/elinks.conf b/contrib/elinks.conf
deleted file mode 100644
index 6dc251c9..00000000
--- a/contrib/elinks.conf
+++ /dev/null
@@ -1,3087 +0,0 @@
-## ELinks 0.11.CVS configuration file
-
-## This is ELinks configuration file. You can edit it manually,
-## if you wish so, but keep in mind that this file is overwritten
-## by ELinks when you save options through UI and you are out of
-## luck with your formatting and own comments then, so beware.
-##
-## Obviously, if you don't like what ELinks is going to do with
-## this file, you can change it by altering the config.saving_style
-## option. Come on, aren't we friendly guys after all?
-
-
-
-##############################
-# Automatically saved options
-#
-
-## bookmarks
-# Bookmark options.
-
- ## bookmarks.file_format
- # File format for bookmarks (affects both reading and saving):
- # 0 is the default native ELinks format
- # 1 is XBEL universal XML bookmarks format (NO NATIONAL CHARS SUPPORT!)
- set bookmarks.file_format = 0
-
- ## bookmarks.folder_state [0|1]
- # When saving bookmarks also store whether folders are
- # expanded or not, so the look of the bookmark dialog is
- # kept across ELinks sessions. If disabled all folders will
- # appear unexpanded next time ELinks is run.
- set bookmarks.folder_state = 1
-
-
-## config
-# Configuration handling options.
-
- ## config.comments
- # Amount of comments automatically written to the config file:
- # 0 is no comments are written
- # 1 is only the "blurb" (name+type) is written
- # 2 is only the description is written
- # 3 is full comments are written
- set config.comments = 3
-
- ## config.indentation
- # Shift width of one indentation level in the configuration
- # file. Zero means that no indentation is performed at all
- # when saving the configuration.
- set config.indentation = 2
-
- ## config.saving_style
- # Determines what happens when you tell ELinks to save options:
- # 0 is only values of current options are altered
- # 1 is values of current options are altered and missing options
- # are added at the end of the file
- # 2 is the configuration file is rewritten from scratch
- # 3 is values of current options are altered and missing options
- # CHANGED during this ELinks session are added at the end of
- # the file
- set config.saving_style = 2
-
- ## config.i18n [0|1]
- # If set to 1, comments in the configuration file will be
- # translated to the language used by UI. Note that if you have
- # different language set in different terminals, the language
- # used in the configuration file MAY be the same as on the
- # terminal where you saved the file, but it should be generally
- # considered unpredictable.
- set config.i18n = 0
-
- ## config.saving_style_w [0|1]
- # This is internal option used when displaying a warning about
- # obsolete config.saving_style. You shouldn't touch it.
- set config.saving_style_w = 0
-
- ## config.show_template [0|1]
- # Show template options in autocreated trees in the options
- # manager and save them to the configuration file.
- set config.show_template = 0
-
-
-## connection
-# Connection options.
-
- ## connection.ssl
- # SSL options.
-
- ## connection.ssl.client_cert
- # X509 client certificate options.
-
- ## connection.ssl.client_cert.enable [0|1]
- # Enable or not the sending of X509 client certificates
- # to servers which request them.
- set connection.ssl.client_cert.enable = 0
-
- ## connection.ssl.client_cert.file
- # The location of a file containing the client certificate
- # and unencrypted private key in PEM format. If unset, the
- # file pointed to by the X509_CLIENT_CERT variable is used
- # instead.
- set connection.ssl.client_cert.file = ""
-
-
- ## connection.ssl.cert_verify [0|1]
- # Verify the peer's SSL certificate. Note that this
- # needs extensive configuration of OpenSSL by the user.
- set connection.ssl.cert_verify = 0
-
-
- ## connection.async_dns [0|1]
- # Whether to use asynchronous DNS resolving.
- set connection.async_dns = 1
-
- ## connection.max_connections
- # Maximum number of concurrent connections.
- set connection.max_connections = 10
-
- ## connection.max_connections_to_host
- # Maximum number of concurrent connections to a given host.
- set connection.max_connections_to_host = 2
-
- ## connection.receive_timeout
- # Receive timeout (in seconds).
- set connection.receive_timeout = 120
-
- ## connection.retries
- # Number of tries to establish a connection.
- # Zero means try forever.
- set connection.retries = 3
-
- ## connection.try_ipv4 [0|1]
- # Whether to try to connect to a host over IPv4.
- # Note that if connection.try_ipv6 is enabled too,
- # it takes precedence. And better do not touch this
- # at all unless you are sure what are you doing.
- # Note that you can also force a given protocol
- # to be used on a per-connection basis by using an URL
- # in the style of i.e. http4://elinks.or.cz/.
- set connection.try_ipv4 = 1
-
- ## connection.try_ipv6 [0|1]
- # Whether to try to connect to a host over IPv6.
- # Note that you can also force a given protocol
- # to be used on a per-connection basis by using an URL
- # in the style of i.e. http6://elinks.or.cz/.
- set connection.try_ipv6 = 1
-
- ## connection.unrestartable_receive_timeout
- # Timeout for non-restartable connections (in seconds).
- set connection.unrestartable_receive_timeout = 600
-
-
-## cookies
-# Cookies options.
-
- ## cookies.accept_policy
- # Cookies accepting policy:
- # 0 is accept no cookies
- # 1 is ask for confirmation before accepting cookie
- # 2 is accept all cookies
- set cookies.accept_policy = 2
-
- ## cookies.max_age
- # Cookie maximum age (in days):
- # -1 is use cookie's expiration date if any
- # 0 is force expiration at the end of session, ignoring cookie's
- # expiration date
- # 1+ is use cookie's expiration date, but limit age to the given
- # number of days
- set cookies.max_age = -1
-
- ## cookies.paranoid_security [0|1]
- # When enabled, we'll require three dots in cookies domain for all
- # non-international domains (instead of just two dots). Some countries
- # have generic second level domains (eg. .com.pl, .co.uk) and allowing
- # sites to set cookies for these generic domains could potentially be
- # very bad. Note, it is off by default as it breaks a lot of sites.
- set cookies.paranoid_security = 0
-
- ## cookies.save [0|1]
- # Whether cookies should be loaded from and save to disk.
- set cookies.save = 1
-
- ## cookies.resave [0|1]
- # Save cookies after each change in cookies list? No effect when
- # cookie saving (cookies.save) is off.
- set cookies.resave = 1
-
-
-## document
-# Document options.
-
- ## document.browse
- # Document browsing options (mainly interactivity).
-
- ## document.browse.accesskey
- # Options for handling of link access keys.
- # An HTML document can use the ACCESSKEY attribute to assign
- # an access key to an element. When an access key is pressed,
- # the corresponding element will be given focus.
-
- ## document.browse.accesskey.auto_follow [0|1]
- # Automatically follow a link or submit a form if appropriate
- # accesskey is pressed - this is the standard behaviour, but it's
- # considered dangerous.
- set document.browse.accesskey.auto_follow = 0
-
- ## document.browse.accesskey.display [0|1]
- # Display access key in link info.
- set document.browse.accesskey.display = 0
-
- ## document.browse.accesskey.priority
- # Priority of 'accesskey' HTML attribute:
- # 0 is first try all normal bindings; if it fails, check accesskey
- # 1 is first try only frame bindings; if it fails, check accesskey
- # 2 is first check accesskey (this can be dangerous)
- set document.browse.accesskey.priority = 0
-
-
- ## document.browse.forms
- # Options for handling of the forms interaction.
-
- ## document.browse.forms.auto_submit [0|1]
- # Automagically submit a form when enter is pressed with a text
- # field selected.
- set document.browse.forms.auto_submit = 1
-
- ## document.browse.forms.confirm_submit [0|1]
- # Ask for confirmation when submitting a form.
- set document.browse.forms.confirm_submit = 1
-
- ## document.browse.forms.input_size
- # Default form input size if none is specified.
- set document.browse.forms.input_size = 20
-
- ## document.browse.forms.insert_mode [0|1]
- # The setting for this option affects how key presses are handled
- # when one selects a text-input form-field. When enabled, one must
- # explicitly 'enter' a selected text-field to edit it; this prevents
- # a text field from capturing key presses, such as presses of a scroll
- # key,
- # when it is inadvertently selected. When disabled, key presses are
- # always
- # inserted into a selected text field.
- set document.browse.forms.insert_mode = 1
-
- ## document.browse.forms.show_formhist [0|1]
- # Ask if a login form should be saved to file or not.
- # This option only disables the dialog, already saved login
- # forms are unaffected.
- set document.browse.forms.show_formhist = 0
-
-
- ## document.browse.images
- # Options for handling of images.
-
- ## document.browse.images.display_style
- # Display style for image tags when displayed:
- # 0 means always display IMG
- # 1 means always display filename
- # 2 means display alt/title attribute if possible, IMG if not
- # 3 means display alt/title attribute if possible, filename if not
- set document.browse.images.display_style = 2
-
- ## document.browse.images.filename_maxlen
- # Maximum length of image filename when displayed:
- # 0 means always display full filename
- # 1-500 means display filename with this maximal length;
- # if it is longer, the middle is substituted by an asterisk
- set document.browse.images.filename_maxlen = 0
-
- ## document.browse.images.image_link_tagging
- # When to enclose image links:
- # 0 means never
- # 1 means never if alt or title are provided (old behavior)
- # 2 means always
- set document.browse.images.image_link_tagging = 1
-
- ## document.browse.images.image_link_prefix
- # Prefix string to use to mark image links.
- set document.browse.images.image_link_prefix = "["
-
- ## document.browse.images.image_link_suffix
- # Suffix string to use to mark image links.
- set document.browse.images.image_link_suffix = "]"
-
- ## document.browse.images.label_maxlen
- # Maximum length of image label (alt/title):
- # 0 means always display full label
- # 1-500 means display label with this maximal length;
- # if it is longer, the middle is substituted by an asterisk
- set document.browse.images.label_maxlen = 0
-
- ## document.browse.images.show_as_links [0|1]
- # Display links to images without an alt attribute. If this option
- # is off, these images are completely invisible.
- set document.browse.images.show_as_links = 0
-
- ## document.browse.images.show_any_as_links [0|1]
- # Display links to any images in the document, regardless of them
- # having an alt attribute or not. If this option is off, the alt
- # attribute contents is shown, but as normal text, not selectable
- # as a link.
- set document.browse.images.show_any_as_links = 1
-
-
- ## document.browse.links
- # Options for handling of links to other documents.
-
- ## document.browse.links.active_link
- # Options for the active link.
-
- ## document.browse.links.active_link.colors
- # Active link colors.
-
- ## document.browse.links.active_link.colors.background
- # Default background color.
- set document.browse.links.active_link.colors.background = "blue"
-
- ## document.browse.links.active_link.colors.text
- # Default text color.
- set document.browse.links.active_link.colors.text = "black"
-
-
- ## document.browse.links.active_link.enable_color [0|1]
- # Enable use of the active link background and text color
- # settings instead of the link colors from the document.
- set document.browse.links.active_link.enable_color = 0
-
- ## document.browse.links.active_link.bold [0|1]
- # Make the active link text bold.
- set document.browse.links.active_link.bold = 0
-
- ## document.browse.links.active_link.invert [0|1]
- # Invert the fore- and background color so the link stands out.
- set document.browse.links.active_link.invert = 1
-
- ## document.browse.links.active_link.underline [0|1]
- # Underline the active link.
- set document.browse.links.active_link.underline = 0
-
-
- ## document.browse.links.color_dirs [0|1]
- # Highlight links to directories in FTP and local directory listing.
- set document.browse.links.color_dirs = 1
-
- ## document.browse.links.numbering [0|1]
- # Display numbers next to the links.
- set document.browse.links.numbering = 0
-
- ## document.browse.links.target_blank
- # Define how to handle links having target=_blank set:
- # 0 means open link in current tab
- # 1 means open link in new tab in foreground
- # 2 means open link in new tab in background
- set document.browse.links.target_blank = 0
-
- ## document.browse.links.use_tabindex [0|1]
- # Whether to navigate links using tabindex specified ordering.
- # The TABINDEX attribute in HTML elements specifies the order
- # in which links should receive focus when using the keyboard
- # to navigating the document.
- set document.browse.links.use_tabindex = 1
-
- ## document.browse.links.number_keys_select_link
- # Number keys select links rather than specify command prefixes. This
- # is a tristate:
- # 0 means never
- # 1 means if document.browse.links.numbering = 1
- # 2 means always
- set document.browse.links.number_keys_select_link = 1
-
- ## document.browse.links.warn_malicious [0|1]
- # When following a link the user ID part of the URI is
- # checked and if a maliciously crafted URI is detected a
- # warning dialog will ask before following the link.
- set document.browse.links.warn_malicious = 1
-
- ## document.browse.links.wraparound [0|1]
- # When pressing 'down' on the last link, jump at the first one, and
- # vice versa.
- set document.browse.links.wraparound = 0
-
-
- ## document.browse.scrolling
- # Scrolling options.
-
- ## document.browse.scrolling.horizontal_extended [0|1]
- # Whether to allow horizontal scrolling when the document
- # does not extend off the screen. Useful for copy/paste
- # operations.
- set document.browse.scrolling.horizontal_extended = 1
-
- ## document.browse.scrolling.horizontal_step
- # Number of columns to scroll when a key bound to scroll-left or scroll-
- # right is pressed and no prefix was given.
- set document.browse.scrolling.horizontal_step = 8
-
- ## document.browse.scrolling.margin
- # Size of the virtual margin - when you click inside of that margin,
- # document scrolls in that direction.
- set document.browse.scrolling.margin = 3
-
- ## document.browse.scrolling.vertical_step
- # Number of lines to scroll when a key bound to scroll-up or scroll-
- # down is pressed and no prefix was given.
- set document.browse.scrolling.vertical_step = 2
-
-
- ## document.browse.search
- # Options for searching.
-
- ## document.browse.search.case [0|1]
- # Whether the search should match the document text while maintaining
- # case sensitivity.
- set document.browse.search.case = 0
-
- ## document.browse.search.regex
- # Enable searching with regular expressions:
- # 0 for plain text searching
- # 1 for basic regular expression searches
- # 2 for extended regular expression searches
- set document.browse.search.regex = 0
-
- ## document.browse.search.show_hit_top_bottom [0|1]
- # Whether to show a dialog when the search hits top or bottom of the
- # document.
- set document.browse.search.show_hit_top_bottom = 1
-
- ## document.browse.search.wraparound [0|1]
- # Wrap around when searching. Currently only used for typeahead.
- set document.browse.search.wraparound = 1
-
- ## document.browse.search.show_not_found
- # How to inform the user when nothing is matched:
- # 0 means do nothing
- # 1 means beep the terminal
- # 2 means pop up message box
- set document.browse.search.show_not_found = 2
-
- ## document.browse.search.typeahead
- # Start typeahead searching when an unbound key is pressed without
- # any modifiers. Note that most keys have default bindings, so this
- # feature will not be useful unless you unbind them.
- #
- # 0 disables this feature; typeahead searching will only be used
- # when you press a key bound to search-typeahead or similar
- # 1 automatically starts typeahead searching thru link text
- # 2 automatically starts typeahead searching thru all document text
- set document.browse.search.typeahead = 0
-
-
- ## document.browse.margin_width
- # Horizontal text margin.
- set document.browse.margin_width = 3
-
- ## document.browse.refresh [0|1]
- # Automatically follow document-specified refresh directives ('
- # refresh' tags). Web-page authors use these to instruct the browser
- # to reload a document at a given interval or to load another page.
- # Regardless of the value the refresh URI is accessible as a link.
- # Use the document.browse.minimum_refresh_time to control the minimum
- # number of seconds a refresh will wait.
- set document.browse.refresh = 1
-
- ## document.browse.minimum_refresh_time
- # The minimum number of milliseconds that should pass before
- # refreshing. If set to zero the document refresh time is used
- # unchanged. It can fix going back in history for some sites that
- # use refreshing with zero values.
- set document.browse.minimum_refresh_time = 1000
-
- ## document.browse.table_move_order [0|1]
- # Move by columns in table, instead of rows.
- set document.browse.table_move_order = 0
-
-
- ## document.cache
- # Cache options.
-
- ## document.cache.format
- # Format cache options.
-
- ## document.cache.format.size
- # Number of cached formatted pages. Do not get too generous
- # here, 'formatted' means that all the accompanying structures
- # are kept in memory so that you get the cached document
- # immediatelly, but these structures may take a lot - 2x the
- # size of the HTML source is probably not unusual, but it can
- # be even more if the document consists of a lot of short lines
- # (padded right, if possible) and links and not much other markup.
- # So if you set this to 256 and then you don't like your ELinks
- # eating 90M, don't come complaining to us. ;-)
- # Also note that the format cache itself is not counted to the
- # memory cache size, but the HTML source of the formatted documents
- # is always cached, even if it is over the memory cache size
- # threshold. (Then of course no other documents can be cached.)
- set document.cache.format.size = 5
-
-
- ## document.cache.memory
- # Memory cache options.
-
- ## document.cache.memory.size
- # Memory cache size (in bytes).
- set document.cache.memory.size = 1M
-
-
- ## document.cache.cache_redirects [0|1]
- # Cache even redirects sent by server (usually thru HTTP by a 302
- # HTTP code and a Location header). This was the original behaviour
- # for a quite some time, but it causes problems in a situation very
- # common to various web login systems - frequently, when accessing
- # certain location, they will redirect you to a login page if they
- # don't receive an auth cookie, the login page then gives you the
- # cookie and redirects you back to the original page, but there you
- # have already cached redirect back to the login page! If this
- # option has value of 0, this malfunction is fixed, but occasionally
- # you may get superfluous (depends on how you take it ;-) requests to
- # the server. If this option has value of 1, experienced users can
- # still workaround it by clever combination of usage of reload,
- # jumping around in session history and hitting ctrl+enter.
- # Note that this option is checked when retrieving the information
- # from cache, not when saving it to cache - thus if you will enable
- # it, even previous redirects will be taken from cache instead of
- # asking the server.
- set document.cache.cache_redirects = 0
-
- ## document.cache.ignore_cache_control [0|1]
- # Ignore Cache-Control and Pragma server headers.
- # When set, the document is cached even with 'Cache-Control: no-cache'.
- set document.cache.ignore_cache_control = 1
-
-
- ## document.codepage
- # Charset options.
-
- ## document.codepage.assume
- # Default document codepage. 'System' stands for
- # a codepage determined by a selected locale.
- set document.codepage.assume = "System"
-
- ## document.codepage.force_assumed [0|1]
- # Ignore charset info sent by server.
- set document.codepage.force_assumed = 0
-
-
- ## document.colors
- # Default document color settings.
-
- ## document.colors.text
- # Default text color.
- set document.colors.text = "gray75"
-
- ## document.colors.background
- # Default background color.
- set document.colors.background = "black"
-
- ## document.colors.link
- # Default link color.
- set document.colors.link = "blue"
-
- ## document.colors.vlink
- # Default visited link color.
- set document.colors.vlink = "yellow"
-
- ## document.colors.image
- # Default image link color.
- set document.colors.image = "darkolivegreen"
-
- ## document.colors.bookmark
- # Default bookmarked link color.
- set document.colors.bookmark = "hotpink"
-
- ## document.colors.dirs
- # Default directory color.
- # See document.browse.links.color_dirs option.
- set document.colors.dirs = "yellow"
-
- ## document.colors.allow_dark_on_black [0|1]
- # Allow dark colors on black background, and vice versa. (!)
- # By default the colors have their contrast increased (that is
- # different from having it ensured through the ensure_contrast
- # option), so that the foreground and the background do not have
- # too similar colors. This option turns this off.
- set document.colors.allow_dark_on_black = 0
-
- ## document.colors.ensure_contrast [0|1]
- # Makes sure that the back- and foreground color are never equal.
- set document.colors.ensure_contrast = 1
-
- ## document.colors.use_document_colors
- # Use colors specified in document:
- # 0 is use always the default settings
- # 1 is use document colors if available, except background
- # 2 is use document colors, including background. This can
- # mostly look very impressive, but some sites will appear
- # really ugly. Note, that obviously if the background is
- # not black, it will break the behaviour of transparency.
- set document.colors.use_document_colors = 2
-
-
- ## document.css
- # Options concerning how to use CSS for styling documents.
-
- ## document.css.enable [0|1]
- # Enable adding of CSS style info to documents.
- set document.css.enable = 1
-
- ## document.css.import [0|1]
- # When enabled any external style sheets that are imported from
- # either CSS itself using the @import keyword or from the HTML using
- # tags in the document header will also be downloaded.
- set document.css.import = 1
-
- ## document.css.stylesheet
- # The path to the file containing the default user defined
- # Cascading Style Sheet. It can be used to control the basic
- # layout of HTML documents. The path is assumed to be relative
- # to ELinks' home directory.
- # Leave as "" to use built-in document styling.
- set document.css.stylesheet = ""
-
-
- ## document.download
- # Options regarding files downloading and handling.
-
- ## document.download.directory
- # Default download directory.
- set document.download.directory = "./"
-
- ## document.download.set_original_time [0|1]
- # Set the timestamp of each downloaded file to the timestamp
- # stored on the server.
- set document.download.set_original_time = 0
-
- ## document.download.overwrite
- # Prevent overwriting the local files:
- # 0 is files will silently be overwritten
- # 1 is add a suffix .{number} (for example '.1') to the name
- # 2 is ask the user
- set document.download.overwrite = 2
-
- ## document.download.notify_bell
- # Audio notification when download is completed:
- # 0 is never
- # 1 is when background notification is active
- # 2 is always
- set document.download.notify_bell = 0
-
-
- ## document.dump
- # Dump output options.
-
- ## document.dump.codepage
- # Codepage used in dump output. 'System' stands for
- # a codepage determined by a selected locale.
- set document.dump.codepage = "System"
-
- ## document.dump.header
- # Header string used in dumps. %u is substituted by URL.
- set document.dump.header = ""
-
- ## document.dump.footer
- # Footer string used in dumps. %u is substituted by URL.
- set document.dump.footer = ""
-
- ## document.dump.separator
- # String which separates two dumps.
- set document.dump.separator = "
-
-"
-
- ## document.dump.width
- # Width of screen in characters when dumping documents.
- set document.dump.width = 80
-
-
- ## document.history
- # History options.
-
- ## document.history.global
- # Global history options.
-
- ## document.history.global.enable [0|1]
- # Enable global history ("history of all pages visited").
- set document.history.global.enable = 1
-
- ## document.history.global.max_items
- # Maximum number of entries in the global history.
- set document.history.global.max_items = 1k
-
- ## document.history.global.display_type
- # What to display in global history dialog:
- # 0 is URLs
- # 1 is page titles
- set document.history.global.display_type = 0
-
-
- ## document.history.keep_unhistory [0|1]
- # Keep unhistory ("forward history").
- set document.history.keep_unhistory = 1
-
-
- ## document.html
- # Options concerning the display of HTML pages.
-
- ## document.html.display_frames [0|1]
- # Display frames.
- set document.html.display_frames = 1
-
- ## document.html.display_tables [0|1]
- # Display tables.
- set document.html.display_tables = 1
-
- ## document.html.display_subs [0|1]
- # Display subscripts (as [thing]).
- set document.html.display_subs = 1
-
- ## document.html.display_sups [0|1]
- # Display superscripts (as ^thing).
- set document.html.display_sups = 1
-
- ## document.html.link_display
- # How to render tags from the HTML header:
- # 0 is nothing
- # 1 is title
- # 2 is name in addition
- # 3 is hreflang in addition
- # 4 is type in addition
- # 5 is everything
- set document.html.link_display = 2
-
- ## document.html.underline_links [0|1]
- # Underline links.
- set document.html.underline_links = 0
-
- ## document.html.wrap_nbsp [0|1]
- # If set do not honour non breaking space (the nbsp entity)
- # but allow to wrap the text. This can help keeping the width
- # of documents down so no horizontal scrolling is needed.
- set document.html.wrap_nbsp = 0
-
-
- ## document.plain
- # Options concerning the display of plain text pages.
-
- ## document.plain.display_links [0|1]
- # Display URIs in the document as links.
- set document.plain.display_links = 0
-
- ## document.plain.compress_empty_lines [0|1]
- # Compress successive empty lines to only one in displayed text.
- set document.plain.compress_empty_lines = 0
-
-
- ## document.uri_passing
- # Rules for passing URIs to external commands.
-
-
-
-## ecmascript
-# ECMAScript options.
-
- ## ecmascript.enable [0|1]
- # Whether to run those scripts inside of documents.
- set ecmascript.enable = 1
-
- ## ecmascript.error_reporting [0|1]
- # Open a message box when a script reports an error.
- set ecmascript.error_reporting = 0
-
- ## ecmascript.max_exec_time
- # Maximum execution time in seconds for a script.
- set ecmascript.max_exec_time = 5
-
- ## ecmascript.block_window_opening [0|1]
- # Whether to disallow scripts to open new windows or tabs.
- set ecmascript.block_window_opening = 0
-
-
-## infofiles
-# Options for information files in ~/.elinks.
-
- ## infofiles.save_interval
- # Interval at which to trigger information files in ~/.elinks
- # to be saved to disk if they has changed (seconds; 0 to disable)
- set infofiles.save_interval = 300
-
- ## infofiles.secure_save [0|1]
- # First write data to unique temporary file, then rename this file
- # upon successfully finishing this. Note that this relates only to
- # config files, not downloaded files. You may want to disable
- # it if you are using some exotic permissions for concerned files.
- # Secure file saving is automagically disabled if file is symlink.
- # Warning: some systems (ie. OS/2, Win32) require that destination
- # file doesn't exist when rename(3) is called, breaking atomicity,
- # and reducing reliability of this feature.
- set infofiles.secure_save = 1
-
- ## infofiles.secure_save_fsync [0|1]
- # When using secure file saving, call fsync(3), if the OS
- # supports it, to force the OS immediately to write the data
- # to permanent storage. This is optional for those who wish
- # to avoid excessive disk I/O.
- set infofiles.secure_save_fsync = 1
-
-
-## mime
-# MIME-related options (handlers of various MIME types).
-
- ## mime.extension
- # Extension <-> MIME type association.
-
- ## mime.extension.gif
- # MIME-type matching this file extension ('*' is used here in place
- # of '.').
- set mime.extension.gif = "image/gif"
-
- ## mime.extension.jpg
- # MIME-type matching this file extension ('*' is used here in place
- # of '.').
- set mime.extension.jpg = "image/jpg"
-
- ## mime.extension.jpeg
- # MIME-type matching this file extension ('*' is used here in place
- # of '.').
- set mime.extension.jpeg = "image/jpeg"
-
- ## mime.extension.png
- # MIME-type matching this file extension ('*' is used here in place
- # of '.').
- set mime.extension.png = "image/png"
-
- ## mime.extension.txt
- # MIME-type matching this file extension ('*' is used here in place
- # of '.').
- set mime.extension.txt = "text/plain"
-
- ## mime.extension.htm
- # MIME-type matching this file extension ('*' is used here in place
- # of '.').
- set mime.extension.htm = "text/html"
-
-
- ## mime.handler
- # A file type handler is a set of information about how to use
- # an external program to view a file. It is possible to refer to it
- # for several MIME types -- e.g., you can define an 'image' handler
- # to which mime.type.image.png, mime.type.image.jpeg, and so on will
- # refer; or one might define a handler for a more specific type of file
- # -- e.g., PDF files.
- # Note you must define both a MIME handler and a MIME type association
- # for it to work.
-
-
- ## mime.mailcap
- # Options for mailcap support.
-
- ## mime.mailcap.enable [0|1]
- # Enable mailcap support.
- set mime.mailcap.enable = 1
-
- ## mime.mailcap.path
- # Mailcap search path. Colon-separated list of files.
- # Leave as "" to use MAILCAP environment variable instead.
- set mime.mailcap.path = "~/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap:/usr/share/mailcap:/usr/share/misc/mailcap"
-
- ## mime.mailcap.ask [0|1]
- # Ask before using the handlers defined by mailcap.
- set mime.mailcap.ask = 1
-
- ## mime.mailcap.description
- # Type of description to show in "what to do with this file"
- # query dialog:
- # 0 is show "mailcap"
- # 1 is show program to be run
- # 2 is show mailcap description field if any; "mailcap" otherwise
- set mime.mailcap.description = 0
-
- ## mime.mailcap.prioritize [0|1]
- # Prioritize entries by the order of the files in the mailcap
- # path. This means that wildcard entries (like: image/*) will
- # also be checked before deciding the handler.
- set mime.mailcap.prioritize = 1
-
-
- ## mime.mimetypes
- # Options for the support of mime.types files. These files
- # can be used to find the content type of an URL by looking at
- # the extension of the file name.
-
- ## mime.mimetypes.enable [0|1]
- # Enable mime.types support.
- set mime.mimetypes.enable = 1
-
- ## mime.mimetypes.path
- # The search path for mime.types files. Colon-separated list of files.
- set mime.mimetypes.path = "~/.mime.types:/etc/mime.types:/usr/etc/mime.types:/usr/local/etc/mime.types:/usr/share/mime.types:/usr/share/misc/mime.types"
-
-
- ## mime.type
- # Handler <-> MIME type association. The first sub-tree is the MIME
- # class while the second sub-tree is the MIME type (ie. image/gif
- # handler will reside at mime.type.image.gif). Each MIME type option
- # should contain (case-sensitive) name of the MIME handler (its
- # properties are stored at mime.handler.).
-
-
- ## mime.default_type
- # Document MIME-type to assume by default (when we are unable to
- # guess it properly from known information about the document).
- set mime.default_type = "application/octet-stream"
-
-
-## protocol
-# Protocol specific options.
-
- ## protocol.file
- # Options specific to local browsing.
-
- ## protocol.file.cgi
- # Local CGI specific options.
-
- ## protocol.file.cgi.path
- # Colon separated list of directories, where CGI scripts are stored.
- set protocol.file.cgi.path = ""
-
- ## protocol.file.cgi.policy [0|1]
- # Whether to execute local CGI scripts.
- set protocol.file.cgi.policy = 0
-
-
- ## protocol.file.allow_special_files [0|1]
- # Whether to allow reading from non-regular files.
- # Note this can be dangerous; reading /dev/urandom or
- # /dev/zero can ruin your day!
- set protocol.file.allow_special_files = 0
-
- ## protocol.file.show_hidden_files [0|1]
- # When set to false, files with name starting with a dot will be
- # hidden in local directories listing.
- set protocol.file.show_hidden_files = 1
-
- ## protocol.file.try_encoding_extensions [0|1]
- # When set, if we can't open a file named 'filename', we'll try
- # to open 'filename' with some encoding extension appended
- # (ie. 'filename.gz'); it depends on the supported encodings.
- set protocol.file.try_encoding_extensions = 1
-
-
- ## protocol.ftp
- # FTP specific options.
-
- ## protocol.ftp.proxy
- # FTP proxy configuration.
-
- ## protocol.ftp.proxy.host
- # Host and port-number (host:port) of the FTP proxy, or blank.
- # If it's blank, FTP_PROXY environment variable is checked as well.
- set protocol.ftp.proxy.host = ""
-
-
- ## protocol.ftp.anon_passwd
- # FTP anonymous password to be sent.
- set protocol.ftp.anon_passwd = "some@host.domain"
-
- ## protocol.ftp.use_pasv [0|1]
- # Use PASV instead of PORT (passive vs active mode, IPv4 only).
- set protocol.ftp.use_pasv = 1
-
- ## protocol.ftp.use_epsv [0|1]
- # Use EPSV instead of EPRT (passive vs active mode, IPv6 only).
- set protocol.ftp.use_epsv = 0
-
-
- ## protocol.http
- # HTTP-specific options.
-
- ## protocol.http.bugs
- # Server-side HTTP bugs workarounds.
-
- ## protocol.http.bugs.accept_charset [0|1]
- # The Accept-Charset header is quite long and sending it can trigger
- # bugs in some rarely found servers.
- set protocol.http.bugs.accept_charset = 1
-
- ## protocol.http.bugs.allow_blacklist [0|1]
- # Allow blacklisting of buggy servers.
- set protocol.http.bugs.allow_blacklist = 1
-
- ## protocol.http.bugs.broken_302_redirect [0|1]
- # Broken 302 redirect (violates RFC but compatible with Netscape).
- # This is a problem for a lot of web discussion boards and the like.
- # If they will do strange things to you, try to play with this.
- set protocol.http.bugs.broken_302_redirect = 1
-
- ## protocol.http.bugs.post_no_keepalive [0|1]
- # Disable keepalive connection after POST request.
- set protocol.http.bugs.post_no_keepalive = 0
-
- ## protocol.http.bugs.http10 [0|1]
- # Use HTTP/1.0 protocol instead of HTTP/1.1.
- set protocol.http.bugs.http10 = 0
-
-
- ## protocol.http.proxy
- # HTTP proxy configuration.
-
- ## protocol.http.proxy.host
- # Host and port-number (host:port) of the HTTP proxy, or blank.
- # If it's blank, HTTP_PROXY environment variable is checked as well.
- set protocol.http.proxy.host = ""
-
- ## protocol.http.proxy.user
- # Proxy authentication username.
- set protocol.http.proxy.user = ""
-
- ## protocol.http.proxy.passwd
- # Proxy authentication password.
- set protocol.http.proxy.passwd = ""
-
-
- ## protocol.http.referer
- # HTTP referer sending options. HTTP referer is a special header
- # sent in the HTTP requests, which is supposed to contain the previous
- # page visited by the browser. This way, the server can know what link
- # did you follow when accessing that page. However, this behaviour
- # can unfortunately considerably affect privacy and can lead even to a
- # security problem on some badly designed web pages.
-
- ## protocol.http.referer.policy
- # Mode of sending HTTP referer:
- # 0 is send no referer
- # 1 is send current URL as referer
- # 2 is send fixed fake referer
- # 3 is send previous URL as referer (correct, but insecure)
- set protocol.http.referer.policy = 3
-
- ## protocol.http.referer.fake
- # Fake referer to be sent when policy is 2.
- set protocol.http.referer.fake = ""
-
-
- ## protocol.http.accept_language
- # Send Accept-Language header.
- set protocol.http.accept_language = ""
-
- ## protocol.http.accept_ui_language [0|1]
- # Request localised versions of documents from web-servers (using the
- # Accept-Language header) using the language you have configured for
- # ELinks' user-interface (this also affects navigator.language ECMAScript
- # value available to scripts). Note that some see this as a potential
- # security risk because it tells web-masters and the FBI sniffers about
- # your language preference.
- set protocol.http.accept_ui_language = 1
-
- ## protocol.http.trace [0|1]
- # If active, all HTTP requests are sent with TRACE as their method
- # rather than GET or POST. This is useful for debugging of both ELinks
- # and various server-side scripts --- the server only returns the client's
- # request back to the client verbatim. Note that this type of request may
- # not be enabled on all servers.
- set protocol.http.trace = 0
-
- ## protocol.http.user_agent
- # Change the User Agent ID. That means identification string, which
- # is sent to HTTP server when a document is requested. The 'textmode'
- # token in the first field is our silent attempt to establish this as
- # a standard for new textmode user agents, so that the webmasters can
- # have just a single uniform test for these if they are ie. pushing
- # some lite version to them automagically.
- # %v in the string means ELinks version
- # %s in the string means system identification
- # %t in the string means size of the terminal
- # %b in the string means number of bars displayed by ELinks
- # Use " " if you don't want any User-Agent header to be sent at all.
- set protocol.http.user_agent = "ELinks/%v (textmode; %s; %t-%b)"
-
-
- ## protocol.https
- # HTTPS-specific options.
-
- ## protocol.https.proxy
- # HTTPS proxy configuration.
-
- ## protocol.https.proxy.host
- # Host and port-number (host:port) of the HTTPS CONNECT proxy, or blank.
- # If it's blank, HTTPS_PROXY environment variable is checked as well.
- set protocol.https.proxy.host = ""
-
-
-
- ## protocol.nntp
- # NNTP and news specific options.
-
- ## protocol.nntp.server
- # Used when resolving news: URIs. If set to the empty string
- # the value of the NNTPSERVER environment variable will be used.
- set protocol.nntp.server = ""
-
- ## protocol.nntp.header_entries
- # Comma separated list of which entries in the article header
- # to show. E.g. 'Subject' and 'From'.
- # All header entries can be read in the header info dialog.
- set protocol.nntp.header_entries = "Subject,From,Date,Message-ID,Newsgroups"
-
-
- ## protocol.rewrite
- # Rules for rewriting URIs entered in the goto dialog.
- # It makes it possible to define a set of prefixes that will
- # be expanded if they match a string entered in the goto dialog.
- # The prefixes can be dumb, meaning that they work only like
- # URI abbreviations, or smart ones, making it possible to pass
- # arguments to them like search engine keywords.
-
- ## protocol.rewrite.dumb
- # Dumb prefixes, see enable-dumb description for details.
-
- ## protocol.rewrite.dumb.arc
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.arc = "http://web.archive.org/web/*/%c"
-
- ## protocol.rewrite.dumb.b
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.b = "http://babelfish.altavista.com/babelfish/tr"
-
- ## protocol.rewrite.dumb.bug
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.bug = "http://bugzilla.elinks.or.cz/"
-
- ## protocol.rewrite.dumb.bz
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.bz = "http://bugzilla.elinks.or.cz/"
-
- ## protocol.rewrite.dumb.cia
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.cia = "http://cia.navi.cx/"
-
- ## protocol.rewrite.dumb.d
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.d = "http://www.dict.org"
-
- ## protocol.rewrite.dumb.dbug
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.dbug = "http://bugs.debian.org/"
-
- ## protocol.rewrite.dumb.documentation
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.documentation = "http://elinks.or.cz/documentation"
-
- ## protocol.rewrite.dumb.dpkg
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.dpkg = "http://packages.debian.org/"
-
- ## protocol.rewrite.dumb.e2
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.e2 = "http://www.everything2.org/"
-
- ## protocol.rewrite.dumb.elinks
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.elinks = "http://elinks.or.cz/"
-
- ## protocol.rewrite.dumb.fm
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.fm = "http://freshmeat.net/"
-
- ## protocol.rewrite.dumb.g
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.g = "http://www.google.com/"
-
- ## protocol.rewrite.dumb.gg
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.gg = "http://www.google.com/"
-
- ## protocol.rewrite.dumb.go
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.go = "http://www.google.com/"
-
- ## protocol.rewrite.dumb.lua
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.lua = "file:///usr/share/doc/lua40-doc/manual/idx.html"
-
- ## protocol.rewrite.dumb.pycur
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.pycur = "http://www.python.org/doc/current/"
-
- ## protocol.rewrite.dumb.pydev
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.pydev = "http://www.python.org/dev/doc/devel/"
-
- ## protocol.rewrite.dumb.pyhelp
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.pyhelp = "http://starship.python.net/crew/theller/pyhelp.cgi"
-
- ## protocol.rewrite.dumb.pyvault
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.pyvault = "http://www.vex.net/parnassus/"
-
- ## protocol.rewrite.dumb.sd
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.sd = "http://slashdot.org/"
-
- ## protocol.rewrite.dumb.sf
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.sf = "http://www.sourceforge.net/"
-
- ## protocol.rewrite.dumb.vcss
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.vcss = "http://jigsaw.w3.org/css-validator/validator?uri=%c"
-
- ## protocol.rewrite.dumb.vhtml
- # Replacement URI for this dumbprefix:
- # %c in the string means the current URL
- # %% in the string means '%'
- set protocol.rewrite.dumb.vhtml = "http://validator.w3.org/check?uri=%c"
-
-
- ## protocol.rewrite.smart
- # Smart prefixes, see enable-smart description for details.
-
- ## protocol.rewrite.smart.a
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.a = "http://acronymfinder.com/af-query.asp?String=exact&Acronym=%s"
-
- ## protocol.rewrite.smart.arc
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.arc = "http://web.archive.org/web/*/%s"
-
- ## protocol.rewrite.smart.bb
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.bb = "http://babelfish.altavista.com/babelfish/tr?urltext=%s"
-
- ## protocol.rewrite.smart.bb_en_fr
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.bb_en_fr = "http://babelfish.altavista.com/babelfish/tr?lp=en_fr&submit=1&urltext=%s"
-
- ## protocol.rewrite.smart.bb_fr_en
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.bb_fr_en = "http://babelfish.altavista.com/babelfish/tr?lp=fr_en&submit=1&urltext=%s"
-
- ## protocol.rewrite.smart.bug
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.bug = "http://bugzilla.elinks.or.cz/show_bug.cgi?id=%s"
-
- ## protocol.rewrite.smart.cambridge
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.cambridge = "http://dictionary.cambridge.org/results.asp?searchword=%s"
-
- ## protocol.rewrite.smart.cliki
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.cliki = "http://www.cliki.net/admin/search?words=%s"
-
- ## protocol.rewrite.smart.cr
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.cr = "http://www.rfc-editor.org/cgi-bin/rfcsearch.pl?searchwords=%s&format=http&abstract=abson&keywords=keyon&num=25"
-
- ## protocol.rewrite.smart.czen
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.czen = "http://www.slovnik.cz/bin/ecd?ecd_il=1&ecd_vcb=%s&ecd_trn=translate&ecd_trn_dir=1&ecd_lines=15&ecd_hptxt=0"
-
- ## protocol.rewrite.smart.d
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.d = "http://www.dict.org/bin/Dict?Query=%s&Form=Dict1&Strategy=*&Database=*&submit=Submit+query"
-
- ## protocol.rewrite.smart.dbug
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.dbug = "http://bugs.debian.org/%s"
-
- ## protocol.rewrite.smart.dict
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.dict = "http://dictionary.reference.com/search?q=%s"
-
- ## protocol.rewrite.smart.dmoz
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.dmoz = "http://search.dmoz.org/cgi-bin/search?search=%s"
-
- ## protocol.rewrite.smart.dpkg
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.dpkg = "http://packages.debian.org/%s"
-
- ## protocol.rewrite.smart.draft
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.draft = "http://www.rfc-editor.org/cgi-bin/idsearch.pl?searchwords=%s&format=http&abstract=abson&keywords=keyon&num=25"
-
- ## protocol.rewrite.smart.e2
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.e2 = "http://www.everything2.org/?node=%s"
-
- ## protocol.rewrite.smart.emacs
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.emacs = "http://www.emacswiki.org/cgi-bin/wiki.pl?search=%s"
-
- ## protocol.rewrite.smart.encz
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.encz = "http://www.slovnik.cz/bin/ecd?ecd_il=1&ecd_vcb=%s&ecd_trn=translate&ecd_trn_dir=0&ecd_lines=15&ecd_hptxt=0"
-
- ## protocol.rewrite.smart.fm
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.fm = "http://freshmeat.net/search/?q=%s"
-
- ## protocol.rewrite.smart.foldoc
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.foldoc = "http://wombat.doc.ic.ac.uk/foldoc/foldoc.cgi?%s"
-
- ## protocol.rewrite.smart.fsd
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.fsd = "http://directory.fsf.org/search/fsd-search.py?q=%s"
-
- ## protocol.rewrite.smart.g
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.g = "http://www.google.com/search?q=%s&btnG=Google+Search"
-
- ## protocol.rewrite.smart.gd
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gd = "http://www.google.com/search?q=%s&cat=gwd/Top"
-
- ## protocol.rewrite.smart.gg
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gg = "http://www.google.com/search?q=%s&btnG=Google+Search"
-
- ## protocol.rewrite.smart.gi
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gi = "http://images.google.com/images?q=%s"
-
- ## protocol.rewrite.smart.gn
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gn = "http://news.google.com/news?q=%s"
-
- ## protocol.rewrite.smart.go
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.go = "http://www.google.com/search?q=%s&btnG=Google+Search"
-
- ## protocol.rewrite.smart.google
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.google = "http://www.google.com/search?q=%s"
-
- ## protocol.rewrite.smart.gr
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gr = "http://groups.google.com/groups?q=%s"
-
- ## protocol.rewrite.smart.gwhat
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gwhat = "http://www.googlism.com/?ism=%s&name=2"
-
- ## protocol.rewrite.smart.gwhen
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gwhen = "http://www.googlism.com/?ism=%s&name=4"
-
- ## protocol.rewrite.smart.gwhere
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gwhere = "http://www.googlism.com/?ism=%s&name=3"
-
- ## protocol.rewrite.smart.gwho
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.gwho = "http://www.googlism.com/?ism=%s&name=1"
-
- ## protocol.rewrite.smart.id
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.id = "http://www.rfc-editor.org/cgi-bin/idsearch.pl?searchwords=%s&format=http&abstract=abson&keywords=keyon&num=25"
-
- ## protocol.rewrite.smart.imdb
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.imdb = "http://imdb.com/Find?%s"
-
- ## protocol.rewrite.smart.lxr
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.lxr = "http://lxr.linux.no/ident?i=%s"
-
- ## protocol.rewrite.smart.lyrics
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.lyrics = "http://music.lycos.com/lyrics/results.asp?QT=L&QW=%s"
-
- ## protocol.rewrite.smart.milestone-bugs
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.milestone-bugs = "http://bugzilla.elinks.or.cz/buglist.cgi?target_milestone=%s"
-
- ## protocol.rewrite.smart.mw
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.mw = "http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=%s"
-
- ## protocol.rewrite.smart.mwt
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.mwt = "http://www.m-w.com/cgi-bin/thesaurus?book=Thesaurus&va=%s"
-
- ## protocol.rewrite.smart.onelook
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.onelook = "http://onelook.com/?w=%s&ls=a"
-
- ## protocol.rewrite.smart.py
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.py = "http://starship.python.net/crew/theller/pyhelp.cgi?keyword=%s&version=current"
-
- ## protocol.rewrite.smart.pydev
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.pydev = "http://starship.python.net/crew/theller/pyhelp.cgi?keyword=%s&version=devel"
-
- ## protocol.rewrite.smart.pyvault
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.pyvault = "http://py.vaults.ca/apyllo.py?find=%s"
-
- ## protocol.rewrite.smart.rfc
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.rfc = "http://www.rfc-editor.org/rfc/rfc%s.txt"
-
- ## protocol.rewrite.smart.rfcid
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.rfcid = "http://www.rfc-editor.org/cgi-bin/idsearch.pl?searchwords=%s&format=http&abstract=abson&keywords=keyon&num=25"
-
- ## protocol.rewrite.smart.rfcs
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.rfcs = "http://www.rfc-editor.org/cgi-bin/rfcsearch.pl?searchwords=%s&format=http&abstract=abson&keywords=keyon&num=25"
-
- ## protocol.rewrite.smart.savannah
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.savannah = "http://savannah.nongnu.org/search/?words=%s&type_of_search=soft&exact=1"
-
- ## protocol.rewrite.smart.sd
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.sd = "http://slashdot.org/search.pl?query=%s"
-
- ## protocol.rewrite.smart.sdc
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.sdc = "http://slashdot.org/search.pl?query=%s&op=comments"
-
- ## protocol.rewrite.smart.sdj
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.sdj = "http://slashdot.org/search.pl?query=%s&op=journals"
-
- ## protocol.rewrite.smart.sdp
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.sdp = "http://slashdot.org/search.pl?query=%s&op=polls"
-
- ## protocol.rewrite.smart.sdu
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.sdu = "http://slashdot.org/search.pl?query=%s&op=users"
-
- ## protocol.rewrite.smart.search-bugs
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.search-bugs = "http://bugzilla.elinks.or.cz/buglist.cgi?short_desc_type=allwordssubstr&short_desc=%s"
-
- ## protocol.rewrite.smart.sf
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.sf = "http://sourceforge.net/search/?q=%s"
-
- ## protocol.rewrite.smart.sfp
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.sfp = "http://sourceforge.net/projects/%s"
-
- ## protocol.rewrite.smart.thes
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.thes = "http://thesaurus.reference.com/search?q=%s"
-
- ## protocol.rewrite.smart.whatis
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.whatis = "http://uptime.netcraft.com/up/graph/?host=%s"
-
- ## protocol.rewrite.smart.wiki
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.wiki = "http://www.wikipedia.org/w/wiki.phtml?search=%s"
-
- ## protocol.rewrite.smart.wn
- # Replacement URI for this smartprefix:
- # %c in the string means the current URL
- # %s in the string means the whole argument to smartprefix
- # %0,%1,...,%9 means argument 0, 1, ..., 9
- # %% in the string means '%'
- set protocol.rewrite.smart.wn = "http://www.cogsci.princeton.edu/cgi-bin/webwn1.7.1?stage=1&word=%s"
-
-
- ## protocol.rewrite.enable-dumb [0|1]
- # Enable dumb prefixes - simple URI abbreviations which can
- # be written to the Goto URL dialog instead of actual URIs - i.e.
- # if you write 'elinks' there, you are directed to
- # http://elinks.or.cz/.
- set protocol.rewrite.enable-dumb = 1
-
- ## protocol.rewrite.enable-smart [0|1]
- # Enable smart prefixes - URI templates triggered by writing
- # given abbreviation to the Goto URL dialog followed by a list
- # of arguments from which the actual URI is composed - i.e.
- # 'gg:search keywords' or 'gn search keywords for news'.
- set protocol.rewrite.enable-smart = 1
-
-
- ## protocol.smb
- # SAMBA specific options.
-
- ## protocol.smb.credentials
- # Credentials file passed to smbclient via -A option.
- set protocol.smb.credentials = ""
-
-
- ## protocol.user
- # User protocols. Options in this tree specify external
- # handlers for the appropriate protocols. Ie.
- # protocol.user.mailto.unix.
-
- ## protocol.user.irc
-
- ## protocol.user.irc.unix
- set protocol.user.irc.unix = "irc %u"
- ## protocol.user.irc.unix-xwin
- set protocol.user.irc.unix-xwin = "irc %u"
-
- ## protocol.user.mailto
-
- ## protocol.user.mailto.unix
- set protocol.user.mailto.unix = "mutt %h -s \"%s\" -i \"%f\""
- ## protocol.user.mailto.unix-xwin
- set protocol.user.mailto.unix-xwin = "mutt %h -s \"%s\" -i \"%f\""
-
- ## protocol.user.telnet
-
- ## protocol.user.telnet.unix
- set protocol.user.telnet.unix = "telnet %h %p"
- ## protocol.user.telnet.unix-xwin
- set protocol.user.telnet.unix-xwin = "telnet %h %p"
-
- ## protocol.user.tn3270
-
- ## protocol.user.tn3270.unix
- set protocol.user.tn3270.unix = "tn3270 %h %p"
- ## protocol.user.tn3270.unix-xwin
- set protocol.user.tn3270.unix-xwin = "tn3270 %h %p"
-
-
- ## protocol.no_proxy
- # Comma separated list of domains for which the proxy (HTTP/FTP)
- # should be disabled. Optionally, a port can be specified for some
- # domains as well. If it's blank, NO_PROXY environment variable is
- # checked as well.
- set protocol.no_proxy = ""
-
-
-## terminal
-# Terminal options.
-
- ## terminal.linux
- # Options specific to this terminal type (according to $TERM value).
-
- ## terminal.linux.charset
- set terminal.linux.charset = "System"
- ## terminal.linux.underline [0|1]
- set terminal.linux.underline = 0
- ## terminal.linux.transparency [0|1]
- set terminal.linux.transparency = 1
- ## terminal.linux.colors
- set terminal.linux.colors = 1
- ## terminal.linux.block_cursor [0|1]
- set terminal.linux.block_cursor = 0
- ## terminal.linux.restrict_852 [0|1]
- set terminal.linux.restrict_852 = 0
- ## terminal.linux.utf_8_io [0|1]
- set terminal.linux.utf_8_io = 0
- ## terminal.linux.m11_hack [0|1]
- set terminal.linux.m11_hack = 1
- ## terminal.linux.type
- set terminal.linux.type = 2
-
- ## terminal.vt100
- # Options specific to this terminal type (according to $TERM value).
-
- ## terminal.vt100.charset
- set terminal.vt100.charset = "System"
- ## terminal.vt100.underline [0|1]
- set terminal.vt100.underline = 0
- ## terminal.vt100.transparency [0|1]
- set terminal.vt100.transparency = 1
- ## terminal.vt100.colors
- set terminal.vt100.colors = 0
- ## terminal.vt100.block_cursor [0|1]
- set terminal.vt100.block_cursor = 0
- ## terminal.vt100.restrict_852 [0|1]
- set terminal.vt100.restrict_852 = 0
- ## terminal.vt100.utf_8_io [0|1]
- set terminal.vt100.utf_8_io = 0
- ## terminal.vt100.m11_hack [0|1]
- set terminal.vt100.m11_hack = 0
- ## terminal.vt100.type
- set terminal.vt100.type = 1
-
- ## terminal.vt110
- # Options specific to this terminal type (according to $TERM value).
-
- ## terminal.vt110.charset
- set terminal.vt110.charset = "System"
- ## terminal.vt110.underline [0|1]
- set terminal.vt110.underline = 0
- ## terminal.vt110.transparency [0|1]
- set terminal.vt110.transparency = 1
- ## terminal.vt110.colors
- set terminal.vt110.colors = 0
- ## terminal.vt110.block_cursor [0|1]
- set terminal.vt110.block_cursor = 0
- ## terminal.vt110.restrict_852 [0|1]
- set terminal.vt110.restrict_852 = 0
- ## terminal.vt110.utf_8_io [0|1]
- set terminal.vt110.utf_8_io = 0
- ## terminal.vt110.m11_hack [0|1]
- set terminal.vt110.m11_hack = 0
- ## terminal.vt110.type
- set terminal.vt110.type = 1
-
- ## terminal.xterm
- # Options specific to this terminal type (according to $TERM value).
-
- ## terminal.xterm.charset
- set terminal.xterm.charset = "System"
- ## terminal.xterm.underline [0|1]
- set terminal.xterm.underline = 1
- ## terminal.xterm.transparency [0|1]
- set terminal.xterm.transparency = 1
- ## terminal.xterm.colors
- set terminal.xterm.colors = 0
- ## terminal.xterm.block_cursor [0|1]
- set terminal.xterm.block_cursor = 0
- ## terminal.xterm.restrict_852 [0|1]
- set terminal.xterm.restrict_852 = 0
- ## terminal.xterm.utf_8_io [0|1]
- set terminal.xterm.utf_8_io = 0
- ## terminal.xterm.m11_hack [0|1]
- set terminal.xterm.m11_hack = 0
- ## terminal.xterm.type
- set terminal.xterm.type = 1
-
- ## terminal.xterm-color
- # Options specific to this terminal type (according to $TERM value).
-
- ## terminal.xterm-color.charset
- set terminal.xterm-color.charset = "System"
- ## terminal.xterm-color.underline [0|1]
- set terminal.xterm-color.underline = 1
- ## terminal.xterm-color.transparency [0|1]
- set terminal.xterm-color.transparency = 1
- ## terminal.xterm-color.colors
- set terminal.xterm-color.colors = 1
- ## terminal.xterm-color.block_cursor [0|1]
- set terminal.xterm-color.block_cursor = 0
- ## terminal.xterm-color.restrict_852 [0|1]
- set terminal.xterm-color.restrict_852 = 0
- ## terminal.xterm-color.utf_8_io [0|1]
- set terminal.xterm-color.utf_8_io = 0
- ## terminal.xterm-color.m11_hack [0|1]
- set terminal.xterm-color.m11_hack = 0
- ## terminal.xterm-color.type
- set terminal.xterm-color.type = 1
-
- ## terminal.xterm-256color
- # Options specific to this terminal type (according to $TERM value).
-
- ## terminal.xterm-256color.charset
- set terminal.xterm-256color.charset = "System"
- ## terminal.xterm-256color.underline [0|1]
- set terminal.xterm-256color.underline = 1
- ## terminal.xterm-256color.transparency [0|1]
- set terminal.xterm-256color.transparency = 1
- ## terminal.xterm-256color.colors
- set terminal.xterm-256color.colors = 2
- ## terminal.xterm-256color.block_cursor [0|1]
- set terminal.xterm-256color.block_cursor = 0
- ## terminal.xterm-256color.restrict_852 [0|1]
- set terminal.xterm-256color.restrict_852 = 0
- ## terminal.xterm-256color.utf_8_io [0|1]
- set terminal.xterm-256color.utf_8_io = 0
- ## terminal.xterm-256color.m11_hack [0|1]
- set terminal.xterm-256color.m11_hack = 0
- ## terminal.xterm-256color.type
- set terminal.xterm-256color.type = 1
-
-
-## ui
-# User interface options.
-
- ## ui.clock
- # Digital clock in the status bar.
-
- ## ui.clock.enable [0|1]
- # Whether to display a digital clock in the status bar.
- set ui.clock.enable = 0
-
- ## ui.clock.format
- # Format string for the digital clock. See the strftime(3)
- # manpage for details.
- set ui.clock.format = "[%H:%M]"
-
-
- ## ui.colors
- # Default user interface color settings.
-
- ## ui.colors.color
- # Color settings for color terminal.
-
- ## ui.colors.color.mainmenu
- # Main menu bar colors.
-
- ## ui.colors.color.mainmenu.normal
- # Unselected main menu bar item colors.
-
- ## ui.colors.color.mainmenu.normal.text
- # Default text color.
- set ui.colors.color.mainmenu.normal.text = "black"
-
- ## ui.colors.color.mainmenu.normal.background
- # Default background color.
- set ui.colors.color.mainmenu.normal.background = "white"
-
-
- ## ui.colors.color.mainmenu.selected
- # Selected main menu bar item colors.
-
- ## ui.colors.color.mainmenu.selected.text
- # Default text color.
- set ui.colors.color.mainmenu.selected.text = "green"
-
- ## ui.colors.color.mainmenu.selected.background
- # Default background color.
- set ui.colors.color.mainmenu.selected.background = "black"
-
-
- ## ui.colors.color.mainmenu.hotkey
- # Main menu hotkey colors.
-
- ## ui.colors.color.mainmenu.hotkey.normal
- # Main menu unselected hotkey colors.
-
- ## ui.colors.color.mainmenu.hotkey.normal.text
- # Default text color.
- set ui.colors.color.mainmenu.hotkey.normal.text = "darkred"
-
- ## ui.colors.color.mainmenu.hotkey.normal.background
- # Default background color.
- set ui.colors.color.mainmenu.hotkey.normal.background = "white"
-
-
- ## ui.colors.color.mainmenu.hotkey.selected
- # Main menu selected hotkey colors.
-
- ## ui.colors.color.mainmenu.hotkey.selected.text
- # Default text color.
- set ui.colors.color.mainmenu.hotkey.selected.text = "darkred"
-
- ## ui.colors.color.mainmenu.hotkey.selected.background
- # Default background color.
- set ui.colors.color.mainmenu.hotkey.selected.background = "green"
-
-
-
-
- ## ui.colors.color.menu
- # Menu bar colors.
-
- ## ui.colors.color.menu.normal
- # Unselected menu item colors.
-
- ## ui.colors.color.menu.normal.text
- # Default text color.
- set ui.colors.color.menu.normal.text = "black"
-
- ## ui.colors.color.menu.normal.background
- # Default background color.
- set ui.colors.color.menu.normal.background = "white"
-
-
- ## ui.colors.color.menu.selected
- # Selected menu item colors.
-
- ## ui.colors.color.menu.selected.text
- # Default text color.
- set ui.colors.color.menu.selected.text = "black"
-
- ## ui.colors.color.menu.selected.background
- # Default background color.
- set ui.colors.color.menu.selected.background = "green"
-
-
- ## ui.colors.color.menu.marked
- # Marked menu item colors.
-
- ## ui.colors.color.menu.marked.text
- # Default text color.
- set ui.colors.color.menu.marked.text = "red"
-
- ## ui.colors.color.menu.marked.background
- # Default background color.
- set ui.colors.color.menu.marked.background = "white"
-
-
- ## ui.colors.color.menu.hotkey
- # Menu item hotkey colors.
-
- ## ui.colors.color.menu.hotkey.normal
- # Menu item unselected hotkey colors.
-
- ## ui.colors.color.menu.hotkey.normal.text
- # Default text color.
- set ui.colors.color.menu.hotkey.normal.text = "darkred"
-
- ## ui.colors.color.menu.hotkey.normal.background
- # Default background color.
- set ui.colors.color.menu.hotkey.normal.background = "white"
-
-
- ## ui.colors.color.menu.hotkey.selected
- # Menu item selected hotkey colors.
-
- ## ui.colors.color.menu.hotkey.selected.text
- # Default text color.
- set ui.colors.color.menu.hotkey.selected.text = "darkred"
-
- ## ui.colors.color.menu.hotkey.selected.background
- # Default background color.
- set ui.colors.color.menu.hotkey.selected.background = "green"
-
-
-
- ## ui.colors.color.menu.frame
- # Menu frame colors.
-
- ## ui.colors.color.menu.frame.text
- # Default text color.
- set ui.colors.color.menu.frame.text = "black"
-
- ## ui.colors.color.menu.frame.background
- # Default background color.
- set ui.colors.color.menu.frame.background = "white"
-
-
-
- ## ui.colors.color.dialog
- # Dialog colors.
-
- ## ui.colors.color.dialog.generic
- # Generic dialog colors.
-
- ## ui.colors.color.dialog.generic.text
- # Default text color.
- set ui.colors.color.dialog.generic.text = "black"
-
- ## ui.colors.color.dialog.generic.background
- # Default background color.
- set ui.colors.color.dialog.generic.background = "white"
-
-
- ## ui.colors.color.dialog.frame
- # Dialog frame colors.
-
- ## ui.colors.color.dialog.frame.text
- # Default text color.
- set ui.colors.color.dialog.frame.text = "black"
-
- ## ui.colors.color.dialog.frame.background
- # Default background color.
- set ui.colors.color.dialog.frame.background = "white"
-
-
- ## ui.colors.color.dialog.scrollbar
- # Scrollbar colors.
-
- ## ui.colors.color.dialog.scrollbar.text
- # Default text color.
- set ui.colors.color.dialog.scrollbar.text = "black"
-
- ## ui.colors.color.dialog.scrollbar.background
- # Default background color.
- set ui.colors.color.dialog.scrollbar.background = "blue"
-
-
- ## ui.colors.color.dialog.scrollbar-selected
- # Scrollbar selected colors.
-
- ## ui.colors.color.dialog.scrollbar-selected.text
- # Default text color.
- set ui.colors.color.dialog.scrollbar-selected.text = "black"
-
- ## ui.colors.color.dialog.scrollbar-selected.background
- # Default background color.
- set ui.colors.color.dialog.scrollbar-selected.background = "green"
-
-
- ## ui.colors.color.dialog.title
- # Dialog title colors.
-
- ## ui.colors.color.dialog.title.text
- # Default text color.
- set ui.colors.color.dialog.title.text = "darkred"
-
- ## ui.colors.color.dialog.title.background
- # Default background color.
- set ui.colors.color.dialog.title.background = "white"
-
-
- ## ui.colors.color.dialog.text
- # Dialog text colors.
-
- ## ui.colors.color.dialog.text.text
- # Default text color.
- set ui.colors.color.dialog.text.text = "black"
-
- ## ui.colors.color.dialog.text.background
- # Default background color.
- set ui.colors.color.dialog.text.background = "white"
-
-
- ## ui.colors.color.dialog.checkbox
- # Dialog checkbox colors.
-
- ## ui.colors.color.dialog.checkbox.text
- # Default text color.
- set ui.colors.color.dialog.checkbox.text = "darkred"
-
- ## ui.colors.color.dialog.checkbox.background
- # Default background color.
- set ui.colors.color.dialog.checkbox.background = "white"
-
-
- ## ui.colors.color.dialog.checkbox-selected
- # Dialog selected checkbox colors.
-
- ## ui.colors.color.dialog.checkbox-selected.text
- # Default text color.
- set ui.colors.color.dialog.checkbox-selected.text = "yellow"
-
- ## ui.colors.color.dialog.checkbox-selected.background
- # Default background color.
- set ui.colors.color.dialog.checkbox-selected.background = "green"
-
-
- ## ui.colors.color.dialog.checkbox-label
- # Dialog checkbox label colors.
-
- ## ui.colors.color.dialog.checkbox-label.text
- # Default text color.
- set ui.colors.color.dialog.checkbox-label.text = "black"
-
- ## ui.colors.color.dialog.checkbox-label.background
- # Default background color.
- set ui.colors.color.dialog.checkbox-label.background = "white"
-
-
- ## ui.colors.color.dialog.button
- # Dialog button colors.
-
- ## ui.colors.color.dialog.button.text
- # Default text color.
- set ui.colors.color.dialog.button.text = "white"
-
- ## ui.colors.color.dialog.button.background
- # Default background color.
- set ui.colors.color.dialog.button.background = "blue"
-
-
- ## ui.colors.color.dialog.button-selected
- # Dialog selected button colors.
-
- ## ui.colors.color.dialog.button-selected.text
- # Default text color.
- set ui.colors.color.dialog.button-selected.text = "yellow"
-
- ## ui.colors.color.dialog.button-selected.background
- # Default background color.
- set ui.colors.color.dialog.button-selected.background = "green"
-
-
- ## ui.colors.color.dialog.button-shortcut
- # Dialog button colors.
-
- ## ui.colors.color.dialog.button-shortcut.text
- # Default text color.
- set ui.colors.color.dialog.button-shortcut.text = "yellow"
-
- ## ui.colors.color.dialog.button-shortcut.background
- # Default background color.
- set ui.colors.color.dialog.button-shortcut.background = "blue"
-
-
- ## ui.colors.color.dialog.button-shortcut-selected
- # Dialog selected button colors.
-
- ## ui.colors.color.dialog.button-shortcut-selected.text
- # Default text color.
- set ui.colors.color.dialog.button-shortcut-selected.text = "white"
-
- ## ui.colors.color.dialog.button-shortcut-selected.background
- # Default background color.
- set ui.colors.color.dialog.button-shortcut-selected.background = "blue"
-
-
- ## ui.colors.color.dialog.field
- # Dialog text field colors.
-
- ## ui.colors.color.dialog.field.text
- # Default text color.
- set ui.colors.color.dialog.field.text = "white"
-
- ## ui.colors.color.dialog.field.background
- # Default background color.
- set ui.colors.color.dialog.field.background = "blue"
-
-
- ## ui.colors.color.dialog.field-text
- # Dialog field text colors.
-
- ## ui.colors.color.dialog.field-text.text
- # Default text color.
- set ui.colors.color.dialog.field-text.text = "yellow"
-
- ## ui.colors.color.dialog.field-text.background
- # Default background color.
- set ui.colors.color.dialog.field-text.background = "blue"
-
-
- ## ui.colors.color.dialog.meter
- # Dialog meter colors.
-
- ## ui.colors.color.dialog.meter.text
- # Default text color.
- set ui.colors.color.dialog.meter.text = "white"
-
- ## ui.colors.color.dialog.meter.background
- # Default background color.
- set ui.colors.color.dialog.meter.background = "blue"
-
-
- ## ui.colors.color.dialog.shadow
- # Dialog shadow colors (see ui.shadows option).
-
- ## ui.colors.color.dialog.shadow.text
- # Default text color.
- set ui.colors.color.dialog.shadow.text = "black"
-
- ## ui.colors.color.dialog.shadow.background
- # Default background color.
- set ui.colors.color.dialog.shadow.background = "black"
-
-
-
- ## ui.colors.color.title
- # Title bar colors.
-
- ## ui.colors.color.title.title-bar
- # Generic title bar colors.
-
- ## ui.colors.color.title.title-bar.text