"default" object path
Randell Jesup
rjesup at wgate.com
Fri Oct 16 13:34:01 PDT 2009
>On Fri, Oct 16, 2009 at 8:02 PM, David Zeuthen <david at fubar.dk> wrote:
>> We have bash-completion support in dbus-send [1]. It solves all of these
>> problems. IOW, let's not add features to the protocol / spec when we can
>> just as easily fix the tools.
>
>That helps, I agree, but it's not quite the same thing; I could
>imagine the concept of the "default" object being useful for scripts
>and bindings, not just interactive sessions.
Also, believe it or not, some people use tcsh, etc, or have to use it on
an embedded device with busybox.
The script point is a good one, though such "auto" behavior is something
you want to be careful with if it generates a lot of extra dbus traffic
to resolve the object/method, especially in scripts. This should be
discussed/mentioned in the man page/help/etc.
--
Randell Jesup, Worldgate (developers of the Ojo videophone)
rjesup at wgate.com
More information about the dbus
mailing list