On Thu, Apr 01, 1999 at 12:10:44PM +0200, [EMAIL PROTECTED] wrote: > Hamish Moffatt dixit: > > On Wed, Mar 31, 1999 at 05:14:57PM +0200, [EMAIL PROTECTED] wrote: > > > how can I have lynx to use each home user's configuration file instead of > > > /etc/lynx.cfg? I mean to default to: > > > > > > $ lynx -cfg=~/.lynxrc > > > > Any files in /etc/skel get copied to any new user accounts you create, > > but not for existing users. > > I see, but even if I create a /etc/skel/.lynxrc file and then a new user, > lynx won't even try to read the new user's ~/.lynxrc, but /etc/lynx.cfg. > I did create a ~/.lynxrc from /etc/lynx.cfg (and even removed the latest), > but lynx does default to /etc ... > > P.S. `lynx -cfg=~/.lynxrc' on the command line works fine, how can I add > that to the .bash_profile?
You could alias lynx to "/usr/bin/lynx -cfg=$HOME/.lynxrc" in .bash_profile. It might be better to rename lynx and create a wrapper script which adds this option. Perhaps you could add the wrapper script in /usr/local/bin and put that before /usr/bin in the users' path? I'm curious: what's the advantage of per-user lynx configuration files? Hamish -- Hamish Moffatt VK3TYD [EMAIL PROTECTED], [EMAIL PROTECTED] Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5 CCs of replies from mailing lists are welcome. http://hamish.home.ml.org