lynx.hlp 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
  1. 1 LYNX
  2. 2 Name
  3. lynx - a general purpose distributed information browser for the World
  4. Wide Web
  5. 2 Synopsis
  6. lynx [options] [optional paths or URLs]
  7. lynx [options] [path or URL] -get_data
  8. data
  9. --
  10. lynx [options] [path or URL] -post_data
  11. data
  12. --
  13. Use "lynx -help" to display a complete list of current options.
  14. 2 Description
  15. Lynx is a fully-featured World Wide Web (WWW) client for users running
  16. cursor-addressable, character-cell display devices (e.g., vt100
  17. terminals, vt100 emulators running on Windows 95/NT/XP/7/8 or any POSIX
  18. platform, or any other "curses-oriented" display). It will display
  19. hypertext markup language (HTML) documents containing links to files
  20. residing on the local system, as well as files residing on remote
  21. systems running Gopher, HTTP, FTP, WAIS, and NNTP servers. Current
  22. versions of Lynx run on Unix, VMS, Windows 95/NT/XP/7/8, DOS DJGPP and
  23. OS/2.
  24. Lynx can be used to access information on the World Wide Web, or to
  25. build information systems intended primarily for local access. For
  26. example, Lynx has been used to build several Campus Wide Information
  27. Systems (CWIS). In addition, Lynx can be used to build systems
  28. isolated within a single LAN.
  29. 2 Options
  30. At start up, Lynx will load any local file or remote URL specified at
  31. the command line. For help with URLs, press "?" or "H" while running
  32. Lynx. Then follow the link titled, "Help on URLs."
  33. If more than one local file or remote URL is listed on the command
  34. line, Lynx will open only the last interactively. All of the names
  35. (local files and remote URLs) are added to the G)oto history.
  36. Lynx uses only long option names. Option names can begin with double
  37. dash as well, underscores and dashes can be intermixed in option names
  38. (in the reference below options are with one dash before them and with
  39. underscores).
  40. Lynx provides many command-line options. Some options require a value
  41. (string, number or keyword). These are noted in the reference below.
  42. The other options set boolean values in the program. There are three
  43. types of boolean options: set, unset and toggle. If no option value is
  44. given, these have the obvious meaning: set (to true), unset (to false),
  45. or toggle (between true/false). For any of these, an explicit value
  46. can be given in different forms to allow for operating system
  47. constraints, e.g.,
  48. -center:off
  49. -center=off
  50. -center-
  51. Lynx recognizes "1", "+", "on" and "true" for true values, and "0",
  52. "-", "off" and "false" for false values. Other option-values are
  53. ignored.
  54. The default boolean, number and string option values that are compiled
  55. into Lynx are displayed in the help-message provided by lynx -help.
  56. Some of those may differ according to how Lynx was built; see the help
  57. message itself for these values. The -help option is processed in the
  58. third pass of options-processing, so any option which sets a value, as
  59. well as runtime configuration values are reflected in the help-message.
  60. - If the argument is only `-', then Lynx expects to receive the
  61. arguments from the standard input. This is to allow for the
  62. potentially very long command line that can be associated with
  63. the -get_data or -post_data arguments (see below). It can also
  64. be used to avoid having sensitive information in the invoking
  65. command line (which would be visible to other processes on most
  66. systems), especially when the -auth or -pauth options are used.
  67. -accept_all_cookies
  68. accept all cookies.
  69. -anonymous
  70. apply restrictions for anonymous account, see also
  71. -restrictions.
  72. -assume_charset=MIMEname
  73. charset for documents that don't specify it.
  74. -assume_local_charset=MIMEname
  75. charset assumed for local files, i.e., files which Lynx creates
  76. such as internal pages for the options menu.
  77. -assume_unrec_charset=MIMEname
  78. use this instead of unrecognized charsets.
  79. -auth=ID:PASSWD
  80. set authorization ID and password for protected documents at
  81. startup. Be sure to protect any script files which use this
  82. switch.
  83. -base prepend a request URL comment and BASE tag to text/html outputs
  84. for -source dumps.
  85. -bibhost=URL
  86. specify a local bibp server (default http://bibhost/).
  87. -blink forces high intensity background colors for color mode, if
  88. available and supported by the terminal. This applies to the
  89. slang library (for a few terminal emulators), or to OS/2 EMX
  90. with ncurses.
  91. -book use the bookmark page as the startfile. The default or command
  92. line startfile is still set for the Main screen command, and
  93. will be used if the bookmark page is unavailable or blank.
  94. -buried_news
  95. toggles scanning of news articles for buried references, and
  96. converts them to news links. Not recommended because email
  97. addresses enclosed in angle brackets will be converted to false
  98. news links, and uuencoded messages can be trashed.
  99. -cache=NUMBER
  100. set the NUMBER of documents cached in memory. The default is
  101. 10.
  102. -case enable case-sensitive string searching.
  103. -center
  104. Toggle center alignment in HTML TABLE.
  105. -cfg=FILENAME
  106. specifies a Lynx configuration file other than the default
  107. lynx.cfg.
  108. -child exit on left-arrow in startfile, and disable save to disk and
  109. associated print/mail options.
  110. -child_relaxed
  111. exit on left-arrow in startfile, but allow save to disk and
  112. associated print/mail options.
  113. -cmd_log=FILENAME
  114. write keystroke commands and related information to the
  115. specified file.
  116. -cmd_script=FILENAME
  117. read keystroke commands from the specified file. You can use
  118. the data written using the -cmd_log option. Lynx will ignore
  119. other information which the command-logging may have written to
  120. the logfile. Each line of the command script contains either a
  121. comment beginning with "#", or a keyword:
  122. exit
  123. causes the script to stop, and forces Lynx to exit
  124. immediately.
  125. key
  126. the character value, in printable form. Cursor and other
  127. special keys are given as names, e.g., "Down Arrow".
  128. Printable 7-bit ASCII codes are given as-is, and hexadecimal
  129. values represent other 8-bit codes.
  130. set
  131. followed by a "name=value" allows one to override values set
  132. in the lynx.cfg or .lynxrc files. Lynx tries the cfg-file
  133. setting first.
  134. -color forces color mode on, if available. Default color control
  135. sequences which work for many terminal types are assumed if the
  136. terminal capability description does not specify how to handle
  137. color. Lynx needs to be compiled with the slang library for
  138. this flag, it is equivalent to setting the COLORTERM environment
  139. variable. (If color support is instead provided by a color-
  140. capable curses library like ncurses, Lynx relies completely on
  141. the terminal description to determine whether color mode is
  142. possible, and this flag is not needed and thus unavailable.) A
  143. saved show_color=always setting found in a .lynxrc file at
  144. startup has the same effect. A saved show_color=never found in
  145. .lynxrc on startup is overridden by this flag.
  146. -connect_timeout=N
  147. Sets the connection timeout, where N is given in seconds.
  148. -cookie_file=FILENAME
  149. specifies a file to use to read cookies. If none is specified,
  150. the default value is ~/.lynx_cookies for most systems, but
  151. ~/cookies for MS-DOS.
  152. -cookie_save_file=FILENAME
  153. specifies a file to use to store cookies. If none is specified,
  154. the value given by -cookie_file is used.
  155. -cookies
  156. toggles handling of Set-Cookie headers.
  157. -core toggles forced core dumps on fatal errors. Turn this option off
  158. to ask Lynx to force a core dump if a fatal error occurs.
  159. -crawl with -traversal, output each page to a file. with -dump, format
  160. output as with -traversal, but to the standard output.
  161. -curses_pads
  162. toggles the use of curses "pad" feature which supports
  163. left/right scrolling of the display. The feature is normally
  164. available for curses configurations, but inactive. To activate
  165. it, use the "|" character or the LINEWRAP_TOGGLE command.
  166. Toggling this option makes the feature altogether unavailable.
  167. -debug_partial
  168. separate incremental display stages with MessageSecs delay
  169. -default-colors
  170. toggles the default-colors feature which is normally set in the
  171. lynx.cfg file.
  172. -delay add DebugSecs delay after each progress-message
  173. -display=DISPLAY
  174. set the display variable for X rexec-ed programs.
  175. -display_charset=MIMEname
  176. set the charset for the terminal output.
  177. -dont_wrap_pre
  178. inhibit wrapping of text when -dump'ing and -crawl'ing, mark
  179. wrapped lines of <pre> in interactive session.
  180. -dump dumps the formatted output of the default document or those
  181. specified on the command line to standard output. Unlike
  182. interactive mode, all documents are processed. This can be used
  183. in the following way:
  184. lynx -dump http://www.subir.com/lynx.html
  185. Files specified on the command line are formatted as HTML if
  186. their names end with one of the standard web suffixes such as
  187. ".htm" or ".html". Use the -force_html option to format files
  188. whose names do not follow this convention.
  189. -editor=EDITOR
  190. enable external editing, using the specified EDITOR. (vi, ed,
  191. emacs, etc.)
  192. -emacskeys
  193. enable emacs-like key movement.
  194. -enable_scrollback
  195. toggles compatibility with communication programs' scrollback
  196. keys (may be incompatible with some curses packages).
  197. -error_file=FILE
  198. define a file where Lynx will report HTTP access codes.
  199. -exec enable local program execution (normally not configured).
  200. -fileversions
  201. include all versions of files in local VMS directory listings.
  202. -find_leaks
  203. toggle memory leak-checking. Normally this is not compiled-into
  204. your executable, but when it is, it can be disabled for a
  205. session.
  206. -force_empty_hrefless_a
  207. force HREF-less `A' elements to be empty (close them as soon as
  208. they are seen).
  209. -force_html
  210. forces the first document to be interpreted as HTML.
  211. This is most useful when processing files specified on the
  212. command line which have an unrecognized suffix (or the suffix is
  213. associated with a non-HTML type, such as ".txt" for plain text
  214. files).
  215. Lynx recognizes these file suffixes as HTML:
  216. ".ht3", ".htm", ".html3", ".html", ".htmlx", ".php3", ".php",
  217. ".phtml", ".sht", and ".shtml".
  218. The -force_html option does not apply to non-interactive options
  219. such as -dump or -crawl.
  220. -force_secure
  221. toggles forcing of the secure flag for SSL cookies.
  222. -forms_options
  223. toggles whether the Options Menu is key-based or form-based.
  224. -from toggles transmissions of From headers.
  225. -ftp disable ftp access.
  226. -get_data
  227. properly formatted data for a get form are read in from the
  228. standard input and passed to the form. Input is terminated by a
  229. line that starts with `---'.
  230. Lynx issues an HTTP GET, sending the form to the path or URL
  231. given on the command-line and prints the response of the server.
  232. If no path or URL is given, Lynx sends the form to the start-
  233. page.
  234. -head send a HEAD request for the mime headers.
  235. -help print the Lynx command syntax usage message, and exit.
  236. -hiddenlinks=[option]
  237. control the display of hidden links.
  238. merge
  239. hidden links show up as bracketed numbers and are numbered
  240. together with other links in the sequence of their occurrence
  241. in the document.
  242. listonly
  243. hidden links are shown only on L)ist screens and listings
  244. generated by -dump or from the P)rint menu, but appear
  245. separately at the end of those lists. This is the default
  246. behavior.
  247. ignore
  248. hidden links do not appear even in listings.
  249. -historical
  250. toggles use of `>' or `-->' as a terminator for comments.
  251. -homepage=URL
  252. set homepage separate from start page.
  253. -image_links
  254. toggles inclusion of links for all images.
  255. -index=URL
  256. set the default index file to the specified URL.
  257. -ismap toggles inclusion of ISMAP links when client-side MAPs are
  258. present.
  259. -justify
  260. do justification of text.
  261. -link=NUMBER
  262. starting count for lnk#.dat files produced by -crawl.
  263. -list_inline
  264. for -dump, show the links inline with the text.
  265. -listonly
  266. for -dump, show only the list of links.
  267. -localhost
  268. disable URLs that point to remote hosts.
  269. -locexec
  270. enable local program execution from local files only (if Lynx
  271. was compiled with local execution enabled).
  272. -lss=FILENAME
  273. specify filename containing color-style information. The
  274. default is lynx.lss. If you give an empty filename, Lynx uses a
  275. built-in monochrome scheme which imitates the non-color-style
  276. configuration.
  277. -mime_header
  278. prints the MIME header of a fetched document along with its
  279. source.
  280. -minimal
  281. toggles minimal versus valid comment parsing.
  282. -nested_tables
  283. toggles nested-tables logic (for debugging).
  284. -newschunksize=NUMBER
  285. number of articles in chunked news listings.
  286. -newsmaxchunk=NUMBER
  287. maximum news articles in listings before chunking.
  288. -nobold
  289. disable bold video-attribute.
  290. -nobrowse
  291. disable directory browsing.
  292. -nocc disable Cc: prompts for self copies of mailings. Note that this
  293. does not disable any CCs which are incorporated within a mailto
  294. URL or form ACTION.
  295. -nocolor
  296. force color mode off, overriding terminal capabilities and any
  297. -color flags, COLORTERM variable, and saved .lynxrc settings.
  298. -noexec
  299. disable local program execution. (DEFAULT)
  300. -nofilereferer
  301. disable transmissions of Referer headers for file URLs.
  302. -nolist
  303. disable the link list feature in dumps.
  304. -nolog disable mailing of error messages to document owners.
  305. -nomargins
  306. disable left/right margins in the default style sheet.
  307. -nomore
  308. disable -more- string in statusline messages.
  309. -nonrestarting_sigwinch
  310. This flag is not available on all systems, Lynx needs to be
  311. compiled with HAVE_SIGACTION defined. If available, this flag
  312. may cause Lynx to react more immediately to window changes when
  313. run within an xterm.
  314. -nonumbers
  315. disable link- and field-numbering. This overrides
  316. -number_fields and -number_links.
  317. -nopause
  318. disable forced pauses for statusline messages.
  319. -noprint
  320. disable most print functions.
  321. -noredir
  322. prevents automatic redirection and prints a message with a link
  323. to the new URL.
  324. -noreferer
  325. disable transmissions of Referer headers.
  326. -noreverse
  327. disable reverse video-attribute.
  328. -nosocks
  329. disable SOCKS proxy usage by a SOCKSified Lynx.
  330. -nostatus
  331. disable the retrieval status messages.
  332. -notitle
  333. disable title and blank line from top of page.
  334. -nounderline
  335. disable underline video-attribute.
  336. -number_fields
  337. force numbering of links as well as form input fields
  338. -number_links
  339. force numbering of links.
  340. -partial
  341. toggles display partial pages while loading.
  342. -partial_thres=NUMBER
  343. number of lines to render before repainting display with
  344. partial-display logic
  345. -passive-ftp
  346. toggles passive ftp connections.
  347. -pauth=ID:PASSWD
  348. set authorization ID and password for a protected proxy server
  349. at startup. Be sure to protect any script files which use this
  350. switch.
  351. -popup toggles handling of single-choice SELECT options via popup
  352. windows or as lists of radio buttons.
  353. -post_data
  354. properly formatted data for a post form are read in from the
  355. standard input and passed to the form. Input is terminated by a
  356. line that starts with `---'.
  357. Lynx issues an HTTP POST, sending the form to the path or URL
  358. given on the command-line and prints the response of the server.
  359. If no path or URL is given, Lynx sends the form to the start-
  360. page.
  361. -preparsed
  362. show HTML source preparsed and reformatted when used with
  363. -source or in source view.
  364. -prettysrc
  365. show HTML source view with lexical elements and tags in color.
  366. -print enable print functions. (default)
  367. -pseudo_inlines
  368. toggles pseudo-ALTs for inline images with no ALT string.
  369. -raw toggles default setting of 8-bit character translations or CJK
  370. mode for the startup character set.
  371. -realm restricts access to URLs in the starting realm.
  372. -read_timeout=N
  373. Sets the read-timeout, where N is given in seconds.
  374. -reload
  375. flushes the cache on a proxy server (only the first document
  376. given on the command-line is affected).
  377. -restrictions=[option][,option][,option]...
  378. allows a list of services to be disabled selectively. Dashes
  379. and underscores in option names can be intermixed. The
  380. following list is printed if no options are specified.
  381. all
  382. restricts all options listed below.
  383. bookmark
  384. disallow changing the location of the bookmark file.
  385. bookmark_exec
  386. disallow execution links via the bookmark file.
  387. change_exec_perms
  388. disallow changing the eXecute permission on files (but still
  389. allow it for directories) when local file management is
  390. enabled.
  391. default
  392. same as command line option -anonymous. Disables default
  393. services for anonymous users. Set to all restricted, except
  394. for: inside_telnet, outside_telnet, inside_ftp, outside_ftp,
  395. inside_rlogin, outside_rlogin, inside_news, outside_news,
  396. telnet_port, jump, mail, print, exec, and goto. The settings
  397. for these, as well as additional goto restrictions for
  398. specific URL schemes that are also applied, are derived from
  399. definitions within userdefs.h.
  400. dired_support
  401. disallow local file management.
  402. disk_save
  403. disallow saving to disk in the download and print menus.
  404. dotfiles
  405. disallow access to, or creation of, hidden (dot) files.
  406. download
  407. disallow some downloaders in the download menu (does not
  408. imply disk_save restriction).
  409. editor
  410. disallow external editing.
  411. exec
  412. disable execution scripts.
  413. exec_frozen
  414. disallow the user from changing the local execution option.
  415. externals
  416. disallow some "EXTERNAL" configuration lines if support for
  417. passing URLs to external applications (with the EXTERN
  418. command) is compiled in.
  419. file_url
  420. disallow using G)oto, served links or bookmarks for file:
  421. URLs.
  422. goto
  423. disable the `g' (goto) command.
  424. inside_ftp
  425. disallow ftps for people coming from inside your domain (utmp
  426. required for selectivity).
  427. inside_news
  428. disallow USENET news posting for people coming from inside
  429. your domain (utmp required for selectivity).
  430. inside_rlogin
  431. disallow rlogins for people coming from inside your domain
  432. (utmp required for selectivity).
  433. inside_telnet
  434. disallow telnets for people coming from inside your domain
  435. (utmp required for selectivity).
  436. jump
  437. disable the `j' (jump) command.
  438. multibook
  439. disallow multiple bookmarks.
  440. mail
  441. disallow mail.
  442. news_post
  443. disallow USENET News posting.
  444. options_save
  445. disallow saving options in .lynxrc.
  446. outside_ftp
  447. disallow ftps for people coming from outside your domain
  448. (utmp required for selectivity).
  449. outside_news
  450. disallow USENET news reading and posting for people coming
  451. from outside your domain (utmp required for selectivity).
  452. This restriction applies to "news", "nntp", "newspost", and
  453. "newsreply" URLs, but not to "snews", "snewspost", or
  454. "snewsreply" in case they are supported.
  455. outside_rlogin
  456. disallow rlogins for people coming from outside your domain
  457. (utmp required for selectivity).
  458. outside_telnet
  459. disallow telnets for people coming from outside your domain
  460. (utmp required for selectivity).
  461. print
  462. disallow most print options.
  463. shell
  464. disallow shell escapes and lynxexec or lynxprog G)oto's.
  465. suspend
  466. disallow Unix Control-Z suspends with escape to shell.
  467. telnet_port
  468. disallow specifying a port in telnet G)oto's.
  469. useragent
  470. disallow modifications of the User-Agent header.
  471. -resubmit_posts
  472. toggles forced resubmissions (no-cache) of forms with method
  473. POST when the documents they returned are sought with the
  474. PREV_DOC command or from the History List.
  475. -rlogin
  476. disable recognition of rlogin commands.
  477. -scrollbar
  478. toggles showing scrollbar.
  479. -scrollbar_arrow
  480. toggles showing arrows at ends of the scrollbar.
  481. -selective
  482. require .www_browsable files to browse directories.
  483. -session=FILENAME
  484. resumes from specified file on startup and saves session to that
  485. file on exit.
  486. -sessionin=FILENAME
  487. resumes session from specified file.
  488. -sessionout=FILENAME
  489. saves session to specified file.
  490. -short_url
  491. show very long URLs in the status line with "..." to represent
  492. the portion which cannot be displayed. The beginning and end of
  493. the URL are displayed, rather than suppressing the end.
  494. -show_cfg
  495. Print the configuration settings, e.g., as read from "lynx.cfg",
  496. and exit.
  497. -show_cursor
  498. If enabled the cursor will not be hidden in the right hand
  499. corner but will instead be positioned at the start of the
  500. currently selected link. Show cursor is the default for systems
  501. without FANCY_CURSES capabilities. The default configuration
  502. can be changed in userdefs.h or lynx.cfg. The command line
  503. switch toggles the default.
  504. -show_rate
  505. If enabled the transfer rate is shown in bytes/second. If
  506. disabled, no transfer rate is shown. Use lynx.cfg or the
  507. options menu to select KB/second and/or ETA.
  508. -soft_dquotes
  509. toggles emulation of the old Netscape and Mosaic bug which
  510. treated `>' as a co-terminator for double-quotes and tags.
  511. -source
  512. works the same as dump but outputs HTML source instead of
  513. formatted text. For example
  514. lynx -source . >foo.html
  515. generates HTML source listing the files in the current
  516. directory. Each file is marked by an HREF relative to the
  517. parent directory. Add a trailing slash to make the HREF's
  518. relative to the current directory:
  519. lynx -source ./ >foo.html
  520. -stack_dump
  521. disable SIGINT cleanup handler
  522. -startfile_ok
  523. allow non-http startfile and homepage with -validate.
  524. -stderr
  525. When dumping a document using -dump or -source, Lynx normally
  526. does not display alert (error) messages that you see on the
  527. screen in the status line. Use the -stderr option to tell Lynx
  528. to write these messages to the standard error.
  529. -stdin read the startfile from standard input (UNIX only).
  530. -syslog=text
  531. information for syslog call.
  532. -syslog-urls
  533. log requested URLs with syslog.
  534. -tagsoup
  535. initialize parser, using Tag Soup DTD rather than SortaSGML.
  536. -telnet
  537. disable recognition of telnet commands.
  538. -term=TERM
  539. tell Lynx what terminal type to assume it is talking to. (This
  540. may be useful for remote execution, when, for example, Lynx
  541. connects to a remote TCP/IP port that starts a script that, in
  542. turn, starts another Lynx process.)
  543. -timeout=N
  544. For win32, sets the network read-timeout, where N is given in
  545. seconds.
  546. -tlog toggles between using a Lynx Trace Log and stderr for trace
  547. output from the session.
  548. -tna turns on "Textfields Need Activation" mode.
  549. -trace turns on Lynx trace mode. Destination of trace output depends
  550. on -tlog.
  551. -trace_mask=value
  552. turn on optional traces, which may result in very large trace
  553. files. Logically OR the values to combine options:
  554. 1 SGML character parsing states
  555. 2 color-style
  556. 4 TRST (table layout)
  557. 8 configuration (lynx.cfg, .lynxrc, .lynx-keymaps, mime.types
  558. and mailcap contents)
  559. 16 binary string copy/append, used in form data construction.
  560. 32 cookies
  561. 64 character sets
  562. 128
  563. GridText parsing
  564. 256
  565. timing
  566. -traversal
  567. traverse all http links derived from startfile. When used with
  568. -crawl, each link that begins with the same string as startfile
  569. is output to a file, intended for indexing. See CRAWL.announce
  570. for more information.
  571. -trim_input_fields
  572. trim input text/textarea fields in forms.
  573. -underline_links
  574. toggles use of underline/bold attribute for links.
  575. -underscore
  576. toggles use of _underline_ format in dumps.
  577. -unique_urls
  578. check for duplicate link numbers in each page and corresponding
  579. lists, and reuse the original link number.
  580. -use_mouse
  581. turn on mouse support, if available. Clicking the left mouse
  582. button on a link traverses it. Clicking the right mouse button
  583. pops back. Click on the top line to scroll up. Click on the
  584. bottom line to scroll down. The first few positions in the top
  585. and bottom line may invoke additional functions. Lynx must be
  586. compiled with ncurses or slang to support this feature. If
  587. ncurses is used, clicking the middle mouse button pops up a
  588. simple menu. Mouse clicks may only work reliably while Lynx is
  589. idle waiting for input.
  590. -useragent=Name
  591. set alternate Lynx User-Agent header.
  592. -validate
  593. accept only http URLs (for validation). Complete security
  594. restrictions also are implemented.
  595. -verbose
  596. toggle [LINK], [IMAGE] and [INLINE] comments with filenames of
  597. these images.
  598. -version
  599. print version information, and exit.
  600. -vikeys
  601. enable vi-like key movement.
  602. -wdebug
  603. enable Waterloo tcp/ip packet debug (print to watt debugfile).
  604. This applies only to DOS versions compiled with WATTCP or
  605. WATT-32.
  606. -width=NUMBER
  607. number of columns for formatting of dumps, default is 80. This
  608. is limited by the number of columns that Lynx could display,
  609. typically 1024 (the MAX_LINE symbol).
  610. -with_backspaces
  611. emit backspaces in output if -dump'ing or -crawl'ing (like `man'
  612. does)
  613. -xhtml_parsing
  614. tells Lynx that it can ignore certain tags which have no content
  615. in an XHTML 1.0 document. For example "<p/>" will be discarded.
  616. 2 Commands
  617. o Use Up arrow and Down arrow to scroll through hypertext links.
  618. o Right arrow or Return will follow a highlighted hypertext link.
  619. o Left Arrow will retreat from a link.
  620. o Type "H" or "?" for online help and descriptions of key-stroke
  621. commands.
  622. o Type "K" for a complete list of the current key-stroke command
  623. mappings.
  624. 2 Environment
  625. In addition to various "standard" environment variables such as HOME,
  626. PATH, USER, DISPLAY, TMPDIR, etc, Lynx utilizes several Lynx-specific
  627. environment variables, if they exist.
  628. Others may be created or modified by Lynx to pass data to an external
  629. program, or for other reasons. These are listed separately below.
  630. See also the sections on SIMULATED CGI SUPPORT and NATIVE LANGUAGE
  631. SUPPORT, below.
  632. Note: Not all environment variables apply to all types of platforms
  633. supported by Lynx, though most do. Feedback on platform dependencies
  634. is solicited.
  635. Environment Variables Used By Lynx:
  636. COLORTERM If set, color capability for the terminal is forced
  637. on at startup time. The actual value assigned to
  638. the variable is ignored. This variable is only
  639. meaningful if Lynx was built using the slang
  640. screen-handling library.
  641. LYNX_CFG This variable, if set, will override the default
  642. location and name of the global configuration file
  643. (normally, lynx.cfg) that was defined by the
  644. LYNX_CFG_FILE constant in the userdefs.h file,
  645. during installation. See the userdefs.h file for
  646. more information.
  647. LYNX_CFG_PATH If set, this variable overrides the compiled-in
  648. search-list of directories used to find the
  649. configuration files, e.g., lynx.cfg and lynx.lss.
  650. The list is delimited with ":" (or ";" for Windows)
  651. like the PATH environment variable.
  652. LYNX_HELPFILE If set, this variable overrides the compiled-in URL
  653. and configuration file URL for the Lynx help file.
  654. LYNX_LOCALEDIR If set, this variable overrides the compiled-in
  655. location of the locale directory which contains
  656. native language (NLS) message text.
  657. LYNX_LSS This variable, if set, specifies the location of
  658. the default Lynx character style sheet file.
  659. [Currently only meaningful if Lynx was built using
  660. curses color style support.]
  661. LYNX_SAVE_SPACE This variable, if set, will override the default
  662. path prefix for files saved to disk that is defined
  663. in the lynx.cfg SAVE_SPACE: statement. See the
  664. lynx.cfg file for more information.
  665. LYNX_TEMP_SPACE This variable, if set, will override the default
  666. path prefix for temporary files that was defined
  667. during installation, as well as any value that may
  668. be assigned to the TMPDIR variable.
  669. MAIL This variable specifies the default inbox Lynx will
  670. check for new mail, if such checking is enabled in
  671. the lynx.cfg file.
  672. NEWS_ORGANIZATION This variable, if set, provides the string used in
  673. the Organization: header of USENET news postings.
  674. It will override the setting of the ORGANIZATION
  675. environment variable, if it is also set (and, on
  676. UNIX, the contents of an /etc/organization file, if
  677. present).
  678. NNTPSERVER If set, this variable specifies the default NNTP
  679. server that will be used for USENET news reading
  680. and posting with Lynx, via news: URL's.
  681. ORGANIZATION This variable, if set, provides the string used in
  682. the Organization: header of USENET news postings.
  683. On UNIX, it will override the contents of an
  684. /etc/organization file, if present.
  685. PROTOCOL_proxy Lynx supports the use of proxy servers that can act
  686. as firewall gateways and caching servers. They are
  687. preferable to the older gateway servers (see
  688. WWW_access_GATEWAY, below). Each protocol used by
  689. Lynx, (http, ftp, gopher, etc), can be mapped
  690. separately by setting environment variables of the
  691. form PROTOCOL_proxy (literally: http_proxy,
  692. ftp_proxy, gopher_proxy, etc), to
  693. "http://some.server.dom:port/". See Lynx Users
  694. Guide for additional details and examples.
  695. SSL_CERT_DIR Set to the directory containing trusted
  696. certificates.
  697. SSL_CERT_FILE Set to the full path and filename for your file of
  698. trusted certificates.
  699. WWW_access_GATEWAY Lynx still supports use of gateway servers, with
  700. the servers specified via "WWW_access_GATEWAY"
  701. variables (where "access" is lower case and can be
  702. "http", "ftp", "gopher" or "wais"), however most
  703. gateway servers have been discontinued. Note that
  704. you do not include a terminal `/' for gateways, but
  705. do for proxies specified by PROTOCOL_proxy
  706. environment variables. See Lynx Users Guide for
  707. details.
  708. WWW_HOME This variable, if set, will override the default
  709. startup URL specified in any of the Lynx
  710. configuration files.
  711. Environment Variables Set or Modified By Lynx:
  712. LYNX_PRINT_DATE This variable is set by the Lynx p(rint) function,
  713. to the Date: string seen in the document's
  714. "Information about" page (= cmd), if any. It is
  715. created for use by an external program, as defined
  716. in a lynx.cfg PRINTER: definition statement. If
  717. the field does not exist for the document, the
  718. variable is set to a null string under UNIX, or "No
  719. Date" under VMS.
  720. LYNX_PRINT_LASTMOD This variable is set by the Lynx p(rint) function,
  721. to the Last Mod: string seen in the document's
  722. "Information about" page (= cmd), if any. It is
  723. created for use by an external program, as defined
  724. in a lynx.cfg PRINTER: definition statement. If
  725. the field does not exist for the document, the
  726. variable is set to a null string under UNIX, or "No
  727. LastMod" under VMS.
  728. LYNX_PRINT_TITLE This variable is set by the Lynx p(rint) function,
  729. to the Linkname: string seen in the document's
  730. "Information about" page (= cmd), if any. It is
  731. created for use by an external program, as defined
  732. in a lynx.cfg PRINTER: definition statement. If
  733. the field does not exist for the document, the
  734. variable is set to a null string under UNIX, or "No
  735. Title" under VMS.
  736. LYNX_PRINT_URL This variable is set by the Lynx p(rint) function,
  737. to the URL: string seen in the document's
  738. "Information about" page (= cmd), if any. It is
  739. created for use by an external program, as defined
  740. in a lynx.cfg PRINTER: definition statement. If
  741. the field does not exist for the document, the
  742. variable is set to a null string under UNIX, or "No
  743. URL" under VMS.
  744. LYNX_TRACE If set, causes Lynx to write a trace file as if the
  745. -trace option were supplied.
  746. LYNX_TRACE_FILE If set, overrides the compiled-in name of the trace
  747. file, which is either Lynx.trace or LY-TRACE.LOG
  748. (the latter on the DOS/Windows platforms). The
  749. trace file is in either case relative to the home
  750. directory.
  751. LYNX_VERSION This variable is always set by Lynx, and may be
  752. used by an external program to determine if it was
  753. invoked by Lynx. See also the comments in the
  754. distribution's sample mailcap file, for notes on
  755. usage in such a file.
  756. TERM Normally, this variable is used by Lynx to
  757. determine the terminal type being used to invoke
  758. Lynx. If, however, it is unset at startup time (or
  759. has the value "unknown"), or if the -term command-
  760. line option is used (see OPTIONS section above),
  761. Lynx will set or modify its value to the user
  762. specified terminal type (for the Lynx execution
  763. environment). Note: If set/modified by Lynx, the
  764. values of the LINES and/or COLUMNS environment
  765. variables may also be changed.
  766. 2 Simulated Cgi Support
  767. If built with the cgi-links option enabled, Lynx allows access to a cgi
  768. script directly without the need for an http daemon.
  769. When executing such "lynxcgi scripts" (if enabled), the following
  770. variables may be set for simulating a CGI environment:
  771. CONTENT_LENGTH
  772. CONTENT_TYPE
  773. DOCUMENT_ROOT
  774. HTTP_ACCEPT_CHARSET
  775. HTTP_ACCEPT_LANGUAGE
  776. HTTP_USER_AGENT
  777. PATH_INFO
  778. PATH_TRANSLATED
  779. QUERY_STRING
  780. REMOTE_ADDR
  781. REMOTE_HOST
  782. REQUEST_METHOD
  783. SERVER_SOFTWARE
  784. Other environment variables are not inherited by the script, unless
  785. they are provided via a LYNXCGI_ENVIRONMENT statement in the
  786. configuration file. See the lynx.cfg file, and the (draft) CGI 1.1
  787. Specification <http://Web.Golux.Com/coar/cgi/draft-coar-cgi-v11-00.txt>
  788. for the definition and usage of these variables.
  789. The CGI Specification, and other associated documentation, should be
  790. consulted for general information on CGI script programming.
  791. 2 Native Language Support
  792. If configured and installed with Native Language Support, Lynx will
  793. display status and other messages in your local language. See the file
  794. ABOUT_NLS in the source distribution, or at your local GNU site, for
  795. more information about internationalization.
  796. The following environment variables may be used to alter default
  797. settings:
  798. LANG This variable, if set, will override the default
  799. message language. It is an ISO 639 two-letter code
  800. identifying the language. Language codes are NOT
  801. the same as the country codes given in ISO 3166.
  802. LANGUAGE This variable, if set, will override the default
  803. message language. This is a GNU extension that has
  804. higher priority for setting the message catalog
  805. than LANG or LC_ALL.
  806. LC_ALL and
  807. LC_MESSAGES These variables, if set, specify the notion of
  808. native language formatting style. They are POSIXly
  809. correct.
  810. LINGUAS This variable, if set prior to configuration,
  811. limits the installed languages to specific values.
  812. It is a space-separated list of two-letter codes.
  813. Currently, it is hard-coded to a wish list.
  814. NLSPATH This variable, if set, is used as the path prefix
  815. for message catalogs.
  816. 2 Notes
  817. This is the Lynx v2.8.8 Release; development is in progress for 2.8.9.
  818. If you wish to contribute to the further development of Lynx, subscribe
  819. to our mailing list. Send email to <lynx-dev-request@nongnu.org> with
  820. "subscribe lynx-dev" as the only line in the body of your message.
  821. Send bug reports, comments, suggestions to <lynx-dev@nongnu.org> after
  822. subscribing.
  823. Unsubscribe by sending email to <lynx-dev-request@nongnu.org> with
  824. "unsubscribe lynx-dev" as the only line in the body of your message.
  825. Do not send the unsubscribe message to the lynx-dev list, itself.
  826. 2 See Also
  827. catgets(3), curses(3), environ(7), execve(2), ftp(1), gettext(GNU),
  828. localeconv(3), ncurses(3), setlocale(3), slang(?), termcap(5),
  829. terminfo(5), wget(GNU)
  830. Note that man page availability and section numbering is somewhat platform
  831. dependent, and may vary from the above references.
  832. A section shown as (GNU), is intended to denote that the topic may be
  833. available via an info page, instead of a man page (i.e., try "info subject",
  834. rather than "man subject").
  835. A section shown as (?) denotes that documentation on the topic exists,
  836. but is not part of an established documentation retrieval system (see
  837. the distribution files associated with the topic, or contact your System
  838. Administrator for further information).
  839. 2 Acknowledgments
  840. Lynx has incorporated code from a variety of sources along the way.
  841. The earliest versions of Lynx included code from Earl Fogel of Comput-
  842. ing Services at the University of Saskatchewan, who implemented HYPER-
  843. REZ in the Unix environment. HYPERREZ was developed by Niel Larson of
  844. Think.com and served as the model for the early versions of Lynx.
  845. Those versions also incorporated libraries from the Unix Gopher clients
  846. developed at the University of Minnesota, and the later versions of
  847. Lynx rely on the WWW client library code developed by Tim Berners-Lee
  848. and the WWW community. Also a special thanks to Foteos Macrides who
  849. ported much of Lynx to VMS and did or organized most of its development
  850. since the departures of Lou Montulli and Garrett Blythe from the Uni-
  851. versity of Kansas in the summer of 1994 through the release of v2.7.2,
  852. and to everyone on the net who has contributed to Lynx's development
  853. either directly (through patches, comments or bug reports) or indirect-
  854. ly (through inspiration and development of other systems).
  855. 2 Authors
  856. Lou Montulli, Garrett Blythe, Craig Lavender, Michael Grobe, Charles
  857. Rezac
  858. Academic Computing Services
  859. University of Kansas
  860. Lawrence, Kansas 66047
  861. Foteos Macrides
  862. Worcester Foundation for Biomedical Research
  863. Shrewsbury, Massachusetts 01545
  864. Thomas E. Dickey
  865. <dickey@invisible-island.net>