Re: -force_html: fixate for follow-up pages?

Thomas Dickey <[email protected]> Thu, 23 Jul 2026 19:55:07 -0400
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
--e5gADbSoUDqGMzsh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 24, 2026 at 01:39:59AM +0200, Steffen Nurpmeso wrote:
> Thomas Dickey wrote in
>  <[email protected]>:
>  |On Thu, Jul 23, 2026 at 09:37:39PM +0200, Steffen Nurpmeso wrote:
>  |> Sorry should this have been asked in the past, but the archive is
>  |> inaccessible for me, the marc.info archive stopped tracking in
>  |> 2002, and the mail-archive one in 2004.
>  |>=20
>  |> The question: is it possible to use -force_html in a way that, if
>  |> i follow a link in the opened document, that is also opened "as
>  |> via -force_html"?
>  |
>  |You could do something like that by adding an EXTERNAL in lynx.cfg:
>  |
>  |I do this (and other programs) for testing:
>  |
>  |EXTERNAL:ftp:oldlynx %s:TRUE
>  |EXTERNAL:file:oldlynx %s:TRUE
>  |EXTERNAL:http:oldlynx %s:TRUE
>  |EXTERNAL:nntp:oldlynx %s:TRUE
>  |EXTERNAL:snews:oldlynx %s:TRUE
>  |
>  |If I type a "," (comma) on a link, lynx gives me a menu with
>  |the choices from my lynx.cfg
>  |
>  |"k" says comma is bound to EXTERN_PAGE:
>  |
>  |,           EXTERN_PAGE   run external program with current page =20
>=20
> After adding --enable-externs
>=20
>   EXTERNAL:file:lynx -force_html %s:TRUE
>=20
> spawns via "."!
>=20
> Thank you.

no problem (report bugs)

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

--e5gADbSoUDqGMzsh
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmpiqdcACgkQzCr0RyFn
vgNBnwv/WlFBHBzWsBLZxtevIGInPYyrLmyXuR/zCOfbN9BwsgyGWn4kVagM4h+r
XijGfALEfK0LFUiHGKNSVh/YrE01A4K9c5bhExAri6HomC8N+L4CgXKAGAKl10hG
r7jxmbVqmtieypJv1ES5yHpaW+fezN3o69rt/zEkQ3B6JXkpLocTP9rqUzpn7ANT
TQ4nkNC9b4Unf7EwZG7y4kMx5jcq83XZNffM8H5lJY17o5ksswXffC73l/JXS8kl
VyS4LuuQC7vWZVUojP4YsExKv+uuTYKyZWRYY/ENEMPxPVOjGmba49IvyhimCV2P
/6flu9h+rCg2/wQc6mpc+1fSwZJkLsl64Kpg2yX275Y+JJqPSHxbWRj1P/bU6VNY
wDj8Vs529y6LlvzNx2Fn9ObqAORhCLlYMXzDp5pMaxewsCVI4dph/qJnRIG49TP+
I6j681JGJ5H5Y0lVeSXkOGBuq2nx6r6GB1O1H0TCsVfwzqU56aBTbAV3OplwIcgh
GD7AzPIw
=E8yC
-----END PGP SIGNATURE-----

--e5gADbSoUDqGMzsh--