I was browsing through one forum and found constantly portions of text being “rotted”. That is, first 13 alphabetical characters rotated to make text unreadable to mask spoilers and such.
Although there is, for example, rot13.com to decypher such text, I came up with the following to streamline the process:
(You need xclip -program to be installed)
rot13.sh (put it somewhere on your path):
#!/bin/sh echo "$*" | sed 'y/nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM/abcdefgh ijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/' sleep 30
(Sed command should be on one line. This could be made straight into a piperead function, or to use sed ‘blahblah’ $*, or some other way.)
AddToFunc Clipboard + I Exec $* `xclip -o` Key F A M Clipboard xterm -e rot13.sh
So now you should be able to select rotted portions of text with mouse, and after pressing alt+f, a xterm should pop up displaying the text, and automatically close after 30 seconds.
[color=red]Edited by theBlackDragon:
–> Moved from Basic questions[/color]