Re: changing lynx default homepage from the comand line?

Thorsten Glaser <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
Karen Lewellen dixit:

> 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.

Then don’t enter just lynx ;-)

Otherwise, you can override the homepage in the lynx.cfg file.
Since you’re on a shellserver you cannot do that system-wide,
but you can copy the system-wide one into your home directory
and use the -cfg=FILENAME option to point to the changed file.

> The idea is  to change this  default homepage, not just simply visit a
> new site once.

But the “homepage” is only shown if you don’t tell it a site
to visit when starting.

It’s probably easiest to make an alias, something like this:

echo "alias 'ly=lynx http://the.new.start.site'" >>~/.bashrc

Then typing ly will start lynx with the other start page.
Easier than doing the config dance, unless you need that anyway.

bye,
//mirabilos
-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh

_______________________________________________
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.