Re: garbage output on lynx.invisible-island.net

Thomas Dickey <[email protected]> Wed, 15 Oct 2025 04:16:17 -0400
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
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`.
> 
> Screenshot
> <http://0x0.st/KS_z.png>
> 
> `lynx --version` output shown below [1]

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

I've improved this in current snapshots:

* change ifdef's for configuring compression encodings to require both the      
  library and the related command-line tool to ensure that Accept-Encoding      
  will work consistently for downloads (report by Riku Virtanen) -TD 

(I have a Slackware 15 machine where packaged lynx does that, while my
test-build works as expected).
 
> `=` document info shown below [2]
> 
> Any suggestions for further troubleshooting?
> 
> Thanks!
> -Ben
> 
> [1]
> Lynx Version 2.9.0dev.10 (11 Aug 2021)
> libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.1.1zb, ncurses 6.3.20211021(wide)
> Built on linux-gnu (Dec  3 2021 13:03:23).
> 
> Copyrights held by the Lynx Developers Group,
> the University of Kansas, CERN, and other contributors.
> Distributed under the GNU General Public License (Version 2).
> See https://lynx.invisible-island.net/ and the online help for more information.
> 
> See http://www.openssl.org/ for information about OpenSSL.
> 
> [2]
> File that you are currently viewing
> 
>    Linkname: Entry into main screen
>         URL: https://lynx.invisible-island.net/
>     Charset: utf-8
>      Server: Sucuri/Cloudproxy
>        Date: Wed, 15 Oct 2025 02:20:41 GMT
>    Last Mod: Sun, 31 Aug 2025 17:08:40 GMT
>    Owner(s): None
>        size: 2 lines
>        mode: normal
> 
> No Links on the current page
> 
> Server Headers:
> 
> Date: Wed, 15 Oct 2025 02:20:41 GMT
> Content-Type: text/html
> Connection: close
> X-Sucuri-ID: 11008
> Last-Modified: Sun, 31 Aug 2025 17:08:40 GMT
> ETag: W/"68b48198-ae8"
> Content-Encoding: br

(brotli)

> Server: Sucuri/Cloudproxy
> X-Sucuri-Cache: HIT
> Alt-Svc: h3=":443"; ma=2592000, h3-29=":443"; ma=2592000
> 
> 

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmjvWE4ACgkQzCr0RyFn
vgNEdwwA1nyD6E1q6bH4dVjnxSkT40CEqvAcfFf98k0v53/hKA7OikAO5LW/JekK
flHMdFuhq+uy8aWONdiJVzsUxnNdE8dzM+FQyx05e2Gp69PboxkPkJ4UH6OBns9Z
soXy1yeiWrebbmCONpXuCn0nGFbdaMXzdIb2hR4tDzlpTWrlBqjXhxPveu3jGt6/
zUoY7npbVBIexpVYEPw1QrtFpATAMXJ5eNA4MNV1EndseUdtWBmr9lCirbOck1W1
6D0Gi8lYFhUKCX4bztHOXWMTMKZFS5BdUAqGEI5goClD5eK221AAntgEnHchSpXX
YTccrutKe7DPqVr1n5rxRiuwk6KH9LmdKxF1ZGCdEbPdvaonwg8cn2fr0Bj17FA8
0fTy5yBDsdHfWP6SoNGAl9FwiMhpfQLucjwvhWCPQ6EhljyQxDx06kPDBi1PEZYu
r8W2JxQex6XDiEcqtMxTntl0NcPmy4tgF1EmsGR8JNcBYkZL6nnawvIzb4OfYo/4
Gm0uV3PA
=wJZI
-----END PGP SIGNATURE-----