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

2019-11-15 Thread Larry Hynes via Lynx-dev
Karen Lewellen  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
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev


Re: [Lynx-dev] Cannot open: https://m.medicalxpress.com/page2.html

2019-08-14 Thread Larry Hynes via Lynx-dev
Alejandro Lieber  wrote:
> In various versions of Lynx, I cannot open the following address:
> 
> https://m.medicalxpress.com/page2.html
> 
> Lynx transforms this address adding ./ into:
> 
> https://m.medicalxpress.com/./page2.html
> 
> and the page cannot be found.
> 
> The same happens in:
> 
> https://m.phys.org/page2.html
> 
> https://m.techxplore.com/page2.html
> 
> This problem does not occur in Links and eLinks text browsers.

The address

https://m.medicalxpress.com/page2.html

opens fine for me in lynx here. A link on that page, titled "load
more", appears to add the './', leading to a 404. So I'm not sure
your problem is anything to do with anything lynx is doing.

___
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev