ftp.nice.ch/pub/next/unix/text/mton.README

This is the README for mton.N.b.tar.gz [Download] [Browse] [Up]

mton was created to allow me to use Macintosh EPS files on my new NeXT
Cube. I later found it to be useful for converting any text files,
including PostScript fonts, program listings, etc. 

mton stands for, literally, ctrl-M TO Newline.

This program scans standard input for Macintosh end of line characters
(^M/ASCII 13/CR), and replaces it with the UNIX newline character 
(^J/ASCII 10/LF). If the CR is followed by a LF, then the program only
strips the CR, so as not to have to LFs in the final output.

The program writes its output to standard output.

USAGE: Simply enter the NeXT Shell or terminal, and enter the following
command.

mton <file1 >file2

where file1 is the unconverted file, and file2 is the file that mton 
will create. If file2 already exists, it will be overwritten.

One way I like to run this program is to place all the Mac Files into
one directory (say, /LocalLibrary/Mac), and convert them all at once.
mton doesn't recognize wildcards, but here's a simple way around that.
Create the directories /LocalLibrary/Mac and /LocalLibrary/NeXT.

Place all the mac files to be converted in /LocalLibrary/Mac.
Make sure that you're in the Bourne Shell (/bin/sh).
Change your working directory to /LocalLibrary.
Enter the following command.

#for i in `ls ./Mac`; do mton <./Mac/$i >./NeXT/$i &; done

Depending on the number of files in the Mac directory, this line could
conceivably slow your machine to a crawl. The good news is that it
shouldn't take too long. When it finishes, you should have a whole
directory full of converted files. It's like magic!

mton was written by David M. Herbert, Computer Science senior at
the University of Maryland, College Park. David has absolutely no
interest in the NeXT computer, but loves UNIX. I told him that I'd
make it worth his time, so I'm asking anyone who uses this software
to send him a small donation, say $5, or whatever you feel is 
worth it. 

The way I look at is this: It would cost you quite a lot of money
to buy all those fonts from Adobe all over again!

Anyway, here's David's address:
David M. Herbert
12307 Starlight Lane
Bowie, MD 20715

Again, I hope you find this program as useful as I have.

Michael D. Callaghan 

(MikeC)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.