lynx.hlp 43 KB

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