lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Lynx-Editor problem


From: Doug Kaufman
Subject: Re: lynx-dev Lynx-Editor problem
Date: Tue, 11 Aug 1998 18:08:43 -0700 (PDT)

On Tue, 11 Aug 1998, Philip Webb wrote:

> (1) call up Lynx with a script, ie an executable file called eg `mylynx',
> which contains the single line `lynx -cfg=~/mypath';
> (2) add to  .cshrc  the line `setenv LYNX_CFG_FILE ~/mypath';
> in both cases: no quotes, substitute appropriately for `mypath'.

Just to clarify - Do either (1) or (2); you don't need both. The first
shell script, as written, will ignore any other command line parameters.
Shell scripts should generally not be written in csh or tcsh, although
this simple one should work. Try the following shell script instead:

#!/bin/sh
lynx -cfg=$HOME/mypath $*

The environment variable to override the built-in lynx.cfg path is
actually LYNX_CFG. So you could do:

setenv LYNX_CFG ~/mypath

The first choice is more secure. Note that "mypath" is the name of your
configuration file, relative to your home directory. You might want to
call it "lynx.cfg" or "mylynx.cfg" instead.
                                Doug

__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden

reply via email to

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