David Megginson wrote: > > Cameron Moore writes: > > > > The output from SG_INFO to the console (Event states, mouse in > > > view/pointer mode, lighting updates and tile updates) can cause > > > nasty pauses on Windows 98 even with the console window > > > minimised, far worse than on NT on the same hardware. May I > > > suggest that we turn off all the console output during flight by > > > default and let users turn it on if they wish. > > > > I've got a Feature Request item[1] for this on SF. I seriously doubt > > I'll have free time to hack on this before the feature freeze, so if > > it's going to get into 0.7.9, someone else is going to have to do > > it. > > One of the problems is that JSBSim does its own output outside of the > SG_LOG infrastructure. We'll need to modify JSBSim to allow custom > logging interfaces, and that might be a bit of a tedious chore. >
You can disable cout by setting its failbit. Alternatively you could replace cout's streambuf with one that discards its output. This won't work for SG_LOG() since it doesn't use cout. However I have a new namespace'd version that does use cout. Cheers, Bernie _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
