various binaries & sources

David Mosberger-Tang (davidm@AZStarNet.com)
Fri, 4 Aug 1995 20:44:29 -0700


I put up two files for ftp containing various stuff. The files are
axpbin-misc-0.0.tar.gz and axpsrc-misc-0.0.tar.gz in directory:

ftp://ftp.azstarnet.com/pub/linux/axp

The contents are:

axpbin-misc-0.0.tar.gz: GNU m4, clock, mail.local, BSD mail (aka Mail, mailx), popclient,
and sendmail.

axpsrc-misc-0.0.tar.gz: BSD mail source, clock.c source.

The BSD mail is derived from BSD mail v8.1. I just modified it
to get it to compile under Linux/Alpha. Before you can compile
this yourself, you'll need a fix to libc-linux/libio, which I
submitted to Bob. I assume the fix will be in his next libc
release, but if you can't wait, feel free to ask me for a
temporary workaround.

The clock.c source has some comments at the beginning of the source
file that explain my changes. I actually had to change very little.
The only interesting thing in it is how it uses the read-cycle-count
register to implement atomic reads and writes to the CMOS clock.
First time it occurred to me that the cycle-counter register could
be used in that way. In fact, using the cycle-counter register, you
can implement any restartable atomic sequence at the user-level---need
no stinkin' load-linked/store-conditional instruction or some such... :)

The binaries for which I didn't include source code compiled right out
of the box. So if you need to recompile them yourself, just pull them
off the net.

Before you use sendmail, be sure to change the configuration file. A
sample file is in /usr/lib/sendmail/cd/sample.mc. sendmail
configuration has gotten a lot more humane and if your box is
connected via PPP, it'll take you a minute to set it up. Just read
the comments in sample.mc and you should be on your way.

Enjoy,
--david

PS: I undoubtedly forgot that one, all-important file---just let me
know if anything is missing and I'll update the tar file.