# $Id: TODO,v 1.10 2012/06/19 00:26:04 ksb Exp $ Under wrapw -S [-d] [-u unix] name utility we should build a unix domain socket under our enclosing diversion (or take -u'd path) then publish the new socket into the "name" stack (either as $name_d or $name_$link, updating $name_link=new link) and run utility with %u (as a word) replaced by the new socket name. This would allow xfactory and dispd to run as wrappers. When the utility exits we unlink the socket, if we made it. We'd also have to publish the PID's process-id somehow, I think. Include any ssh-agent socket under some option. Like wrapw -mA. The "+" command makes a wrapper named "/tmp/divdir/domainsocket/+" be a name for a socket to the wrapw instance. So we could use that fact in other places, but we don't. We don't check that the rights we get are a socket, which is OK because we don't _know_ for sure that you couldn't use a directory as a wrapper diversion. In fact I'm sure you could, fine line there. -- ksb, Jun 2012