Kopete Upside-down Plugin
Chat
Score 55%
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

8 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

8 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

8 years ago

Good. Hopefully this helps others having the same problem.

Report

product-maker 7 10

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.1
updated Feb 03 2009
added Feb 03 2009
downloads today
0
page views today 0