lynx.cfg 141 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443
  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
  3. # or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. # $Format: "#PRCS LYNX_VERSION \"$ProjectVersion$\""$
  6. #PRCS LYNX_VERSION "2.8.6rel.4"
  7. #
  8. # $Format: "#PRCS LYNX_DATE \"$ProjectDate$\""$
  9. #PRCS LYNX_DATE "Wed, 15 Nov 2006 16:42:22 -0800"
  10. #
  11. # Definition pairs are of the form VARIABLE:DEFINITION
  12. # NO spaces are allowed between the pair items.
  13. #
  14. # If you do not have write access to /usr/local/lib you may change
  15. # the default location of this file in the userdefs.h file and recompile,
  16. # or specify its location on the command line with the "-cfg"
  17. # command line option.
  18. #
  19. # Items may be commented out by putting a '#' as the FIRST char of the line
  20. # (Any line beginning with punctuation is ignored). Leading blanks on each
  21. # line are ignored; trailing blanks may be significant depending on the option.
  22. # An HTML'ized description of all settings (based on comments in this file,
  23. # with alphabetical table of settings and with table of settings by category)
  24. # is available at http://lynx.isc.org/release/lynx2-8-5/lynx_help/cattoc.html
  25. #
  26. ### The conversion is done via the scripts/cfg2html.pl script.
  27. ### Several directives beginning with '.' are used for this purpose.
  28. .h1 Auxiliary Facilities
  29. # These settings control the auxiliary navigating facilities of lynx, e.g.,
  30. # jumpfiles, bookmarks, default URLs.
  31. .h2 INCLUDE
  32. # Starting with Lynx 2.8.1, the lynx.cfg file has a crude "include"
  33. # facility. This means that you can take advantage of the global lynx.cfg
  34. # while also supplying your own tweaks.
  35. #
  36. # You can use a command-line argument (-cfg /where/is/lynx.cfg) or an
  37. # environment variable (LYNX_CFG=/where/is/lynx.cfg).
  38. # For instance, put in your .profile or .login:
  39. #
  40. # LYNX_CFG=~/lynx.cfg; export LYNX_CFG # in .profile for sh/ksh/bash/etc.
  41. # setenv LYNX_CFG ~/lynx.cfg # in .login for [t]csh
  42. #
  43. # Then in ~/lynx.cfg:
  44. #
  45. # INCLUDE:/usr/local/lib/lynx.cfg
  46. # ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
  47. # and now your own tweaks.
  48. #
  49. # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful. You can
  50. # suppress all but specific settings that will be read from included files.
  51. # This allows sysadmins to provide users the ability to customize lynx with
  52. # options that normally do not affect security, such as COLOR, VIEWER, KEYMAP.
  53. #
  54. # The syntax is
  55. #
  56. # INCLUDE:filename for <space-separated-list-of-allowed-settings>
  57. #
  58. # sample:
  59. .ex
  60. #INCLUDE:~/lynx.cfg for COLOR VIEWER KEYMAP
  61. # only one space character should surround the word 'for'. On Unix systems ':'
  62. # is also accepted as separator. In that case, the example can be written as
  63. .ex
  64. #INCLUDE:~/lynx.cfg:COLOR VIEWER KEYMAP
  65. # In the example, only the settings COLOR, VIEWER and KEYMAP are accepted by
  66. # lynx. Other settings are ignored. Note: INCLUDE is also treated as a
  67. # setting, so to allow an included file to include other files, put INCLUDE in
  68. # the list of allowed settings.
  69. #
  70. # If you allow an included file to include other files, and if a list of
  71. # allowed settings is specified for that file with the INCLUDE command, nested
  72. # files are only allowed to include the list of settings that is the set AND of
  73. # settings allowed for the included file and settings allowed by nested INCLUDE
  74. # commands. In short, there is no security hole introduced by including a
  75. # user-defined configuration file if the original list of allowed settings is
  76. # secure.
  77. .h2 STARTFILE
  78. # STARTFILE is the default starting URL if none is specified
  79. # on the command line or via a WWW_HOME environment variable;
  80. # Lynx will refuse to start without a starting URL of some kind.
  81. # STARTFILE can be remote, e.g. http://www.w3.org/default.html ,
  82. # or local, e.g. file://localhost/PATH_TO/FILENAME ,
  83. # where PATH_TO is replaced with the complete path to FILENAME
  84. # using Unix shell syntax and including the device on VMS.
  85. #
  86. # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  87. # site:
  88. STARTFILE:http://lynx.isc.org/
  89. #
  90. # As an alternative, you may want to use a local URL. A good choice for this is
  91. # the user's home directory:
  92. .ex
  93. #STARTFILE:file://localhost/~/
  94. #
  95. # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  96. # you can connect to reliably. Otherwise users will become confused and think
  97. # that they cannot run Lynx.
  98. .h2 HELPFILE
  99. # HELPFILE must be defined as a URL and must have a
  100. # complete path if local:
  101. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  102. # Replace PATH_TO with the path to the lynx_help subdirectory
  103. # for this distribution (use SHELL syntax including the device
  104. # on VMS systems).
  105. # The default HELPFILE is:
  106. # http://www.subir.com/lynx/lynx_help/lynx_help_main.html
  107. # This should be changed to the local path.
  108. #
  109. HELPFILE:http://www.subir.com/lynx/lynx_help/lynx_help_main.html
  110. .ex
  111. #HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  112. .h2 DEFAULT_INDEX_FILE
  113. # DEFAULT_INDEX_FILE is the default file retrieved when the
  114. # user presses the 'I' key when viewing any document.
  115. # An index to your CWIS can be placed here or a document containing
  116. # pointers to lots of interesting places on the web.
  117. #
  118. #DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  119. DEFAULT_INDEX_FILE:http://lynx.isc.org/
  120. .h1 Interaction
  121. .h2 GOTOBUFFER
  122. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  123. # if any, offered for reuse or editing when using the 'g'oto command.
  124. # The default is defined in userdefs.h. If left FALSE, the circular
  125. # buffer of previously entered goto URLs can still be invoked via the
  126. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  127. #
  128. #GOTOBUFFER:FALSE
  129. .h2 JUMP_PROMPT
  130. # JUMP_PROMPT is the default statusline prompt for selecting a jumps file
  131. # shortcut. (see below).
  132. # You can change the prompt here from that defined in userdefs.h. Any
  133. # trailing white space will be trimmed, and a single space is added by Lynx
  134. # following the last non-white character. You must set the default prompt
  135. # before setting the default jumps file (below). If a default jumps file
  136. # was set via userdefs.h, and you change the prompt here, you must set the
  137. # default jumps file again (below) for the change to be implemented.
  138. #
  139. #JUMP_PROMPT:Jump to (use '?' for list):
  140. .h1 Auxiliary Facilities
  141. .h2 JUMPFILE
  142. # JUMPFILE is the local file checked for short-cut names for URLs
  143. # when the user presses the 'j' (JUMP) key. The user will be prompted
  144. # to enter a short-cut name for an URL, which Lynx will then follow
  145. # in a similar manner to 'g'oto; alternatively, s/he can enter '?'
  146. # to view the full JUMPFILE list of short-cuts with associated URLs.
  147. # There is an example jumps file in the samples subdirectory.
  148. # If not defined here or in userdefs.h, the JUMP command will invoke
  149. # the NO_JUMPFILE statusline message (see LYMessages_en.h ).
  150. #
  151. # To allow '?' to work, include in the JUMPFILE
  152. # a short-cut to the JUMPFILE itself, e.g.
  153. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  154. #
  155. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  156. #
  157. # Alternate jumps files can be defined and mapped to keys here. If the
  158. # keys have already been mapped, then those mappings will be replaced,
  159. # but you should leave at least one key mapped to the default jumps
  160. # file. You optionally may include a statusline prompt string for the
  161. # mapping. You must map upper and lowercase keys separately (beware of
  162. # mappings to keys which the user can further remap via the 'o'ptions
  163. # menu). The format is:
  164. #
  165. # JUMPFILE:path:key[:prompt]
  166. #
  167. # where path should begin with a '/' (i.e., not include file://localhost).
  168. # Any white space following a prompt string will be trimmed, and a single
  169. # space will be added by Lynx.
  170. #
  171. # In the following line, include the actual full local path to JUMPFILE,
  172. # but do not include 'file://localhost' in the line.
  173. #JUMPFILE:/FULL_LOCAL_PATH/jumps.html
  174. .ex
  175. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  176. .h2 JUMPBUFFER
  177. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  178. # if any, offered for reuse or editing when using the 'J'ump command.
  179. # The default is defined in userdefs.h. If left FALSE, the circular
  180. # buffer of previously entered targets (shortcuts) can still be invoked
  181. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  182. # If multiple jumps files are installed, the recalls of shortcuts will
  183. # be specific to each file. If Lynx was built with PERMIT_GOTO_FROM_JUMP
  184. # defined, any random URLs used instead of shortcuts will be stored in the
  185. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  186. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  187. # followed by Up-Arrow had been entered).
  188. #
  189. #JUMPBUFFER:FALSE
  190. .h1 Internal Behavior
  191. .h2 SAVE_SPACE
  192. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  193. # suggested filename in "Save to Disk" operations from the 'p'rint or
  194. # 'd'ownload menus. On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  195. # or Unix syntax (including '~' for the HOME directory). On Unix, you
  196. # must use Unix syntax. If the symbol is not defined, or is zero-length
  197. # (""), no prefix will be used, and only a filename for saving in the
  198. # current default directory will be suggested.
  199. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  200. # variable has been set on Unix, or logical has been defined on VMS.
  201. #
  202. #SAVE_SPACE:~/foo/
  203. .h2 REUSE_TEMPFILES
  204. # Lynx uses temporary files for (among other purposes) the content of
  205. # various user interface pages. REUSE_TEMPFILES changes the behavior
  206. # for some of these temp files, among them pages shown for HISTORY,
  207. # VLINKS, OPTIONS, INFO, PRINT, DOWNLOAD commands.
  208. # If set to TRUE, the same file can be used multiple times for the same
  209. # purpose. If set to FALSE, a new filename is generated each time before
  210. # rewriting such a page. With TRUE, repeated invocation of these commands
  211. # is less likely to push previous documents out of the cache of rendered
  212. # texts (see also DEFAULT_CACHE_SIZE). This is especially useful with
  213. # intermittent (dialup) network connections, when it is desirable to
  214. # continue browsing through the cached documents after disconnecting.
  215. # With the default setting of FALSE, there can be more than one incarnation
  216. # of e.g. the VLINKS page cached in memory (but still only the most recently
  217. # generated one is kept as a file), resulting in sometimes less surprising
  218. # behaviour when returning to such a page via HISTORY or PREV_DOC functions
  219. # (most users will not encounter and notice this difference).
  220. #
  221. #REUSE_TEMPFILES:FALSE
  222. .h2 LYNX_HOST_NAME
  223. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  224. # treated as an alias for the local host name in checks for URLs on
  225. # the local host (e.g., when the -localhost switch is set), and this
  226. # host name, "localhost", and HTHostName (the fully qualified domain
  227. # name of the system on which Lynx is running) will all be passed as
  228. # local. A different definition here will override that in userdefs.h.
  229. #
  230. #LYNX_HOST_NAME:www.cc.ukans.edu
  231. .h2 LOCALHOST_ALIAS
  232. # localhost aliases
  233. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  234. # the -localhost switch is set. These need not actually be local, i.e.,
  235. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  236. # other Internet sites.
  237. #
  238. .ex 2
  239. #LOCALHOST_ALIAS:gopher.server.domain
  240. #LOCALHOST_ALIAS:news.server.domain
  241. .h2 LOCAL_DOMAIN
  242. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  243. # the utmp or utmpx structure on systems with utmp capabilities, to
  244. # determine if a user is local to your campus or organization when
  245. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  246. # news, telnet/tn3270 and rlogin URLs. An "inside" user is assumed
  247. # if your system does not have utmp capabilities. CHANGE THIS here
  248. # if it was not changed in userdefs.h at compilation time.
  249. #
  250. #LOCAL_DOMAIN:ukans.edu
  251. .h1 Character sets
  252. .h2 CHARACTER_SET
  253. # CHARACTER_SET defines the display character set, i.e., assumed to be
  254. # installed on the user's terminal. It determines which characters or strings
  255. # will be used to represent 8-bit character entities within HTML. New
  256. # character sets may be defined as explained in the README files of the
  257. # src/chrtrans directory in the Lynx source code distribution. For Asian (CJK)
  258. # character sets, it also determines how Kanji code will be handled. The
  259. # default is defined in userdefs.h and can be changed here or via the
  260. # 'o'ptions menu. The 'o'ptions menu setting will be stored in the user's RC
  261. # file whenever those settings are saved, and thereafter will be used as the
  262. # default. For Lynx a "character set" has two names: a MIME name (for
  263. # recognizing properly labeled charset parameters in HTTP headers etc.), and a
  264. # human-readable string for the 'O'ptions Menu (so you may find info about
  265. # language or group of languages besides MIME name). Not all 'human-readable'
  266. # names correspond to exactly one valid MIME charset (example is "Chinese");
  267. # in that case an appropriate valid (and more specific) MIME name should be
  268. # used where required. Well-known synonyms are also processed in the code.
  269. #
  270. # Raw (CJK) mode
  271. #
  272. # Lynx normally translates characters from a document's charset to display
  273. # charset, using ASSUME_CHARSET value (see below) if the document's charset
  274. # is not specified explicitly. Raw (CJK) mode is OFF for this case.
  275. # When the document charset is specified explicitly, that charset
  276. # overrides any assumption like ASSUME_CHARSET or raw (CJK) mode.
  277. #
  278. # For the Asian (CJK) display character sets, the corresponding charset is
  279. # assumed in documents, i.e., raw (CJK) mode is ON by default. In raw CJK
  280. # mode, 8-bit characters are not reverse translated in relation to the entity
  281. # conversion arrays, i.e., they are assumed to be appropriate for the display
  282. # character set. The mode should be toggled OFF when an Asian (CJK) display
  283. # character set is selected but the document is not CJK and its charset not
  284. # specified explicitly.
  285. #
  286. # Raw (CJK) mode may be toggled by user via '@' (LYK_RAW_TOGGLE) key,
  287. # the -raw command line switch or from the 'o'ptions menu.
  288. #
  289. # Raw (CJK) mode effectively changes the charset assumption about unlabeled
  290. # documents. You can toggle raw mode ON if you believe the document has a
  291. # charset which does correspond to your Display Character Set. On the other
  292. # hand, if you set ASSUME_CHARSET the same as Display Character Set you get raw
  293. # mode ON by default (but you get assume_charset=iso-8859-1 if you try raw mode
  294. # OFF after it).
  295. #
  296. # Note that "raw" does not mean that every byte will be passed to the screen.
  297. # HTML character entities may get expanded and translated, inappropriate
  298. # control characters filtered out, etc. There is a "Transparent" pseudo
  299. # character set for more "rawness".
  300. #
  301. # Since Lynx now supports a wide range of platforms it may be useful to note
  302. # the cpXXX codepages used by IBM PC compatible computers, and windows-xxxx
  303. # used by native MS-Windows apps. We also note that cpXXX pages rarely are
  304. # found on Internet, but are mostly for local needs on DOS.
  305. #
  306. # Recognized character sets include:
  307. #
  308. .nf
  309. # string for 'O'ptions Menu MIME name
  310. # =========================== =========
  311. # 7 bit approximations (US-ASCII) us-ascii
  312. # Western (ISO-8859-1) iso-8859-1
  313. # Western (ISO-8859-15) iso-8859-15
  314. # Western (cp850) cp850
  315. # Western (windows-1252) windows-1252
  316. # IBM PC US codepage (cp437) cp437
  317. # DEC Multinational dec-mcs
  318. # Macintosh (8 bit) macintosh
  319. # NeXT character set next
  320. # HP Roman8 hp-roman8
  321. # Chinese euc-cn
  322. # Japanese (EUC-JP) euc-jp
  323. # Japanese (Shift_JIS) shift_jis
  324. # Korean euc-kr
  325. # Taipei (Big5) big5
  326. # Vietnamese (VISCII) viscii
  327. # Eastern European (ISO-8859-2) iso-8859-2
  328. # Eastern European (cp852) cp852
  329. # Eastern European (windows-1250) windows-1250
  330. # Latin 3 (ISO-8859-3) iso-8859-3
  331. # Latin 4 (ISO-8859-4) iso-8859-4
  332. # Baltic Rim (ISO-8859-13) iso-8859-13
  333. # Baltic Rim (cp775) cp775
  334. # Baltic Rim (windows-1257) windows-1257
  335. # Celtic (ISO-8859-14) iso-8859-14
  336. # Cyrillic (ISO-8859-5) iso-8859-5
  337. # Cyrillic (cp866) cp866
  338. # Cyrillic (windows-1251) windows-1251
  339. # Cyrillic (KOI8-R) koi8-r
  340. # Arabic (ISO-8859-6) iso-8859-6
  341. # Arabic (cp864) cp864
  342. # Arabic (windows-1256) windows-1256
  343. # Greek (ISO-8859-7) iso-8859-7
  344. # Greek (cp737) cp737
  345. # Greek2 (cp869) cp869
  346. # Greek (windows-1253) windows-1253
  347. # Hebrew (ISO-8859-8) iso-8859-8
  348. # Hebrew (cp862) cp862
  349. # Hebrew (windows-1255) windows-1255
  350. # Turkish (ISO-8859-9) iso-8859-9
  351. # North European (ISO-8859-10) iso-8859-10
  352. # Ukrainian Cyrillic (cp866u) cp866u
  353. # Ukrainian Cyrillic (KOI8-U) koi8-u
  354. # UNICODE (UTF-8) utf-8
  355. # RFC 1345 w/o Intro mnemonic+ascii+0
  356. # RFC 1345 Mnemonic mnemonic
  357. # Transparent x-transparent
  358. .fi
  359. #
  360. # The value should be the MIME name of a character set recognized by
  361. # Lynx (case insensitive).
  362. # Find RFC 1345 at http://www.ics.uci.edu/pub/ietf/uri/rfc1345.txt .
  363. #
  364. #CHARACTER_SET:iso-8859-1
  365. .h2 LOCALE_CHARSET
  366. # LOCALE_CHARSET overrides CHARACTER_SET if true, using the current locale to
  367. # lookup a MIME name that corresponds, and use that as the display charset.
  368. # This feature is experimental because while nl_langinfo(CODESET) itself is
  369. # standardized, the return values and their relationship to the locale value is
  370. # not. GNU libiconv happens to give useful values, but other implementations
  371. # are not guaranteed to do this.
  372. #LOCALE_CHARSET:FALSE
  373. .h2 ASSUME_CHARSET
  374. # ASSUME_CHARSET changes the handling of documents which do not
  375. # explicitly specify a charset. Normally Lynx assumes that 8-bit
  376. # characters in those documents are encoded according to iso-8859-1
  377. # (the official default for the HTTP protocol). When ASSUME_CHARSET
  378. # is defined here or by an -assume_charset command line flag is in effect,
  379. # Lynx will treat documents as if they were encoded accordingly.
  380. # See above on how this interacts with "raw mode" and the Display
  381. # Character Set.
  382. # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will
  383. # not be saved as permanent value in user's .lynxrc file to avoid more chaos.
  384. #
  385. #ASSUME_CHARSET:iso-8859-1
  386. .h2 ASSUMED_DOC_CHARSET_CHOICE
  387. .h2 DISPLAY_CHARSET_CHOICE
  388. # It is possible to reduce the number of charset choices in the 'O'ptions menu
  389. # for "display charset" and "assumed document charset" fields via
  390. # DISPLAY_CHARSET_CHOICE and ASSUMED_DOC_CHARSET_CHOICE settings correspondingly.
  391. # Each of these settings can be used several times to define the set of possible
  392. # choices for corresponding field. The syntax for the values is
  393. #
  394. # string | prefix* | *
  395. #
  396. # where
  397. #
  398. # 'string' is either the MIME name of charset or it's full name (listed
  399. # either in the left or in the right column of table of
  400. # recognized charsets), case-insensitive - e.g. 'Koi8-R' or
  401. # 'Cyrillic (KOI8-R)' (both without quotes),
  402. #
  403. # 'prefix' is any string, and such value will select all charsets having
  404. # the name with prefix matching given (case insensitive), i.e.,
  405. # for the charsets listed in the table of recognized charsets,
  406. #
  407. .ex
  408. # ASSUMED_DOC_CHARSET_CHOICE:cyrillic*
  409. # will be equal to specifying
  410. .ex 4
  411. # ASSUMED_DOC_CHARSET_CHOICE:cp866
  412. # ASSUMED_DOC_CHARSET_CHOICE:windows-1251
  413. # ASSUMED_DOC_CHARSET_CHOICE:koi8-r
  414. # ASSUMED_DOC_CHARSET_CHOICE:iso-8859-5
  415. # or lines with full names of charsets.
  416. #
  417. # literal string '*' (without quotes) will enable all charset choices
  418. # in corresponding field. This is useful for overriding site
  419. # defaults in private pieces of lynx.cfg included via INCLUDE
  420. # directive.
  421. #
  422. # Default values for both settings are '*', but any occurrence of settings
  423. # with values that denote any charsets will make only listed choices available
  424. # for corresponding field.
  425. #ASSUMED_DOC_CHARSET_CHOICE:*
  426. #DISPLAY_CHARSET_CHOICE:*
  427. .h2 ASSUME_LOCAL_CHARSET
  428. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  429. # files. If no setting is given here or by an -assume_local_charset
  430. # command line option, the value for ASSUME_CHARSET or -assume_charset
  431. # is used. It works for both text/plain and text/html files.
  432. # This option will ignore "raw mode" toggling when local files are viewed
  433. # (it is "stronger" than "assume_charset" or the effective change
  434. # of the charset assumption caused by changing "raw mode"),
  435. # so only use when necessary.
  436. #
  437. #ASSUME_LOCAL_CHARSET:iso-8859-1
  438. .h2 PREPEND_CHARSET_TO_SOURCE
  439. # PREPEND_CHARSET_TO_SOURCE:TRUE tells Lynx to prepend a META CHARSET line
  440. # to text/html source files when they are retrieved for 'd'ownloading
  441. # or passed to 'p'rint functions, so HTTP headers will not be lost.
  442. # This is necessary for resolving charset for local html files,
  443. # while the assume_local_charset is just an assumption.
  444. # For the 'd'ownload option, a META CHARSET will be added only if the HTTP
  445. # charset is present. The compilation default is TRUE.
  446. # It is generally desirable to have charset information for every local
  447. # html file, but META CHARSET string potentially could cause
  448. # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
  449. # Note that the prepending is not done for -source dumps.
  450. #
  451. #PREPEND_CHARSET_TO_SOURCE:TRUE
  452. .h2 NCR_IN_BOOKMARKS
  453. # NCR_IN_BOOKMARKS:TRUE allows you to save 8-bit characters in bookmark titles
  454. # in the unicode format (NCR). This may be useful if you need to switch
  455. # display charsets frequently. This is the case when you use Lynx on different
  456. # platforms, e.g., on UNIX and from a remote PC, and want to keep the bookmarks
  457. # file persistent.
  458. # Another aspect is compatibility: NCR is part of I18N and HTML4.0
  459. # specifications supported starting with Lynx 2.7.2, Netscape 4.0 and MSIE 4.0.
  460. # Older browser versions will fail so keep NCR_IN_BOOKMARKS:FALSE if you
  461. # plan to use them.
  462. #
  463. #NCR_IN_BOOKMARKS:FALSE
  464. .h2 FORCE_8BIT_TOUPPER
  465. # FORCE_8BIT_TOUPPER overrides locale settings and uses internal 8-bit
  466. # case-conversion mechanism for case-insensitive searches in non-ASCII display
  467. # character sets. It is FALSE by default and should not be changed unless
  468. # you encounter problems with case-insensitive searches.
  469. #
  470. #FORCE_8BIT_TOUPPER:FALSE
  471. .h2 OUTGOING_MAIL_CHARSET
  472. # While Lynx supports different platforms and display character sets
  473. # we need to limit the charset in outgoing mail to reduce
  474. # trouble for remote recipients who may not recognize our charset.
  475. # You may try US-ASCII as the safest value (7 bit), any other MIME name,
  476. # or leave this field blank (default) to use the display character set.
  477. # Charset translations currently are implemented for mail "subjects= " only.
  478. #
  479. #OUTGOING_MAIL_CHARSET:
  480. .h2 ASSUME_UNREC_CHARSET
  481. # If Lynx encounters a charset parameter it doesn't recognize, it will
  482. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  483. # -assume_unrec_charset command line option) for it. This can be used
  484. # to deal with charsets unknown to Lynx, if they are "sufficiently
  485. # similar" to one that Lynx does know about, by forcing the same
  486. # treatment. There is no default, and you probably should leave this
  487. # undefined unless necessary.
  488. #
  489. #ASSUME_UNREC_CHARSET:iso-8859-1
  490. .h2 PREFERRED_LANGUAGE
  491. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  492. # "fr") which will be indicated by Lynx in its Accept-Language headers
  493. # as the preferred language. If available, the document will be
  494. # transmitted in that language. Users can override this setting via
  495. # the 'o'ptions menu and save that preference in their RC file.
  496. # This may be a comma-separated list of languages in decreasing preference.
  497. #
  498. #PREFERRED_LANGUAGE:en
  499. .h2 PREFERRED_CHARSET
  500. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  501. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  502. # requests to http servers using an Accept-Charsets header. Users can
  503. # change it via the 'o'ptions menu and save that preference in their RC file.
  504. # The value should NOT include "ISO-8859-1" or "US-ASCII",
  505. # since those values are always assumed by default.
  506. # If a file in that character set is available, the server will send it.
  507. # If no Accept-Charset header is present, the default is that any
  508. # character set is acceptable. If an Accept-Charset header is present,
  509. # and if the server cannot send a response which is acceptable
  510. # according to the Accept-Charset header, then the server SHOULD send
  511. # an error response with the 406 (not acceptable) status code, though
  512. # the sending of an unacceptable response is also allowed. See RFC 2068
  513. # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt).
  514. #
  515. #PREFERRED_CHARSET:
  516. .h2 CHARSETS_DIRECTORY
  517. # CHARSETS_DIRECTORY specifies the directory with the fonts (glyph data)
  518. # used by Lynx to switch the display-font to a font best suited for the
  519. # given document. The font should be in a format understood by the
  520. # platforms TTY-display-font-switching API. Currently supported on OS/2 only.
  521. #
  522. # Lynx expects the glyphs for the charset CHARSET with character cell
  523. # size HHHxWWW to be stored in a file HHHxWWW/CHARSET.fnt inside the directory
  524. # specified by CHARSETS_DIRECTORY. E.g., the font for koi8-r sized 14x9
  525. # should be in the file 14x9/koi8-r.fnt.
  526. #
  527. #CHARSETS_DIRECTORY:
  528. .h2 CHARSET_SWITCH_RULES
  529. # CHARSET_SWITCH_RULES hints lynx on how to choose the best display font given
  530. # the document encoding. This string is a sequence of chunks, each chunk
  531. # having the following form:
  532. #
  533. # IN_CHARSET1 IN_CHARSET2 ... IN_CHARSET5 :OUT_CHARSET
  534. #
  535. # For readability, one may insert arbitrary additional punctuation (anything
  536. # but : is ignored). E.g., if lynx is able to switch only to display charsets
  537. # cp866, cp850, cp852, and cp862, then the following setting may be useful
  538. # (split for readability):
  539. #
  540. # CHARSET_SWITCH_RULES: koi8-r ISO-8859-5 windows-1251 cp866u KOI8-U :cp866,
  541. # iso-8859-1 windows-1252 ISO-8859-15 :cp850,
  542. # ISO-8859-2 windows-1250 :cp852,
  543. # ISO-8859-8 windows-1255 :cp862
  544. #
  545. #CHARSET_SWITCH_RULES:
  546. .h1 Interaction
  547. .h2 URL_DOMAIN_PREFIXES
  548. .h2 URL_DOMAIN_SUFFIXES
  549. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  550. # prepended (together with a scheme://) and appended to the first element
  551. # of command line or 'g'oto arguments which are not complete URLs and
  552. # cannot be opened as a local file (file://localhost/string). Both
  553. # can be comma-separated lists. Each prefix must end with a dot, each
  554. # suffix must begin with a dot, and either may contain other dots (e.g.,
  555. # .com.jp). The default lists are defined in userdefs.h and can be
  556. # replaced here. Each prefix will be used with each suffix, in order,
  557. # until a valid Internet host is created, based on a successful DNS
  558. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  559. # etc.). The first element can include a :port and/or /path which will
  560. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  561. # become http://www.wfbr.edu:8002/dir/lynx). The prefixes will not be
  562. # used if the first element ends in a dot (or has a dot before the
  563. # :port or /path), and similarly the suffixes will not be used if the
  564. # the first element begins with a dot (e.g., .nyu.edu will become
  565. # http://www.nyu.edu without testing www.nyu.com). Lynx will try to
  566. # guess the scheme based on the first field of the expanded host name,
  567. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  568. # will be made gopher://gopher.wfbr.edu).
  569. #
  570. #URL_DOMAIN_PREFIXES:www.
  571. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  572. .h2 FORMS_OPTIONS
  573. # Toggle whether the Options Menu is key-based or form-based;
  574. # the key-based version is available only if specified at compile time.
  575. #FORMS_OPTIONS:TRUE
  576. .h2 PARTIAL
  577. # Display partial pages while downloading
  578. #PARTIAL:TRUE
  579. .h2 PARTIAL_THRES
  580. # Set the threshold # of lines Lynx must render before it
  581. # redraws the screen in PARTIAL mode. Anything < 0 implies
  582. # use of the screen size.
  583. #PARTIAL_THRES:-1
  584. .h2 SHOW_KB_RATE
  585. # While getting large files, Lynx shows the approximate rate of transfer.
  586. # Set this to change the units shown. "Kilobytes" denotes 1024 bytes:
  587. # NONE to disable the display of transfer rate altogether.
  588. # TRUE or KB for Kilobytes/second.
  589. # FALSE or BYTES for bytes/second.
  590. # KB,ETA to show Kilobytes/second with estimated completion time.
  591. # BYTES,ETA to show BYTES/second with estimated completion time.
  592. # Note that the "ETA" values are available if USE_READPROGRESS was defined.
  593. #SHOW_KB_RATE:TRUE
  594. .h2 SHOW_KB_NAME
  595. # Set the abbreviation for Kilobytes (1024).
  596. # Quoting from
  597. # http://www.romulus2.com/articles/guides/misc/bitsbytes.shtml
  598. # In December 1998, the International Electrotechnical Commission (IEC)
  599. # approved a new IEC International Standard. Instead of using the metric
  600. # prefixes for multiples in binary code, the new IEC standard invented specific
  601. # prefixes for binary multiples made up of only the first two letters of the
  602. # metric prefixes and adding the first two letters of the word "binary". Thus,
  603. # for instance, instead of Kilobyte (KB) or Gigabyte (GB), the new terms would
  604. # be kibibyte (KiB) or gibibyte (GiB).
  605. #
  606. # If you prefer using the conventional (and more common) "KB", modify this
  607. # setting.
  608. #SHOW_KB_NAME:KiB
  609. .h1 Timeouts
  610. .h2 INFOSECS
  611. .h2 MESSAGESECS
  612. .h2 ALERTSECS
  613. # The following definitions set the number of seconds for
  614. # pauses following statusline messages that would otherwise be
  615. # replaced immediately, and are more important than the unpaused
  616. # progress messages. Those set by INFOSECS are also basically
  617. # progress messages (e.g., that a prompted input has been canceled)
  618. # and should have the shortest pause. Those set by MESSAGESECS are
  619. # informational (e.g., that a function is disabled) and should have
  620. # a pause of intermediate duration. Those set by ALERTSECS typically
  621. # report a serious problem and should be paused long enough to read
  622. # whenever they appear (typically unexpectedly). The default values
  623. # are defined in userdefs.h, and can be modified here should longer
  624. # pauses be desired for braille-based access to Lynx.
  625. #
  626. # SVr4-curses implementations support time delays in milliseconds,
  627. # hence the value may be given shorter, e.g., 0.5
  628. #
  629. #INFOSECS:1
  630. #MESSAGESECS:2
  631. #ALERTSECS:3
  632. .h2 DEBUGSECS
  633. # Set DEBUGSECS to a nonzero value to slow down progress messages
  634. # (see "-delay" option).
  635. #DEBUGSECS:0
  636. .h2 REPLAYSECS
  637. # Set REPLAYSECS to a nonzero value to allow for slow replaying of
  638. # command scripts (see "-cmd_script" option).
  639. #REPLAYSECS:0
  640. .h1 Appearance
  641. # These settings control the appearance of Lynx's screen and the way
  642. # Lynx renders some tags.
  643. .h2 USE_SELECT_POPUPS
  644. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  645. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  646. # attribute, instead of using a popup menu. Note that if the MULTIPLE
  647. # attribute is present in the SELECT start tag, Lynx always will create a
  648. # vertical list of checkboxes for the OPTIONs.
  649. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  650. # menu and saved in the RC file, and always can be toggled via the -popup
  651. # command line switch.
  652. #
  653. #USE_SELECT_POPUPS:TRUE
  654. .h2 SHOW_CURSOR
  655. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  656. # over the current link in documents or the current option in popups.
  657. # Showing the cursor is handy if you are a sighted user with a poor
  658. # terminal that can't do bold and reverse video at the same time or
  659. # at all. It also can be useful to blind users, as an alternative
  660. # or supplement to setting LINKS_AND_FIELDS_ARE_NUMBERED or
  661. # LINKS_ARE_NUMBERED.
  662. # The default defined here or in userdefs.h can be changed via the
  663. # 'o'ptions menu and saved in the RC file, and always can be toggled
  664. # via the -show_cursor command line switch.
  665. #
  666. #SHOW_CURSOR:FALSE
  667. .h2 UNDERLINE_LINKS
  668. # UNDERLINE_LINKS controls whether links are underlined by default, or shown
  669. # in bold. Normally this default is set from the configure script.
  670. #
  671. #UNDERLINE_LINKS:FALSE
  672. .h2 BOLD_HEADERS
  673. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  674. # upon for <H1> through <H6> headers. The compilation default is FALSE
  675. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  676. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  677. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  678. #
  679. #BOLD_HEADERS:FALSE
  680. .h2 BOLD_H1
  681. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  682. # upon for <H1> headers even if BOLD_HEADERS is FALSE. The compilation
  683. # default is FALSE. On Unix, compilation with -DUNDERLINE_LINKS also
  684. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  685. #
  686. #BOLD_H1:FALSE
  687. .h2 BOLD_NAME_ANCHORS
  688. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  689. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  690. # have the HT_BOLD default style. The compilation default is FALSE.
  691. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  692. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  693. #
  694. #BOLD_NAME_ANCHORS:FALSE
  695. .h1 Internal Behavior
  696. .h2 DEFAULT_CACHE_SIZE
  697. .h2 DEFAULT_VIRTUAL_MEMORY_SIZE
  698. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  699. # cached in memory at one time.
  700. #
  701. # This so-called cache size (actually, number) is defined in userdefs.h and
  702. # may be modified here and/or with the command line argument -cache=NUMBER
  703. # The minimum allowed value is 2, for the current document and at least one
  704. # to fetch, and there is no absolute maximum number of cached documents.
  705. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  706. # the least recently displayed document will be removed from memory.
  707. #
  708. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  709. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  710. # before previous documents are removed from memory. If the values for both
  711. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  712. # the least recently displayed documents will be freed until one or the other
  713. # value is no longer exceeded. The default value is defined in userdefs.h.
  714. #
  715. # The Unix and VMS (but not VAXC) implementations use the C library malloc's
  716. # and calloc's for memory allocation, but procedures for taking the actual
  717. # amount of cache into account still need to be developed. They use only
  718. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  719. # number of documents to cache (rather than the maximum number only if
  720. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  721. #
  722. #DEFAULT_CACHE_SIZE:10
  723. #DEFAULT_VIRTUAL_MEMORY_SIZE:512000
  724. .h2 SOURCE_CACHE
  725. # SOURCE_CACHE sets the source caching behavior for Lynx:
  726. # FILE causes Lynx to keep a temporary file for each cached document
  727. # containing the HTML source of the document, which it uses to regenerate
  728. # the document when certain settings are changed (for instance,
  729. # historical vs. minimal vs. valid comment parsing) instead of reloading
  730. # the source from the network.
  731. # MEMORY is like FILE, except the document source is kept in memory. You
  732. # may wish to adjust DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE
  733. # accordingly.
  734. # NONE is the default; the document source is not cached, and is reloaded
  735. # from the network when needed.
  736. #
  737. #SOURCE_CACHE:NONE
  738. .h2 SOURCE_CACHE_FOR_ABORTED
  739. # This setting controls what will happen with cached source for the document
  740. # being fetched from the net if fetching was aborted (either user pressed
  741. # 'z' or network went down). If set to KEEP, the source fetched so far will
  742. # be preserved (and used as cache), if set to DROP lynx will drop the
  743. # source cache for that document (i.e. only completely downloaded documents
  744. # will be cached in that case).
  745. #SOURCE_CACHE_FOR_ABORTED:DROP
  746. .h2 ALWAYS_RESUBMIT_POSTS
  747. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  748. # with method POST, dumping any cache from a previous submission of the
  749. # form, including when the document returned by that form is sought with
  750. # the PREV_DOC command or via the history list. Lynx always resubmits
  751. # forms with method POST when a submit button or a submitting text input
  752. # is activated, but normally retrieves the previously returned document
  753. # if it had links which you activated, and then go back with the PREV_DOC
  754. # command or via the history list.
  755. #
  756. # The default defined here or in userdefs.h can be toggled via
  757. # the -resubmit_forms command line switch.
  758. #
  759. #ALWAYS_RESUBMIT_POSTS:FALSE
  760. .h2 TRIM_INPUT_FIELDS
  761. # If TRIM_INPUT_FIELDS is set TRUE, Lynx will trim trailing whitespace (e.g.,
  762. # space, tab, carriage return, line feed and form feed) from the text entered
  763. # into form text and textarea fields. Older versions of Lynx do this trimming
  764. # unconditionally, but other browsers do not, which would yield different
  765. # behavior for CGI scripts.
  766. #TRIM_INPUT_FIELDS:FALSE
  767. .h1 HTML Parsing
  768. .h2 NO_ISMAP_IF_USEMAP
  769. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  770. # server-side image map if both a server-side and client-side map for the
  771. # same image is indicated in the HTML markup. The compilation default is
  772. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  773. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  774. # accessing Lynx's text-based rendition of the client-side map (based on
  775. # the content of the associated MAP element). If the "[ISMAP]" link is
  776. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  777. # Lynx-friendly sites can map to a for-text-client document, homologous
  778. # to what is intended for the content of a FIG element.
  779. #
  780. # The compilation default, or default defined here, can be toggled via
  781. # the "-ismap" command line switch.
  782. #
  783. #NO_ISMAP_IF_USEMAP:FALSE
  784. .h2 SEEK_FRAG_MAP_IN_CUR
  785. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  786. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  787. # will be resolved with respect to the current document's base, which
  788. # might not be the same as the current document's URL.
  789. # The compilation default is to use the current document's URL in all
  790. # cases (i.e., assume the MAP is present below, if it wasn't present
  791. # above the point in the HTML stream where the USEMAP attribute was
  792. # detected). Lynx's present "single pass" rendering engine precludes
  793. # checking below before making the decision on how to resolve a USEMAP
  794. # reference consisting solely of a fragment.
  795. #
  796. #SEEK_FRAG_MAP_IN_CUR:TRUE
  797. .h2 SEEK_FRAG_AREA_IN_CUR
  798. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  799. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  800. # resolved with respect to the current document's base, which might
  801. # not be the same as the current document's URL. The compilation
  802. # default is to use the current document's URL, as is done for the
  803. # HREF attribute values of Anchors and LINKs that consist solely of
  804. # a fragment.
  805. #
  806. #SEEK_FRAG_AREA_IN_CUR:TRUE
  807. .h1 CGI scripts
  808. # These settings control Lynx's ability to execute various types of scripts.
  809. .h2 LOCAL_EXECUTION_LINKS_ALWAYS_ON
  810. .h2 LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE
  811. # Local execution links and scripts are by default completely disabled,
  812. # unless a change is made to the userdefs.h file to enable them or
  813. # the configure script is used with the corresponding options
  814. # (--enable-exec-links and --enable-exec-scripts).
  815. # See the Lynx source code distribution and the userdefs.h
  816. # file for more detail on enabling execution links and scripts.
  817. #
  818. # If you have enabled execution links or scripts the following
  819. # two variables control Lynx's action when an execution link
  820. # or script is encountered.
  821. #
  822. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  823. # link or script will be executed no matter where it came from.
  824. # This is EXTREMELY dangerous. Since Lynx can access files from
  825. # anywhere in the world, you may encounter links or scripts that
  826. # will cause damage or compromise the security of your system.
  827. #
  828. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  829. # links or scripts that reside on the local machine and are
  830. # referenced with a URL beginning with "file://localhost/" or meet
  831. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  832. # executed. This is much less dangerous than enabling all execution
  833. # links, but can still be dangerous.
  834. #
  835. #LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  836. #LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  837. .h2 TRUSTED_EXEC
  838. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  839. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  840. # or lynxprog command will be permitted if it was referenced from within
  841. # a document whose URL begins with that string. If you wish to restrict the
  842. # referencing URLs further, you can extend the string to include a trusted
  843. # path. You also can specify a trusted directory for http URLs, which will
  844. # then be treated as if they were local rather than remote. For example:
  845. #
  846. # TRUSTED_EXEC:file://localhost/trusted/
  847. # TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  848. #
  849. # If you also wish to restrict the commands which can be executed, create
  850. # a series of rules with the path (Unix) or command name (VMS) following
  851. # the string, separated by a tab. For example:
  852. #
  853. # Unix:
  854. # ====
  855. # TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  856. # TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  857. # VMS:
  858. # ===
  859. # TRUSTED_EXEC:file://localhost/<tab>copy
  860. # TRUSTED_EXEC:file://localhost/<tab>delete
  861. #
  862. # Once you specify a TRUSTED_EXEC referencing string, the default is
  863. # replaced, and all the referencing strings you desire must be specified
  864. # as a series. Similarly, if you associate a command with the referencing
  865. # string, you must specify all of the allowable commands as a series of
  866. # TRUSTED_EXEC rules for that string. If you specify ALWAYS_TRUSTED_EXEC
  867. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  868. #
  869. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  870. # URLs in that file will be permitted, regardless of other settings. If
  871. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  872. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  873. # lynxexec or lynxprog URLs in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  874. # see below) will be allowed. Note, however, that if Lynx was compiled with
  875. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  876. # is included with the -anonymous switch at run time, then users of an
  877. # anonymous account will not be able to access the jumps file or enter
  878. # 'j'ump shortcuts, and this selective execution feature will be overridden
  879. # as well (i.e., they will only be able to access lynxexec or lynxprog
  880. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  881. #
  882. #TRUSTED_EXEC:none
  883. .h2 ALWAYS_TRUSTED_EXEC
  884. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  885. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it. This is useful for
  886. # anonymous accounts in which you have disabled execution links generally,
  887. # and may also have disabled jumps file links, but still want to allow
  888. # execution of particular utility scripts or programs. The format is
  889. # like that for TRUSTED_EXEC. For example:
  890. #
  891. # Unix:
  892. # ====
  893. # ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  894. # ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  895. # VMS:
  896. # ===
  897. # ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  898. # ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  899. #
  900. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  901. #
  902. #ALWAYS_TRUSTED_EXEC:none
  903. .h2 TRUSTED_LYNXCGI
  904. # Unix:
  905. # =====
  906. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  907. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h). The format
  908. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  909. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  910. # and path for lynxcgi links will be permitted. Example rules:
  911. #
  912. # TRUSTED_LYNXCGI:file://localhost/
  913. # TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  914. # TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  915. #
  916. # VMS:
  917. # ====
  918. # Do not define this.
  919. #
  920. #TRUSTED_LYNXCGI:none
  921. .h2 LYNXCGI_ENVIRONMENT
  922. # Unix:
  923. # =====
  924. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  925. # environment variable to the list of environment variables passed on to the
  926. # lynxcgi script. Useful variables are HOME, USER, etc... If proxies
  927. # are in use, and the script invokes another copy of lynx (or a program like
  928. # wget) in a subsidiary role, it can be useful to add http_proxy and other
  929. # *_proxy variables.
  930. #
  931. # VMS:
  932. # ====
  933. # Do not define this.
  934. #
  935. #LYNXCGI_ENVIRONMENT:
  936. .h2 LYNXCGI_DOCUMENT_ROOT
  937. # Unix:
  938. # =====
  939. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  940. # to lynxcgi scripts. If set and the URL has PATH_INFO data, then
  941. # PATH_TRANSLATED will also be generated. Examples:
  942. # LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  943. # LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  944. #
  945. # VMS:
  946. # ====
  947. # Do not define this.
  948. #
  949. #LYNXCGI_DOCUMENT_ROOT:
  950. .h1 Cookies
  951. .h2 FORCE_SSL_COOKIES_SECURE
  952. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  953. # received from https servers never will be sent unencrypted to http
  954. # servers. The compilation default is to impose this block only if the
  955. # https server included a secure attribute for the cookie. The normal
  956. # default or that defined here can be toggled via the -force_secure
  957. # command line switch.
  958. #
  959. #FORCE_SSL_COOKIES_SECURE:FALSE
  960. .h1 Internal Behavior
  961. .h2 MAIL_SYSTEM_ERROR_LOGGING
  962. # MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  963. # the information, or ALERTMAIL if there is no owner, every time
  964. # that a document cannot be accessed!
  965. #
  966. # NOTE: This can generate A LOT of mail, be warned.
  967. #
  968. #MAIL_SYSTEM_ERROR_LOGGING:FALSE
  969. .h2 CHECKMAIL
  970. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  971. # message) about the existence of any unread mail at startup of Lynx, and
  972. # will get statusline messages if subsequent new mail arrives. If a jumps
  973. # file with a lynxprog URL for invoking mail is available, or your html
  974. # pages include an mail launch file URL, the user thereby can access mail
  975. # and read the messages. The checks and statusline reports will not be
  976. # performed if Lynx has been invoked with the -restrictions=mail switch.
  977. #
  978. # VMS USERS !!!
  979. # =============
  980. # New mail is normally broadcast as it arrives, via "unsolicited screen
  981. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  982. # command. You may prefer to disable the broadcasts and use CHECKMAIL
  983. # instead (e.g., in a public account which will be used by people who
  984. # are ignorant about VMS).
  985. #
  986. #CHECKMAIL:FALSE
  987. .h1 News-groups
  988. .h2 NNTPSERVER
  989. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  990. # must be set so that it points to your site's NNTP server
  991. # (see Lynx Users Guide on environment variables).
  992. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt)
  993. # and does not accept a host field in news URLs (use nntp: instead of news: for
  994. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  995. # RFC). If you have not set the variable externally, you can set it at run
  996. # time via this configuration file. It will not override an external setting.
  997. # Note that on VMS it is set as a process logical rather than symbol, and will
  998. # outlive the Lynx image.
  999. # The news reading facility in Lynx is quite limited. Lynx does not provide a
  1000. # full featured news reader with elaborate error checking and safety features.
  1001. #
  1002. #NNTPSERVER:news.server.dom
  1003. .h2 LIST_NEWS_NUMBERS
  1004. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  1005. # the numbers of articles in news listings, instead of using an unordered
  1006. # list. The default is defined in userdefs.h, and can be overridden here.
  1007. #
  1008. #LIST_NEWS_NUMBERS:FALSE
  1009. .h2 LIST_NEWS_DATES
  1010. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  1011. # news listings. The dates always are included in the articles, themselves.
  1012. # The default is defined in userdefs.h, and can be overridden here.
  1013. #
  1014. #LIST_NEWS_DATES:FALSE
  1015. .h2 NEWS_CHUNK_SIZE
  1016. .h2 NEWS_MAX_CHUNK
  1017. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  1018. # listings with inclusion of links for listing earlier and/or later articles.
  1019. # The defaults are defined in HTNews.c as 30 and 40, respectively. If the
  1020. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  1021. # in NEWS_CHUNK_SIZE chunks. You can change the defaults here, and/or on
  1022. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  1023. # switches. Note that if the chunk size is increased, here or on the command
  1024. # line, to a value greater than the current maximum, the maximum will be
  1025. # increased to that number. Conversely, if the maximum is set to a number
  1026. # less than the current chunk size, the chunk size will be reduced to that
  1027. # number. Thus, you need use only one of the two switches on the command
  1028. # line, based on the direction of intended change relative to the compilation
  1029. # or configuration defaults. The compilation defaults ensure that there will
  1030. # be at least 10 earlier articles before bothering to chunk and create a link
  1031. # for earlier articles.
  1032. #
  1033. #NEWS_CHUNK_SIZE:30
  1034. #NEWS_MAX_CHUNK:40
  1035. .h2 NEWS_POSTING
  1036. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  1037. # news groups via Lynx. If left TRUE, Lynx will use its news gateway to
  1038. # post new messages or followups to news groups, using the URL schemes
  1039. # described in the "Supported URLs" section of the online 'h'elp. The
  1040. # posts will be attempted via the nntp server specified in the URL, or
  1041. # if none was specified, via the NNTPSERVER configuration or environment
  1042. # variable. Links with these URLs for posting or sending followups are
  1043. # created by the news gateway when reading group listings or articles
  1044. # from nntp servers if the server indicates that it permits posting.
  1045. # The compilation default set in userdefs.h can be changed here. If
  1046. # the default is TRUE, posting can still be disallowed via the
  1047. # -restrictions command line switch.
  1048. # The posting facility in Lynx is quite limited. Lynx does not provide a
  1049. # full featured news poster with elaborate error checking and safety features.
  1050. #
  1051. #NEWS_POSTING:TRUE
  1052. .h2 LYNX_SIG_FILE
  1053. # LYNX_SIG_FILE defines the name of a file containing a signature which
  1054. # can be appended to email messages and news postings or followups. The
  1055. # user will be prompted whether to append it. It is sought in the home
  1056. # directory. If it is in a subdirectory, begin it with a dot-slash
  1057. # (e.g., ./lynx/.lynxsig). The definition is set in userdefs.h and can
  1058. # be changed here.
  1059. #
  1060. #LYNX_SIG_FILE:.lynxsig
  1061. .h1 Bibliographic Protocol (bibp scheme)
  1062. .h2 BIBP_GLOBAL_SERVER
  1063. # BIBP_GLOBAL_SERVER is the default global server for bibp: links, used
  1064. # when a local bibhost or document-specified citehost is unavailable.
  1065. # Set in userdefs.h and can be changed here.
  1066. #BIBP_GLOBAL_SERVER:http://usin.org/
  1067. .h2 BIBP_BIBHOST
  1068. # BIBP_BIBHOST is the URL at which local bibp service may be found, if
  1069. # it exists. Defaults to http://bibhost/ for protocol conformance, but
  1070. # may be overridden here or via --bibhost parameter.
  1071. #BIBP_BIBHOST:http://bibhost/
  1072. .h1 Interaction
  1073. # These settings control interaction of the user with lynx.
  1074. .h2 SCROLLBAR
  1075. # If SCROLLBAR is set TRUE, Lynx will show scrollbar on windows. With mouse
  1076. # enabled, the scrollbar strip outside the bar is clickable, and scrolls the
  1077. # window by pages. The appearance of the scrollbar can be changed from
  1078. # LYNX_LSS file: define attributes scroll.bar, scroll.back (for the bar, and
  1079. # for the strip along which the scrollbar moves).
  1080. #SCROLLBAR:FALSE
  1081. .h2 SCROLLBAR_ARROW
  1082. # If SCROLLBAR_ARROW is set TRUE, Lynx's scrollbar will have arrows at the
  1083. # ends. With mouse enabled, the arrows are clickable, and scroll the window by
  1084. # 2 lines. The appearance of the scrollbar arrows can be changed from LYNX_LSS
  1085. # file: define attributes scroll.arrow, scroll.noarrow (for enabled-arrows,
  1086. # and disabled arrows). An arrow is "disabled" if the bar is at this end of
  1087. # the strip.
  1088. #SCROLLBAR_ARROW:TRUE
  1089. .h2 USE_MOUSE
  1090. # If Lynx is configured with ncurses, PDcurses or slang & USE_MOUSE is TRUE,
  1091. # users can perform commands by left-clicking certain parts of the screen:
  1092. # on a link = `g'oto + ACTIVATE (ie move highlight & follow the link);
  1093. # on the top/bottom lines = PREV/NEXT_PAGE (ie go up/down 1 page);
  1094. # on the top/bottom left corners = PREV_DOC (ie go to the previous document);
  1095. # on the top/bottom right corners = HISTORY (ie call up the history page).
  1096. # NB if the mouse is defined in this way, it will not be available
  1097. # for copy/paste operations using the clipboard of a desktop manager:
  1098. # for flexibility instead, use the command-line switch -use_mouse .
  1099. #
  1100. # ncurses and slang have built-in support for the xterm mouse protocol. In
  1101. # addition, ncurses can be linked with the gpm mouse library, to automatically
  1102. # provide support for this interface in applications such as Lynx. (Please
  1103. # read the ncurses faq to work around broken gpm configurations packaged by
  1104. # some distributors). PDCurses implements mouse support for win32 console
  1105. # windows, as does slang.
  1106. #USE_MOUSE:FALSE
  1107. .h1 HTML Parsing
  1108. # These settings control the way Lynx parses invalid HTML
  1109. # and how it may resolve such issues.
  1110. .h2 COLLAPSE_BR_TAGS
  1111. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  1112. # If set TRUE, two or more concurrent BRs will be collapsed into a single
  1113. # line break. Note that the valid way to insert extra blank lines in HTML
  1114. # is via a PRE block with only newlines in the block.
  1115. #
  1116. #COLLAPSE_BR_TAGS:TRUE
  1117. .h2 TAGSOUP
  1118. # If TAGSOUP is set, Lynx uses the "Tag Soup DTD" rather than "SortaSGML".
  1119. # The two approaches differ by the style of error detection and recovery.
  1120. # Tag Soup DTD allows for improperly nested tags; SortaSGML is stricter.
  1121. #TAGSOUP:FALSE
  1122. .h1 Cookies
  1123. .h2 SET_COOKIES
  1124. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  1125. # in http server replies. Note that if a COOKIE_FILE is in use (see
  1126. # below) that contains cookies at startup, Lynx will still send those
  1127. # persistent cookies in requests as appropriate. Setting SET_COOKIES
  1128. # to FALSE just prevents accepting any new cookies from servers. To
  1129. # prevent all cookie processing (sending *and* receiving) in a session,
  1130. # make sure that PERSISTENT_COOKIES is not TRUE or that COOKIE_FILE does
  1131. # not point to a file with cookies, in addition to setting SET_COOKIES
  1132. # to FALSE.
  1133. # The default is defined in userdefs.h, and can be overridden here,
  1134. # and/or toggled via the -cookies command line switch.
  1135. #
  1136. #SET_COOKIES:TRUE
  1137. .h2 ACCEPT_ALL_COOKIES
  1138. # If ACCEPT_ALL_COOKIES is set TRUE, Lynx will accept cookies from all
  1139. # domains with no user interaction. This is equivalent to automatically
  1140. # replying to all cookie 'Allow?' prompts with 'A'lways. Note that it
  1141. # does not preempt validity checking, which has to be controlled separately
  1142. # (see below).
  1143. # The default is defined in userdefs.h and can be overridden here, or
  1144. # in the .lynxrc file via an o(ptions) screen setting. It may also be
  1145. # toggled via the -accept_all_cookies command line switch.
  1146. #
  1147. #ACCEPT_ALL_COOKIES:FALSE
  1148. .h2 COOKIE_ACCEPT_DOMAINS
  1149. .h2 COOKIE_REJECT_DOMAINS
  1150. # COOKIE_ACCEPT_DOMAINS and COOKIE_REJECT_DOMAINS are comma-delimited lists
  1151. # of domains from which Lynx should automatically accept or reject cookies
  1152. # without asking for confirmation. If the same domain is specified in both
  1153. # lists, rejection will take precedence.
  1154. # Note that in order to match cookies, domains have to be spelled out exactly
  1155. # in the form in which they would appear on the Cookie Jar page (case is
  1156. # insignificant). They are not wildcards. Domains that apply to more than
  1157. # one host have a leading '.', but have to match *the cookie's* domain
  1158. # exactly.
  1159. #
  1160. #COOKIE_ACCEPT_DOMAINS:
  1161. #COOKIE_REJECT_DOMAINS:
  1162. .h2 COOKIE_LOOSE_INVALID_DOMAINS
  1163. .h2 COOKIE_STRICT_INVALID_DOMAINS
  1164. .h2 COOKIE_QUERY_INVALID_DOMAINS
  1165. # COOKIE_LOOSE_INVALID_DOMAINS, COOKIE_STRICT_INVALID_DOMAINS, and
  1166. # COOKIE_QUERY_INVALID_DOMAINS are comma-delimited lists of domains.
  1167. # They control the degree of validity checking that is applied to cookies
  1168. # for the specified domains.
  1169. # Note that in order to match cookies, domains have to be spelled out exactly
  1170. # in the form in which they would appear on the Cookie Jar page (case is
  1171. # insignificant). They are not wildcards. Domains that apply to more than
  1172. # one host have a leading '.', but have to match *the cookie's* domain
  1173. # exactly.
  1174. # If a domain is set to strict checking, strict conformance to RFC2109 will
  1175. # be applied. A domain with loose checking will be allowed to set cookies
  1176. # with an invalid path or domain attribute. All domains will default to
  1177. # asking the user for confirmation in case of an invalid path or domain.
  1178. # Cookie validity checking takes place as a separate step before the
  1179. # final decision to accept or reject (see previous options), therefore
  1180. # a cookie that passes validity checking may still be automatically
  1181. # rejected or cause another prompt.
  1182. #
  1183. #COOKIE_LOOSE_INVALID_DOMAINS:
  1184. #COOKIE_STRICT_INVALID_DOMAINS:
  1185. #COOKIE_QUERY_INVALID_DOMAINS:
  1186. .h2 MAX_COOKIES_DOMAIN
  1187. .h2 MAX_COOKIES_GLOBAL
  1188. .h2 MAX_COOKIES_BUFFER
  1189. # MAX_COOKIES_DOMAIN,
  1190. # MAX_COOKIES_GLOBAL and
  1191. # MAX_COOKIES_BUFFER are limits on the total number of cookies for each domain,
  1192. # globally, and the per-cookie buffer size. These limits are by default large
  1193. # enough for reasonable usage; if they are very high, some sites may present
  1194. # undue performance waste.
  1195. #
  1196. #max_cookies_domain:50
  1197. #max_cookies_global:500
  1198. #max_cookies_buffer:4096
  1199. .h2 PERSISTENT_COOKIES
  1200. # PERSISTENT_COOKIES indicates that cookies should be read at startup from
  1201. # the COOKIE_FILE, and saved at exit for storage between Lynx sessions.
  1202. # It is not used if Lynx was compiled without USE_PERSISTENT_COOKIES.
  1203. # The default is FALSE, so that the feature needs to be enabled here
  1204. # explicitly if you want it.
  1205. #
  1206. #PERSISTENT_COOKIES:FALSE
  1207. .h2 COOKIE_FILE
  1208. # COOKIE_FILE is the default file from which persistent cookies are read
  1209. # at startup (if the file exists), if Lynx was compiled with
  1210. # USE_PERSISTENT_COOKIES and the PERSISTENT_COOKIES option is enabled.
  1211. # The cookie file can also be specified in .lynxrc or on the command line.
  1212. #
  1213. #COOKIE_FILE:~/.lynx_cookies
  1214. .h2 COOKIE_SAVE_FILE
  1215. # COOKIE_SAVE_FILE is the default file in which persistent cookies are
  1216. # stored at exit, if Lynx was compiled with USE_PERSISTENT_COOKIES and the
  1217. # PERSISTENT_COOKIES option is enabled. The cookie save file can also be
  1218. # specified on the command line.
  1219. #
  1220. # With an interactive Lynx session, COOKIE_SAVE_FILE will default to
  1221. # COOKIE_FILE if it is not set. With a non-interactive Lynx session (e.g.,
  1222. # -dump), cookies will only be saved to file if COOKIE_SAVE_FILE is set.
  1223. #
  1224. #COOKIE_SAVE_FILE:~/.lynx_cookies
  1225. .h1 Mail-related
  1226. .h2 SYSTEM_MAIL
  1227. .h2 SYSTEM_MAIL_FLAGS
  1228. # VMS:
  1229. # ===
  1230. # The mail command and qualifiers are defined in userdefs.h. Lynx
  1231. # will spawn a subprocess to send replies and error messages. The
  1232. # command, and qualifiers (if any), can be re-defined here. If
  1233. # you use PMDF then headers will we passed via a header file.
  1234. # If you use "generic" VMS MAIL, the subject will be passed on the
  1235. # command line via a /subject="SUBJECT" qualifier, and inclusion
  1236. # of other relevant headers may not be possible.
  1237. # If your mailer uses another syntax, some hacking of the mailform()
  1238. # mailmsg() and reply_by_mail() functions in LYMail.c, and send_file_to_mail()
  1239. # function in LYPrint.c, may be required.
  1240. #
  1241. .ex 2
  1242. #SYSTEM_MAIL:PMDF SEND
  1243. #SYSTEM_MAIL_FLAGS:/headers
  1244. #
  1245. .ex 2
  1246. #SYSTEM_MAIL:MAIL
  1247. #SYSTEM_MAIL_FLAGS:
  1248. #
  1249. # Unix:
  1250. #======
  1251. # The mail path and flags normally are defined for sendmail (or submit
  1252. # with MMDF) in userdefs.h. You can change them here, but should first
  1253. # read the zillions of CERT advisories about security problems with Unix
  1254. # mailers.
  1255. #
  1256. .ex 2
  1257. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  1258. #SYSTEM_MAIL_FLAGS:-mlruxto,cc\*
  1259. #
  1260. .ex 2
  1261. #SYSTEM_MAIL:/usr/sbin/sendmail
  1262. #SYSTEM_MAIL_FLAGS:-t -oi
  1263. #
  1264. .ex 2
  1265. #SYSTEM_MAIL:/usr/lib/sendmail
  1266. #SYSTEM_MAIL_FLAGS:-t -oi
  1267. # Win32:
  1268. #=======
  1269. # Please read sendmail.txt in the LYNX_W32.ZIP distribution
  1270. #
  1271. #SYSTEM_MAIL:sendmail -f me@my.host -h my.host -r my.smtp.mailer -m SMTP
  1272. .h2 MAIL_ADRS
  1273. # VMS ONLY:
  1274. # ========
  1275. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  1276. # IN%"INTERNET_ADDRESS" scheme. The %s is replaced with the address given
  1277. # by the user. If you are using a different Internet mail transport, change
  1278. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  1279. #
  1280. #MAIL_ADRS:"IN%%""%s"""
  1281. .h2 USE_FIXED_RECORDS
  1282. # VMS ONLY:
  1283. # ========
  1284. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  1285. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  1286. # them to disk or acting on a DOWNLOADER option. If set to FALSE, the
  1287. # headers of such files will indicate that they are Stream_LF with Implied
  1288. # Carriage Control, which is incorrect, and can cause downloading software
  1289. # to get confused and unhappy. If you do set it FALSE, you can use the
  1290. # FIXED512.COM command file, which is included in this distribution, to do
  1291. # the conversion externally.
  1292. #
  1293. #USE_FIXED_RECORDS:TRUE
  1294. .h1 Keyboard Input
  1295. # These settings control the way Lynx interprets user input.
  1296. .h2 VI_KEYS_ALWAYS_ON
  1297. .h2 EMACS_KEYS_ALWAYS_ON
  1298. # Vi or Emacs movement keys, i.e. familiar hjkl or ^N^P^F^B .
  1299. # These are defaults, which can be changed in the Options Menu or .lynxrc .
  1300. #VI_KEYS_ALWAYS_ON:FALSE
  1301. #EMACS_KEYS_ALWAYS_ON:FALSE
  1302. .h2 DEFAULT_KEYPAD_MODE
  1303. # DEFAULT_KEYPAD_MODE may be set to NUMBERS_AS_ARROWS
  1304. # or LINKS_ARE_NOT_NUMBERED (the same)
  1305. # or LINKS_ARE_NUMBERED
  1306. # or LINKS_AND_FIELDS_ARE_NUMBERED
  1307. # or FIELDS_ARE_NUMBERED
  1308. # to specify whether numbers (e.g. [10]) appear next to all links,
  1309. # allowing immediate access by entering the number on the keyboard,
  1310. # or numbers on the numeric key-pad work like arrows;
  1311. # the "FIELDS" options cause form fields also to be numbered.
  1312. # This may be overridden by the keypad_mode setting in .lynxrc,
  1313. # and can also be changed via the Options Menu.
  1314. #
  1315. #DEFAULT_KEYPAD_MODE:NUMBERS_AS_ARROWS
  1316. .h2 NUMBER_LINKS_ON_LEFT
  1317. .h2 NUMBER_FIELDS_ON_LEFT
  1318. # Denotes the position for link- and field-numbers (whether it is on the left
  1319. # or right of the anchor). These are subject to DEFAULT_KEYPAD_MODE, which
  1320. # determines whether numbers are shown.
  1321. #NUMBER_LINKS_ON_LEFT:TRUE
  1322. #NUMBER_FIELDS_ON_LEFT:TRUE
  1323. .h2 DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS
  1324. # Obsolete form of DEFAULT_KEYPAD_MODE,
  1325. # numbers work like arrows or numbered links.
  1326. # Set to TRUE, indicates numbers act as arrows,
  1327. # and set to FALSE indicates numbers refer to numbered links on the page.
  1328. # LINKS_AND_FIELDS_ARE_NUMBERED cannot be set by this option because
  1329. # it allows only two values (true and false).
  1330. #
  1331. #DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  1332. .h2 CASE_SENSITIVE_ALWAYS_ON
  1333. # The default search type.
  1334. # This is a default that can be overridden by the user!
  1335. #
  1336. #CASE_SENSITIVE_ALWAYS_ON:FALSE
  1337. .h1 Auxiliary Facilities
  1338. .h2 DEFAULT_BOOKMARK_FILE
  1339. # DEFAULT_BOOKMARK_FILE is the filename used for storing personal bookmarks.
  1340. # It will be prepended by the user's home directory.
  1341. # NOTE that a file ending in .html or other suffix mapped to text/html
  1342. # should be used to ensure its treatment as HTML. The built-in default
  1343. # is lynx_bookmarks.html. On both Unix and VMS, if a subdirectory off of
  1344. # the HOME directory is desired, the path should begin with "./" (e.g.,
  1345. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  1346. # Lynx will create the bookmark file, if it does not already exist, on
  1347. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  1348. # (i.e., if the definition is just filename.html without any slashes),
  1349. # but requires a pre-existing subdirectory to create the file there.
  1350. # The user can re-define the default bookmark file, as well as a set
  1351. # of sub-bookmark files if multiple bookmark file support is enabled
  1352. # (see below), via the 'o'ptions menu, and can save those definitions
  1353. # in the .lynxrc file.
  1354. #
  1355. #DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  1356. .h2 MULTI_BOOKMARK_SUPPORT
  1357. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  1358. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  1359. # first prompt the user to select an active sub-bookmark file or the
  1360. # default bookmark file. FALSE is the default so that one (the default)
  1361. # bookmark file will be available initially. The definition here will
  1362. # override that in userdefs.h. The user can turn on multiple bookmark
  1363. # support via the 'o'ptions menu, and can save that choice as the startup
  1364. # default via the .lynxrc file. When on, the setting can be STANDARD or
  1365. # ADVANCED. If SUPPORT is set to the latter, and the user mode also is
  1366. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  1367. # which the user can enter the letter token (A - Z) of the desired bookmark,
  1368. # or '=' to get a menu of available bookmark files. The menu always is
  1369. # presented in NOVICE or INTERMEDIATE mode, or if the SUPPORT is set to
  1370. # STANDARD. No prompting or menu display occurs if only one (the startup
  1371. # default) bookmark file has been defined (define additional ones via the
  1372. # 'o'ptions menu). The startup default, however set, can be overridden on
  1373. # the command line via the -restrictions=multibook or the -anonymous or
  1374. # -validate switches.
  1375. #
  1376. #MULTI_BOOKMARK_SUPPORT:FALSE
  1377. .h2 BLOCK_MULTI_BOOKMARKS
  1378. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  1379. # be forced off, and cannot to toggled on via the 'o'ptions menu. The
  1380. # compilation setting is normally FALSE, and can be overridden here.
  1381. # It can also be set via the -restrictions=multibook or the -anonymous
  1382. # or -validate command line switches.
  1383. #
  1384. #BLOCK_MULTI_BOOKMARKS:FALSE
  1385. .h1 Interaction
  1386. .h2 DEFAULT_USER_MODE
  1387. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  1388. # NOVICE shows a three line help message at the bottom of the screen.
  1389. # INTERMEDIATE shows normal amount of help (one line).
  1390. # ADVANCED help is replaced by the URL of the current link.
  1391. #
  1392. #DEFAULT_USER_MODE:NOVICE
  1393. .h1 External Programs
  1394. .h2 DEFAULT_EDITOR
  1395. # If DEFAULT_EDITOR is defined, users may edit local documents with it
  1396. # & it will also be used for sending mail messages.
  1397. # If no editor is defined here or by the user,
  1398. # the user will not be able to edit local documents
  1399. # and a primitive line-oriented mail-input mode will be used.
  1400. #
  1401. # For sysadmins: do not define a default editor
  1402. # unless you know EVERY user will know how to use it;
  1403. # users can easily define their own editor in the Options Menu.
  1404. #
  1405. #DEFAULT_EDITOR:
  1406. .h2 SYSTEM_EDITOR
  1407. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR,
  1408. # except that it can't be changed by users.
  1409. #
  1410. #SYSTEM_EDITOR:
  1411. .h1 Proxy
  1412. .h2 HTTP_PROXY
  1413. .h2 HTTPS_PROXY
  1414. .h2 FTP_PROXY
  1415. .h2 GOPHER_PROXY
  1416. .h2 NEWSPOST_PROXY
  1417. .h2 NEWSREPLY_PROXY
  1418. .h2 NEWS_PROXY
  1419. .h2 NNTP_PROXY
  1420. .h2 SNEWSPOST_PROXY
  1421. .h2 SNEWSREPLY_PROXY
  1422. .h2 SNEWS_PROXY
  1423. .h2 WAIS_PROXY
  1424. .h2 FINGER_PROXY
  1425. .h2 CSO_PROXY
  1426. # Lynx version 2.2 and beyond supports the use of proxy servers that can act as
  1427. # firewall gateways and caching servers. They are preferable to the older
  1428. # gateway servers. Each protocol used by Lynx can be mapped separately using
  1429. # PROTOCOL_proxy environment variables (see Lynx Users Guide). If you have not set
  1430. # them externally, you can set them at run time via this configuration file.
  1431. # They will not override external settings. The no_proxy variable can be used
  1432. # to inhibit proxying to selected regions of the Web (see below). Note that on
  1433. # VMS these proxy variables are set as process logicals rather than symbols, to
  1434. # preserve lowercasing, and will outlive the Lynx image.
  1435. #
  1436. .ex 15
  1437. #http_proxy:http://some.server.dom:port/
  1438. #https_proxy:http://some.server.dom:port/
  1439. #ftp_proxy:http://some.server.dom:port/
  1440. #gopher_proxy:http://some.server.dom:port/
  1441. #news_proxy:http://some.server.dom:port/
  1442. #newspost_proxy:http://some.server.dom:port/
  1443. #newsreply_proxy:http://some.server.dom:port/
  1444. #snews_proxy:http://some.server.dom:port/
  1445. #snewspost_proxy:http://some.server.dom:port/
  1446. #snewsreply_proxy:http://some.server.dom:port/
  1447. #nntp_proxy:http://some.server.dom:port/
  1448. #wais_proxy:http://some.server.dom:port/
  1449. #finger_proxy:http://some.server.dom:port/
  1450. #cso_proxy:http://some.server.dom:port/
  1451. #no_proxy:host.domain.dom
  1452. .h2 NO_PROXY
  1453. # The no_proxy variable can be a comma-separated list of strings defining
  1454. # no-proxy zones in the DNS domain name space. If a tail substring of the
  1455. # domain-path for a host matches one of these strings, transactions with that
  1456. # node will not be proxied.
  1457. .ex
  1458. #no_proxy:domain.path1,path2
  1459. #
  1460. # A single asterisk as an entry will override all proxy variables and no
  1461. # transactions will be proxied.
  1462. .ex
  1463. #no_proxy:*
  1464. # This is the only allowed use of * in no_proxy.
  1465. #
  1466. # Warning: Note that setting 'il' as an entry in this list will block proxying
  1467. # for the .mil domain as well as the .il domain. If the entry is '.il' this
  1468. # will not happen.
  1469. .h1 External Programs
  1470. .h2 PRINTER
  1471. .h2 DOWNLOADER
  1472. .h2 UPLOADER
  1473. # PRINTER, DOWNLOADER & UPLOADER DEFINITIONS:
  1474. # Lynx has 4 pre-defined print options & 1 pre-defined download option,
  1475. # which are called up on-screen when `p' or `d' are entered;
  1476. # any number of options can be added by the user, as explained below.
  1477. # Uploaders can be defined only for UNIX with DIRED_SUPPORT:
  1478. # see the Makefile in the top directory & the header of src/LYUpload.c .
  1479. #
  1480. # For `p' pre-defined options are: `Save to local file', `E-mail the file',
  1481. # `Print to screen' and `Print to local printer attached to vt100'.
  1482. # `Print to screen' allows file transfers in the absence of alternatives
  1483. # and is often the only option allowed here for anonymous users;
  1484. # the 3rd & 4th options are not pre-defined for DOS/WINDOWS versions of Lynx.
  1485. # For `d' the pre-defined option is: `Download to local file'.
  1486. #
  1487. # To define your own print or download option use the following formats:
  1488. #
  1489. # PRINTER:<name>:<command>:<option>:<lines/page>
  1490. #
  1491. # DOWNLOADER:<name>:<command>:<option>
  1492. #
  1493. # <name> is what you will see on the print/download screen.
  1494. #
  1495. # <command> is the command your system will execute:
  1496. # the 1st %s in the command will be replaced
  1497. # by the temporary filename used by Lynx;
  1498. # a 2nd %s will be replaced by a filename of your choice,
  1499. # for which Lynx will prompt, offering a suggestion.
  1500. # On Unix, which has pipes, you may use a '|' as the first
  1501. # character of the command, and Lynx will open a pipe to
  1502. # the command.
  1503. # If the command format of your printer/downloader requires
  1504. # a different layout, you will need to use a script
  1505. # (see the last 2 download examples below).
  1506. #
  1507. # <option> TRUE : the printer/downloader will always be ENABLED,
  1508. # except that downloading is disabled when -validate is used;
  1509. # FALSE : both will be DISABLED for anonymous users
  1510. # and printing will be disabled when -noprint is used.
  1511. #
  1512. # <lines/page> (printers: optional) the number of lines/page (default 66):
  1513. # used to compute the approximate output size
  1514. # and prompt if the document is > 4 printer pages;
  1515. # it uses current screen length for the computation
  1516. # when `Print to screen' is selected.
  1517. #
  1518. # You must put the whole definition on one line;
  1519. # if you use a colon, precede it with a backslash.
  1520. #
  1521. # `Printer' can be any file-handling program you find useful,
  1522. # even if it does not physically print anything.
  1523. #
  1524. # Usually, down/up-loading involves the use of (e.g.) Ckermit or ZModem
  1525. # to transfer files to a user's local machine over a serial link,
  1526. # but download options do not have to be download-protocol programs.
  1527. #
  1528. # Printer examples:
  1529. .ex 3
  1530. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  1531. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  1532. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  1533. # If you have a very busy VMS print queue
  1534. # and Lynx deletes the temporary files before they have been queued,
  1535. # use the VMSPrint.com included in the distribution:
  1536. .ex
  1537. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  1538. # To specify a print option at run-time:
  1539. # NBB if you have ANONYMOUS users, DO NOT allow this option!
  1540. .ex
  1541. #PRINTER:Specify at run-time:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  1542. # To pass to a sophisticated file viewer: -k suppresses invocation
  1543. # of hex display mode if 8-bit or control characters are present;
  1544. # +s invokes secure mode (see ftp://space.mit.edu/pub/davis/most):
  1545. .ex
  1546. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  1547. #
  1548. # Downloader examples:
  1549. # in Kermit, -s %s is the filename sent, -a %s the filename on arrival
  1550. # (if they are given in reverse order here, the command will fail):
  1551. .ex
  1552. #DOWNLOADER:Use Kermit to download to the terminal:kermit -i -s %s -a %s:TRUE
  1553. # NB don't use -k with Most, so that binaries will invoke hexadecimal mode:
  1554. .ex
  1555. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  1556. # The following example gives wrong filenames
  1557. # (`sz' doesn't support a suggested filename parameter):
  1558. .ex
  1559. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  1560. # The following example returns correct filenames
  1561. # by using a script to make a subdirectory in /tmp,
  1562. # but may conflict with very strong security or permissions restrictions:
  1563. .ex
  1564. #DOWNLOADER:Use Zmodem to download to the local terminal:set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:TRUE
  1565. .ex 2
  1566. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1567. #UPLOADER:Use Zmodem to upload from your computer: rz %s:TRUE
  1568. #
  1569. # Note for OS/390: /* S/390 -- gil -- 1464 */
  1570. # The following is strongly recommended to undo ASCII->EBCDIC conversion.
  1571. .ex
  1572. #DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE
  1573. .h1 Interaction
  1574. .h2 NO_DOT_FILES
  1575. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1576. # be allowed to specify files beginning with a dot in reply to output filename
  1577. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1578. # will not be included in the directory browser's listings. If set FALSE, you
  1579. # can force it to be treated as TRUE via -restrictions=dotfiles. If set FALSE
  1580. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1581. # may save the preference in the RC file).
  1582. #
  1583. #NO_DOT_FILES:TRUE
  1584. .h1 Internal Behavior
  1585. .h2 NO_FROM_HEADER
  1586. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1587. # to http or https servers if the personal_mail_address has been defined via
  1588. # the 'o'ptions menu. The compilation default is TRUE (no From header is
  1589. # sent) and the default can be changed here. The default can be toggled at
  1590. # run time via the -from switch. Note that transmissions of From headers
  1591. # have become widely considered to create an invasion of privacy risk.
  1592. #
  1593. #NO_FROM_HEADER:TRUE
  1594. .h2 NO_REFERER_HEADER
  1595. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1596. # transmissions to servers. Lynx normally sends the URL of the document
  1597. # from which the link was derived, but not for startfile URLs, 'g'oto
  1598. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1599. # URLs that include the content from form submissions with method GET.
  1600. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1601. # switch.
  1602. #
  1603. #NO_REFERER_HEADER:FALSE
  1604. .h1 Internal Behavior
  1605. .h2 NO_FILE_REFERER
  1606. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1607. # transmissions to servers for links or actions derived from documents
  1608. # or forms with file URLs. This ensures that paths associated with
  1609. # the local file system are never indicated to servers, even if
  1610. # NO_REFERER_HEADER is FALSE. If set to FALSE here, it can still be
  1611. # set TRUE at run time via the -nofilereferer switch.
  1612. #
  1613. #NO_FILE_REFERER:TRUE
  1614. .h2 REFERER_WITH_QUERY
  1615. # REFERER_WITH_QUERY controls what happens when the URL in a Referer
  1616. # header to be sent would contain a query part in the form of a '?'
  1617. # character followed by one or more attribute=value pairs. Query parts
  1618. # often contain sensitive or personal information resulting from filling
  1619. # out forms, or other info that allows tracking of a user's browsing path
  1620. # through a site, an thus should not be put in a Referer header (which may
  1621. # get sent to an unrelated third-party site). On the other hand, some
  1622. # sites (improperly) rely on browsers sending Referer headers, even when
  1623. # the user is coming from a page whose URL has a query part.
  1624. #
  1625. # If REFERER_WITH_QUERY is SEND, full Referer headers will be sent
  1626. # including the query part (unless sending of Referer is disabled in
  1627. # general, see NO_REFERER_HEADER above). If REFERER_WITH_QUERY is
  1628. # PARTIAL, the Referer header will contain a partial URL, with the query
  1629. # part stripped off. This is not strictly correct, but should satisfy
  1630. # those sites that check only whether the user arrived at a page from an
  1631. # "outside" link. If REFERER_WITH_QUERY is set to DROP (or anything else
  1632. # unrecognized), the default, no Referer header is sent at all in this
  1633. # situation.
  1634. #
  1635. #REFERER_WITH_QUERY:DROP
  1636. .h1 Appearance
  1637. .h2 VERBOSE_IMAGES
  1638. # VERBOSE_IMAGES controls whether Lynx replaces [LINK], [INLINE] and [IMAGE]
  1639. # (for images without ALT) with filenames of these images.
  1640. # This can be useful in determining what images are important
  1641. # and which are mere decorations, e.g. button.gif, line.gif,
  1642. # provided the author uses meaningful names.
  1643. #
  1644. # The definition here will override the setting in userdefs.h.
  1645. #
  1646. #VERBOSE_IMAGES:TRUE
  1647. .h2 MAKE_LINKS_FOR_ALL_IMAGES
  1648. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1649. # which can be ACTIVATEd. For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1650. # strings will be links for the resolved SRC rather than just text.
  1651. # For ISMAP or other graphic links, ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1652. # will have '-' and a link labeled "[IMAGE]" for the resolved SRC appended.
  1653. # See also VERBOSE_IMAGES flag.
  1654. #
  1655. # The definition here will override that in userdefs.h
  1656. # and can be toggled via an "-image_links" command-line switch.
  1657. # The user can also use the LYK_IMAGE_TOGGLE key (default `*')
  1658. # or `Show Images' in the Form-based Options Menu.
  1659. #
  1660. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1661. .h2 MAKE_PSEUDO_ALTS_FOR_INLINES
  1662. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which don't specify
  1663. # an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1664. # i.e. they'll be treated as having ALT="".
  1665. # Otherwise (if TRUE), pseudo-ALTs will be created for inlines,
  1666. # so that they can be used as links to the SRCs.
  1667. # See also VERBOSE_IMAGES flag.
  1668. #
  1669. # The definition here will override that in userdefs.h
  1670. # and can be toggled via a "-pseudo_inlines" command-line switch.
  1671. # The user can also use the LYK_INLINE_TOGGLE key (default `[')
  1672. # or `Show Images' in the Form-based Options Menu.
  1673. #
  1674. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1675. .h2 SUBSTITUTE_UNDERSCORES
  1676. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1677. # for emphasis tags in dumps.
  1678. #
  1679. # The default defined here will override that in userdefs.h, and the user
  1680. # can toggle the default via a "-underscore" command line switch.
  1681. #
  1682. #SUBSTITUTE_UNDERSCORES:FALSE
  1683. .h1 Interaction
  1684. .h2 QUIT_DEFAULT_YES
  1685. # If QUIT_DEFAULT_YES is TRUE then when the QUIT command is entered, any
  1686. # response other than n or N will confirm. It should be FALSE if you
  1687. # prefer the more conservative action of requiring an explicit Y or y to
  1688. # confirm. The default defined here will override that in userdefs.h.
  1689. #
  1690. #QUIT_DEFAULT_YES:TRUE
  1691. .h1 HTML Parsing
  1692. .h2 HISTORICAL_COMMENTS
  1693. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1694. # behavior of treating any '>' as a terminator for comments, instead of
  1695. # seeking a valid '-->' terminator (note that white space can be present
  1696. # between the '--' and '>' in valid terminators). The compilation default
  1697. # is FALSE.
  1698. #
  1699. # The compilation default, or default defined here, can be toggled via a
  1700. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1701. #
  1702. #HISTORICAL_COMMENTS:FALSE
  1703. .h2 MINIMAL_COMMENTS
  1704. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1705. # of '--' pairs as serial comments within an overall comment element,
  1706. # and instead will seek only a '-->' terminator for the overall comment
  1707. # element. This emulates the Netscape v2.0 comment parsing bug, and
  1708. # will help Lynx cope with the use of dashes as "decorations", which
  1709. # consequently has become common in so-called "Enhanced for Netscape"
  1710. # pages. Note that setting Historical comments on will override the
  1711. # Minimal or Valid setting.
  1712. #
  1713. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1714. # set it TRUE here, until Netscape gets its comment parsing right,
  1715. # and "decorative" dashes cease to be so common.
  1716. #
  1717. # The compilation default, or default defined here, can be toggled via a
  1718. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1719. #
  1720. MINIMAL_COMMENTS:TRUE
  1721. .h2 SOFT_DQUOTES
  1722. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1723. # treating '>' as a co-terminator of a double-quoted attribute value
  1724. # and the tag which contains it, as was done in old versions of Netscape
  1725. # and Mosaic. The compilation default is FALSE.
  1726. #
  1727. # The compilation default, or default defined here, can be toggled via
  1728. # a "-soft_dquotes" command line switch.
  1729. #
  1730. #SOFT_DQUOTES:FALSE
  1731. .h2 STRIP_DOTDOT_URLS
  1732. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1733. # browsers to strip a leading "../" segment from relative URLs in HTML
  1734. # documents with a http or https base URL, if this would otherwise lead to
  1735. # an absolute URLs with those characters still in it. Such URLs are normally
  1736. # erroneous and not what is intended by page authors. Lynx will issue
  1737. # a warning message when this occurs.
  1738. #
  1739. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1740. # without taking any special actions or issuing Warnings, in most cases
  1741. # this will result in an error response from the server.
  1742. #
  1743. # Note that Lynx never tries to fix similar URLs for protocols other than
  1744. # http and https, since they are less common and may actually be valid in
  1745. # some cases.
  1746. #
  1747. #STRIP_DOTDOT_URLS:TRUE
  1748. .h1 Appearance
  1749. .h2 ENABLE_SCROLLBACK
  1750. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1751. # displaying each new screenful of text. Though less efficient for normal
  1752. # use, this allows programs that maintain a buffer of previously-displayed
  1753. # text to recognize the continuity of what has been displayed, so that
  1754. # previous screenfuls can be reviewed by whatever method the program uses
  1755. # to scroll back through previous text. For example, the PC comm program
  1756. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1757. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1758. # will have been stored on the local PC and will therefore be displayed
  1759. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1760. # speed of the comm connection (but Lynx will not know about the change,
  1761. # so you must restore the last screen before resuming with Lynx commands).
  1762. #
  1763. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1764. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1765. # some poor curses implementations).
  1766. #
  1767. # The default compilation or configuration setting can be toggled via an
  1768. # "-enable_scrollback" command line switch.
  1769. #
  1770. #ENABLE_SCROLLBACK:FALSE
  1771. .h2 SCAN_FOR_BURIED_NEWS_REFS
  1772. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1773. # of news articles for buried article and URL references and convert them
  1774. # to links. The compilation default is TRUE, but some email addresses
  1775. # enclosed in angle brackets ("<user@address>") might be converted to false
  1776. # news links, and uuencoded messages might be corrupted. The conversion is
  1777. # not done when the display is toggled to source or when 'd'ownloading, so
  1778. # uuencoded articles can be saved intact regardless of these settings.
  1779. #
  1780. # The default setting can be toggled via a "-buried_news" command line
  1781. # switch.
  1782. #
  1783. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1784. .h2 PREPEND_BASE_TO_SOURCE
  1785. # If PREPEND_BASE_TO_SOURCE is set to FALSE, Lynx will not prepend a
  1786. # Request URL comment and BASE element to text/html source files when
  1787. # they are retrieved for 'd'ownloading or passed to 'p'rint functions.
  1788. # The compilation default is TRUE. Note that this prepending is not
  1789. # done for -source dumps, unless the -base switch also was included on
  1790. # the command line, and the latter switch overrides the setting of the
  1791. # PREPEND_BASE_TO_SOURCE configuration variable.
  1792. #
  1793. #PREPEND_BASE_TO_SOURCE:TRUE
  1794. # MIME types and viewers!
  1795. #
  1796. # file extensions may be assigned to MIME types using
  1797. # the SUFFIX: definition.
  1798. #
  1799. # NOTE: It is normally preferable to define new extension mappings in
  1800. # EXTENSION_MAP files (see below) instead of here: Definitions
  1801. # here are overridden by those in EXTENSION_MAP files and even by
  1802. # some built-in defaults in src/HTInit.c. On the other hand,
  1803. # definitions here allow some more fields that are not possible
  1804. # in those files.
  1805. #
  1806. # Extension mappings have an effect mostly for ftp and local files,
  1807. # they are NOT used to determine the type of content for URLs with
  1808. # the http protocol. This is because HTTP servers already specify
  1809. # the MIME type in the Content-Type header. [It may still be
  1810. # necessary to set up an appropriate suffix for some MIME types,
  1811. # even if they are accessed only via the HTTP protocol, if the viewer
  1812. # (see below) for those MIME types requires a certain suffix for the
  1813. # temporary file passed to it.]
  1814. .h1 External Programs
  1815. .h2 GLOBAL_EXTENSION_MAP
  1816. .h2 PERSONAL_EXTENSION_MAP
  1817. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1818. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  1819. # configuration file, or in src/HTInit.c. See the example mime.types file
  1820. # in the samples subdirectory.
  1821. #
  1822. # Unix:
  1823. # ====
  1824. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  1825. # VMS:
  1826. # ===
  1827. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  1828. #
  1829. # Unix (sought in user's home directory):
  1830. #PERSONAL_EXTENSION_MAP:.mime.types
  1831. # VMS (sought in user's sys$login directory):
  1832. #PERSONAL_EXTENSION_MAP:mime.types
  1833. .h2 SUFFIX_ORDER
  1834. # With SUFFIX_ORDER the precedence of suffix mappings can be changed.
  1835. # Two kinds of settings are recognized:
  1836. #
  1837. # PRECEDENCE_OTHER or PRECEDENCE_HERE
  1838. # Suffix mappings can come from four sources: (1) SUFFIX rules
  1839. # given here - see below, (2) builtin defaults (HTInit.c), and the
  1840. # (3) GLOBAL_EXTENSION_MAP and (4) PERSONAL_EXTENSION_MAP files.
  1841. # The order of precedence is normally as listed: (1) has the
  1842. # *lowest*, (4) has the *highest* precedence if there are conflicts.
  1843. # In other words, SUFFIX mappings here are overridden by conflicting
  1844. # ones elsewhere. This default ordering is called PRECEDENCE_OTHER.
  1845. # With PRECEDENCE_HERE, the order becomes (2) (3) (4) (1), i.e.
  1846. # mappings here override others made elsewhere.
  1847. #
  1848. # NO_BUILTIN
  1849. # This disables all builtin default rules. In other words, (2) in the
  1850. # list above is skipped. Some recognition for compressed files (".gz",
  1851. # ".Z") is still hardwired. A mapping for some basic types, at least
  1852. # for text/html is probably necessary to get a usable configuration,
  1853. # it can be given in a SUFFIX rule below or an extension map file.
  1854. # Both kinds of settings can be combined, separated by comma as in
  1855. # SUFFIX_ORDER:PRECEDENCE_HERE,NO_BUILTIN
  1856. # Note: Using PRECEDENCE_HERE has only an effect on SUFFIX rules that follow.
  1857. # Moreover, if GLOBAL_EXTENSION_MAP or PERSONAL_EXTENSION_MAP directives
  1858. # are used, they should come *before* a SUFFIX_ORDER:PRECEDENCE_HERE.
  1859. #
  1860. #SUFFIX_ORDER:PRECEDENCE_OTHER
  1861. .h2 SUFFIX
  1862. # The SUFFIX definition takes the form of:
  1863. #
  1864. # SUFFIX:<file extension>:<mime type>:<encoding>:<quality>:<description>
  1865. #
  1866. # All fields after <mime type> are optional (including the separators
  1867. # if no more fields follow).
  1868. #
  1869. # <file extension> trailing end of file name. This need not strictly
  1870. # be a file extension as understood by the OS, a dot
  1871. # has to be given explicitly if it is indented, for
  1872. # some uses one could even match full filenames here.
  1873. # In addition, two forms are special: "*.*" and "*"
  1874. # refer to the defaults for otherwise unmatched files
  1875. # (the first for filenames with a dot somewhere in
  1876. # the name, the second without), these are currently
  1877. # mapped to text/plain in the (HTInit.c) builtin code.
  1878. #
  1879. # <mime type> a MIME content type. It can also contain a charset
  1880. # parameter, see example below. This should be given in
  1881. # all lowercase, use <description> for more fancy labels.
  1882. # It can be left empty if an HTTP style encoding is given.
  1883. #
  1884. # Fields in addition to the usual ones are
  1885. #
  1886. # <encoding> either a mail style trivial encoding (7bit, 8bit, binary)
  1887. # which could be used on some systems to determine how to
  1888. # open local files (currently it isn't), and is used to
  1889. # determine transfer mode for some FTP URLs; or a HTTP style
  1890. # content encoding (gzip (equivalent to x-gzip), compress)
  1891. #
  1892. # <quality> a floating point quality factor, usually between 0.0 and 1.0
  1893. # currently unused in most situations.
  1894. #
  1895. # <description> text that can appear in FTP directory listings, and in
  1896. # local directory listings (see LIST_FORMAT, code %t)
  1897. #
  1898. # For instance the following definition maps the
  1899. # extension ".gif" to the mime type "image/gif"
  1900. .ex
  1901. # SUFFIX:.gif:image/gif
  1902. #
  1903. # The following can be used if you have a convention to label
  1904. # HTML files in some character set that differs from your local
  1905. # default (see also ASSUME_LOCAL_CHARSET) with a different
  1906. # extension, here ".html-u8". It also demonstrates use of the
  1907. # description field, note extra separators for omitted fields:
  1908. .ex
  1909. # SUFFIX:.html-u8:text/html;charset=utf-8:::UTF-8 HTML
  1910. #
  1911. # The following shows how a suffix can indicate a combination
  1912. # of MIME type and compression method. (The ending ".ps.gz" should
  1913. # already be recognized by default; the form below could be used on
  1914. # systems that don't allow more than one dot in filenames.)
  1915. .ex
  1916. # SUFFIX:.ps_gz:application/postscript:gzip::gzip'd Postscript
  1917. #
  1918. # The following is meant to match a full filename (but can match
  1919. # any file ending in "core", so be careful):
  1920. .ex
  1921. # SUFFIX:core:application/x-core-file
  1922. #
  1923. # file suffixes are case INsensitive!
  1924. #
  1925. # The suffix definitions listed here in the default lynx.cfg file are
  1926. # similar to those normally established via src/HTInit.c. You can change
  1927. # the defaults by editing that file or disable them, or via the global or
  1928. # personal mime.types files at run time (except for the additional fields).
  1929. # Assignments made here are overridden by entries in those files
  1930. # unless preceded with a SUFFIX_ORDER:PRECEDENCE_HERE.
  1931. #
  1932. .ex 29
  1933. #SUFFIX:.ps:application/postscript
  1934. #SUFFIX:.eps:application/postscript
  1935. #SUFFIX:.ai:application/postscript
  1936. #SUFFIX:.rtf:application/rtf
  1937. #SUFFIX:.snd:audio/basic
  1938. #SUFFIX:.gif:image/gif
  1939. #SUFFIX:.rgb:image/x-rgb
  1940. #SUFFIX:.png:image/png
  1941. #SUFFIX:.xbm:image/x-xbitmap
  1942. #SUFFIX:.tiff:image/tiff
  1943. #SUFFIX:.jpg:image/jpeg
  1944. #SUFFIX:.jpeg:image/jpeg
  1945. #SUFFIX:.mpg:video/mpeg
  1946. #SUFFIX:.mpeg:video/mpeg
  1947. #SUFFIX:.mov:video/quicktime
  1948. #SUFFIX:.hqx:application/mac-binhex40
  1949. #SUFFIX:.bin:application/octet-stream
  1950. #SUFFIX:.exe:application/octet-stream
  1951. #SUFFIX:.tar:application/x-tar
  1952. #SUFFIX:.tgz:application/x-tar:gzip
  1953. #SUFFIX:.Z::compress
  1954. #SUFFIX:.gz::gzip
  1955. #SUFFIX:.bz2:application/x-bzip2
  1956. #SUFFIX:.zip:application/zip
  1957. #SUFFIX:.lzh:application/x-lzh
  1958. #SUFFIX:.lha:application/x-lha
  1959. #SUFFIX:.dms:application/x-dms
  1960. #SUFFIX:.html:text/html
  1961. #SUFFIX:.txt:text/plain
  1962. .h2 XLOADIMAGE_COMMAND
  1963. # VMS:
  1964. # ====
  1965. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  1966. # for viewing image content types when the DECW$DISPLAY logical
  1967. # is set. Make it the foreign command for your system's X image
  1968. # viewer (commonly, "xv"). It can be anything that will handle GIF,
  1969. # TIFF and other popular image formats. Freeware ports of xv for
  1970. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  1971. # http://www.openvms.digital.com/cd/XV310A/ subdirectories. You
  1972. # must also have a "%s" for the filename. The default is defined
  1973. # in userdefs.h and can be overridden here, or via the global or
  1974. # personal mailcap files (see below).
  1975. #
  1976. # Make this empty (but not commented out) if you don't have such a viewer or
  1977. # want to disable the built-in default viewer mappings for image types.
  1978. #
  1979. #XLOADIMAGE_COMMAND:xv %s
  1980. # Unix:
  1981. # =====
  1982. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  1983. # viewing image content types when the DISPLAY environment variable
  1984. # is set. Make it the full path and name of the xli (also know as
  1985. # xloadimage or xview) command, or other image viewer. It can be
  1986. # anything that will handle GIF, TIFF and other popular image formats
  1987. # (xli does). The freeware distribution of xli is available in the
  1988. # ftp://ftp.x.org/contrib subdirectory. The shareware, xv, also is
  1989. # suitable. You must also have a "%s" for the filename; "&" for
  1990. # background is optional. The default is defined in userdefs.h and can be
  1991. # overridden here, or via the global or personal mailcap files (see below).
  1992. # Make this empty (but not commented out) if you don't have such a
  1993. # viewer or don't want to disable the built-in default viewer
  1994. # mappings for image types.
  1995. # Note that open is used as the default for NeXT, instead of the
  1996. # XLOADIMAGE_COMMAND definition.
  1997. # If you use xli, you may want to add the -quiet flag.
  1998. #
  1999. #XLOADIMAGE_COMMAND:xli %s &
  2000. .h2 VIEWER
  2001. # MIME types may be assigned to external viewers using
  2002. # the VIEWER definition.
  2003. #
  2004. # NOTE: if you do not define a viewer to a new MIME type
  2005. # that you assigned above then it will be saved to
  2006. # disk by default.
  2007. # It is normally preferable to define new viewers in
  2008. # MAILCAP files (see below) instead of here: Definitions
  2009. # here are overridden by those in MAILCAP files and even
  2010. # by some built-in defaults in src/HTInit.c.
  2011. #
  2012. # The VIEWER definition takes the form of:
  2013. # VIEWER:<mime type>:<viewer command>[:environment]
  2014. # where -mime type is the MIME content type of the file
  2015. # -viewer command is a system command that can be
  2016. # used to display the file where %s is replaced
  2017. # within the command with the physical filename
  2018. # (e.g., "ghostview %s" becomes "ghostview /tmp/temppsfile")
  2019. # -environment is optional. The only valid keywords
  2020. # are currently XWINDOWS and NON_XWINDOWS. If the XWINDOWS
  2021. # environment is specified then the viewer will only be
  2022. # defined when the user has the environment variable DISPLAY
  2023. # (DECW$DISPLAY on VMS) defined. If the NON_XWINDOWS environment
  2024. # is specified the specified viewer will only be defined when the
  2025. # user DOES NOT have the environment variable DISPLAY defined.
  2026. # examples:
  2027. # VIEWER:image/gif:xli %s:XWINDOWS
  2028. # VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  2029. # VIEWER:application/start-elm:elm
  2030. #
  2031. # You must put the whole definition on one line.
  2032. #
  2033. # If you must use a colon in the viewer command, precede it with a backslash!
  2034. #
  2035. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  2036. # file are among those established via src/HTInit.c. For the image types,
  2037. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  2038. # (open is used for NeXT). You can change any of these defaults via the
  2039. # global or personal mailcap files. Assignments made here will be overridden
  2040. # by entries in those files.
  2041. #
  2042. .ex 7
  2043. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  2044. #VIEWER:image/gif:xli %s&:XWINDOWS
  2045. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  2046. #VIEWER:image/png:xli %s&:XWINDOWS
  2047. #VIEWER:image/tiff:xli %s&:XWINDOWS
  2048. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  2049. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  2050. .h2 GLOBAL_MAILCAP
  2051. .h2 PERSONAL_MAILCAP
  2052. # The global and personal MAILCAP files allow you to specify external
  2053. # viewers to be spawned when Lynx encounters different MIME types, which
  2054. # will override any of the suffix maps in this (lynx.cfg) configuration
  2055. # file, or in src/HTInit.c. See http://www.internic.net/rfc/rfc1524.txt
  2056. # and the example mailcap file in the samples subdirectory.
  2057. #
  2058. # Unix:
  2059. # ====
  2060. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  2061. # VMS:
  2062. # ===
  2063. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  2064. #
  2065. # Sought in user's home (Unix) or sys$login (VMS) directory.
  2066. #PERSONAL_MAILCAP:.mailcap
  2067. .h2 PREFERRED_MEDIA_TYPES
  2068. # When doing a GET, lynx lists the MIME types which it knows how to present
  2069. # (the "Accept:" string). Depending on your system configuration, the
  2070. # mime.types or other data given by the GLOBAL_EXTENSION_MAP may include many
  2071. # entries that lynx really does not handle. Use this option to select one
  2072. # of the built-in subsets of the MIME types that lynx could list in the
  2073. # Accept.
  2074. #
  2075. # Values for this option are keywords:
  2076. # INTERNAL lynx's built-in types for internal conversions
  2077. # CONFIGFILE adds lynx.cfg
  2078. # USER adds PERSONAL_EXTENSION_MAP settings
  2079. # SYSTEM adds GLOBAL_EXTENSION_MAP settings
  2080. # ALL adds lynx's built-in types for external conversions
  2081. #
  2082. #PREFERRED_MEDIA_TYPES:internal
  2083. .h2 PREFERRED_ENCODING
  2084. # When doing a GET, lynx tells what types of compressed data it can decompress
  2085. # (the "Accept-Encoding:" string). This is determined by compiled-in support
  2086. # for decompression or external decompression programs.
  2087. #
  2088. # Values for this option are keywords:
  2089. # NONE Do not request compressed data
  2090. # GZIP For gzip
  2091. # COMPRESS For compress
  2092. # BZIP2 For bzip2
  2093. # ALL All of the above.
  2094. #PREFERRED_ENCODING:all
  2095. .h1 Keyboard Input
  2096. .h2 KEYBOARD_LAYOUT
  2097. # If your terminal (or terminal emulator, or operating system) does not
  2098. # support 8-bit input (at all or in easy way), you can use Lynx to
  2099. # generate 8-bit characters from 7-bit ones output by terminal.
  2100. #
  2101. # Currently available keyboard layouts:
  2102. # ROT13'd keyboard layout
  2103. # JCUKEN Cyrillic, for AT 101-key kbd
  2104. # YAWERTY Cyrillic, for DEC LK201 kbd
  2105. #
  2106. # This feature is ifdef'd with EXP_KEYBOARD_LAYOUT.
  2107. #KEYBOARD_LAYOUT:JCUKEN Cyrillic, for AT 101-key kbd
  2108. .h2 KEYMAP
  2109. # Key remapping definitions!
  2110. #
  2111. # You may redefine the keymapping of any function in Lynx by
  2112. # using the KEYMAP option. The basic form of KEYMAP is:
  2113. # KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  2114. # (See below for an extended format.)
  2115. #
  2116. # You must map upper and lowercase keys separately.
  2117. #
  2118. # A representative list of functions mapped to their default keys is
  2119. # provided below. All of the mappings are commented out by default
  2120. # since they just repeat the default mappings, except for TOGGLE_HELP
  2121. # (see below). See LYKeymap.c for the complete key mapping. Use the
  2122. # 'K'eymap command when running Lynx for a list of the _current_ keymappings.
  2123. #
  2124. # (However, in contrast to the output of 'K' command,
  2125. # 'H'elp (lynx_help/*.html and lynx_help/keystrokes/*.html files) shows
  2126. # the default mapping unless you change that files manually,
  2127. # so you are responsible for possible deviations
  2128. # when you are changing any KEYMAP below).
  2129. .nf
  2130. #
  2131. # Keystrokes for special keys are represented by the following codes:
  2132. # Up Arrow: 0x100
  2133. # Down Arrow: 0x101
  2134. # Right Arrow: 0x102
  2135. # Left Arrow: 0x103
  2136. # Page Down: 0x104
  2137. # Page Up: 0x105
  2138. # Keypad Home: 0x106 (see also 0x10A)
  2139. # Keypad End: 0x107 (see also 0x10B)
  2140. # Function key 1: 0x108
  2141. # vt100 Help Key: 0x108
  2142. # vt100 Do Key: 0x109
  2143. # vt100 Find Key: 0x10A (The key with label "Home" may be treated as Find)
  2144. # vt100 Select Key: 0x10B (The key with label "End" may be treated as Select)
  2145. # Insert Key: 0x10C
  2146. # Remove (Del) Key: 0x10D
  2147. # ignored key 0x10E (reserved for internal use, DO_NOTHING)
  2148. # Back (Shift) Tab: 0x10F
  2149. # reserved code 0x11D (reserved for internal use with -use_mouse)
  2150. # reserved code 0x290 (reserved for internal use with -use_mouse)
  2151. #
  2152. .fi
  2153. # Other codes not listed above may be available for additional keys,
  2154. # depending on operating system and libraries used to compile Lynx.
  2155. # On some systems, if compiled with recent versions of slang or ncurses
  2156. # (if macro USE_KEYMAPS was in effect during compilation), an additional
  2157. # level of key mapping is supported via an external ".lynx-keymaps" file.
  2158. # This file, if found in the home directory at startup, will always be
  2159. # used under those conditions; see lynx-keymaps distributed in the samples
  2160. # subdirectory for further explanation. Note that mapping via
  2161. # .lynx-keymaps, if applicable, is a step that logically comes before the
  2162. # mappings done here: KEYMAP maps the result of that step (which still
  2163. # represents a key) to a function (which represents an action that Lynx
  2164. # should perform).
  2165. #
  2166. .nf
  2167. #KEYMAP:0x5C:SOURCE # Toggle source viewing mode (show HTML source)
  2168. #KEYMAP:^R:RELOAD # Reload the current document and redisplay
  2169. #KEYMAP:q:QUIT # Ask the user to quit
  2170. #KEYMAP:Q:ABORT # Quit without verification
  2171. #KEYMAP:0x20:NEXT_PAGE # Move down to next page
  2172. #KEYMAP:-:PREV_PAGE # Move up to previous page
  2173. #KEYMAP:^P:UP_TWO # Move display up two lines
  2174. #KEYMAP:0x10C:UP_TWO # Function key Insert - Move display up two lines
  2175. #KEYMAP:^N:DOWN_TWO # Move display down two lines
  2176. #KEYMAP:0x10D:DOWN_TWO # Function key Remove - Move display down two lines
  2177. #KEYMAP:(:UP_HALF # Move display up half a page
  2178. #KEYMAP:):DOWN_HALF # Move display down half a page
  2179. #KEYMAP:^W:REFRESH # Refresh the screen
  2180. #KEYMAP:^A:HOME # Go to top of current document
  2181. #KEYMAP:0x106:HOME # Keypad Home - Go to top of current document
  2182. #KEYMAP:0x10A:HOME # Function key Find - Go to top of current document
  2183. #KEYMAP:^E:END # Go to bottom of current document
  2184. #KEYMAP:0x107:END # Keypad End - Go to bottom of current document
  2185. #KEYMAP:0x10B:END # Function key Select - Go to bottom of current document
  2186. #KEYMAP:0x100:PREV_LINK # Move to the previous link or page
  2187. #KEYMAP:0x101:NEXT_LINK # Move to the next link or page
  2188. #KEYMAP:0x10F:FASTBACKW_LINK # Back Tab - Move to previous link or text area
  2189. #KEYMAP:^I:FASTFORW_LINK # Tab key - Move always to next link or text area
  2190. #KEYMAP:^:FIRST_LINK # Move to the first link on line
  2191. #KEYMAP:$:LAST_LINK # Move to the last link on line
  2192. #KEYMAP:<:UP_LINK # Move to the link above
  2193. #KEYMAP:>:DOWN_LINK # Move to the link below
  2194. #KEYMAP:0x7F:HISTORY # Show the history list
  2195. #KEYMAP:0x08:HISTORY # Show the history list
  2196. #KEYMAP:0x103:PREV_DOC # Return to the previous document in history stack
  2197. #KEYMAP:0x102:ACTIVATE # Select the current link
  2198. #KEYMAP:0x109:ACTIVATE # Function key Do - Select the current link
  2199. #KEYMAP:g:GOTO # Goto a random URL
  2200. #KEYMAP:G:ECGOTO # Edit the current document's URL and go to it
  2201. #KEYMAP:H:HELP # Show default help screen
  2202. #KEYMAP:0x108:DWIMHELP # Function key Help - Show a help screen
  2203. #KEYMAP:i:INDEX # Show default index
  2204. #*** Edit FORM_LINK_* messages in LYMessages_en.h if you change NOCACHE ***
  2205. #KEYMAP:x:NOCACHE # Force submission of form or link with no-cache
  2206. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  2207. #KEYMAP:z:INTERRUPT # Interrupt network transmission
  2208. #KEYMAP:m:MAIN_MENU # Return to the main menu
  2209. #KEYMAP:o:OPTIONS # Show the options menu
  2210. #KEYMAP:i:INDEX_SEARCH # Search a server based index
  2211. #KEYMAP:/:WHEREIS # Find a string within the current document
  2212. #KEYMAP:n:NEXT # Find next occurrence of string within document
  2213. #KEYMAP:c:COMMENT # Comment to the author of the current document
  2214. #KEYMAP:C:CHDIR # Change current directory
  2215. #KEYMAP:e:EDIT # Edit current document or form's textarea (call: ^Ve)
  2216. #KEYMAP:E:ELGOTO # Edit the current link's URL or ACTION and go to it
  2217. #KEYMAP:=:INFO # Show info about current document
  2218. #KEYMAP:p:PRINT # Show print options
  2219. #KEYMAP:a:ADD_BOOKMARK # Add current document to bookmark list
  2220. #KEYMAP:v:VIEW_BOOKMARK # View the bookmark list
  2221. #KEYMAP:V:VLINKS # List links visited during the current Lynx session
  2222. #KEYMAP:!:SHELL # Spawn default shell
  2223. #KEYMAP:d:DOWNLOAD # Download current link
  2224. #KEYMAP:j:JUMP # Jump to a predefined target
  2225. #KEYMAP:k:KEYMAP # Display the current key map
  2226. #KEYMAP:l:LIST # List the references (links) in the current document
  2227. #KEYMAP:#:TOOLBAR # Go to the Toolbar or Banner in the current document
  2228. #KEYMAP:^T:TRACE_TOGGLE # Toggle detailed tracing for debugging
  2229. #KEYMAP:;:TRACE_LOG # View trace log if available for the current session
  2230. #KEYMAP:*:IMAGE_TOGGLE # Toggle inclusion of links for all images
  2231. #KEYMAP:[:INLINE_TOGGLE # Toggle pseudo-ALTs for inlines with no ALT string
  2232. #KEYMAP:]:HEAD # Send a HEAD request for current document or link
  2233. #*** Must be compiled with USE_EXTERNALS to enable EXTERN_LINK, EXTERN_PAGE ***
  2234. #KEYMAP:,:EXTERN_PAGE # Run external program with current page
  2235. #KEYMAP:.:EXTERN_LINK # Run external program with current link
  2236. #*** Escaping from text input fields with ^V is independent from this: ***
  2237. #KEYMAP:^V:SWITCH_DTD # Toggle between SortaSGML and TagSoup HTML parsing
  2238. #KEYMAP:0x00:DO_NOTHING # Does nothing (ignore this key)
  2239. #KEYMAP:0x10E:DO_NOTHING # Does nothing (ignore this key)
  2240. #KEYMAP:{:SHIFT_LEFT # shift the screen left
  2241. #KEYMAP:}:SHIFT_RIGHT # shift the screen right
  2242. #KEYMAP:|:LINEWRAP_TOGGLE # toggle linewrap on/off, for shift-commands
  2243. #KEYMAP:~:NESTED_TABLES # toggle nested-tables parsing on/off
  2244. #
  2245. .fi
  2246. # In addition to the bindings available by default, the following functions
  2247. # are not directly mapped to any keys by default, although some of them may
  2248. # be mapped in specific line-editor bindings (effective while in text input
  2249. # fields):
  2250. .nf
  2251. #
  2252. #KEYMAP:???:RIGHT_LINK # Move to the link to the right
  2253. #KEYMAP:???:LEFT_LINK # Move to the link to the left
  2254. #KEYMAP:???:LPOS_PREV_LINK # Like PREV_LINK, last column pos if form input
  2255. #KEYMAP:???:LPOS_NEXT_LINK # Like NEXT_LINK, last column pos if form input
  2256. #*** Only useful in form text fields , need PASS or prefixing with ^V: ***
  2257. #KEYMAP:???:DWIMHELP # Display help page that may depend on context
  2258. #KEYMAP:???:DWIMEDIT # Use external editor for context-dependent purpose
  2259. #*** Only useful in a form textarea, need PASS or prefixing with ^V: ***
  2260. #KEYMAP:???:EDITTEXTAREA # use external editor to edit a form textarea
  2261. #KEYMAP:???:GROWTEXTAREA # Add some blank lines to bottom of textarea
  2262. #KEYMAP:???:INSERTFILE # Insert file into a textarea (just above cursor)
  2263. #*** Only useful with dired support and OK_INSTALL: ***
  2264. #KEYMAP:???:INSTALL # install (i.e. copy) local files to new location
  2265. .fi
  2266. #
  2267. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  2268. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  2269. # LYMessages_en.h Otherwise, it will be NOVICE_LINE_TWO.
  2270. #
  2271. #KEYMAP:O:TOGGLE_HELP # Show other commands in the novice help menu
  2272. #
  2273. # KEYMAP lines can have one or two additional fields. The extended format is
  2274. # KEYMAP:<KEYSTROKE>:[<MAIN LYNX FUNCTION>]:<OTHER BINDING>[:<SELECT>]
  2275. #
  2276. # If the additional field OTHER BINDING specifies DIRED, then the function is
  2277. # mapped in the override table used only in DIRED mode. This is only valid
  2278. # if lynx was compiled with dired support and OK_OVERRIDE defined. A
  2279. # MAIN LYNX FUNCTION must be given (it should of course be one that makes
  2280. # sense in Dired mode), and SELECT is meaningless. Default built-in override
  2281. # mappings are
  2282. #
  2283. #KEYMAP:^U:PREV_DOC:DIRED # Return to the previous document
  2284. #KEYMAP:.:TAG_LINK:DIRED # Tag a file or directory for later action
  2285. #KEYMAP:c:CREATE:DIRED # Create a new file or directory
  2286. #KEYMAP:C:CHDIR:DIRED # change current directory
  2287. #KEYMAP:f:DIRED_MENU:DIRED # Display a menu of file operations
  2288. #KEYMAP:m:MODIFY:DIRED # Modify name or location of a file or directory
  2289. #KEYMAP:r:REMOVE:DIRED # Remove files or directories
  2290. #KEYMAP:t:TAG_LINK:DIRED # Tag a file or directory for later action
  2291. #KEYMAP:u:UPLOAD:DIRED # Show menu of "Upload Options"
  2292. #
  2293. # If the OTHER BINDING field does not specify DIRED, then it is taken as a
  2294. # line-editor action. It is possible to keep the MAIN LYNX FUNCTION field
  2295. # empty in that case, for changing only the line-editing behavior.
  2296. # If alternative line edit styles are compiled in, and modifying a key's
  2297. # line-editor binding on a per style basis is possible, then SELECT can be
  2298. # used to specify which styles are affected. By default, or if SELECT is
  2299. # 0, all line edit styles are affected. If SELECT is a positive integer
  2300. # number, only the binding for the numbered style is changed (numbering
  2301. # is in the order in which styles are shown in the Options Menu, starting
  2302. # with 1 for the Default style). If SELECT is negative (-n), all styles
  2303. # except n are affected.
  2304. .nf
  2305. #
  2306. # NOP # Do Nothing
  2307. # ABORT # Input cancelled
  2308. #
  2309. # BOL # Go to begin of line
  2310. # EOL # Go to end of line
  2311. # FORW # Cursor forwards
  2312. # FORW_RL # Cursor forwards or right link
  2313. # BACK # Cursor backwards
  2314. # FORWW # Word forward
  2315. # BACKW # Word back
  2316. # BACK_LL # Cursor backwards or left link
  2317. #
  2318. # DELN # Delete next/curr char
  2319. # DELP # Delete prev char
  2320. # DELNW # Delete next word
  2321. # DELPW # Delete prev word
  2322. # DELBL # Delete back to BOL
  2323. # DELEL # Delete thru EOL
  2324. # ERASE # Erase the line
  2325. # LOWER # Lower case the line
  2326. # UPPER # Upper case the line
  2327. #
  2328. # LKCMD # In fields: Invoke key command prompt (default for ^V)
  2329. # PASS # In fields: handle as non-lineedit key; in prompts: ignore
  2330. #
  2331. .fi
  2332. # Modify following key (prefixing only works within line-editing, edit actions
  2333. # of some resulting prefixed keys are built-in, see Line Editor help pages)
  2334. # SETM1 # Set modifier 1 flag (default for ^X - key prefix)
  2335. # SETM2 # Set modifier 2 flag (another key prefix - same effect)
  2336. #
  2337. # May not always be compiled in:
  2338. .nf
  2339. #
  2340. # TPOS # Transpose characters
  2341. # SETMARK # emacs-like set-mark-command
  2342. # XPMARK # emacs-like exchange-point-and-mark
  2343. # KILLREG # emacs-like kill-region
  2344. # YANK # emacs-like yank
  2345. # SWMAP # Switch input keymap
  2346. # PASTE # ClipBoard to Lynx - Windows Extension
  2347. #
  2348. .fi
  2349. # May work differently from expected if not bound to their expected keys:
  2350. .nf
  2351. #
  2352. # CHAR # Insert printable char (default for all ASCII printable)
  2353. # ENTER # Input complete, return char/lynxkeycode (for RETURN/ENTER)
  2354. # TAB # Input complete, return TAB (for ASCII TAB char ^I)
  2355. #
  2356. .fi
  2357. # Internal use, probably not useful for binding, listed for completeness:
  2358. .nf
  2359. #
  2360. # UNMOD # Fall back to no-modifier command
  2361. # AIX # Hex 97
  2362. # C1CHAR # Insert C1 char if printable
  2363. #
  2364. .fi
  2365. # If OTHER BINDING specifies PASS, then if the key is pressed in a text input
  2366. # field it is passed by the built-in line-editor to normal KEYMAP handling,
  2367. # i.e. this flag acts like an implied ^V escape (always overrides line-editor
  2368. # behavior of the key). For example,
  2369. #KEYMAP:0x10C:UP_TWO:PASS # Function key Insert - Move display up two lines
  2370. #
  2371. # Other examples (repeating built-in bindings)
  2372. #KEYMAP:^V::LKCMD # set (only) line-edit action for ^V
  2373. #KEYMAP:^V:SWITCH_DTD:LKCMD # set main lynxaction and line-edit action for ^V
  2374. #KEYMAP:^U::ERASE:1 # set line-edit binding for ^U, for default style
  2375. #KEYMAP:^[::SETM2:3 # use escape key as modifier - works only sometimes
  2376. .h1 External Programs
  2377. # These settings control the ability of Lynx to invoke various programs for
  2378. # the user.
  2379. .h2 CSWING_PATH
  2380. # VMS ONLY:
  2381. #==========
  2382. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  2383. # use as the Directory/File Manager (sources, objects, or executables are
  2384. # available from ftp://narnia.memst.edu/). CSWING_PATH should be defined
  2385. # here or in userdefs.h to your foreign command for CSwing, with any
  2386. # regulatory switches you want included. If not defined, or defined as
  2387. # a zero-length string ("") or "none" (case-insensitive), the support
  2388. # will be disabled. It will also be disabled if the -nobrowse or
  2389. # -selective switches are used, or if the file_url restriction is set.
  2390. #
  2391. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  2392. # CSwing, normally with the current default directory as an argument to
  2393. # position the user on that node of the directory tree. However, if the
  2394. # current document is a local directory listing, or a local file and not
  2395. # one of the temporary menu or list files, the associated directory will
  2396. # be passed as an argument, to position the user on that node of the tree.
  2397. #
  2398. #CSWING_PATH:swing
  2399. .h1 Internal Behavior
  2400. .h2 AUTO_UNCACHE_DIRLISTS
  2401. # AUTO_UNCACHE_DIRLISTS determines when local file directory listings are
  2402. # automatically regenerated (by re-reading the actual directory from disk).
  2403. # Set the value to 0 to avoid automatic regeneration in most cases. This is
  2404. # useful for browsing large directories that take some time to read and format.
  2405. # An update can still always be forced with the RELOAD key, and specific DIRED
  2406. # actions may cause a refresh anyway. Set the value to 1 to force regeneration
  2407. # after commands that usually change the directory or some files and would make
  2408. # the displayed info stale, like EDIT and REMOVE. Set it to 2 (the default) or
  2409. # greater to force regeneration even after leaving the displayed directory
  2410. # listing by some action that usually causes no change, like GOTO or entering a
  2411. # file with the ACTIVATE key. This option is only honored in DIRED mode (i.e.
  2412. # when lynx is compiled with DIRED_SUPPORT and it is not disabled with a
  2413. # -restriction). Local directories displayed without DIRED normally act as if
  2414. # AUTO_UNCACHE_DIRLISTS:0 was in effect.
  2415. #
  2416. #AUTO_UNCACHE_DIRLISTS:2
  2417. .h1 Appearance
  2418. .h2 LIST_FORMAT
  2419. # Unix ONLY:
  2420. #===========
  2421. # LIST_FORMAT defines the display for local files when Lynx has been
  2422. # compiled with LONG_LIST defined in the Makefile. The default is set
  2423. # in userdefs.h, normally to "ls -l" format, and can be changed here
  2424. # by uncommenting the indicated lines, or adding a definition with a
  2425. # modified parameter list.
  2426. #
  2427. # The percent items in the list are interpreted as follows:
  2428. .nf
  2429. #
  2430. # %p Unix-style permission bits
  2431. # %l link count
  2432. # %o owner of file
  2433. # %g group of file
  2434. # %d date of last modification
  2435. # %a anchor pointing to file or directory
  2436. # %A as above but don't show symbolic links
  2437. # %t type of file (description derived from MIME type)
  2438. # %T MIME type as known by Lynx (from mime.types or default)
  2439. # %k size of file in Kilobytes
  2440. # %K as above but omit size for directories
  2441. # %s size of file in bytes
  2442. #
  2443. .fi
  2444. # Anything between the percent and the letter is passed on to sprintf.
  2445. # A double percent yields a literal percent on output. Other characters
  2446. # are passed through literally.
  2447. #
  2448. # If you want only the filename:
  2449. #
  2450. .ex
  2451. #LIST_FORMAT: %a
  2452. #
  2453. # If you want a brief output:
  2454. #
  2455. .ex
  2456. #LIST_FORMAT: %4K %-12.12d %a
  2457. #
  2458. # If you want the Unix "ls -l" format:
  2459. #
  2460. .ex
  2461. #LIST_FORMAT: %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  2462. .h1 External Programs
  2463. .h2 DIRED_MENU
  2464. # Unix ONLY:
  2465. #===========
  2466. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  2467. # The behavior of the default configuration given here is much the same
  2468. # as it was when this menu was hard-coded but these items can now be adjusted
  2469. # to suit local needs. In particular, many of the LYNXDIRED actions can be
  2470. # replaced with lynxexec, lynxprog and lynxcgi script references.
  2471. #
  2472. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  2473. # definitions, so a complete set must then be defined here.
  2474. #
  2475. # Each line consists of the following fields:
  2476. .nf
  2477. #
  2478. # DIRED_MENU:type:suffix:link text:extra text:action
  2479. #
  2480. # type: TAG: list only when one or more files are tagged
  2481. # FILE: list only when the current selection is a regular file
  2482. # DIR: list only when the current selection is a directory
  2483. # LINK: list only when the current selection is a symbolic link
  2484. #
  2485. # suffix: list only if the current selection ends in this pattern
  2486. #
  2487. # link text: the displayed text of the link
  2488. #
  2489. # extra text: the text displayed following the link
  2490. #
  2491. # action: the URL to be followed upon selection
  2492. #
  2493. # link text and action are scanned for % sequences that are expanded
  2494. # at display time as follows:
  2495. #
  2496. # %p path of current selection
  2497. # %f filename (last component) of current selection
  2498. # %t tagged list (full paths)
  2499. # %l list of tagged file names
  2500. # %d the current directory
  2501. #
  2502. .fi
  2503. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  2504. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  2505. # Following depends on OK_INSTALL
  2506. #DIRED_MENU:FILE::Install:selected file to new location:LYNXDIRED://INSTALL_SRC%p
  2507. #DIRED_MENU:DIR::Install:selected directory to new location:LYNXDIRED://INSTALL_SRC%p
  2508. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2509. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2510. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  2511. # Following depends on OK_PERMIT
  2512. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2513. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2514. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  2515. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  2516. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  2517. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2518. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2519. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2520. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  2521. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  2522. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2523. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  2524. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  2525. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2526. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2527. # Following depends on !ARCHIVE_ONLY
  2528. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  2529. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  2530. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  2531. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  2532. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  2533. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2534. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  2535. # Following depends on OK_TAR
  2536. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  2537. # Following depends on OK_TAR and OK_GZIP
  2538. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  2539. # Following depends on OK_ZIP
  2540. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  2541. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  2542. # Following depends on OK_GZIP
  2543. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  2544. # Following depends on OK_ZIP
  2545. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  2546. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  2547. # Following depends on OK_INSTALL
  2548. #DIRED_MENU:TAG::Install tagged files into another directory.::LYNXDIRED://INSTALL_SRC%00
  2549. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  2550. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  2551. .h1 Internal Behavior
  2552. .h2 NONRESTARTING_SIGWINCH
  2553. # Some systems only:
  2554. #===================
  2555. # Lynx tries to detect window size changes with a signal handler for
  2556. # SIGWINCH if supported. If NONRESTARTING_SIGWINCH is set to TRUE,
  2557. # and the sigaction interface is available on the system, the handler
  2558. # is installed as 'non-restarting'. On some systems (depending on the
  2559. # library used for handling keyboard input, e.g. ncurses), this allows
  2560. # more immediate notification of window size change events. If the value
  2561. # is set to FALSE, the signal() interface is used; this normally makes
  2562. # the handler 'restarting', with the effect that lynx can react to size
  2563. # changes only after some key is pressed. The value can also be set to
  2564. # XWINDOWS; this is equivalent to TRUE when the user has the environment
  2565. # variable DISPLAY defined *at program start*, and equivalent to FALSE
  2566. # otherwise. The non-restarting behavior can also be changed to TRUE
  2567. # or FALSE with the -nonrestarting_sigwinch switch, which overrides the
  2568. # value in this file.
  2569. #
  2570. # Note that Lynx never re-parses document text purely as a result of a
  2571. # window size change, so text lines may appear truncated after narrowing
  2572. # the window, until the document is reloaded with ^R or a similar key
  2573. # or until a different text is loaded.
  2574. #
  2575. # The default is FALSE since there is a possibility that non-restarting
  2576. # interrupts may be mis-interpreted as fatal input errors in some
  2577. # configurations (leading to an abrupt program exit), and since this
  2578. # option is useful mostly only for users running Lynx under xterm or a
  2579. # similar X terminal emulator. On systems where the preconditions don't
  2580. # apply this option is ignored.
  2581. #
  2582. #NONRESTARTING_SIGWINCH:FALSE
  2583. .h2 NO_FORCED_CORE_DUMP
  2584. # Unix ONLY:
  2585. #===========
  2586. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  2587. # core dumps via abort() calls on fatal errors or assert()
  2588. # calls to check potentially fatal errors. The compilation
  2589. # default normally is FALSE, and can be changed here. The
  2590. # compilation or configuration default can be toggled via
  2591. # the -core command line switch.
  2592. # Note that this setting cannot be used to prevent core dumps
  2593. # with certainty. If this is important, means provided by the
  2594. # operating system or kernel should be used.
  2595. #
  2596. #NO_FORCED_CORE_DUMP:FALSE
  2597. .h1 Appearance
  2598. .h2 COLOR
  2599. # COLORS (only available if compiled with SVr4 curses or slang)
  2600. #
  2601. # The line must be of the form:
  2602. #
  2603. # COLOR:Integer:Foreground:Background
  2604. .nf
  2605. #
  2606. # The Integer value is interpreted as follows:
  2607. # 0 - normal - normal text
  2608. # 1 - bold - hyperlinks, see also BOLD_* options above
  2609. # 2 - reverse - statusline
  2610. # 3 - bold + reverse (not used)
  2611. # 4 - underline - text emphasis (EM, I, B tags etc.)
  2612. # 5 - bold + underline - hyperlinks within text emphasis
  2613. # 6 - reverse + underline - currently selected hyperlink
  2614. # 7 - reverse + underline + bold - WHEREIS search hits
  2615. #
  2616. # Each Foreground and Background value must be one of:
  2617. # black red green brown
  2618. # blue magenta cyan lightgray
  2619. # gray brightred brightgreen yellow
  2620. # brightblue brightmagenta brightcyan white
  2621. .fi
  2622. # or (if you have configured using --enable-default-colors with ncurses or
  2623. # slang), "default" may be used for foreground and background.
  2624. #
  2625. # Note that in most cases a white background is really "lightgray", since
  2626. # terminals generally do not implement bright backgrounds.
  2627. #
  2628. # Uncomment and change any of the compilation defaults.
  2629. #
  2630. #COLOR:0:black:white
  2631. #COLOR:1:blue:white
  2632. #COLOR:2:yellow:blue
  2633. #COLOR:3:green:white
  2634. #COLOR:4:magenta:white
  2635. #COLOR:5:blue:white
  2636. #COLOR:6:red:white
  2637. COLOR:6:brightred:black
  2638. #COLOR:7:magenta:cyan
  2639. .h2 COLOR_STYLE
  2640. # Also known as "lss" (lynx style-sheet), the color-style file assigns color
  2641. # combination to tags and combinations of tags. Normally a non-empty value
  2642. # is compiled into lynx, and the user can override that using the -lss
  2643. # command-line option. The configure script allows one to compile in an
  2644. # empty string. If lynx finds no value for this setting, it simulates the
  2645. # non-color-style assignments using the COLOR settings.
  2646. #
  2647. # If neither the command-line "-lss" or this COLOR_STYLE setting are given,
  2648. # lynx tries the environment variables "LYNX_LSS" and "lynx_lss". If neither
  2649. # is set, lynx uses the compiled-in value (which as noted, may be empty).
  2650. #
  2651. #COLOR_STYLE: lynx.lss
  2652. .h2 NESTED_TABLES
  2653. # This is an experimental feature for improving table layout.
  2654. # It is enabled by default when the COLOR_STYLE configuration is used,
  2655. # and false otherwise.
  2656. #
  2657. #NESTED_TABLES: true
  2658. .h2 ASSUMED_COLOR
  2659. # If built with a library that recognizes default colors (usually ncurses or
  2660. # slang), and if the corresponding option is compiled into lynx, lynx
  2661. # initializes it to assume the corresponding foreground and background colors.
  2662. # Default colors are those that the terminal (emulator) itself is initialized
  2663. # to. For instance, you might have an xterm running with black text on a white
  2664. # background, and want lynx to display colored text on the white background,
  2665. # but leave the possibility of using the same configuration to draw colored
  2666. # text on a different xterm, this time using its background set to black.
  2667. #
  2668. # If built with conventional SVr3/SVr4 curses, tells lynx to use color pair 0
  2669. # when the given colors match this setting. That gives a similar effect,
  2670. # though not as flexible. You will get the best results by setting the
  2671. # terminal's default colors to match the prevailing text and background colors
  2672. # that you have setup with lynx, and then alter the ASSUMED_COLOR setting to
  2673. # match that. If you do not alter the ASSUMED_COLOR setting, curses assumes
  2674. # color pair 0's background is black, which implies that its foreground (text)
  2675. # is white.
  2676. #
  2677. # The first value given is the foreground, the second is the background.
  2678. #ASSUMED_COLOR:default:default
  2679. .h2 DEFAULT_COLORS
  2680. # If built with a library that recognizes default colors (usually ncurses or
  2681. # slang), and if the corresponding option is compiled into lynx, lynx
  2682. # initializes it to assume the corresponding foreground and background colors.
  2683. # Default colors are those that the terminal (emulator) itself is initialized
  2684. # to.
  2685. #
  2686. # Use this feature to disable the default-colors feature at runtime.
  2687. # This is useful for constructing scripts which use the non-color-style
  2688. # scheme, e.g., the oldlynx script.
  2689. #
  2690. # This should precede ASSUMED_COLOR settings.
  2691. #DEFAULT_COLORS:true
  2692. .h1 External Programs
  2693. .h2 EXTERNAL
  2694. # External application support. This feature allows Lynx to pass a given
  2695. # URL to an external program. It was written for three reasons.
  2696. #
  2697. # 1) To overcome the deficiency of Lynx_386 not supporting ftp and news.
  2698. # External programs can be used instead by passing the URL.
  2699. #
  2700. # 2) To allow for background transfers in multitasking systems.
  2701. # I use wget for http and ftp transfers via the external command.
  2702. #
  2703. # 3) To allow for new URLs to be used through Lynx.
  2704. # URLs can be made up such as mymail: to spawn desired applications
  2705. # via the external command.
  2706. #
  2707. # Restrictions can be imposed using -restrictions=externals at the Lynx command
  2708. # line. This will disallow all EXTERNAL lines in lynx.cfg that have FALSE in
  2709. # the 3rd field (not counting the name of the setting). TRUE lines will still
  2710. # function.
  2711. #
  2712. # The lynx.cfg line is as follows:
  2713. #
  2714. # EXTERNAL:<url>:<command> %s:<norestriction>:<allow_for_activate>
  2715. #
  2716. # <url> Any given URL. This can be normal ones like ftp or http or it
  2717. # can be one made up like mymail.
  2718. #
  2719. # <command> The command to run with %s being the URL that will be passed.
  2720. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  2721. # downloading http and ftp files in the background. In Win95 I use
  2722. # "start ncftp %s" to spawn ncftp in a new window.
  2723. #
  2724. # <norestriction> This complements the -restrictions=externals feature to allow
  2725. # for certain externals to be enabled while restricting others. TRUE means
  2726. # a command will still function while Lynx is restricted. WB
  2727. #
  2728. # <allow_for_activate> Setting this to TRUE allows the use of this command not
  2729. # only when EXTERN key is pressed, but also when ACTIVATE command is invoked
  2730. # (i.e., activating the link with the given prefix will be equivalent to
  2731. # pressing EXTERN key on it). If this component of the line is absent, then
  2732. # FALSE is assumed.
  2733. #
  2734. # For invoking the command use the EXTERN_LINK or EXTERN_PAGE key. By default
  2735. # EXTERN_LINK is mapped to '.', and EXTERN_PAGE to ',' (if the feature is
  2736. # enabled), see the KEYMAP section above.
  2737. #
  2738. #EXTERNAL:ftp:wget %s &:TRUE
  2739. .h1 Internal Behavior
  2740. .h2 RULE
  2741. .h2 RULESFILE
  2742. # CERN-style rules, EXPERIMENTAL - URL-specific rules
  2743. #
  2744. # A CERN-style rules file can be given with RULESFILE. Use the system's
  2745. # native format for filenames, on Unix '~' is also recognized. If a filename
  2746. # is given, the file must exist.
  2747. #
  2748. # Single CERN-style rules can be specified with RULES.
  2749. #
  2750. # Both options can be repeated, rules accumulate in the order
  2751. # given, they will be applied in first-to-last order. See cernrules.txt
  2752. # in the samples subdirectory for further explanation.
  2753. #
  2754. # Examples:
  2755. .ex 5
  2756. # RULESFILE:/etc/lynx/cernrules
  2757. # RULE:Fail gopher:* # reject by scheme
  2758. # RULE:Pass finger://*@localhost/ # allow this,
  2759. # RULE:Fail finger:* # but not others
  2760. # RULE:Redirect http://old.server/* http://new.server/*
  2761. .h1 Appearance
  2762. .h2 PRETTYSRC
  2763. # Enable pretty source view
  2764. #PRETTYSRC:FALSE
  2765. .h2 PRETTYSRC_SPEC
  2766. # Pretty source view settings. These settings are in effect when -prettysrc
  2767. # is specified.
  2768. # The following lexical elements (lexemes) are recognized:
  2769. # comment, tag, attribute, attribute value, generalized angle brackets (
  2770. # '<' '>' '</' ), entity, hyperlink destination, entire file, bad sequence,
  2771. # bad tag, bad attribute, sgml special.
  2772. # The following group of option tells which styles will surround each
  2773. # lexeme. The syntax of option in this group is:
  2774. #PRETTYSRC_SPEC:<LEXEMENAME>:<TAGSPEC>:<TAGSPEC>
  2775. # The first <TAGSPEC> specifies what tags will precede lexemes of that class
  2776. # in the internal html markup. The second - what will be placed (internally)
  2777. # after it.
  2778. # TAGSPEC has the following syntax:
  2779. # <TAGSPEC>:= [ (<TAGOPEN> | <TAGCLOSE>) <SPACE>+ ]*
  2780. # <TAGOPEN>:= tagname[.classname]
  2781. # <TAGCLOSE>:= !tagname
  2782. #
  2783. # The following table gives correspondence between lexeme and lexeme name
  2784. .nf
  2785. # Lexeme LEXEMENAME FURTHER EXPLANATION
  2786. # =========================================================
  2787. # comment COMM
  2788. # tag TAG recognized tag name only
  2789. # attribute ATTRIB
  2790. # attribute value ATTRVAL
  2791. # generalized brackets ABRACKET < > </
  2792. # entity ENTITY
  2793. # hyperlink destination HREF
  2794. # entire file ENTIRE
  2795. # bad sequence BADSEQ bad entity or invalid construct at text
  2796. # level.
  2797. # bad tag BADTAG Unrecognized construct in generalized
  2798. # brackets.
  2799. # bad attribute BADATTR The name of the attribute unknown to lynx
  2800. # of the tag known to lynx. (i.e.,
  2801. # attributes of unknown tags will have
  2802. # markup of ATTRIB)
  2803. # sgml special SGMLSPECIAL doctype, sgmlelt, sgmlele,
  2804. # sgmlattlist, marked section, identifier
  2805. .fi
  2806. #
  2807. # Notes:
  2808. #
  2809. # 1) The markup for HTML_ENTIRE will be emitted only once - it will surround
  2810. # entire file source.
  2811. #
  2812. # 2) The tagnames specified by TAGSPEC should be valid html tag names.
  2813. #
  2814. # 3) If the tag/class combination given by TAGOPEN is not assigned a color
  2815. # style in lss file (for lynx compiled with lss support), that tag/class
  2816. # combination will be emitted anyway during internal html markup. Such
  2817. # combinations will be also reported to the trace log.
  2818. #
  2819. # 4) Lexeme 'tag' means tag name only
  2820. #
  2821. # 5) Angle brackets of html specials won't be surrounded by markup for ABRACKET
  2822. #
  2823. .ex
  2824. # PRETTYSRC_SPEC:COMM:B I:!I !B
  2825. # HTML comments will be surrounded by <b><i> and </i></b> in the
  2826. # internal html markup
  2827. .ex
  2828. # PRETTYSRC_SPEC:ATTRVAL: span.attrval : !span
  2829. # Values of the attributes will be surrounded by the
  2830. # <SPAN class=attrval> </SPAN>
  2831. .ex
  2832. # PRETTYSRC_SPEC:HREF::
  2833. # No special html markup will surround hyperlink destinations (
  2834. # this means that only default color style for hrefs will be applied
  2835. # to them)
  2836. #
  2837. # For lynx compiled with lss support, the following settings are the default:
  2838. #PRETTYSRC_SPEC:COMM:span.htmlsrc_comment:!span
  2839. #PRETTYSRC_SPEC:TAG:span.htmlsrc_tag:!span
  2840. #PRETTYSRC_SPEC:ATTRIB:span.htmlsrc_attrib:!span
  2841. #PRETTYSRC_SPEC:ATTRVAL:span.htmlsrc_attrval:!span
  2842. #PRETTYSRC_SPEC:ABRACKET:span.htmlsrc_abracket:!span
  2843. #PRETTYSRC_SPEC:ENTITY:span.htmlsrc_entity:!span
  2844. #PRETTYSRC_SPEC:HREF:span.htmlsrc_href:!span
  2845. #PRETTYSRC_SPEC:ENTIRE:span.htmlsrc_entire:!span
  2846. #PRETTYSRC_SPEC:BADSEQ:span.htmlsrc_badseq:!span
  2847. #PRETTYSRC_SPEC:BADTAG:span.htmlsrc_badtag:!span
  2848. #PRETTYSRC_SPEC:BADATTR:span.htmlsrc_badattr:!span
  2849. #PRETTYSRC_SPEC:SGMLSPECIAL:span.htmlsrc_sgmlspecial:!span
  2850. # the styles corresponding to them are present in sample .lss file.
  2851. # For lynx compiled without lss support, the following settings are the default:
  2852. #PRETTYSRC_SPEC:COMM:b:!b
  2853. #PRETTYSRC_SPEC:TAG:b:!b
  2854. #PRETTYSRC_SPEC:ATTRIB:b:!b
  2855. #PRETTYSRC_SPEC:ATTRVAL::
  2856. #PRETTYSRC_SPEC:ABRACKET:b:!b
  2857. #PRETTYSRC_SPEC:ENTITY:b:!b
  2858. #PRETTYSRC_SPEC:HREF::
  2859. #PRETTYSRC_SPEC:ENTIRE::
  2860. #PRETTYSRC_SPEC:BADSEQ:b:!b
  2861. #PRETTYSRC_SPEC:BADTAG::
  2862. #PRETTYSRC_SPEC:BADATTR::
  2863. #PRETTYSRC_SPEC:SGMLSPECIAL:b:!b
  2864. .h2 HTMLSRC_ATTRNAME_XFORM
  2865. .h2 HTMLSRC_TAGNAME_XFORM
  2866. # Options HTMLSRC_TAGNAME_XFORM and HTMLSRC_ATTRNAME_XFORM control the way the
  2867. # names of tags and names of attributes are transformed correspondingly.
  2868. # Possible values: 0 - lowercase, 1 - leave as is, 2 - uppercase.
  2869. #HTMLSRC_TAGNAME_XFORM:2
  2870. #HTMLSRC_ATTRNAME_XFORM:2
  2871. .h2 PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING
  2872. # PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING - pretty source view setting
  2873. # If "keypad mode" in 'O'ptions screen is "Links are numbered" or
  2874. # "Links and form fields are numbered", and PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING is
  2875. # TRUE, then links won't be numbered in psrc view and will be numbered
  2876. # otherwise. Set this setting to TRUE if you prefer numbered links, but wish
  2877. # to get valid HTML source when printing or mailing when in psrc view.
  2878. # Default is FALSE.
  2879. #PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:FALSE
  2880. .h1 HTML Parsing
  2881. .h2 FORCE_EMPTY_HREFLESS_A
  2882. # FORCE_EMPTY_HREFLESS_A - HTML parsing
  2883. # This option mirrors command-line option with the same name. Default is
  2884. # FALSE. If true, then any 'A' element without HREF will be closed
  2885. # immediately. This is useful when viewing documentation produced by broken
  2886. # translator that doesn't emit balanced A elements. If lynx was compiled with
  2887. # color styles, setting this option to TRUE will make lynx screen much more
  2888. # reasonable (otherwise all text will probably have color corresponding to the
  2889. # A element).
  2890. #
  2891. #FORCE_EMPTY_HREFLESS_A:FALSE
  2892. .h2 HIDDEN_LINK_MARKER
  2893. # HIDDEN_LINK_MARKER - HTML parsing
  2894. # This option defines the string that will be used as title of hidden link (a
  2895. # link that otherwise will have no label associated with it). Using an empty
  2896. # string as the value will cause lynx to behave in the old way - hidden links
  2897. # will be handled according to other settings (mostly the parameter of
  2898. # --hiddenlinks command-line switch). If the value is non-empty string, hidden
  2899. # link becomes non-hidden so it won't be handled as hidden link, e.g., listed
  2900. # among hidden links on 'l'isting page.
  2901. #
  2902. #HIDDEN_LINK_MARKER:
  2903. .h1 Appearance
  2904. .h2 JUSTIFY
  2905. # JUSTIFY - Appearance
  2906. # This option mirrors command-line option with same name. Default is TRUE. If
  2907. # true, most of text (except headers and like this) will be justified. This
  2908. # has no influence on CJK text rendering.
  2909. #
  2910. # This option is only available if Lynx was compiled with EXP_JUSTIFY_ELTS.
  2911. #
  2912. #JUSTIFY:FALSE
  2913. .h2 JUSTIFY_MAX_VOID_PERCENT
  2914. # JUSTIFY_MAX_VOID_PERCENT - Appearance
  2915. # This option controls the maximum allowed value for ratio (in percents) of
  2916. # 'the number of spaces to spread across the line to justify it' to
  2917. # 'max line size for current style and nesting' when justification is allowed.
  2918. # When that ratio exceeds the value specified, that particular line won't be
  2919. # justified. I.e. the value 28 for this setting will mean maximum value for
  2920. # that ratio is 0.28.
  2921. #
  2922. #JUSTIFY_MAX_VOID_PERCENT:35
  2923. .h1 Interaction
  2924. .h2 TEXTFIELDS_NEED_ACTIVATION
  2925. # If TEXTFIELDS_NEED_ACTIVATION is set to TRUE, and lynx was compiled with
  2926. # TEXTFIELDS_MAY_NEED_ACTIVATION defined, then text input form fields need
  2927. # to be activated (by pressing the Enter key or similar) before the user
  2928. # can enter or modify input. By default, input fields become automatically
  2929. # activated when selected. Requiring explicit activation can be desired for
  2930. # users who use alphanumeric keys for navigation (or other keys that have
  2931. # special meaning in the line editor - ' ', 'b', INS, DEL, etc), and don't
  2932. # want to 'get stuck' in form fields. Instead of setting the option here,
  2933. # explicit activation can also be requested with the -tna command line
  2934. # option.
  2935. #
  2936. #TEXTFIELDS_NEED_ACTIVATION:FALSE
  2937. .h2 LEFTARROW_IN_TEXTFIELD_PROMPT
  2938. # LEFTARROW_IN_TEXTFIELD_PROMPT
  2939. # This option controls what happens when a Left Arrow key is pressed while
  2940. # in the first position of an active text input field. By default, Lynx
  2941. # asks for confirmation ("Do you want to go back to the previous document?")
  2942. # only if the contents of the fields have been changed since entering it.
  2943. # If set to TRUE, the confirmation prompt is always issued.
  2944. #
  2945. #LEFTARROW_IN_TEXTFIELD_PROMPT:FALSE
  2946. .h1 Timeouts
  2947. .h2 CONNECT_TIMEOUT
  2948. # Specifies (in seconds) connect timeout. Default value is rather huge.
  2949. #CONNECT_TIMEOUT:18000
  2950. .h1 Internal Behavior
  2951. # These settings control internal lynx behavior - the way it interacts with the
  2952. # operating system and Internet. Modifying these settings will not change
  2953. # the rendition of documents that you browse with lynx, but can change various
  2954. # delays and resource utilization.
  2955. .h2 FTP_PASSIVE
  2956. # Set FTP_PASSIVE to TRUE if you want to use passive mode ftp transfers.
  2957. # You might have to do this if you're behind a restrictive firewall.
  2958. #FTP_PASSIVE:TRUE
  2959. .h2 ENABLE_LYNXRC
  2960. # The forms-based O'ptions menu shows a (!) marker beside items which are not
  2961. # saved to ~/.lynxrc -- the reason for disabling some of these items is that
  2962. # they are likely to cause confusion if they are read from the .lynxrc file for
  2963. # each session. However, they can be enabled or disabled using the
  2964. # ENABLE_LYNXRC settings. The default (compiled-in) settings are shown below.
  2965. # The second column is the name by which a setting is saved to .lynxrc (which
  2966. # is chosen where possible to correspond with lynx.cfg). Use "OFF" to disable
  2967. # writing a setting, "ON" to enable it. Settings are read from .lynxrc after
  2968. # the corresponding data from lynx.cfg, so they override lynx.cfg, which is
  2969. # probably what users expect.
  2970. #
  2971. # Note that a few settings (Cookies and Show images) are comprised of more than
  2972. # one lynx.cfg setting.
  2973. .nf
  2974. #ENABLE_LYNXRC:accept_all_cookies:ON
  2975. #ENABLE_LYNXRC:assume_charset:OFF
  2976. #ENABLE_LYNXRC:bookmark_file:ON
  2977. #ENABLE_LYNXRC:case_sensitive_searching:ON
  2978. #ENABLE_LYNXRC:character_set:ON
  2979. #ENABLE_LYNXRC:cookie_accept_domains:ON
  2980. #ENABLE_LYNXRC:cookie_file:ON
  2981. #ENABLE_LYNXRC:cookie_loose_invalid_domains:ON
  2982. #ENABLE_LYNXRC:cookie_query_invalid_domains:ON
  2983. #ENABLE_LYNXRC:cookie_reject_domains:ON
  2984. #ENABLE_LYNXRC:cookie_strict_invalid_domains:ON
  2985. #ENABLE_LYNXRC:dir_list_style:ON
  2986. #ENABLE_LYNXRC:display:OFF
  2987. #ENABLE_LYNXRC:emacs_keys:ON
  2988. #ENABLE_LYNXRC:file_editor:ON
  2989. #ENABLE_LYNXRC:file_sorting_method:ON
  2990. #ENABLE_LYNXRC:force_cookie_prompt:OFF
  2991. #ENABLE_LYNXRC:force_ssl_prompt:OFF
  2992. #ENABLE_LYNXRC:kblayout:ON
  2993. #ENABLE_LYNXRC:keypad_mode:ON
  2994. #ENABLE_LYNXRC:lineedit_mode:ON
  2995. #ENABLE_LYNXRC:locale_charset:ON
  2996. #ENABLE_LYNXRC:make_links_for_all_images:OFF
  2997. #ENABLE_LYNXRC:make_pseudo_alts_for_inlines:OFF
  2998. #ENABLE_LYNXRC:multi_bookmark:ON
  2999. #ENABLE_LYNXRC:personal_mail_address:ON
  3000. #ENABLE_LYNXRC:preferred_charset:ON
  3001. #ENABLE_LYNXRC:preferred_encoding:OFF
  3002. #ENABLE_LYNXRC:preferred_language:ON
  3003. #ENABLE_LYNXRC:preferred_media_types:OFF
  3004. #ENABLE_LYNXRC:raw_mode:OFF
  3005. #ENABLE_LYNXRC:run_all_execution_links:ON
  3006. #ENABLE_LYNXRC:run_execution_links_on_local_files:ON
  3007. #ENABLE_LYNXRC:scrollbar:OFF
  3008. #ENABLE_LYNXRC:select_popups:ON
  3009. #ENABLE_LYNXRC:set_cookies:OFF
  3010. #ENABLE_LYNXRC:show_color:ON
  3011. #ENABLE_LYNXRC:show_cursor:ON
  3012. #ENABLE_LYNXRC:show_dotfiles:ON
  3013. #ENABLE_LYNXRC:show_kb_rate:OFF
  3014. #ENABLE_LYNXRC:sub_bookmarks:ON
  3015. #ENABLE_LYNXRC:tagsoup:OFF
  3016. #ENABLE_LYNXRC:underline_links:OFF
  3017. #ENABLE_LYNXRC:user_mode:ON
  3018. #ENABLE_LYNXRC:useragent:OFF
  3019. #ENABLE_LYNXRC:verbose_images:ON
  3020. #ENABLE_LYNXRC:vi_keys:ON
  3021. #ENABLE_LYNXRC:visited_links:ON
  3022. .fi
  3023. .h1 External Programs
  3024. # Any of the compiled-in pathnames of external programs can be overridden
  3025. # by specifying the corresponding xxx_PATH variable. If the variable is
  3026. # given as an empty string, lynx will not use the program. For a few cases,
  3027. # there are internal functions (such as mkdir) which can be used instead.
  3028. #BZIP2_PATH:
  3029. #CHMOD_PATH:
  3030. #COMPRESS_PATH:
  3031. #COPY_PATH:
  3032. #GZIP_PATH:
  3033. #INFLATE_PATH:
  3034. #INSTALL_PATH:
  3035. #MKDIR_PATH:
  3036. #MV_PATH:
  3037. #RLOGIN_PATH:
  3038. #RMDIR_PATH:
  3039. #RM_PATH:
  3040. #SETFONT_PATH:
  3041. #TAR_PATH:
  3042. #TELNET_PATH:
  3043. #TN3270_PATH:
  3044. #TOUCH_PATH:
  3045. #UNCOMPRESS_PATH:
  3046. #UNZIP_PATH:
  3047. #UUDECODE_PATH:
  3048. #ZCAT_PATH:
  3049. #ZIP_PATH:
  3050. .h1 Interaction
  3051. .h2 FORCE_SSL_PROMPT
  3052. # If FORCE_SSL_PROMPT is set to "yes", then questionable conditions, such as
  3053. # self-signed certificates will be ignored. If set to "no", these will be
  3054. # reported, but not attempted. The default "prompt" permits the user to make
  3055. # this choice on a case-by-case basis.
  3056. #
  3057. #FORCE_SSL_PROMPT:PROMPT
  3058. .h2 FORCE_COOKIE_PROMPT
  3059. # If FORCE_COOKIE_PROMPT is set to "yes", then questionable conditions, such as
  3060. # cookies with invalid syntax will be ignored. If set to "no", these will be
  3061. # reported, but not attempted. The default "prompt" permits the user to make
  3062. # this choice on a case-by-case basis.
  3063. #
  3064. #FORCE_COOKIE_PROMPT:PROMPT
  3065. .h1 Appearance
  3066. .h2 SCREEN_SIZE
  3067. # For win32, allow the console window to be resized to the given values. This
  3068. # requires PDCurses 2.5. The values given are width,height.
  3069. #SCREEN_SIZE:80,24
  3070. .h2 NO_MARGINS
  3071. # Disable left/right margins in the default style sheet.
  3072. # This is the same as the command-line "-nomargins" option.
  3073. #NO_MARGINS:FALSE
  3074. .h2 NO_TITLE
  3075. # Disable title and blank line from top of page.
  3076. # This is the same as the command-line "-notitle" option.
  3077. #NO_TITLE:FALSE
  3078. .h1 External Programs
  3079. .h2 SYSLOG_REQUESTED_URLS
  3080. # Log the requested URLs using the syslog interface.
  3081. #SYSLOG_REQUESTED_URLS:TRUE
  3082. .h2 SYSLOG_TEXT
  3083. # Add the given text to calls made to syslog, to distinguish Lynx from other
  3084. # applications which use that interface.
  3085. #SYSLOG_TEXT: