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: Thorsten Glaser
Subject: Re: [Lynx-dev] changing lynx default homepage from the comand line?
Date: Fri, 15 Nov 2019 22:56:48 +0000 (UTC)

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



reply via email to

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