[bfprog] OS Module Nerfed, Plus
ScratchMonkey
ScratchMonkey at MatureAsskickers.net
Fri Jun 24 16:04:36 PDT 2005
--On Friday, June 24, 2005 4:45 PM -0600 Forrest Thiessen
<thiessen at cyberscapearena.com> wrote:
> Does that mean that the default behavior (what host.log does) sends
> things to the console? On the Windows server it seems to go nowhere; I
> haven't tried Linux yet (I was kind of waiting for a Linux server that
> actually worked).
There's some logic in python/bf2/__init__.py to redirect stdout and stderr
using fake_stream and fake_stream2.
I did find that early error messages (eg. from a missing module) were
overwritten by the curses interface. When I used a non-curses terminal, I
could scroll back and see the message that the import was failing (because
I put the file in the wrong place).
More information about the BFProg
mailing list