lynx.cfg 158 KB

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