On Sat, Mar 01, 2025 at 07:34:31AM -0500, Jon Fineman wrote: > I have been having some trouble with emacs/w3m for a while now. > > When I browse lobste.rs I get the below error message. Using the > command line w3m it works fine. duckduckgo.com and a few others also > fail.
AFAIK emacs/w3m basically uses 'w3m -dump' to get the rendered page. One difference between interactive usage and using -dump is that w3m won't ask when there is e.g. a certificate or cookie problem. Instead it will fall back to some default. > This works on alpinelinux, so it seems to be an OpenBSD port issue. > > Any thoughts on what it might be in or how to collect more info? Unfortunately I'm not an Emacs user and don't have time to dig into this. If there is anything to do from the w3m side please make sure keep me Cc'ed. [...] > OpenBSD 7.6-current (GENERIC.MP) #569: Fri Feb 28 00:55:14 MST 2025 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > $: emacs --version > GNU Emacs 30.1 > > $: w3m --help > w3m version w3m/0.5.3+git20230718, options > lang=en,m17n,image,color,ansi-color,mouse,menu,cookie,ssl,ssl-verify,external-uri-loader,w3mmailer,nntp,gopher,ipv6,alarm,mark JFTR, the version info in w3m is somewhat broken at the moment. On 7.6 this should be: #v+ % pkg_info w3m | sed -n '1s/.*://p' w3m-0.5.3pl20240810p0 #v- > Location: https://lobste.rs/s/zian90/how_gain_code_execution_on_millions > > > Cannot retrieve URL: > https://lobste.rs/s/zian90/how_gain_code_execution_on_millions > > /usr/local/bin/w3m exits with the code 11 > > Something seems to be wrong with URL or this system.