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

Attachment: signature.asc
Description: PGP signature

Reply via email to