Kopete Upside-down Plugin

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:

upsidedown is a simple Python program that takes input from stdin and pipes it to stdout reversing latin characters and punctuation marks by using latin character based symbols from Unicode so that an impression of upside-down written text is created.

Simply save this program, make sure Python is installed and add the script to the Kopete pipes plugin (see attached screenshot).

You can enhance the script by adding special substitution rules (see variable TRANSLITERATIONS which has an example for German sharp-S).Support for diacritics is included but fails on common rendering systems for most cases as no rendering rules exist for these artificial instances.

This needs KDE 4.2 or above.

Feel free to comment.

splashdust

10 years ago

X11 temporarily freezes and the cursor turns into a cross with which i can draw rectangles.

This is what i get in the terminal when trying to run it:
$ ./upsidedown.py
./upsidedown.py: line 1: #!/usr/bin/python: No such file or directory
./upsidedown.py: line 28:
Simple program that flips the input on stdin for latin characters.

Support for diacritics through combining diacritical marks. Depends on proper
rendering though.

2008 Christoph Burgmer (uyhc@stud.uni-karlsruhe.de)

˙ǝɹɐʍʇɟos ǝɥʇ uı sƃuılɐǝp ɹǝɥʇo ɹo ǝsn ǝɥʇ ɹo ǝɹɐʍʇɟos ǝɥʇ ɥʇıʍ uoıʇɔǝuuoɔ
uı ɹo ɟo ʇno 'ɯoɹɟ ƃuısıɹɐ 'ǝsıʍɹǝɥʇo ɹo ʇɹoʇ 'ʇɔɐɹʇuoɔ ɟo uoıʇɔɐ uɐ uı
ɹǝɥʇǝɥʍ 'ʎʇılıqɐıl ɹǝɥʇo ɹo sǝƃɐɯɐp 'ɯıɐlɔ ʎuɐ ɹoɟ ǝlqɐıl ǝq sɹǝploɥ ʇɥƃıɹʎdoɔ
ɹo sɹoɥʇnɐ ǝɥʇ llɐɥs ʇuǝʌǝ ou uı ˙ʇuǝɯǝƃuıɹɟuıuou puɐ ǝsodɹnd ɹɐlnɔıʇɹɐd ɐ ɹoɟ
ssǝuʇıɟ 'ʎʇılıqɐʇuɐɥɔɹǝɯ ɟo sǝıʇuɐɹɹɐʍ ǝɥʇ oʇ pǝʇıɯıl ʇou ʇnq ƃuıpnlɔuı 'pǝıldɯı
ɹo ssǝɹdxǝ 'puıʞ ʎuɐ ɟo ʎʇuɐɹɹɐʍ ʇnoɥʇıʍ 'sı: command not found

Python is installed:
$ /usr/bin/python --version
Python 2.5.2

Report

splashdust

10 years ago

Nevermind, it was an encoding problem. Got it to work by re-downloading via "Save target as..." instead of copy-pasting.

Report

C

chrisKA

10 years ago

Good. Hopefully this helps others having the same problem.

Report

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.1
updated Feb 03 2009
added Feb 03 2009
downloads today
0
page views today 3
System Tags app software