Ratfactor's tttml-fmt 68-column patch
===================================================================
This is an incredibly simple patch to Bitreich's tttml-fmt tool.
It simply changes the target number of columns from 80 to 68.
Explanation shall be forthcoming in a Phlog post. I can't link to
it yet because it doesn't exist and I can't write that until I'm
done writing this. It's a real chicken-and-egg dilema!
Mostly I'm doing this because I have never actually created and
distributed a traditional patch file before. Combine it with
Gopher, and you have an extraordinarily old-school approach to a
software modification.
How to install
-------------------------------------------------------------------
Download tttml from Bitreich's source repository at
gopher://bitreich.org/1/scm/tttml/log.gph
git clone git://bitreich.org/tttml
Download my sweet patch:
curl
gopher://sdf.org/0/users/ratfactor/gopher/tttml-fmt68.patch -O
(That's a "big oh" at the end, which tells curl to save the file
using the last segment of the URI as the filename.)
Apply the patch:
patch tttml-fmt < tttml-fmt68.patch
Run the installation script to make tttml part of *your system*
(optional):
make install
(NOTE! The install script assumes paths which may not be correct
for your system, particularly the man page paths - I had to change
them to be correct for Slackware Linux.)
How it's made
-------------------------------------------------------------------
This is mostly a note to myself. The patch is the simple output
of `diff`:
diff -u tttml-fmt tttml-fmt68 > tttml-fmt68.patch
The `-u` flag tells `diff` to output 'unified context', which, by
default, is 3 lines of context above and below the changed lines.
I don't think `patch` needs it, but it does make it easier to
review the patch file itself.
Also, `tttml-fmt` was used to generate this README as well. So
the whole thing has come full circle.
Am I formatted text file dreaming I'm the source file or a source
file dreaming I'm the formatted output?