Remote control socket (experimental)

Rodrigo Arias <[email protected]> Fri, 19 Dec 2025 18:29:03 +0100
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi,

I have just merged the support to control dillo from a UNIX control 
socket. There is now a new program called "dilloc" to send commands from 
the CLI. If there is only one dillo process it will choose it, otherwise 
it needs to be specified in the DILLO_PID env var.

Use "dilloc help" to see all the commands available. It needs to be 
enabled at configure time with --enable-control-socket.

The origin of this feature is to improve the test suite by controlling 
dillo automatically, but I think it will also be useful for users. In 
particular, the load and dump commands allow the manipulation of any 
loaded page as a UNIX pipeline:

  % dilloc dump | <manipulate-cmd> | dilloc load

Or go to an alternative page from the current URL:

  % dilloc open $(dilloc url | sed 's/www\.reddit/old.reddit/')

Let me know if you find something that doesn't work well, it is 
experimental for now.

Best,
Rodrigo.
_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]