From konsole-devel Thu Dec 04 17:20:15 2008 From: "Scott Isaac" Date: Thu, 04 Dec 2008 17:20:15 +0000 To: konsole-devel Subject: Re: [Konsole-devel] Konsole + DCOP + DBus Message-Id: X-MARC-Message: https://marc.info/?l=konsole-devel&m=122841127013246 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0166407831==" --===============0166407831== Content-Type: multipart/alternative; boundary="----=_Part_1932_21909394.1228411215411" ------=_Part_1932_21909394.1228411215411 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline donot care On Thu, Dec 4, 2008 at 7:31 AM, Tom K. wrote: > Has the old code for accessing DCOP been removed from current Konsole > code? The old change log > > http://www.kde.org/announcements/changelogs/changelog2_2_2to3_0.php > > has > > Konsole: DCOP interface, sets environment variables KONSOLE_DCOP & > KONSOLE_DCOP_SESSION > > > however no mention that this has been removed. Checking out and looking > through svn, appears the old DCOP code has been removed. > > Reenabling the dcop server after upgrading to Fedora 9 and KDE 4.x, I do > notice some of the old apps connect to it now but konsole does not > suggesting the old code for DCOP has been removed from konsole. Some > things I've tried: > > declare -x KONSOLE_DCOP_SESSION="DCOPRef("`ps ax|grep > /usr/bin/konsole|egrep -v grep|awk '{ print "konsole-"$1 > }'`",session-"`echo $KONSOLE_DBUS_SESSION|sed -e "s/[^0-9]//g"`")" > > declare -x KONSOLE_DCOP="DCOPRef("`ps ax|grep /usr/bin/konsole|egrep -v > grep|awk '{ print "konsole-"$1 }'`",konsole)" > > export KONSOLE_DCOP_SESSION KONSOLE_DCOP > > yielding > > KONSOLE_DCOP=DCOPRef(konsole-2935,konsole) > KONSOLE_DCOP_SESSION=DCOPRef(konsole-2935,session-6) > > but of course since these entries no longer appear in the code, the > above doesn't work and produced one of: > > call failed > object not accessible > > I'm aware others are looking to write code for dbus. Would reenabling > the old dcop code be easier and provide for some backwards compatability > for everyone who has already scripted their konsole using the old dcop > interface while the dbus code is being worked on? Thoughts? > > Kind Regards, > Tom > _______________________________________________ > konsole-devel mailing list > konsole-devel@kde.org > https://mail.kde.org/mailman/listinfo/konsole-devel > ------=_Part_1932_21909394.1228411215411 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline donot care

On Thu, Dec 4, 2008 at 7:31 AM, Tom K. <tomkcpr@rogers.com> wrote:
Has the old code for accessing DCOP been removed from current Konsole
code?  The old change log

http://www.kde.org/announcements/changelogs/changelog2_2_2to3_0.php

has

Konsole: DCOP interface, sets environment variables KONSOLE_DCOP &
KONSOLE_DCOP_SESSION


however no mention that this has been removed.  Checking out and looking
through svn, appears the old DCOP code has been removed.

Reenabling the dcop server after upgrading to Fedora 9 and KDE 4.x, I do
notice some of the old apps connect to it now but konsole does not
suggesting the old code for DCOP has been removed from konsole.  Some
things I've tried:

declare -x KONSOLE_DCOP_SESSION="DCOPRef("`ps ax|grep
/usr/bin/konsole|egrep -v grep|awk '{ print "konsole-"$1
}'`",session-"`echo $KONSOLE_DBUS_SESSION|sed -e "s/[^0-9]//g"`")"

declare -x KONSOLE_DCOP="DCOPRef("`ps ax|grep /usr/bin/konsole|egrep -v
grep|awk '{ print "konsole-"$1 }'`",konsole)"

export KONSOLE_DCOP_SESSION KONSOLE_DCOP

yielding

KONSOLE_DCOP=DCOPRef(konsole-2935,konsole)
KONSOLE_DCOP_SESSION=DCOPRef(konsole-2935,session-6)

but of course since these entries no longer appear in the code, the
above doesn't work and produced one of:

call failed
object not accessible

I'm aware others are looking to write code for dbus.  Would reenabling
the old dcop code be easier and provide for some backwards compatability
for everyone who has already scripted their konsole using the old dcop
interface while the dbus code is being worked on?  Thoughts?

Kind Regards,
Tom
_______________________________________________
konsole-devel mailing list
konsole-devel@kde.org
https://mail.kde.org/mailman/listinfo/konsole-devel

------=_Part_1932_21909394.1228411215411-- --===============0166407831== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ konsole-devel mailing list konsole-devel@kde.org https://mail.kde.org/mailman/listinfo/konsole-devel --===============0166407831==--