lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] changing lynx default homepage from the comand line?


From: Larry Hynes
Subject: Re: [Lynx-dev] changing lynx default homepage from the comand line?
Date: Fri, 15 Nov 2019 23:26:29 +0000

Karen Lewellen <address@hidden> 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.)



reply via email to

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