JUL
22
2001

C'T Releases IOSlave Tutorial

c't magazine has just published an English translation of an IOSlave tutorial written by Carsten Pfeiffer and Stephan Kulow. The article tells you everything you need to know to add support for new protocols to KDE. Examples covered include slaves that generate HTML and an ioslave for audio CDs. This is a great tutorial, so check it out and start coding!

Comments

you should go there for the dragon pic alone. :)


By ac at Sun, 2001/07/22 - 5:00am

You mean:

http://www.heise.de/ct/motive/01/05/p1600.jpg

He, he, there more stuff (free for personal use only):
http://www.heise.de/ct/motive/

One of my favorite:
http://www.heise.de/ct/motive/99/18/p1600.jpg

Have Fun!


By Thorsten Schnebeck at Sun, 2001/07/22 - 5:00am

These are great. Especially the last one. I have a new standard background now ;-).


By jj at Mon, 2001/07/23 - 5:00am

Hi

A nice way to check if the 'modularity' of KDE and IOSlave is functioning is to have eight desktops open, each with at least one window going, and then press - Ctrl-Alt-Del.

Here is from my last study in Mandrake 8.1 Cooker, taken from .xsession errors.
warning: leaving MCOP Dispatcher and still 69 types alive.
DCOP: unregister 'knotify'
Terminal: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
Terminal: fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
kdeinit: sending SIGTERM to children.
kdeinit: Exit.

Such a thing should not happen in ADA95 but shows what c++ can do.

regards
guran


By guran at Sun, 2001/07/22 - 5:00am

That has litle to do with ADA or C++ but more with
applications not doing session management and not installing an X-IO-error event handler.

Anyway, it may not be the most elegant way but it is just one way to kill processes that are still running at the time the X server shuts down.

Apart from that, yes ADA is a much more reliable language than C++. You really shouldn't use KDE for your missile defense system.

Cheers,
Waldo


By Waldo Bastian at Mon, 2001/07/23 - 5:00am

> warning: leaving MCOP Dispatcher and still 69 > types alive.
> DCOP: unregister 'knotify'
> Terminal: fatal IO error 32 (Broken pipe) or
> KillClient on X server ":0.0"
> Terminal: fatal IO error 32 (Broken pipe) or
> KillClient on X server ":0.0"
> kdeinit: sending SIGTERM to children.
> kdeinit: Exit.

> Such a thing should not happen in ADA95 but
> shows what c++ can do.

Speaking of Ada95, what is happening with this project? (Is guran related to cgouiran?)


By Erik at Tue, 2001/07/24 - 5:00am

the magazine is named "c't" and not "C'T"
--
http://www.douglasadams.com/dna/pedants.html


By Thorsten Schnebeck at Sun, 2001/07/22 - 5:00am

I fixed it in the body of the article, but avoided a title change so as not to confuse some sites that use the RDF.

-N.


By Navindra Umanee at Sun, 2001/07/22 - 5:00am

Whats your RDF address... I get stuff that is about a year old in Nautilus and Evolution.


By AC at Sun, 2001/07/22 - 5:00am

One year old? Wow, that's pretty cool. Where do you get that from? Use:

http://www.kde.org/dotkdeorg.rdf

or

http://dot.kde.org/rdf


By Navindra Umanee at Mon, 2001/07/23 - 5:00am

Thanks :)
Not sure what rdf it points to, but here is the list of news links it gives me

People Behind KDE: Reginald Stadlbauer
Open Content KDE Developer Book
KDE 2.0 released
People Behind KDE: Claudiu Costin
Development events
Refreshing winds
People behind KDE: David Faure
KDE Desktop 2.0 Final Release Candidate Available


By AC at Mon, 2001/07/23 - 5:00am

Okay, I have hunted down the errors and have requested updates from GNOME and Ximian. Hopefully they'll followup.

-N.


By Navindra Umanee at Tue, 2001/07/24 - 5:00am

Is there a RDF for apps.kde.org? I'd like to have this one.


By Paulo Eduardo Neves at Tue, 2001/07/24 - 5:00am

Ever read the FAQ at http://apps.kde.com?

| 6. Is there a dynamic newsfeed for new application announcements?
|
| Yes, it's available at http://apps.kde.com//news/apps.kde.com.rdf


By Someone at Tue, 2001/07/24 - 5:00am

The german version can be found here:
"http://www.heise.de/ct/01/05/242/default.shtml


By Victor Röder at Mon, 2001/07/23 - 5:00am

Seems to me that every week or two there is a link here to some sort of useful tutorial. Is there a site anywhere that compiles these links, along with other kde tutorials floating around the web?

I think this sort of thing would be a very handy resource for people (such as myself) who are learning to do some kde programming.


By Carl R at Mon, 2001/07/23 - 5:00am

On developer.kde.org of course :-)

http://developer.kde.org/documentation/tutorials

Cheers,
Waldo


By Waldo Bastian at Mon, 2001/07/23 - 5:00am

and a tutorial about kcontrol plugins???????????


By fan of kde at Mon, 2001/07/23 - 5:00am

Thanks. I wasn't aware that this page liked to off-site tutorials (like the c'T one) as well. I suppose that's a pretty good indicator of how much I've actually gone and looked at it!

--c.


By Carl R at Wed, 2001/07/25 - 5:00am

Cool, this might actually inspire me to write some ioslaves. Maybe a cvs slave, maybe a SQL slave, or how about a remsh(rcp, rmv...) slave. Is there an rsync or ssh slave out there? I thought about an mtools slave, but I'm not sure if it would be usefull, maybe for unix platforms that don't do FAT. Would an rdf slave be silly?
...Actually I'm really way too lazy :( to write any of those, but I figured I'd suggest them anyway. :)

Another neat concept would be a scripting interface you could use to create ioslaves. I certainly would play around with that!


By Martin Fick at Thu, 2001/07/26 - 5:00am

> Is there an rsync or ssh slave out there?

A combined ssh/scp-slave would be cool: ssh for listing/renaming etc. and scp for drag&drop transfers.


By Someone at Thu, 2001/07/26 - 5:00am