Re: changing lynx default homepage from the comand line?

Karen Lewellen <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
I appreciate all of the suggestions, even if not the strict command line 
only  option I desired.
i do not know where the lynx.cfg file is located.  I imagine this is wise 
to prevent accidents with  individuals  making changes.
if no strict command line only solution exists, I will  ask the admin to 
make the change for me.



On Fri, 15 Nov 2019, Tim Chase wrote:

> Karen,
>
> While you might not be able to modify the system-wide lynx.cfg file,
> you can copy the system one to your local directory and then use a
> function/alias to start lynx with that lynx.cfg file instead of the
> system one (see my previous message).  I do this all the time to get
> the functionality that I want while still only needing to type "lynx"
> at the command-prompt.
>
> -tim
>
> On 2019-11-15 18:42, Karen Lewellen wrote:
>> I cannot edit my lynx.cfg file, which is why I seek a command line
>> method. I am going to try the www_home method, I must not have
>> followed as I got locked into a >
>> window with no change.
>>
>>
>>
>> On Fri, 15 Nov 2019, Larry Hynes wrote:
>>
>>> Karen Lewellen <[email protected]> wrote:
>>>> I am seeking a command line method  to override the site  listed
>>>> as the homepage for lynx regularly,  i. e. the page that appears
>>>> if i just entre lynx.
>>>> The idea is  to change this  default homepage, not just simply
>>>> visit a new site  once.
>>>> does that make more sense?
>>>
>>> If you can set the WWW_HOME environment variable, lynx will use
>>> that as the startfile.
>>>
>>> If you can edit your lynx.cfg file, you can specify the startfile
>>> in that, as in:
>>>
>>> STARTFILE:http://thesitethatyouwant.com
>>>
>>> I suppose a command line method would be something like entering
>>>
>>> WWW_HOME='http://thesitethatyouwant.com'; lynx
>>>
>>> on the command line or exporting the WWW_HOME environment
>>> variable from your .profile or .bash_profile i.e. ensuring that
>>> the line
>>>
>>> export WWW_HOME='http://thesitethatyouwant.com'
>>>
>>> is in your .profile (or wherever bash looks for environment
>>> variables), in which case when you launch lynx it will go to that
>>> site
>>>
>>> There is also an option to launch lynx with the '-book' switch
>>> which will use the bookmark page (if set) as the startfile. (See
>>> 'man lynx' for details.)
>>>
>>>
>>
>> _______________________________________________
>> Lynx-dev mailing list
>> [email protected]
>> https://lists.nongnu.org/mailman/listinfo/lynx-dev
>
>
>

_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.