Daniel John Debrunner:
> Does LocalizedInput.isStandardInput() help?
Yeah, checking for that in a couple of critical places seemed to work
great as a basic "interactivity" check. Thanks a lot, Dan!
Originally I discounted looking for System.{in,out,err} because I saw
some munging with the two latter in the RunTest harness class - but I
never properly checked, and luckily it is untouched.
Nice, the hack seems to work for both interactive sessions (including the ij
command RUN 'script.sql'), input files and the test harness now.
Patch needs a little cleanup, though. Pesky tab/space-mess. =)
Preliminary diffstat:
StatementFinder.java | 30 +++++++++++++++++++++++++++---
utilMain.java | 14 ++++++++------
2 files changed, 35 insertions(+), 9 deletions(-)
--
Anders Morken
My opinions may have changed, but not the fact that I am right!