The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Eric Allman <tuhs@eric.allman.name>
To: Jon Steinhart <jon@fourwinds.com>, tuhs@tuhs.org
Subject: [TUHS]  man-page style
Date: Tue, 27 Nov 2018 16:10:43 -0800	[thread overview]
Message-ID: <c0725307-e4df-632f-6ef3-75041108b3fb@neophilic.com> (raw)
In-Reply-To: <201811191648.wAJGmqGd005247@darkstar.fourwinds.com>

[I sent this almost a week ago, but it never showed up, probably because
my From address didn't match my subscription address.  Apologies if this
is a dup.]

I confirm Jon's observation.  It's true, sendmail wasn't "designed" in
the waterfall model sense, because at the time the email world was a
disaster, with new networks appearing seemingly daily, each of which
seemed to feel a need to come up with a new syntax for addresses.  Some
of those syntaxes were left-associative and some right-associative, and
there was no "correct" answer --- different sites wanted to parse the
same email address differently.  For example, consider:

	decvax!research!foo@berkeley

If you're on decvax you should send this to research.  If you're at
Berkeley you should send this to decvax.  And if you're on some other
site with an ARPAnet connection but without UUCP, you should send it to
Berkeley.  I concluded that something arbitrarily flexible (which meant
Turing Complete) was necessary.  Also, since some sites didn't
understand things like "@" signs in addresses, it was necessary to
rewrite the header so "reply" would work.  And all of this had to fit
into a 16-bit address space.

Life is easier today: the world has agreed on "user@domain", the
multitude of networks (e.g., UUCP, DECnet, CSNet, Berknet, ChaosNet,
PurdueNet, and possibly my favorite, a network out of the UK that used
"user@domain" but with the domain reversed, e.g., eric@edu.berkeley.cs
instead of eric@cs.berkeley.edu) is down to effectively one, and the
only 16-bit machines out there are not-very-powerful microcontrollers.
If I were building sendmail in this very different world, it would look
very different.

eric


On 2018-11-19 08:48 , Jon Steinhart wrote:
> Warner Losh writes:
>> On Fri, Nov 16, 2018 at 2:40 PM Jon Steinhart <jon@fourwinds.com> wrote:
>>
>>> Emacs sort of
>>> violates my UNIX-sense as it does many things instead of doing one thing
>>> well.
>>
>>
>> I'd argue that's not a bad thing. When people tried to add macros to make
>> or sendmail, you wound up with crazy like imake or the crazy sendfile.m4
>> stuff. Of course, sendmail and one thing aren't mates, but sometimes you
>> need to do a few, well chosen things well to avoid the crazy that trying to
>> misuse something will bring to the table.
>>
>> Warner
> 
> Funny that you bring this up as I was just talking to Eric about this.
> I was telling him that someone had recently asked me why sendmail was
> so complicated, and I explained to them that it was because email wasn't
> always like it is today; that there were many disparate email systems and
> sendmail glued them all together.  Eric said something like yeah, and I
> would have liked to have a better syntax but memory was too constrained
> at the time to let me do anything better.
> 

  reply	other threads:[~2018-11-28  0:11 UTC|newest]

Thread overview: 141+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-16  0:03 Doug McIlroy
2018-11-16  4:50 ` Larry McVoy
2018-11-16  5:32   ` Dave Horsfall
2018-11-16  6:03     ` Grant Taylor via TUHS
2018-11-16 15:33       ` Jim Capp
2018-11-16 15:37         ` WIlliam Cheswick
2018-11-16 15:48           ` Clem Cole
2018-11-16 18:47           ` Tom Manos
2018-11-17  3:29         ` Andy Kosela
2018-11-16 16:55       ` Paul Winalski
2018-11-16 17:13         ` Larry McVoy
2018-11-16 17:31           ` Paul Winalski
2018-11-16 20:45             ` Dave Horsfall
2018-11-16 17:33           ` Jim Capp
2018-11-16 17:36             ` Larry McVoy
2018-11-16 20:50             ` Dave Horsfall
2018-11-16 17:39           ` Jon Steinhart
2018-11-16 18:57             ` Clem Cole
2018-11-16 17:29         ` Toby Thain
2018-11-16 20:52           ` Dave Horsfall
2018-11-16 20:55             ` Larry McVoy
2018-11-16 20:56             ` Chet Ramey
2018-11-16 21:05               ` Jim Capp
2018-11-16 21:09                 ` Kurt H Maier
2018-11-19  2:53                 ` Chet Ramey
2018-11-19  5:59                   ` Lars Brinkhoff
2018-11-19 14:00                     ` Chet Ramey
2018-11-16 21:13               ` Jon Steinhart
2018-11-16 22:24                 ` Clem Cole
2018-11-17  7:50                 ` Lars Brinkhoff
2018-11-19  2:58                 ` Chet Ramey
2018-11-19  3:11                   ` Jon Steinhart
2018-11-19  3:21                     ` George Michaelson
2018-11-19  3:32                       ` Larry McVoy
2018-11-19  6:13                     ` Lars Brinkhoff
2018-11-19 14:06                       ` Chet Ramey
2018-11-19 15:35                     ` Clem Cole
2018-11-19 15:41                       ` David
2018-11-19 17:06                         ` Jon Steinhart
2018-11-19 17:39                       ` Theodore Y. Ts'o
2018-11-19 18:40                         ` Clem Cole
2018-11-19 22:08                           ` Theodore Y. Ts'o
2018-11-20  6:52                           ` arnold
2018-11-20  7:10                             ` Otto Moerbeek
2018-11-28  0:09                       ` Eric Allman
2018-11-28  0:36                         ` G. Branden Robinson
2018-11-28  0:57                           ` Eric Allman
2018-11-28  1:26                             ` G. Branden Robinson
2018-11-29  7:25                         ` arnold
2018-11-29 18:20                           ` Eric Allman
2018-11-29 18:52                             ` Larry McVoy
2018-12-03  6:52                             ` arnold
2018-11-19 13:08                   ` Steffen Nurpmeso
2018-11-19 13:20                     ` Donald ODona
2018-11-19  7:05                 ` Warner Losh
2018-11-19  7:20                   ` Bakul Shah
2018-11-19 16:48                   ` Jon Steinhart
2018-11-28  0:10                     ` Eric Allman [this message]
2018-11-29 18:48                       ` Larry McVoy
2018-11-29 19:13                         ` Grant Taylor via TUHS
2018-11-29 19:28                           ` Larry McVoy
2018-11-29 19:32                           ` Chet Ramey
2018-11-29 19:36                             ` Warner Losh
2018-11-29 19:40                               ` Chet Ramey
2018-11-30 14:55                         ` WIlliam Cheswick
2018-11-30 15:05                           ` [TUHS] Upas rewrite little language William Cheswick
2018-11-30 22:58                           ` [TUHS] man-page style Dave Horsfall
2018-12-01 23:24                             ` WIlliam Cheswick
2018-12-01 19:53                           ` arnold
2018-12-01 21:26                             ` Grant Taylor via TUHS
2018-12-02  7:22                               ` [TUHS] Ease (was Re: man-page style) arnold
2018-12-02  7:32                                 ` Grant Taylor via TUHS
2018-12-02 17:22                                   ` arnold
2018-11-17 14:49               ` [TUHS] man-page style Michael Parson
2018-11-17 21:07                 ` Dave Horsfall
2018-11-16 20:59             ` Jim Capp
2018-11-16 21:24               ` Toby Thain
2018-11-16 21:29                 ` Grant Taylor via TUHS
2018-11-16 21:35                   ` Toby Thain
2018-11-19  2:59                   ` Chet Ramey
2018-11-16 21:28               ` Lars Brinkhoff
2018-11-16 21:37               ` Dave Horsfall
2018-11-17 23:38               ` Ralph Corderoy
2018-11-18  0:31                 ` Donald ODona
2018-11-18  3:00                   ` Toby Thain
2018-11-19  3:09                     ` Chet Ramey
2018-11-18  5:01                   ` Lars Brinkhoff
2018-11-18  5:29                     ` Lars Brinkhoff
2018-11-18  0:40                 ` Theodore Y. Ts'o
2018-11-16 21:12             ` emanuel stiebler
2018-11-16 18:00         ` Warner Losh
2018-11-16 18:16         ` Grant Taylor via TUHS
2018-11-16 19:35           ` Chet Ramey
2018-11-16 20:50             ` Grant Taylor via TUHS
2018-11-16 22:25         ` Bakul Shah
2018-11-17  0:25           ` Earl Baugh
2018-11-16 21:26       ` Dave Horsfall
2018-11-17 18:16       ` arnold
2018-11-17 18:14   ` arnold
2018-11-17 18:21     ` Kurt H Maier
2018-11-17 19:42       ` arnold
2018-11-17 20:02       ` Noel Hunt
2018-11-17 20:36       ` Theodore Y. Ts'o
2018-11-19  3:05       ` Chet Ramey
2018-11-16  5:24 ` Anthony Martin
2018-11-16  1:43 Doug McIlroy
2018-11-16  3:18 ` Rob Pike
2018-11-16  3:38   ` Ken Thompson via TUHS
2018-11-16  3:50     ` Bakul Shah
2018-11-16 13:29       ` Mike Markowski
2018-11-16 13:44         ` Bakul Shah
2018-11-16 14:02         ` Harald Arnesen
2018-11-16  6:38   ` Larry McVoy
2018-11-16 13:42     ` Clem Cole
2018-11-16 19:05 ` Nemo
2018-11-16 19:29 Noel Chiappa
2018-11-16 20:46 ` Grant Taylor via TUHS
2018-11-17 15:39 Noel Chiappa
2018-11-19  3:02 ` Chet Ramey
2018-11-19  4:15   ` Dave Horsfall
2018-11-19 22:18     ` Michael Parson
2018-11-20  0:55       ` George Michaelson
2018-11-19  4:43   ` Kurt H Maier
2018-12-01 20:52 Norman Wilson
2018-12-01 21:34 ` Grant Taylor via TUHS
2018-12-01 23:09 Norman Wilson
2018-12-02  2:37 ` Grant Taylor via TUHS
2018-12-02  2:44   ` Larry McVoy
2018-12-02  2:59     ` Grant Taylor via TUHS
2018-12-02 22:30 ` Dave Horsfall
2018-12-03  1:05   ` Warner Losh
2018-12-04  7:48     ` Dave Horsfall
2018-12-03  1:14   ` Bakul Shah
2018-12-03  1:30     ` Larry McVoy
2018-12-04 21:26       ` Dave Horsfall
2018-12-04 21:34         ` Larry McVoy
2018-12-04 22:11           ` Bakul Shah
2018-12-05  6:50           ` Pierre DAVID
2018-12-28  6:32           ` Dave Horsfall
2018-12-03  6:53   ` arnold
2018-12-02  3:24 Norman Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c0725307-e4df-632f-6ef3-75041108b3fb@neophilic.com \
    --to=tuhs@eric.allman.name \
    --cc=jon@fourwinds.com \
    --cc=tuhs@tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).