Subject: Re: your mail

From: Stelios Pedoylakis <[email-masked]>
Date: Tue, 30 Jul 1996 01:24:51 +0300 (EET)

Dear gentlemen

I have already received your document about Pine with frequently asked
questions. However, I didn't find there a description about how to attach
and, decipher a message with a binary file attachment.
Would you mine explain me the hole procedure; how can someone attach a
binary file to a message, and dicepher a message and export a binary file attached?

Thank you in advanced

Yours very sincerely

Steliow Pedoulakis

[email-masked]

---

From: Rudolf Kompf <[email-masked]>
Date: Tue, 30 Jul 1996 11:58:24 +0200 (MET DST)

> binary file to a message, and dicepher a message and export a binary file attached?
If you want to use attachments it's usefull to have files .mime.types and
.mailcap in your home directory. Prototypes are in the Pine distribution.

Edit the files for your need, e.g. in .mailcap is usefull the line for
viewing a hex-dump:

application/octet-stream;  xterm -e /any/directory/view_octet %s ;
test=test -n "$DISPLAY"

where /any/directory/view_octet e.g. holds:

#!/bin/sh

PATH=/any/directory/:/usr/local/bin:/usr/bin:/bin
export PATH

TEMP=/tmp/launch.$$
od -bc $1 > $TEMP
EXINIT='set nonu'
export EXINIT
vi -R $TEMP
/bin/rm $TEMP

I hope, this can help you

Rudolf

-----------------------------------------------------------------------
Rudolf Kompf                     | E-mail: [email-masked]