> It looks good, but as always I'll have to see it before saying 'yes'.

Bo, can you please post the patch again?

Yes. I will prepare one today.

> Concerning the use of a wrapper, I am OK with it as long as LyX can
> run (maybe not as well) without the wrapper. Otherwise, this has to
> become part of LyX/Win itself.

I understand. It will still be possible to start LyX/Win without the
wrapper.

The key points for the wrapper approach are

1. lyx needs a console and can not be a windows application. Even if
lyx can get rid of its own console-depending code, a console will be
created (with a black cmd window) whenever it calls a script that
needs a console. If we try *really* *really* hard, we can merge
hidecmd.c into lyx and use it to call the scripts, but that will be a
long rocky road.

2. As far as I know, there is no way to stop the flashing console
window from within lyx.

3. The current solution is that we make lyx.exe lyxc.exe which is a
console application and will always show the console. Then there is a
hidecmd.exe that will hide the console for lyxc.exe. When lyx is first
started, lyxc.exe would better be used directly to show configuration
output. "hidecmd.exe lyxc.exe" will be used afterwards.

4. Output of reconfigure will not be shown for 'hidecmd lyxc' but this
is the current status of lyx 1.4.x (since the console is hidden). It
is possible to create a 'console output dialog' to show the console
output, but I have not found a good way to do it.

Cheers,
Bo

Reply via email to