The location of ".links/"
links.main1
Lynx-like alternative character mode www browser
Usage
links [options]
URL
Overview
links is a text mode WWW browser, supporting colors, correct table rendering, background downloading, menu driven configuration interface and slim code.
Frames are supported. You can have different file formats associated with external viewers. mailto: and telnet: are supported via external clients.
links can handle local (file://) or remote (http://, ftp:// or https:// if there's compiled-in SSL support) URLs.
Options
Most options can be set in the user interface or config file, so usually you do not need to care about them.
-
-anonymous -
Restrict links so that it can run on an anonymous account. No local file browsing. No downloads. Executing of viewers is allowed, but user can't add or modify entries in association table.
-
-assume-codepage <codepage> -
Use the given codepage when the webpage did not specify its codepage. (default: ISO 8859-1)
-
-async-dns <0>/<1> -
Asynchronous DNS resolver on(1)/off(0). Default is on.
-
-base-session <number> -
Linkses are connecting together, forming sessions by default. Normally, there's only one session with number 0. In this way, you can make him to form more sessions at once. See also
-no-connectoption.
-
-download-dir <path> -
Default download directory. (default: actual dir)
-
-download-utime <0>/<1> -
Set time of download files on(1)/off(0). Default is off.
-
-dump -
Write a plain-text version of the given HTML document to stdout.
-
-format-cache-size <num> -
Number of formatted document pages cached. (default: 5)
-
-ftp.anonymous-password <password> -
Use this as the password for anonymous ftp sites.
-
-ftp-proxy <host:port> -
Host and port number of the FTP proxy, or blank. (default: blank)
-
-help -
Print a help screen.
-
-http-bugs.http10 <0>/<1> -
Turn use of HTTP/1.0 on(1)/off(0). Default is off.
-
-http-bugs.allow-blacklist <0>/<1> -
Turn blacklist of buggy servers on(1)/off(0). Default is on.
-
-http-bugs.bug-302-redirect <0>/<1> -
Turn broken redirect 302 (violates RFC, but compatible with Netscape) on(1)/off(0). Default is off.
-
-http-bugs.bug_post-no-keepalive <0>/<1> -
Turn no keepalive connection after POST request (for some buggy PHP databases) on(1)/off(0). Default is off.
-
-http-proxy <host:port> -
Host and port number of the HTTP proxy, or blank. (default: blank)
-
-language <langname> -
Language to use in user interface.
-
-max-connections <max> -
Maximum number of concurrent connections. (default: 10)
-
-max-connections-to-host <max> -
Maximum number of concurrent connection to a given host. (default: 2)
-
-memory-cache-size <Kbytes> -
Cache memory in Kilobytes. (default: 1024)
-
-width <size> -
Size of screen in characters, used in combination with -dump. (default: 80)
-
-no-connect -
Runs links as a separate instance - instead of connecting to existing instance. Prevents him to connecting to an existing session. See also
-base-sessionoption.
-
-receive-timeout <sec> -
Timeout on receive. (default: 120)
-
-retries <retry> -
Number of retries. (default: 3)
-
-source -
Write the given HTML document in source form to stdout.
-
-unrestartable-receive-timeout <sec> -
Timeout on non restartable connections. (default: 600)
-
-version -
Print the links version number and exit.
Editing keys
The following keys can be used while editing a line/jumping to a URL:
|
move right |
|---|---|
|
move left |
HOME
|
jump to the beginning |
^A
|
jump to the beginning |
END
|
jump to the end |
^E
|
jump to the end |
^INS
|
copy to clipboard |
^B
|
copy to clipboard |
^X
|
cut to clipboard |
^V
|
paste from clipboard |
ENTER
|
enter line |
BACKSPACE
|
delete back character |
^H
|
delete back character |
DEL
|
delete character |
^D
|
delete character |
^U
|
delete from beginning of the line |
^K
|
delete to the end of the line |
^W
|
auto complete line |
Environment
-
CONFIG_DIR
-
WWW_HOME -
Homepage location (as in
lynx)
-
LINKS_XTERM -
The command to run when selecting "File/New window" and if DISPLAY is defined (default "xterm -e")
-
LINKS_TWTERM -
The command to run when selecting "File/New window" and if TWDISPLAY is defined (default "twterm -e")
-
SHELL -
Used for "File/OS Shell" menu
-
COMSPEC -
Used for "File/OS Shell" menu in DOS/Windows
Files
-
Per-user config file, automatically created by
-
~/.links/links.cfg -
links.Its format is same as the one of user.cfg.
-
~/.links/html.cfg -
Per-user config file, automatically created by
links.It contains HTML rendering options. Its format is same as the one of user.cfg.
-
~/.links/user.cfg -
Per-user config file, not overwritten while saving
linksconfiguration. You can add your own options there (e.g. keybindings). Each line consists from option name (same as the command-line one, but without leading dash and with dashes converted to underscores), space, and its value, in quotes if it's a string. Lines which start with # are considered as comments and skipped.
-
~/.links/bookmarks -
Bookmarks file
-
~/.links/links.his -
Sites history file
-
~/.links/socket -
Internal links socket for communication between its instances.
Platforms
links is known to work on Linux, FreeBSD, OpenBSD, Solaris, IRIX, HPUX, Digital Unix, AIX, OS/2 and BeOS. Port for Win32 is in state of beta testing.
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).