Xtoolwait notably decreases the startup time of an X session by reducing the load on the X server and Linux.
It starts an X client in the background, waits for a window to be mapped on the root window, and then exits. It can improve performance for users who start a bunch of X clients automatically (for example, xterm, xlock, xconsole, whatever) when the X session starts.
\apt-getinstall xutils-dev libx11-dev libxtst-dev
\xmkmf
# This produces an error, but it is safe to ignore it.
\make
\makeinstall
\make install.man
Though the first make gives me errors, they can apparently be ignored:
Maybe it works, maybe it doesn't. I don't think it's the answer to the problem I have, which is to have multiple terminals using dialog to appear in a specific order.