🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #18952

Re: decoding mime in trn

#18952
From: Olly Betts
Date: Fri, 09 Feb 1996 00:00
48 lines
2223 bytes
In article <4ffksp$cmm@lynx.dac.neu.edu>,
zachary brown <zbrown@lynx.dac.neu.edu> wrote:
>When a mime encoded message comes up, trn asks if I want to decode it.
>If I say 'y', it prints:
>
>[...]
>/bin/sh: mhn: not found
>[...]
>
>What I would like to know is,
>a) Where is the source for 'mhn', and
>b) How can I instruct trn as to where to look for 'mhn'

mhn is part of the MH mail package.  It's very possible MH is already
installed (it comes as standard on a number of Unix boxes), but if you don't
have the MH bin directory on your PATH, trn can't find mhn if it's not been
given the explicit path.

On this machine (which runs Solaris 2.3), MH's bin directory is
/export/opt/mh/bin, so the relevant line in our trn's config.h is:

#define MIMESHOW "/export/opt/mh/bin/mhn -show -serialonly -file %A"    /**/

>I've spoken to my sysadmins about this problem, but they don't regard
>trn as a priority of any sort.

Assuming MH is installed, either get your sysadmins to tweak trn's config
and recompile (which will fix it for everyone), or set the environmental
variable MIMESHOW to '/export/opt/mh/bin/mhn -show -serialonly -file %A'
before you run trn.

If MH isn't installed, the source should be on:

ftp://ftp.ics.uci.edu/mh/mh-6.8.tar.Z                               2MB
ftp://ftp.uu.net/networking/mail/mh/mh-6.8.tar.Z
ftp://krynn.efd.lth.se/pub/mail/mh-6.8.tar.Z

You can also get it by e-mail or US post (check the comp.mail.mh FAQ for
details).

Alternatively, you may be better off getting trn to use metamail.  I've
not tried this though.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass

Technical Details
Message-ID: <19960209151748.olly@mantis.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <4ffksp$cmm@lynx.dac.neu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <19960209151748.olly@mantis.co.uk>
Subject: Re: decoding mime in trn
Date: Fri, 09 Feb 1996 00:00:00 +0000
From: olly@mantis.co.uk (Olly Betts)
References: <4ffksp$cmm@lynx.dac.neu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 138578013
Organization: techn-ol-ogy
Newsgroups: news.software.readers