The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* Re: [TUHS] man-page style
@ 2018-12-01 23:09 Norman Wilson
  2018-12-02  2:37 ` Grant Taylor via TUHS
  2018-12-02 22:30 ` Dave Horsfall
  0 siblings, 2 replies; 145+ messages in thread
From: Norman Wilson @ 2018-12-01 23:09 UTC (permalink / raw)
  To: tuhs

I wrote (re my approach to sendmail.cf):

> Bill's half right.  I didn't invent a language; I used what was there.

Grant Taylor asked:

  Can I ask what language you did use?  Was it m4 or something else?

====

I think you missed my point.  The language I used was plain old
sendmail.cf.

Norman Wilson
Toronto ON

^ permalink raw reply	[flat|nested] 145+ messages in thread
* Re: [TUHS] man-page style
@ 2018-12-02  3:24 Norman Wilson
  0 siblings, 0 replies; 145+ messages in thread
From: Norman Wilson @ 2018-12-02  3:24 UTC (permalink / raw)
  To: tuhs

Grant:

  Sorry, I mistook the context to be that you wrote something to write the
  cf file / language for you.

===

Yep, evidently I didn't write clearly enough.  Sorry about that.

(Which links us nicely back to the Subject: line, and
the concise clarity of the original manual-entry style!)

Norman Wilson
Toronto ON

^ permalink raw reply	[flat|nested] 145+ messages in thread
* Re: [TUHS] man-page style
@ 2018-12-01 20:52 Norman Wilson
  2018-12-01 21:34 ` Grant Taylor via TUHS
  0 siblings, 1 reply; 145+ messages in thread
From: Norman Wilson @ 2018-12-01 20:52 UTC (permalink / raw)
  To: tuhs

WIlliam Cheswick <ches@cheswick.com> wrote:

> As for the configuration: when Norman Wilson moved to Toronto, he
> implemented some form of little language for configuring sendmail,
> treating it somewhat as an assembly language.

Bill's half right.  I didn't invent a language; I used what was there.

I decided that the best way to deal with Sendmail's own configuration
language was to treat it as I would the assembly language for a
specialized, irregularly-designed microprocessor:

1.  Understand as well as possible what the instructions actually do;
2.  Write the simplest possible program that will get the job done;
3.  Avoid extra layers of macros and so on that hide the details, because
that also hides the irregularities and makes it harder to understand
and debug;
4.  By the same reason, don't just copy someone else's program that
does something complicated; write your own and do things simply.

Sendmail has plenty of design flaws (not just in the language), as
I'm sure Eric will acknowledge; but I think the biggest problem
people have had with it that most people copied the rather-complicated
sample configuration files shipped with the source rather than just
reading the manual, doing a few experiments to understand the behaviour,
and writing something simple.

On the other hand, I've never quite understood why so many people
treat device drivers as scary and untouchable, copying an existing
one and hacking it until it seems to work rather than understanding
what the device actually does and writing a simple program to control
it.  So perhaps my brain just doesn't work normally.

Norman Wilson
Toronto ON

^ permalink raw reply	[flat|nested] 145+ messages in thread
* Re: [TUHS] man-page style
@ 2018-11-17 15:39 Noel Chiappa
  2018-11-19  3:02 ` Chet Ramey
  0 siblings, 1 reply; 145+ messages in thread
From: Noel Chiappa @ 2018-11-17 15:39 UTC (permalink / raw)
  To: tuhs; +Cc: jnc

    > From: Lars Brinkhoff

    > Emacs is very much divorced from the Unix philosopy. However, it's
    > perfectly in synch with how things are done in ITS.

Hmm. It is complicated, but... the vast majority of my keystrokes are typed
into Epsilon (a wonderful, small, fast EMACS-type editor for Windows, etc
which one can customize in C) - especially since I started, very early on (V6)
to run my shell in an EMACS window, so I could edit commands, and thus I was
pretty much always typing to EMACS. So, it makes sense to me to have it be
powerful - albeit potentially a bit complex.

I say 'potentially' because one could after all restrict oneself to the 4
basic motion commands, and 'delete character'; you don't have to learn what
CRTL-ALT-SHIFT-Q does.

    > Stallman .. developing GNU Emacs (from Gosling's version)

Err, I'm not sure how much influence Gosling's was. He had, after all, done
the original EMACS on ITS; I got the impression he just set off on his own
path to do GNU Emacs. (Why else would it be implemented in LISP? :-).

	Noel

^ permalink raw reply	[flat|nested] 145+ messages in thread
* Re: [TUHS] man-page style
@ 2018-11-16 19:29 Noel Chiappa
  2018-11-16 20:46 ` Grant Taylor via TUHS
  0 siblings, 1 reply; 145+ messages in thread
From: Noel Chiappa @ 2018-11-16 19:29 UTC (permalink / raw)
  To: tuhs; +Cc: jnc

    > From: Clem Cole

    > Actually I blame the VAX and larger address spaces for much of that and
    > no enough real teaching of what I refer to as 'good taste.'  When you
    > had to think about keeping it small and decomposable, you did. ...
    > Truth is, it is a tough call, learning when 'good enough' is all you
    > need. ... The argument of course is - "well look how well it works and I
    > can do this X" -- sorry not good enough.

Exactly; the bloat in the later Unix versions killed what I feel was the
_single best thing_ about early Unix - which was its awesome, un-matched
bang/buck ratio.

_That_ is what made me such a huge fan of Unix, even though as an operating
system person, I was, and remain, a big fan of Multics (maybe the only person
in the world who really likes both :-), which I still think was a better
long-term path for OSes (long discussion of why elided to keep this short).

I mean, as an operating system, I don't find Unix that memorable; it's (until
recently) a monolithic kernel, with all that entails. Doing networking work on
it was a total PITA! When I looked across as what Dave Clark was able to do on
Multics, with its single-level memory, and layered OS, doing TCP/IP, I was
sky-blue pink with envy.

     Noel

^ permalink raw reply	[flat|nested] 145+ messages in thread
* Re: [TUHS] man-page style
@ 2018-11-16  1:43 Doug McIlroy
  2018-11-16  3:18 ` Rob Pike
  2018-11-16 19:05 ` Nemo
  0 siblings, 2 replies; 145+ messages in thread
From: Doug McIlroy @ 2018-11-16  1:43 UTC (permalink / raw)
  To: tuhs

Sorry about the recent post. It may seem peripherally
connected to tuhs, but it got there due to overtrained
fingers (or overaged mind). It was intended for another list.

Doug

^ permalink raw reply	[flat|nested] 145+ messages in thread
* [TUHS] man-page style
@ 2018-11-16  0:03 Doug McIlroy
  2018-11-16  4:50 ` Larry McVoy
  2018-11-16  5:24 ` Anthony Martin
  0 siblings, 2 replies; 145+ messages in thread
From: Doug McIlroy @ 2018-11-16  0:03 UTC (permalink / raw)
  To: tuhs

Regardless of standards considerations, if there's any advice
that needs to be hammered into man authors, it's to be concise
and accurate, but not pedantic. As Will Strunk commanded,
"Omit needless words."

The most needless words of all are promotional. No man page
should utter words like "powerful", "extraordinarily versatile",
"user-friendly", or "has a wide range of options".

As another instance of the rule, it would be better to recommend
short subtitles than to help make them long by recommending
quotes. If anything is said about limited-length macros, it
would best be under BUGS.

As editor for v7-v10, I would not offer v7 as a canonical
model. It owed its use of boldface in SYNOPIS to the limited
number of fonts (Typically R,F,I,S) that could be on our
typesetter at the same time. For v9 we were able to follow
Kernighan and adopt a distinct literals font (L, which happened
to be Courier but could have been identified with bold had we
wished). I still think this is the best choice.

As for options, v7 is a very poor model. It has many pages
that describe options in line, just as v1 had done for its
few options (called flags pre-v7). By v10 all options were
displayed in a list format.

For nagging reasons of verbal continuity, the options displays
were prefaced by *needless words* like, "The following options
are recognized". A simple OPTIONS heading would be better.

Unfortunately, an OPTIONS heading would intrude between the
basic description and less important details that follow
the options. (I don't agree that it would come too closely
after DESCRIPTION; a majority of man pages already have even
shorter sections.)  OPTIONS could be moved to the end of
DESCRIPTION. However, options may well be the biggest reason
for quick peeks at man pages; they should be easy to spot. It
has reasonably been suggested that OPTIONS should be a .SS
subsection.  That might be followed by .SS DETAILS.

Doug

^ permalink raw reply	[flat|nested] 145+ messages in thread

end of thread, other threads:[~2018-12-30 19:05 UTC | newest]

Thread overview: 145+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-01 23:09 [TUHS] man-page style 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-04 15:08       ` [TUHS] APL - was " Toby Thain
2018-12-04 17:07         ` Nemo
2018-12-04 17:55           ` Paul Winalski
2018-12-04 18:55             ` Grant Taylor via TUHS
2018-12-03  1:14   ` [TUHS] " 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-04 22:54         ` [TUHS] swtch() (was: man-page style) Greg 'groggy' Lehey
2018-12-05 15:33           ` Clem Cole
2018-12-28  6:31           ` Dave Horsfall
2018-12-30 19:05             ` Paul Winalski
2018-12-03  6:53   ` [TUHS] man-page style arnold
  -- strict thread matches above, loose matches on Subject: below --
2018-12-02  3:24 Norman Wilson
2018-12-01 20:52 Norman Wilson
2018-12-01 21:34 ` 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-11-16 19:29 Noel Chiappa
2018-11-16 20:46 ` Grant Taylor via TUHS
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  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
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 22:58                           ` 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-11-17 14:49               ` 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

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).