Re: changing lynx default homepage from the comand line?
Karen Lewellen <[email protected]>
| Newsgroups | gmane.comp.web.lynx.devel |
|---|---|
| Message-ID | <[email protected]> |
to be sure, there are ten of them, none of which have my name on it. Which is why I have stated my goal has never been to involve the lynx.cfg file in any fashion. On Sat, 16 Nov 2019, Jude DaShiell wrote: > run locate lynx.cfg and you will have an idea. > > On Fri, 15 Nov 2019, Karen Lewellen wrote: > >> Date: Fri, 15 Nov 2019 18:32:20 >> From: Karen Lewellen <[email protected]> >> To: Thorsten Glaser <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Subject: Re: [Lynx-dev] changing lynx default homepage from the comand line? >> >> The reason why I want a command to do this, say like the useragent option Tom >> provided in another thread is because, since this is not my system, I have no >> idea where the lynx.cfg file is. >> I wish to change the site that displays when I type lynx, without impacting >> the system whatsoever. >> How does that seem confusing? >> >> >> On Fri, 15 Nov 2019, Thorsten Glaser wrote: >> >>> 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 >> >> > > -- > > _______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev