kopcat

Chat & Messenging

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

This small Python script is inspired by netcat. But instead of sending files (and data) directly over the network, this script uses Kopete (and DBus) for sending.

Just make sure you have Python (and the python-dbus packege of your distribution) installed and have fun with the script.


[size=2]Some examples how to use this script (assuming Foobar is one of your meta contacts):[/size]
kopcat.py -f Foobar README

This command will send the README file to Foobar over file transfer. (Same as selecting in Kopete Contact->Send File->...)

kopcat.py Foobar README

This command will send the README file inline. (Same as copy & paste the content of the file into the chat und press "Send")

cat README | grep kopcat | kopcat.py Foobar

This command will send all lines from the README file which contain the word "kopcat".

The last command probably shows you the aim of the script: To combine the powerful command line tools with modern graphical interfaces.

[size=2]Help wanted!![/size]
I'm sure this script will also work with KDE3 and DCOP, but I have nothing to test this.
Last changelog:

10 years ago

[size=2]Version 0.2.2[/size]
* The contact ids have changed in KDE4.3. Listing contacts should work now.

[size=2]Version 0.2.1[/size]
* Fixed a problem when printing contacts with none ascii names
* Fixed small mistake when checking if contact is reachable

[size=2]Version 0.2.0[/size]
* "Ported" to KDE 4.2
* Added new option "-c" to list contacts

[size=2]Version 0.1.2[/size]
* Fix error handling for binary data completely
* Some internal code improvement
* Added new option "-l" for "streaming" text

[size=2]Version 0.1.1[/size]
* Print help message even if Kopete isn't running.
* The test if the contact is online is optional because in some Kopete versions it isn't available.
* Catch the error message if you try to send binary data inline.

Be the first to comment

10 years ago

[size=2]Version 0.2.2[/size]
* The contact ids have changed in KDE4.3. Listing contacts should work now.

[size=2]Version 0.2.1[/size]
* Fixed a problem when printing contacts with none ascii names
* Fixed small mistake when checking if contact is reachable

[size=2]Version 0.2.0[/size]
* "Ported" to KDE 4.2
* Added new option "-c" to list contacts

[size=2]Version 0.1.2[/size]
* Fix error handling for binary data completely
* Some internal code improvement
* Added new option "-l" for "streaming" text

[size=2]Version 0.1.1[/size]
* Print help message even if Kopete isn't running.
* The test if the contact is online is optional because in some Kopete versions it isn't available.
* Catch the error message if you try to send binary data inline.

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.2.2
updated May 27 2009
added Dec 08 2008
downloads 24h
0
page views 24h 2
System Tags app software