Bug 4753 - flush dbus-monitors stdout
Summary: flush dbus-monitors stdout
Status: RESOLVED NOTABUG
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high enhancement
Assignee: Havoc Pennington
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 00:50 UTC by jonne
Modified: 2006-08-01 10:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description jonne 2005-10-12 00:50:01 UTC
Could you please flush dbus-monitor's output?
I checked dbus-monitor.c and guess it should be done in some of dbus internal
functions (wait ... a flush in dbus-monitor.c should do the trick I guess...).
The problem is now dbus-monitor cannot be used inside other programs (by opening
a pipe to it) because then no output shows up.
To illustrate this problem, run "dbus-monitor | less", and you won't see anything.
I would like to use dbus-monitor inside my chat client to display when there's
new email in my evolution inbox (but also for any other interesting signals that
might come in).
Thanks in advance,
Jonne.
Comment 1 jonne 2005-10-12 05:54:16 UTC
Never mind, sorry, I just learned about 'unbuffer'
and 'unbuffer dbus-monitor' does the trick for me.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.