On Wed, Oct 15, 2025 at 06:56:38AM -0700, Ben Collver wrote:
> On Wed, Oct 15, 2025 at 04:16:17AM -0400, Thomas Dickey wrote:
> > On Tue, Oct 14, 2025 at 07:26:44PM -0700, Ben Collver wrote:
> > > Good day,
> > > 
> > > When i run `lynx` with no arguments on Slackware64 15.0, it gives
> > > garbage output.  It gives the same garbage output when i run
> > > `lynx -display_charset=UTF-8`.
> > > 
> > 
> > It needs the brotli package installed (both at package build time
> > and runtime).  You can work around this by changing the "Preferred encoding"
> > to gzip.  That's selectable at runtime in the Options menu, and can be
> > saved to ~/.lynxrc if you have this in your lynx.cfg:
> > 
> >     ENABLE_LYNXRC:PREFERRED_ENCODING:ON
> 
> Greetings,
> 
> I added "ENABLE_LYNXRC:PREFERRED_ENCODING:ON" to ~/lynx.cfg and
> "preferred_encoding=gzip" to my ~/.lynxrc
> 
> When i run "lynx -cfg=~/lynx.cfg" i still get garbage output from
> https://lynx.invisible-island.net/
> 
> >From the Options menu:
> 
>     Preferred encoding               : [gzip____]
> 
> >From the `=` screen:
> 
>     Content-Encoding: br
> 
> The workaround doesn't appear to work for me.  Any other ideas
> besides recompiling lynx with brotli support?

no - I'd forgotten just when I added the brotli support.

I see now that I started that two months later:

2022-12-28 (2.9.0dev.11)
* changes for using brotli stream decompression -TD

The current snapshot here (2.9.2u):

https://github.com/ThomasDickey/lynx-snapshots

"should" work.  (I have some work on an unrelated feature which I'd
like to complete for the next release -- any regressions in the snapshots
would be of interest as well).

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to