lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev extending the syntax of 'include' command in lynx.cfg


From: Vlad Harchev
Subject: lynx-dev extending the syntax of 'include' command in lynx.cfg
Date: Wed, 14 Apr 1999 03:24:16 +0500 (SAMST)

 IMO it would be good if the 'include' command had the list of settings that
can be specified in included file. So admins can specify 
'include:~/.lynx/colors:COLOR' 
'include:~/.lynx/keymap:KEYMAP'
'include:~/.lynx/viewers:VIEWER'

 safely - and be sure that no critical options were altered by those files.
The suggested syntax is 
include:<filename>[:[<OPTNAME>* ] ]
more samples:
include:~/.lynx/rc:COLOR KEYMAP VIEWER SUFFIX
include:/usr/local/lib/lynx-cfg.part: #all settings can be changed

 More brave approach:
 Make ~/.lynxrc to be included by lynx.cfg (it's syntax must be changed to one
of lynx.cfg), with a list of options it can contain in the 'include' line. As
I understand, with  LP's patch lynx.cfg can be edited at runtime and reloaded
 in the same session - such feature as editing options specified in .lynxrc
 at runtime is not the major privelege (or feature) of .lynxrc. So, a huge
section of code ~32KB can be removed when using this approach. 
 In present state, users with paranoid sysadm were to live with colors s/he
specify. 

 Best regards,
  -Vlad


reply via email to

[Prev in Thread] Current Thread [Next in Thread]