Re: /etc/lynx.cfg -> ~/.lynxrc
On Thu, Apr 01, 1999 at 01:16:30PM +0200, homega@vlc.servicom.es wrote:
> Hamish Moffatt dixit:
>
> > You could alias lynx to "/usr/bin/lynx -cfg=$HOME/.lynxrc" in .bash_profile.
>
> That sounds like it, thanks.
>
> > 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?
>
> uh... how do I do that?
Make a script called /usr/local/bin/lynx, which just says
#!/bin/sh
/usr/bin/lynx -cfg=$HOME/.lynxrc
Edit /etc/profile to have /usr/local/bin first; my /etc/profile says:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
> > I'm curious: what's the advantage of per-user lynx configuration files?
> Different start default URL's, aliases, external applications, ... also
> different colour configuration ... in general, as any other program's user
> config file. Does it sound like nonsense?
No not at all -- I was just curious. Sounds sensible enough.
Hamish
--
Hamish Moffatt VK3TYD hamish@debian.org, hamish@rising.com.au
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
Reply to: