I have an idea, dont know maybe someone already proposed it but i was
not listening .. anyway. Every xwem user know problem when he is
running bunch of X application under xwem and something happens to
xwem or (S)XEmacs and (S)XEmacs crashes or xwem hangs or anything else
harmful happens - you lost all your X application that was launched by
xwem launcher. We have workaround this problem - xwem-agent with
conjunction of nohup(1), however nohup(1) not always do the job
exactly as expected ..
So i have an idea, what if (S)XEmacs wont launch any X application at
all? What if (S)XEmacs will notify xwem-agent that there is query
pending to execute some command in xwem launcher, and xwem-agent
launches that X application for the (S)XEmacs, so those X application
does not HUPs when (S)XEmacs exits, they only HUPs when xwem-agent
exits, but if xwem-agent exits the whole X exits as well, because
normally xwem-agent holds X. This aproach will totaly solve nohup(1)
and intersession (within xwem-agent) problems ..
Thanks!
--
XWEM - Specialising in miracles and impossibilites.
|