lynx.cfg 156 KB

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