Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Marc Espie (espienerim.net)
Date: Sat Aug 11 2007 - 06:23:10 CDT
On Fri, Aug 10, 2007 at 10:32:02PM +0100, Edd Barrett wrote:
> I would like to echo a message during 'mktexlsr' on some ports, which
> are done via exec / unexec. mktexlsr can take a while on large texmf
> trees and on slow computers, so I would like to inform the user that
> something is happening.
> A simple:
> exec echo "test"
> Does not seem to work. Is there a way to do so?
Yeah, you would have to explicitly write stuff out to the tty.
I'm not a big fan of this, though...
One thing that would make more sense is to make this automatic... Not that
hard, I just have to replace the system() call with manual fork(), exec(),
and display a message to the user after some amount of time has elapsed
without any activity...
or get the progress meter to `spin' to indicate something is going on ;-)