home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
unix
/
textmstr.shr
/
README
< prev
next >
Wrap
Text File
|
1991-06-26
|
5KB
|
96 lines
TextMaster -- Version 1.4
By: Donald Burr
INTERNET: dburr@ocf.berkeley.edu, 72540.3071@compuserve.COM
Compu$erve: 72540,3071 America Online: DonaldBurr
This is version 1.4 of TextMaster, a UNIX- and Macintosh-end program to
convert text file formats between UNIX and Macintosh.
This release fixes a MAJOR bug in the Macintosh end. The Mac end will now
correctly convert files from Mac -> UNIX.
TextMaster will convert between UNIX newlines and Macintosh end-of-line
characters. The direction of conversion can be specified at the command
line, and thus files can be converted in any direction.
This is useful if your UNIX -> Mac downloads, or uploads, of text files
are failing miserably. White Knight has a tendency to do this, and other
comm programs may as well.
Please send all comments, bug reports, feature requests, etc. to the
Internet address listed above.
This software is being donated to the public domain. Permission is hereby
granted to freely copy and distribute this source code, as long as no fees
are charged for such duplication. Permission is also granted to modify
this source code at will, providing that you insert a notice in the dist-
ribution that this source is NOT the original TextMaster source, and that you
not remove my name from the program and accompanying documentation.
WHAT IS TEXTMASTER?
It is a utility I hacked together to convert between Macintosh end-
of line characters, and UNIX newlines. I downloaded a mess of text files
one day to my Mac, and found they all came out on one line, with weird char-
acters (represented by "boxes") between where "line breaks" should have been.
Since I really couldn't download those files again, I decided to write a
utility to help me convert and salvage them. Thus was born TextMaster, which
was released (up to version 1.3) as "Macify". Since then, I have found out
that there already is a product called Macify, so in this release, I change
the name to TextMaster. Nuff said.
HOW TO COMPILE IT
First, edit the Makefile. It is fully commented, and should be
self-explanatory.
Next, edit "tm.h". The first segment of this file is to set up what
#include file your system uses for string functions. On SysV, this typically
is <string.h>. However, if you're on a BSD system, this typically is
<strings.h>. If you are on MSDOS, Mac, or some other platform, find out
what #include file your string routines are in, or if there is NO include
for string functions, and edit this accordingly.
Next, check over the definitions for characters for EOL's. These
should remain constant, but just check them over just in case.
Now, simply typing "make" will compile an executable in the current
directory. Test it out some, and if it seems to work, type "make install",
and a copy of the binary and man pages will be placed in the appropriate
places.
USAGE
The man page explains how to use the program, as does the screen
that appears when invoking TextMaster without any arguments. There isn't
any space here in the README to fully describe it.
LAST WORDS
Certainly hope you enjoy this program. It took a bit of work, es-
pecially the Mac portion of it, but I find it useful.
I am charging no shareware fee or anything for this. It's free.
Take it, use it in good health. Modify it at will. However, when modify-
ing the program, leave the version number intact; just tack on your own
version number after mine. Example, if the version # of TextMaster is 1.4,
and your name is Bill Smith, and this is the second revision to my code
you have done, change the version number to something like "1.4/BS-2",
the "BS" symbolizing this is Bill Smith's version, and the '2' signifying
this is Bill Smith's 2nd version. Now you can redistribute the program;
this way, we can keep track of which is the "genuine" version, and so
forth.
Two things I ask if you redistribute this work are, (a) my credit
(name, copyright, etc.) MUST remain in all documentation and program
displays, and (b) You not charge for distribution or shareware fees.
Please email me with all bug reports, suggestions for changes, and
so on. Better yet, if you have a suggestion for a change or a bug fix or
whatnot, and you can program in C, make the patch yourself, and mail me a
copy of the resultant source code. If it's good, and I like it, I'll be
sure to include it in my next version, with your name in the credits! My
email addresses can be found at the beginning of this document.