Many things, not just poorly written debugging code,
write to System.out and/or System.err. It would be
nice to have access to those streams when, for
example, working under Windows with the bsh GUI
While I can do a
in my %USERPROFILE%/.bshrc, this has the problem that
a System.out() from different workspaces all end up in
the last workspace window I opened - this means that
quickly opening a new workspace and then closing it
(say to check some side calculation) has the side
effect of sending your output off to nowhere.
I want a PrintStream that will direct to the
appropriate Interpreter's output. I could then do:
in my .bshrc and have the GUI console windows behave
as one would expect them to.
Failing that, I'd like to have separate windows for
System.out and System.err -- at least then I won't
accidentally lose all of the output by opening up a
new workspace and closing it, even if I do have the
problem of having all the outputs comingled.
Log in to post a comment.