- Google Summer of Code project: Sub-pixel anti-aliasing
- Google Summer of Code Project: Alternate System Timers
- Anthy Ported to Haiku, Binary Available on Bebits
- Premonitions of a rising sun
- GSoc Swap File Project
- Google Summer of Code Project : Writing a CIFS client
- Google Summer of Code: Zeroconf!
- Git for Haiku (#1)
- A weekend in SF, for LugRadio Live USA 2008
- Haiku Websites Stats and Other Trivia
input_server add-on - stdout?
Hi,
I'm messing around with an input_server filter, and I was trying to log a few BMessages so that I could get an idea of what they look like.
BMessage has a PrintToStream method that will print the BMessage out to stdout, but is there anyway to intercept stdout from the input_server?
Thanks...
You could also create a tiny app which can print the BMessages it receives, and run this in the terminal. Now you can let your add-on send the message to your custom app instead of printing them. Et voila, messages from your add-on in the terminal stdout.
If you have another solution from the mailinglist, maybe it is a good idea to post it here.
Yeah, I figured I could resend the BMessages to another App, I was just lazy : ) I will probably do that next time I sit down and play with this again.
However, I did get this recommendation from Ingo on the Haiku developers mailing list:
The easiest way is to redirect the output of the Bootscript
(/boot/beos/system/boot/), i.e. replaceexec >/dev/null 2>&1
by
exec >/var/log/bootscript.log 2>&1
CU, Ingo
So I'll hafta give that a try...






Hello breakerbar,
I suggest that you ask this question on the Haiku development mailing list, which is where the Haiku devs frequent more than on this forum, so you are more likely to get an answer. You can subscribe here:
http://www.freelists.org/list/haiku-development
Good luck!