ROT13 Support?
Posted: Mon Apr 09, 2001 8:18 pm
Greetings,
Does anyone have a macro or whatever to do a ROT13 transformation on selected text?
ROT13 is a simple excryption cypher implemented via the following Perl *translate* command:<br>
<t>tr {a-zA-z}{n-za-mN-ZA-M}<br>
which replaces the letters in the first term with the letters in the second term. TextPad's Replace dialog to does the equivalent of a Perl substitution operator<br>
<t>s {a-zA-z}{n-za-mN-ZA-M}<br>
[To TextPad development: This is yet another request that could have been obviated by exposing the objects within TextPad for manipulation with Perl (or whatever) as described above. If this is ever implemented, there will be an explosion of user-base synergy equal in impact to those jillions of syntax files and cliplibs available for download. Like the perennial "edittable macros" request, this one is basically a plea from hundreds of paying customers begging Helios to let them do product development for them for free. It would be nice if we could at least be told whether requests like these have been slated for a specific future version number or not -- even if we are not told what that future version number is.]
Meanwhile, I'd appreciate any help insights into implementing ROT13 in TextPad in its current form.
Thanks,
Roy Beatty
Does anyone have a macro or whatever to do a ROT13 transformation on selected text?
ROT13 is a simple excryption cypher implemented via the following Perl *translate* command:<br>
<t>tr {a-zA-z}{n-za-mN-ZA-M}<br>
which replaces the letters in the first term with the letters in the second term. TextPad's Replace dialog to does the equivalent of a Perl substitution operator<br>
<t>s {a-zA-z}{n-za-mN-ZA-M}<br>
[To TextPad development: This is yet another request that could have been obviated by exposing the objects within TextPad for manipulation with Perl (or whatever) as described above. If this is ever implemented, there will be an explosion of user-base synergy equal in impact to those jillions of syntax files and cliplibs available for download. Like the perennial "edittable macros" request, this one is basically a plea from hundreds of paying customers begging Helios to let them do product development for them for free. It would be nice if we could at least be told whether requests like these have been slated for a specific future version number or not -- even if we are not told what that future version number is.]
Meanwhile, I'd appreciate any help insights into implementing ROT13 in TextPad in its current form.
Thanks,
Roy Beatty