🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Mark Bixby Tue, 08 Jun 1993 21:13
trn 3.0 and metamail 2.5
#4405
Author: Mark Bixby
Date: Tue, 08 Jun 1993 21:13
29 lines
1693 bytes
I'd like to compile trn 3.0 with MIME/metamail support.  In common.h, you have:

#ifdef METAMAIL
/* default MIME extraction program */
#  ifndef MIMESTORE
#    define MIMESTORE "/usr/local/bin/mh/mhn -store -auto -file "
                       ^^^^^^^^^^^^^^^^^^^^^
#  endif

/* default MIME show program */
#  ifndef MIMESHOW
#    define MIMESHOW "metamail -e -p -m \"trn %s\" %A"
                      ^^^^^^^^
#  endif
#endif

OK, now I know the "metamail" in MIMESHOW is available from
thumper.bellcore.com:/pub/nsb/mm2.5.tar.Z, but what is the "mhn" in MIMESTORE?

"mhn" does not appear to be part of mm2.5.  What is it, and where do I get it?

Thanks.
-- 
Mark Bixby                         Internet: markb@cccd.edu
Coast Community College District   1370 Adams Avenue
District Information Services      Costa Mesa, CA, USA  92626
Technical Support                  (714) 432-5064
"You can tune a file system, but you can't tune a fish." - tunefs(1M)
Re: trn 3.0 and metamail 2.5
#4409
Author: David Barr
Date: Tue, 08 Jun 1993 21:45
10 lines
968 bytes
In article <1v2vde$831@spock.dis.cccd.edu> markb@cccd.edu writes:
>"mhn" does not appear to be part of mm2.5.  What is it, and where do I get it?

It's not.  It's part of MH.  (The mail user-agent)

--Dave
-- 
System Administrator, Penn State Population Research Institute
End of article 2565 (of 2565)--what next? [npq]
Re: trn 3.0 and metamail 2.5
#4411
Author: John Schmitz
Date: Tue, 08 Jun 1993 22:53
9 lines
1018 bytes
> "mhn" does not appear to be part of mm2.5.  What is it, and where
> do I get it?

Dave is right, it is part of MH 6.8.  But you don't necessarily need
it.  If you use metamail, you often (always?) get the chance to
save extracted parts of a message as/after you view it.  mhn just
happens to provide a convenient way to extract parts in trn
directly.
Re: trn 3.0 and metamail 2.5 (+ new question)
#4413
Author: Bard Grimsmo
Date: Wed, 09 Jun 1993 08:15
52 lines
2555 bytes
In article <1v2vde$831@spock.dis.cccd.edu> markb@cccd.edu writes:
>
>I'd like to compile trn 3.0 with MIME/metamail support.  In common.h, you have:
>
>#ifdef METAMAIL
>/* default MIME extraction program */
>#  ifndef MIMESTORE
>#    define MIMESTORE "/usr/local/bin/mh/mhn -store -auto -file "
>                       ^^^^^^^^^^^^^^^^^^^^^
>#  endif
>
>/* default MIME show program */
>#  ifndef MIMESHOW
>#    define MIMESHOW "metamail -e -p -m \"trn %s\" %A"
>                      ^^^^^^^^
>#  endif
>#endif
>
>OK, now I know the "metamail" in MIMESHOW is available from
>thumper.bellcore.com:/pub/nsb/mm2.5.tar.Z, but what is the "mhn" in MIMESTORE?
>
>"mhn" does not appear to be part of mm2.5.  What is it, and where do I get it?
>

Mhn is a part of mh-6.8, mh = mail handler, I do not know why it is
selected.

My question is: Is there an equivalent mh MIMESHOW?

Is there any point in trying:
#    define MIMESHOW "/usr/local/bin/mh/mhn -show -file %A"

Help is much appreciated.

Any hint on how to use trn, mh and mime together is very welcome.

Bard
>-- 
>Mark Bixby                         Internet: markb@cccd.edu
>Coast Community College District   1370 Adams Avenue
>District Information Services      Costa Mesa, CA, USA  92626
>Technical Support                  (714) 432-5064
>"You can tune a file system, but you can't tune a fish." - tunefs(1M)


-- 
B�rd Grimsmo     |Mail: SINTEF/Varmeteknikk         |Home: Schives Gate 7
Research Engineer|      7034 Trondheim, Norway      |      N-7030 Trondheim
SINTEF Division  |Phone: +47 7 592505               |      Norway
Termodynamics    |Fax:   +47 7 944513               |Home phone: +47 7 523801
(Termodata Co-op)|E-mail: Bard.Grimsmo@termo.unit.no|MIME-Mail is welcome
Re: trn 3.0 and metamail 2.5 (+ new question)
#4422
Author: John Schmitz
Date: Wed, 09 Jun 1993 19:06
27 lines
1549 bytes
> My question is: Is there an equivalent mh MIMESHOW?
> 
> Is there any point in trying:
> #    define MIMESHOW "/usr/local/bin/mh/mhn -show -file %A"

Yes, I use something like this:

MIMESHOW=/usr/local/bin/mh/mhn -show -file %P/rrn%a.%$ -form mhl.format.trn

although I think that goop in the middle should probably be %A now;
I haven't tried this recently (i.e., with trn3.0), but it worked in
previous versions.

> Any hint on how to use trn, mh and mime together is very welcome.

One other trick I use for composition is this "newsmhn" simple
script that you access as an editor to change your mhn composition
commands to real data.  I invoke it at the Pnews prompt with "e
newsmhn".


  #!/bin/ksh

  export mhdraft=$HOME/.article

  mhn $HOME/.article
Re: trn 3.0 and metamail 2.5
#4520
Author: Ian Dickinson
Date: Tue, 15 Jun 1993 14:35
16 lines
1670 bytes
In article <1v2vde$831@spock.dis.cccd.edu> markb@cccd.edu writes:
>I'd like to compile trn 3.0 with MIME/metamail support.  In common.h, you have:
>#    define MIMESTORE "/usr/local/bin/mh/mhn -store -auto -file "
>#    define MIMESHOW "metamail -e -p -m \"trn %s\" %A"

I know this is the other way around from most of the other posters in this
thread, but could someone give me a #define for MIMESTORE which uses metamail
rather than 'mhn' since we don't use/have mh around here (by choice).

Cheers,
-- 
\/ato - Ian Dickinson - NIC handle: ID17          This article is dedicated to
vato@csv.warwick.ac.uk  ...!uknet!warwick!vato        those who disapprove but
/I=I/S=Dickinson/OU=CSV/O=Warwick/PRMD=UK.AC/ADMD= /C=GB/          continue to
@c=GB@o=University of Warwick@ou=Computing Services@cn=Ian Dickinson      read
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads