📄 links.1
字号:
.\" Process this file with groff -man -Tascii links.1.TH LINKS 1 "Aug, 2006".SH NAMElinks \- lynx-like alternative character mode WWW browser.SH SYNOPSIS.B links.I "[options] URL".SH DESCRIPTION.B linksis a text mode WWW browser with ncurses interface, supportingcolors, correct table rendering, background downloading, menudriven configuration interface and slim code..P Frames are supported. You can have different file formats associated with external viewers. mailto: and telnet:are supported via external clients..P.I linkscan handle local (file://) or remote (http:// or ftp://) URLs..PP.SH OPTIONSMost options can be set in the userinterface or config file, so usually you do not need to care about them..TP\f3-g\f1Run Links in graphics mode. If not given, Links will run in text mode.Running in graphics mode means that Links will probe all compiled-in graphicsdevices and run on the first found. If none found, links will not run in textmode. This option works only if --enable-graphics was given to ./configure..TP\f3-no-g\f1Run in text mode (overrides previous -g)..TP\f3-driver \f2<driver name>\f1Graphics driver to use. Drivers are: x, svgalib, fb, directfb, pmshell,atheos.List of drivers will be shown if you give it an unknown driver.Available drivers depend on your operating system and available libraries..TP\f3-mode \f2<parameter>\f1Pass a parameter to the graphics driver. On SVGAlib, this is widthxheightxdepth,(where depth is 16, 256, 32K, 64K, 16M or 16M32) and defines the graphics mode, on X the format is WIDTHxHEIGHT and defines thewindow size..TP\f3-display \f2<x-display>\f1Set Xwindow display..TP\f3-force-html\f1Treat files with unknown type as html rather than text.(can be toggled with '\\' key).TP\f3-source \f2<url>\f1Write unformatted data stream to stdout..TP\f3-dump \f2<url>\f1Write formatted document to stdout..TP\f3-width \f2<number>\f1For dump, document will be formatted to this screen width (but it can stillexceed it if lines can't be broken)..TP\f3-codepage \f2<codepage>\f1For dump, convert output to specified character set --for eaxmple iso-8859-2, windows-1250..TP\f3-anonymous\f1Restrict links so that it can run on an anonymous account.No local file browsing. No downloads. Executing of viewersis allowed, but user can't add or modify entries inassociation table..TP\f3-no-connect\f1Runs links as a separate instance - instead of connecting toexisting instance..TP\f3-download-utime \f2<0>/<1>\f1Set time of downloaded files to last modification time reported by server..TP\f3-async-dns \f2<0>/<1>\f1Asynchronous DNS resolver on(1)/off(0). .TP\f3-max-connections \f2<max>\f1Maximum number of concurrent connections.(default: 10).TP\f3-max-connections-to-host \f2<max>\f1Maximum number of concurrent connection to a given host.(default: 2).TP\f3-retries \f2<retry>\f1Number of retries.(default: 3).TP\f3-receive-timeout \f2<sec>\f1Timeout on receive.(default: 120).TP\f3-unrestartable-receive-timeout \f2<sec>\f1Timeout on non restartable connections.(default: 600).TP\f3-format-cache-size \f2<num>\f1Number of formatted document pages cached.(default: 5).TP\f3-memory-cache-size \f2<bytes>\f1Cache memory in Kilobytes.(default: 1024).TP\f3-image-cache-size \f2<bytes>\f1Cache memory in Kilobytes.(default: 1024).TP\f3-http-proxy \f2<host:port>\f1Host and port number of the HTTP proxy, or blank.(default: blank).TP\f3-ftp-proxy \f2<host:port>\f1Host and port number of the FTP proxy, or blank.(default: blank).TP\f3-socks-proxy \f2<user@host:port>\f1Userid, host and port of Socks4a, or blank.(default: blank).TP\f3-only-proxies \f2<0>/<1>\f1"1" causes that Links won't initiate any non-proxy connection.It is useful for anonymization with tor or similar networks..TP\f3-download-dir \f2<path>\f1Default download directory.(default: actual dir).TP\f3-language \f2<language>\f1Set user interface language..TP\f3-http-bugs.http10 \f2<0>/<1>\f1(default 0) "1" forces using only HTTP/1.0 protocol. (useful for buggy serversthat claim to be HTTP/1.1 compliant but are not)"0" enables using both HTTP/1.0 and HTTP/1.1..TP\f3-http-bugs.allow-blacklist \f2<0>/<1>\f1(default 1)"1" defaults to using list of servers that have broken HTTP/1.1 support.When links finds such server, it will retry the request with HTTP/1.0..TP\f3-http-bugs.bug-302-redirect \f2<0>/<1>\f1(default 1)Process 302 redirect in a way that is incompatible with RFC1945 and RFC2068,but the same as Netscape and MSIE. Many pages depend on it..TP\f3-http-bugs.bug-post-no-keepalive \f2<0>/<1>\f1(default 0)No keepalive connection after post requests. For some buggy servers..TP\f3-http-bugs.bug-no-accept-charset \f2<0>/<1>\f1(default 0)Do not send Accept-Charset field of HTTP header. Because it is too longsome servers will deny the request. Other servers will convert contentto plain ascii when Accept-Charset is missing..TP\f3-http-bugs.no-compression \f2<0>/<1>\f1(default 0) "1" causes that links won't advertise HTTP compression support (butit will still accept compressed data). Use it when you communicate with serverthat has broken compression support..TP\f3-http-bugs.retry-internal-errors \f2<0>/<1>\f1(default 0)Retry on internal server errors (50x)..TP\f3-http-bugs.aggressive-cache \f2<0>/<1>\f1Always cache everything regardless of server's caching recomendations.Many servers deny caching even if their content is not changingjust to get more hits and more money from ads..TP\f3-http-referer \f2<0>/<1>\f1(default 0)0 - do not send referer.1 - send the requested URL as referer.2 - send fake referer.3 - send real referer.4 - send real referer only to the same server..TP\f3-fake-referer \f2<string>\f1Fake referer value..TP\f3-fake-user-agent \f2<string>\f1Fake user agent value..TP\f3-ftp.anonymous-password \f2<string>\f1Password for anonymous ftp access..TP\f3-ftp.use-passive \f2<0>/<1>\f1Use ftp PASV command to bypass firewalls..TP\f3-ftp.fast \f2<0>/<1>\f1Send more ftp commands simultaneously. Faster response whenbrowsing ftp directories, but it is incompatible with RFCand some servers don't like it..TP\f3-menu-font-size \f2<size>\f1Size of font in menu..TP\f3-background-color \f20xRRGGBB\f1Set menu background color in graphics mode. RRGGBB are hex..TP\f3-foreground-color \f20xRRGGBB\f1Set menu foreground color in graphics mode. RRGGBB are hex..TP\f3-scroll-bar-area-color \f20xRRGGBB\f1Set color of scroll bar area. RRGGBB are hex..TP\f3-scroll-bar-bar-color \f20xRRGGBB\f1Set color of scroll bar. RRGGBB are hex..TP\f3-scroll-bar-frame-color \f20xRRGGBB\f1Set color of scroll bar frame. RRGGBB are hex..TP\f3-display-red-gamma \f2<fp-value>\f1Red gamma of display. (default 2.2).TP\f3-display-green-gamma \f2<fp-value>\f1Green gamma of display. (default 2.2).TP\f3-display-blue-gamma \f2<fp-value>\f1Blue gamma of display. (default 2.2).TP\f3-user-gamma \f2<fp-value>\f1Additional gamma. (defult 1).TP\f3-bfu-aspect \f2<fp-value>\f1Display aspect ration..TP\f3-aspect-on \f2<0>/<1>\f1Enable aspect ratio correction..TP\f3-dither-letters \f2<0>/<1>\f1Do letter dithering..TP\f3-dither-images \f2<0>/<1>\f1Do image dithering..TP\f3-display-optimize \f2<0>/<1>/<2>\f1Optimize for CRT (0), LCD RGB (1), LCD BGR (2)..TP\f3-gamma-correction \f2<0>/<1>/<2>\f1Type of gamma correction:(default 2)0 - 8-bit (fast).1 - 16-bit (slow).2 - automatically detect according to speed of FPU..\".TP.\"\f3-enable-javascript \f2<0>/<1>\f1.\"Enable javascript..\".\".TP.\"\f3-js.verbose-errors \f2<0>/<1>\f1.\"Display javascript errors..\".\".TP.\"\f3-js.verbose-warnings \f2<0>/<1>\f1.\"Display javascript warnings..\".\".TP.\"\f3-js.enable-all-conversions \f2<0>/<1>\f1.\"Enable conversions between all types in javascript..\".\".TP.\"\f3-js.enable-global-resolution \f2<0>/<1>\f1.\"Resolve global names..\".\".TP.\"\f3-js.manual-confirmation \f2<0>/<1>\f1.\"Ask user to confirm potentially dangerous operations..\"(opening windows, going to url etc.) Default 1..\".\".TP.\"\f3-js.recursion-depth \f2<integer>\f1.\"Depth of javascript call stack..\".\".TP.\"\f3-js.memory-limit \f2<memory amount>\f1.\"Amount of kilobytes the javascript may allocate..\".TP\f3-bookmarks-codepage \f2<codepage>\f1Character set of bookmarks file..TP\f3-bookmarks-file \f2<file>\f1File to store bookmarks..TP\f3-html-assume-codepage \f2<codepage>\f1Use the given codepage when the webpage did not specifyits codepage. (default: ISO 8859-1).TP\f3-html-hard-assume \f2<0>/<1>\f1Use always character set from "-html-assume-codepage" no matterwhat server sent..TP\f3-html-tables \f2<0>/<1>\f1Render tables. (0) causes tables being rendered like in lynx..TP\f3-html-frames \f2<0>/<1>\f1Render frames. (0) causes frames rendered like in lynx..TP\f3-html-images \f2<0>/<1>\f1Display links to unnamed images as [IMG].TP\f3-html-image-names \f2<0>/<1>\f1Display filename of an image instead of [IMG]..TP\f3-html-display-images \f2<0>/<1>\f1Display images in graphics mode..TP\f3-html-image-scale \f2<percent>\f1Scale images in graphics mode..TP\f3-html-bare-image-autoscale \f2<0>/<1>\f1Autoscale images displayed in full screen..TP\f3-html-numbered-links \f2<0>/<1>\f1Number links in text mode. Allow quick link selection by typinglink number and enter..TP\f3-html-table-order \f2<0>/<1>\f1In text mode, walk through table by rows (0) or columns (1)..TP\f3-html-auto-refresh \f2<0>/<1>\f1Process refresh to other page (1), or display link to that page (0)..TP\f3-html-target-in-new-window \f2<0>/<1>\f1Allow opening new windows from html..TP\f3-html-margin \f2<number of spaces>\f1Margin in text mode..TP\f3-html-user-font-size \f2<size>\f1Size of font on pages in graphics mode..TP\f3-lookup \f2<hostname>\f1Does name lookup, like command "host"..TP\f3-version\f1Prints the .I linksversion number and exit..TP\f3-help\f1Printf a help screen.PPMore options can be seen with links -h.SH NAVIGATION KEYSThe keys you may use while navigating are.TP.B ESCmenu/escape.TP.B F9menu.TP.B F10file menu.TP.B TABnext frame.TP.B PGDNpage down.TP.B Spacepage down.TP.B PGUPpage up.TP.B bpage up.TP.B Bpage up.TP.B CursorDOWNnext link/down (text mode), scroll down (graphics mode).TP.B CursorUPprev link/up (text mode), up (graphics mode).TP.B ^INScopy to clipboard.TP.B ^Ccopy to clipboard (OS/2 only).TP.B INSscroll up (text mode only).TP.B ^Pscroll up.TP.B DELscroll down.TP.B ^Nscroll down.TP.B [scroll left.TP.B ]scroll right.TP.B HOMEhome.TP.B ENDend of page.TP.B CursorRIGHTenter link/press button (text mode), scroll right (graphics mode).TP.B ENTERenter link/press button.TP.B CursorLEFTgo back (text mode), scroll left (graphics mode).TP.B ddownload link (text mode only).TP.B Ddownload link (text mode only).TP.B /search in the page.TP.B ?search back in the page.TP.B nfind next match.TP.B Nfind next match backwards.TP.B fzoom actual frame.TP.B Fzoom actual frame.TP.B ^Rreload page.TP.B ggo to URL.TP.B Gedit the current URL and goto the result.TP.B sbookmark manager.TP.B Sbookmark manager.TP.B qquit, close window if more windows are open.TP.B Qquit, close window if more windows are open.TP.B =document informations.TP.B \etoggle HTML source/rendered view.SH EDITING KEYSThe following keys can be used while editing a line/jumping to a URL:.TP.B CursorRIGHTmove right.TP.B CursorLEFTmove left.TP.B HOMEjump at the beginning.TP.B ^Ajump at the beginning.TP.B ENDjump at the end.TP.B ^Ejump at the end.TP.B ^Xcut to clipboard.TP.B ^Vpaste from clipboard.TP.B ENTERenter line.TP.B BACKSPACEdelete back character.TP.B ^Hdelete back character.TP.B DELdelete character.TP.B ^Ddelete character.TP.B ^Udelete from beginning of the line.TP.B ^Kdelete to the end of the line or delete line (in textarea).TP.B ^Wauto complete line.SH FILES.TP.IP "~/.links/links.cfg"Per-user configfile, automatically created by.B links..SH PLATFORMS.B linksis known to work on Linux, FreeBSD, Solaris, IRIX, HPUX, Digital Unix, AIX,OS/2 and BeOS.Port for Win32 is in state of beta testing..SH BUGSYou can't upload large files; it takes _lots_ of memory..PPPlease report any other bugs you find to Mikulas Patocka<mikulas@artax.karlin.mff.cuni.cz>.SH LICENSE.B linksis free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version..SH AUTHOR.I linkswas written by .B Mikulas Patocka, Karel 'Clock' Kulhavy, Petr 'Brain' Kulhavy, and Martin 'PerM' Pergel.See file .I AUTHORSfor a list of people contributing to this project..PThe homepage of links can be found at.BI http://atrey.karlin.mff.cuni.cz/~clock/twibright/links.PThis manual page was written by Peter Gervai <grin@tolna.net>,using excerpts from a (yet?) unknown.I linksfanfor the Debian GNU/Linux system (but may be used by others). Updated by Karel Kulhavy..SH "SEE ALSO".BR lynx (1),.BR w3m (1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -