Kompx.com or Compmiscellanea.com

ELinks. Configuration

Operating systems : Windows, Linux

Jump to:

ELinks - Text-based or console web browser. Description: features, screenshots, download links.

ELinks. Use - How to use ELinks.


What ELinks can and what can not, i.e. what may be configured depends on several things. The most common are capability of the console it is run on and support of what was chosen during the compilation process of an ELinks browser source code. Under certain operating systems (Windows for instance) it is easier and more reliable to omit some possible features.

The configuration of ELinks 0.12pre2 from Package Database of Zenwalk Linux (originally based on Slackware, still keeping compatibility with its binary packages) is discussed here. It is quite representative in its qualities among other Linux ELinks browser versions for desktop PC computers. User interface of Windows ELinks and that of Linux / some other *nix systems ELinks of comparable versions are the same. If an ELinks package has been compiled without some feature or the console is not capable of something then it just will not be possible to choose the feature in the configuration process; or possible, but it will not work. For example, if this ELinks is compiled without support of 256 colors or your console is not capable of displaying them, then it just will only be possible to choose 16 or "No colors (mono)" in the menu. And the ELinks will work as much well in the rest.

The whole configuration of ELinks may be done through the menu of the browser - there is no need to edit config files. Even if some fine-tuning may require editing of elinks.conf or even source code files - but that is not the issue for average use.

The menu of ELinks is hidden when it is displaying a web page:

[ Image ] : ELinks - 1

To access the menu, press Esc on the keyboard:

[ Image ] : ELinks - 2

Configuration options are in "Setup" group:

[ Image ] : ELinks - 3

1 ) "Language" - set a language of ELinks user interface. It is possible to set it to the system language or to several others. System and terminal emulator / console have to be prepared for this change - corresponding localization / internationalization files installed and configured. Choose a language (English in this example):

[ Image ] : ELinks - 4

To keep it, press Esc again, then Setup, then Save options, then confirm by clicking OK. It is also possible to choose for Do not show anymore, but when OK is used, the path to the config file of ELinks (elinks.conf) is shown - that maybe useful:

[ Image ] : ELinks - 5 [ Image ] : ELinks - 6

This mode of action is used across the whole configuration process of ELinks web browser: Esc - to access the menu, Setup - to access configuration options, browsing through the lists to find the option, hitting the option chosen, then again Esc, Setup, Save options and clicking OK.

Esc --> Setup --> <option> - to select an option.

Esc --> Setup --> Save options --> OK - to confirm it.

2 ) "Character set" - choose what character encoding is to be used when displaying text of web pages. System and terminal emulator / console have to be prepared for some options to work. Try it by experimenting with web document texts in languages other then English. Unicode UTF-8 is used in this example.

Esc --> Setup --> Character set --> Unicode UTF-8 - to select Unicode UTF-8 character encoding.

Esc --> Setup --> Save options --> OK - to confirm it.

3 ) "Terminal options" - several options concerning terminal emulator / console characteristics. Ordinarily, it is enough to make changes in "Color mode" - how many colors are to be used by ELinks browser displaying text in web pages. ELinks can employ up to 256, but in practice it depends on terminal emulator / console capabilities. ELinks web browser and GNOME Terminal used here are capable of 16 colors or "No colors (mono)".

Esc --> Setup --> Terminal options --> 16 colors or "No colors (mono)" in Color mode section - to select how many colors are to be used by ELinks.

Esc --> Setup --> Save options --> OK - to confirm it.

4 ) "Options manager" - it contains all the rest options possible to set. They are quite numerous, many of the options are self-explanatory, so just some of them are discussed:

URI passing - Passing a URI to an external application when running ELinks in a terminal emulator. The most obvious possibilities are another browser and clipboard. There are two options: passing the URI of the web page ELinks is displaying at the moment or passing the URI of a highlighted link in a web page. Since passing a URI to clipboard is the most multipurpose - like URI may be taken from clipboard and put into a browser address bar, so ending up to be opened in another web browser anyway - it is this variant that explained further on.

First, xclip has to be installed. If the system does not have it already, download and install xclip: source code download page or look for xclip in the repository of your Linux distribution.

Esc --> Setup --> Options manager --> Document --> [ press Space bar to open options ] --> URI passing --> Add --> [ Enter a name for the action. Here "Clipboard" is used ] --> OK --> Edit --> [ Enter a value: echo -n %c | xclip -i ] --> OK --> Save --> OK

The process is done by keyboard shortcuts, so now a keystroke sequence must be assigned. Keyboard shortcut may be any combination starting with Shift, Ctrl or Alt. Here Alt-p for passing the URI of the web page ELinks is displaying at the moment and Alt-l for the URI of a link chosen in a web page are used.

For passing the URI of the web page ELinks is displaying at the moment to clipboard ( N.B. "Pass URI of current tab to external command" option may be displayed under the name of "tab-external-command". This is handled by Toggle display ):

Esc --> Setup --> Keybinding manager --> Main mapping --> [ press Space bar to open options ] --> Pass URI of current tab to external command --> Add --> [ Enter a keystroke sequence: Alt-p ] --> OK --> Save --> OK

For passing the URI of a highlighted link in a web page to clipboard ( N.B. "Pass URI of current link to external command" option may be displayed under the name of "link-external-command". This is handled by Toggle display ):

Esc --> Setup --> Keybinding manager --> Main mapping --> [ press Space bar to open options ] --> Pass URI of current link to external command --> Add --> [ Enter a keystroke sequence: Alt-l ] --> OK --> Save --> OK

If there is a need to use more common Ctrl-V shortcut for pasting from clipboard to GUI applications - not clicking mouse wheel or middle mouse button - put "echo -n %c | xclip -i -selection clipboard" instead of "echo -n %c | xclip -i".

External Editor - If ELinks is compiled with external editor support, it is possible to use an external editor for handling textarea of forms more conveniently. A GUI editor also may be used when in a X environment:

Esc --> Setup --> Options manager --> Document --> [ press Space bar to open options ] --> Browsing --> [ press Space bar to open options ] --> Forms --> [ press Space bar to open options ] --> External editor --> Edit --> [ Enter a value: geany ] --> OK --> Save --> OK

If value of "External editor" is left blank, ELinks will use the value of the $EDITOR variable of the environment. If $EDITOR is not set or empty, then it will fall to vi editor.

Default download directory - Setting the directory ELinks saves files to. May be any, for instance a common directory for all downloads and savings. Or home directory of the user, so that it is faster to add a required folder to it in the "Download" dialogue box:

Esc --> Setup --> Options manager --> Document --> [ press Space bar to open options ] --> Downloading --> [ press Space bar to open options ] --> Default download directory --> Edit --> [ Enter a value: /home/user1 ] --> OK --> Save --> OK

Set original time - Setting or not the timestamp of the downloaded / saved file to be the same as when the file was on the server it is downloaded / saved from. "1" for setting, "0" - for not:

Esc --> Setup --> Options manager --> Document --> [ press Space bar to open options ] --> Downloading --> [ press Space bar to open options ] --> Set original time --> Edit --> [ Enter a value: 1 ] --> OK --> Save --> OK

Prevent overwriting - When ELinks saves / downloads a file which happens to be the same as there already is, it can overwrite it without notice, ask what to do or automatically add a certain suffix to it: ".[number]". ELinks adds the ".[number]" not to the name of a file, but rather to its extension, like a.rar downloaded second time to the same folder with a.rar there becomes a.rar.1. The value of "0" is for files to be silently overwritten, "1" for the suffix of ".[number]" to be added. And "2" for "ask the user" for what to do - the options will be either to "Save under the alternative name" (adds the aforementioned suffix of ".[number]") or "Overwrite the original file" or "Resume download of the original file":

Esc --> Setup --> Options manager --> Document --> [ press Space bar to open options ] --> Downloading --> [ press Space bar to open options ] --> Prevent overwriting --> Edit --> [ Enter a value: 2 ] --> OK --> Save --> OK

Notify download completion by bell - Since ELinks can download files in background, with the download dialogue box hidden out of sight it may be convenient to be informed when download is complete. If notification by beeper is selected, there are two options: get audio notification when the way of "Background with notify" in the download dialogue is chosen or always get audio notification:

Esc --> Setup --> Options manager --> Document --> [ press Space bar to open options ] --> Downloading --> [ press Space bar to open options ] --> Notify download completion by bell --> Edit --> [ Enter a value: 2 ] --> OK --> Save --> OK

Clock - Displaying a digital clock in the status bar of ELinks. The value of "1" is to enable:

Esc --> Setup --> Options manager --> User interface --> [ press Space bar to open options ] --> Clock --> [ press Space bar to open options ] --> Enable --> Edit --> [ Enter a value: 1 ] --> OK --> Save --> OK

It is also possible to set the format of the digital clock. See strftime docs for details.


Aliosque subditos et thema


Arachne. Graphical web browser for DOS


Jump to: Arachne web browser. Installing and setting up for internet connection via Ethernet Arachne web browser. Installing and setting up for dial-up internet connection Versions : Configuration and use : Download links Arachne is a full-screen graphical web browser for DOS on PC computers. Originally developed by Michael Polák. First release - 22th December 1996. The last Arachne version by Arachne Labs was released on 22th January 2001. Arachne source code was opened in November of 2003 and the subsequent versions are released under GNU GPL license. Arachne is distributed as a software suite containing, besides web browser, built-in e-mail client, FTP, internet connection wizard, WAV files player. More add-ons are available: image viewer, PDF, file managers, mplayer, Telnet client, IRC and more. Arachne supports Windows-1251 and KOI8-R Cyrillic after additional packages are installed. Internet connection is via serial ports (COM) and Ethernet. There are also Arachne for Linux / SVGAlib. Versions GPL versions of Arachne. The main line of Arachne development. Major changes and updates take place within its framework. Maintained by a group of enthusiasts who also develop GPL version for Linux / SVGAlib. Arachne Labs versions. Arachne Labs, xChaos software initially, were the main structure engaged in development of Arachne until 2003, when Arachne source code was opened and the GPL versions of the browser became the main line. The last Arachne Labs version was released on 22th January 2001: Arachne 1.70 Release 3. Ray Andrews version. A GPL Arachne variation. PTS-DOS version. Similar to the corresponding versions of Arachne, but to some extent integrated with the PTS-DOS distribution. DR-WebSpyder. Based on Arachne. Basically - different web browser, for which Arachne is just an ancestor. Later the browser was renamed as Lineo EmBrowser. Configuration and use Arachne web browser was created in DOS and for DOS (the Linux version stands somewhat apart). Therefore, even though Arachne will run under many versions of Windows, Windows XP for instance, it is working under DOS when Arachne qualities are revealed best. Arachne web browser works in all major DOS variants, for example MS-DOS, FreeDOS or PTS-DOS. System requirements are low. The minimum: 80x86 CPU, 500 KB DOS base memory, 1 MB XMS/EMS memory, 512 KB SVGA video, 5 MB HDD space. Although requirements for using maximum screen resolution, maximum color depth are higher. But in this case too they are extremely small by today's standards - 486, better Pentium I computer, 640 KB base memory, 8+ MB XMS/EMS memory, 2+ MB SVGA video. Yet it depends - using 640x480 screen resolution, installing Arachne on RAM disk let to have Arachne running quite well on 386 CPU computer; if only there are enough of RAM and video adapter capabilities. Besides traditional hard disk installation, DOS LIVE CD by Roman Karpach may be used ( www.fdd5-25.net/doslivecd ), where Arachne web browser is among the software present. The characteristics of Arachne web browser installation process make the main settings be set right from the beginning. These settings for the most part are the responsibility of operating system on computers running Windows, Mac OS X or Linux, but in DOS Arachne browser takes care of everything itself.

CSS. Target Firefox only


CSS targeting Firefox web browser only: This text is red in Firefox HTML / XHTML. Code: <p>This text is red in Firefox</p> CSS. Code: @-moz-document url-prefix() {p {color: #f00;}} Unlike the method of styling elements for Opera browser only, it is essentially a hack - since the rule originally is intended for a different purpose. But lack of support in browsers other than Firefox allows to isolate code for use by Firefox web browser only. [ 1 ] Other browsers with Gecko web browser engine, like SeaMonkey 1.0+ or older Netscape 9.0, also support the hack. [ 2 ] Various versions of Internet Explorer, Google Chrome, Opera, Safari react to the hack as they are meant to - these browsers ignore the whole code of the Firefox specific hack. [ 3 ] There is also one more browser where text gets red - ELinks, an advanced text-based web browser with some support for CSS.