Yarn Information & Resource eXchange

Yarn En/Decoding


Yarn has internal support for decoding UUencoded messages, however for MIME and other types of encoded messages Yarn supports external utilities. For encoding Yarn supports MIME/Base64 file attaching internally, however you may find other encoders useful. Yarn also supports encryption/decryption externally with such programs as PGP.

MIME decoders are integrated into Yarn by editing your Yarn CONFIG file (%HOME%\YARN\CONFIG), with the decode-mime=<command> setting. (And make sure it is not "commented" out with a # character in front of it).

PGP (or other) Encryption/Decryption is controlled by the encrypt=<command>, decrypt=<command>, decrypt-view=<command>, and secret-sign=<command> settings. Refer to the Yarn documentation for more information.


 

MetaMail 2.7 (MIME decoder/viewer)
[os/2][win32][dos]

MetaMail, originally a UNIX program, allows yarn to call external "viewers" to handle various MIME encoded messages. It also allows for saving MIME file. It can be a chore to set up, but is very flexible.

You will need to set up a MAILCAP file to define external programs to handle various MIME types, and set an environmental variable to point to it. Refer to the Yarn documentation which describes MetaMail for more information.

OS/2 | Win32 | DOS

MPack 1.5 (MIME de/encoder)
[os/2][dos]

A simple, small, and fast MIME decoder. A good Yarn config setting for this program is as follows (note the bold section is where you set what directory you want to save the MIME decoded files in):

decode-mime=munpack -C e:\directory %f

OS/2 | DOS

Pretty Good Privacy (PGP)
[os/2][win32][dos]

PGP has become pretty much the de facto standard in e-mail encryption. It is an extremely strong public key encryption system. The Yarn documentation discusses PGP and provides sample batch files to run it. However, I find that the following settings work well without the use of batch files:

   secret-sign=pgp -ast %f -o %o
   encrypt=pgp -eastw %f -o %o
   decrypt=pgp %f -o %o
   decrypt-view=pgp -m %f

Please note that the above settings are for the command line version of PGP. Since PGP 5 (and newer) has been designed for Win32 GUI it can not be used in the above manner to integrate into Yarn. However the recent DOS port (of the International version, at least-- and other new command line oriented versions) will probably still work.


Souplk (MIME/Quote-Printable/Charsets)
[os/2][dos]

A utility used for decoding MIME encoding in headers as well as quoted-printable message bodies. It also serves as a charset translator, but at the moment only for Polish national chars.


UUDeview 5.x (MIME/UU/BinHex)
[os/2][win32][win3][dos]

UUDeview is a very intelligent decoder which will decode virtually any ASCII encoding format. It can be used with Yarn to decode MIME encoded attaches with the following setting:

decode-mime=uudeview -i -p e:\directory %f

UUEnview can also be used to UUencode, and other encoding, but can not be directly integrated into Yarn for encoding.

 


Yirx Main PageMade in CanadaYirx Main Page