[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] sudden site access failure:
From: |
Rudy Vener |
Subject: |
Re: [Lynx-dev] sudden site access failure: |
Date: |
Sat, 13 Nov 2021 21:19:26 -0500 |
Hi Karen,
The standard default is not to save the user agent string to the .lynxrc file.
And even if you change the user agent during one session, it wouldn't overwrite
your current .lynxrc file unless you save the changes.
The flip side of this is that you have to enter a new user agent string each
time you run lynx.
That's the main reason I use my own lynx script.
On the other hand, you can use an alias:
alias lynx="lynx -useragent=\"Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O;
XH; rv:8.578.498) fr, Gecko/20121021 Camino/8.723+ (Firefox compatible Lynx)\"
"
and lynx will use that user agent string for the life of the shell session.
When you are done, then
unalias lynx
will return everything back to normal.
Caveat. All my examples are for the ksh shell. I know most people use bash, but
I'm not familiar with it.
Rudy
On Sat, Nov 13, 2021 at 07:49:15PM -0500, Karen Lewellen wrote:
> Rudy,
> All of my access to lynx is tied to shell services. Shellworld mainly,
> and the shell provided by dreamhost.
> There is a choice in the options menu, below the send user agent check box
> that is a field which I would have to remove and edit.
> I do not run scripts for anything, and try not to make major changes to
> config files for the services I use.
> its been several years since anyone has built lynx for DOS which remains
> my desktop operating system.
> I do have a copy of Links the chain for dos which is a mix, mostly because
> it does not read things as fluidly.
> So for those not using a script, as Rudy does, would my testing the user
> agent be a firm change if not written to disc?
> I have no access to the lynx.cfg files on my dreamhost shell, the place
> where I would be doing this test.
> Thanks,
> Karen
>
>
>
> On Sat, 13 Nov 2021, Rudy Vener wrote:
>
> > > realclearpolitics.com
> > > Message-ID:
> > > <Pine.LNX.4.64.2111121843100.1976823@server2.shellworld.net>
> > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
> >
> > Hi Karen,
> > By default, lynx doesn't save the User Agent string in .lynxrc. This
> > could be changed in lynx.cfg, but I just call lynx from
> > a script in ~/bin/lynx like this:
> > /usr/local/bin/lynx-2.9.0-dev9 -useragent="Mozilla/5.0 (Macintosh; U; PPC
> > Mac OS X Mach-O; XH; rv:8.578.498) fr, Gecko/20121021 Camino/8.723+
> > (Firefox compatible Lynx)" $*
> >
> > Rudy
> >
> > > From: Karen Lewellen <klewellen@shellworld.net>
> > >
> > > Hi Rudy, everyone.
> > > Is the user agent header field saved when changed, if one chooses the
> > > write options to disc selection?
> > > I want to test Rudy's user agent on my office shell, and as that does
> > > not seem to be a cut / paste box, wanted to ask before I try and work on
> > > this.
> > > Thanks,
> > > Karen
> > >
> > >
> > >
> >
> > --
> > Rudy Vener
> > Website: http://www.rudyvener.com
> > Twitter: https://twitter.com/RudySalt
> >
> >
--
Rudy Vener
Website: http://www.rudyvener.com
Twitter: https://twitter.com/RudySalt
- Re: [Lynx-dev] sudden site access failure:, Rudy Vener, 2021/11/13
- Re: [Lynx-dev] sudden site access failure:, Karen Lewellen, 2021/11/13
- Re: [Lynx-dev] sudden site access failure:,
Rudy Vener <=
- Re: [Lynx-dev] sudden site access failure:, Karen Lewellen, 2021/11/13
- Re: [Lynx-dev] sudden site access failure:, Rudy Vener, 2021/11/13
- Re: [Lynx-dev] sudden site access failure:, Karen Lewellen, 2021/11/14
- Re: [Lynx-dev] sudden site access failure:, Thorsten Glaser, 2021/11/14
- Re: [Lynx-dev] sudden site access failure:, Rudy Vener, 2021/11/14
- Re: [Lynx-dev] sudden site access failure:, Karen Lewellen, 2021/11/14
- Re: [Lynx-dev] sudden site access failure:, Chime Hart, 2021/11/14
- Re: [Lynx-dev] sudden site access failure:, Rudy Vener, 2021/11/14