On Sat, 2003-12-13 at 16:36, Rein Klazes wrote:
Gerard Patel (if I remember his name correctly) send in such a patch years ago, which was not committed for obvious reasons.
Sorry, I guess the reasons aren't obvious to me. What's wrong with it? Certainly using mini shell scripts like that seems to be more of a hack than special casing some Wine code.
My way to create a small log goes like this. Start wine like this:
(wine <arguments> & read ans; echo '===') 2>&1 | awk '{if( $1 == "===") flag=1-flag; if(flag) print}' >wine.log
filling the log will only begin after pressing the enter key. Add a while(true), to make it behave as a toggle.
That's certainly one way to do it that I hadn't thought of, but it looks rather inefficient.
thanks -mike