G'day peeps, (but Graeme in particular).

Prepare to be amazed ;)

_First, the introduction:_
1) This isn't a nice way of doing it. But it works.
2) It might not work. I can't remember everything.
3) It will only /decode/ ROT13 messages, encoding them is a bit
   harder.
4) When I say "put it here" or whatever, you could obviously put it
   somewhere else, just remember other references will need to be
   changed.
5) It works in NC2 as well.

_Now, how to decode ROT13 messages:_
1) Do it in your head.
(a) Shift every letter of the alphabet 13 places to the left or right
- it doesn't matter which. Ta da.
(b) Fall asleep from the boredom.
2) Use the really awful program I wrote, which requires you to retype
the entire mail, one line at a time. So don't do it. Skip to (3).
_3) Do the following:_

*a)* The hard bit. You'll need to download a program which does the
basics from Aminet but at the moment wuarchive and uni-paderborn both
seem to be down so you may have to wait a while. I also can't remember
what to download! Doing a version on the program I have says "rot13
36.1 by Ralph Seichter" so look for something like that. I could send
it privately, if you want.

*b)* Put the prog in C:, and call it Rot13.

*c)* In Settings/General Settings/Buttons , create a new button
under "Msg reader buttons" and call it Rot13.

*d)* In the "action" box, enter the following:
Netconnect3:Programs/Microdot-II/rot13-decoder.rexx
Select OK.

*e)* You'll need to create a script in
Netconnect3:Programs/Microdot-II/ called rot13-decoder.rexx
The file is attached to this mail, but I think you'll have to retype
it because attachments aren't allowed.

*f)* If you run MD2 on a MUI public screen, replace "Hires 256" in the
script with the name of the screen you use. If you run it on
Workbench, remove the bit that says PUBSCREEN "Hires 256" completely.
This is designed to make the decoded message open on the MD2 screen,
so you don't have to flip screens.

*g)* Change the path to multiview within the script, as neccessary.
You shouldn't really need to.

*h)* That should work. Open a message and click on your new button.
Multiview should open on the screen used by MD2, with the decoded
message. Close it when you're done.

_Other points to note_
1) It leaves two files called "extractedfrommd2" and "decoded" in RAM:
which you'll want to delete if you're incredibly low on memory. This
could be done within the script, but I'm not 100% sure it will work.
2) If it doesn't work, let me know.
3) To encode a message, run it through the C:Rot13 program, and save
the output file using the > redirection symbol. Then within MD2, just
use the "Insert text file" option. I haven't tried to import a message
via a button (yet).

HTH,
Paul C, beautiful

V nffhzr vg jbexrq, gura?  :)

-- 
... Are Cheerios really doughnut seeds?

-- Attached file included as plaintext by Listar --
-- File: rot13decoder.rexx

/*  Rot13 Decoder script for Microdot II  */
/*                                        */
/*  Sort of copyright � Paul Cundle 1998  */
/*                                        */
/*----------------------------------------*/

address 'MD.1'
'ExtractSelectedMsgs FILE "ram:extractedfrommd2" PART 1 NOREQ'

address command 'c:rot13 <ram:extractedfrommd2 >ram:decoded'

address command 'dh0:utilities/multiview ram:decoded PUBSCREEN "Hires 256"'


_____________________________________________________________
NetConnect mailing list. To unsubscribe, send an 'unsubcribe'
message to <[EMAIL PROTECTED]>

Reply via email to