9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front] Argument lists in Plan 9 man pages
@ 2018-03-16  1:25 sl
  0 siblings, 0 replies; 20+ messages in thread
From: sl @ 2018-03-16  1:25 UTC (permalink / raw)
  To: 9front

> Furthermore, it appears Tufte is speaking specifically about
> quantitative materials.
> I'm not confident flags are quantitative.

The Tufte stuff is about not accidentally lying with pictures.  A
substantial portion of the book I quoted is devoted to recommending
text tables where graphics are commonly employed.  I think his
perspective can be applied generally to all forms of communication.


> Having said this, I agree with sl

Let's draft a time series.

sl


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-18 10:07 ` Ethan A. Gardener
@ 2018-03-18 10:17   ` Ethan A. Gardener
  0 siblings, 0 replies; 20+ messages in thread
From: Ethan A. Gardener @ 2018-03-18 10:17 UTC (permalink / raw)
  To: 9front

On Sun, Mar 18, 2018, at 10:07 AM, Ethan A. Gardener wrote:

Oh by the way, I'm changing my surname for personal reasons.
It used to be Grammatikidis.


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16 13:23   ` hiro
  2018-03-16 15:08     ` Stanley Lieber
@ 2018-03-18 10:15     ` Ethan A. Gardener
  1 sibling, 0 replies; 20+ messages in thread
From: Ethan A. Gardener @ 2018-03-18 10:15 UTC (permalink / raw)
  To: 9front

On Fri, Mar 16, 2018, at 1:23 PM, hiro wrote:
> > Manpages are supposed to be 'reference' pages.
> 
> Wrong.

I hereby propose the addition of 'ref tables' to provide references on how to use commands. Looking up a command's 'ref table' is easy, simply type 'ref ' followed by the name of the command. For example:
    ref -s δ ref

Or, just plumb a string such as this:
    ref»δ«


-- 
The lyf so short, the craft so long to lerne. -- Chaucer


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-15  2:57 sl
  2018-03-15  3:33 ` Sean Hinchee
  2018-03-15  3:34 ` Kurt H Maier
@ 2018-03-18 10:07 ` Ethan A. Gardener
  2018-03-18 10:17   ` Ethan A. Gardener
  2 siblings, 1 reply; 20+ messages in thread
From: Ethan A. Gardener @ 2018-03-18 10:07 UTC (permalink / raw)
  To: 9front

Seeing as this appears to be a thread for declaring opinion 
along with an intent to do nothing, I may as well weigh in. ;)

On Thu, Mar 15, 2018, at 2:57 AM, sl@stanleylieber.com wrote:
> 
> The argument against my point of view is that the man pages are
> supposed to be kept short enough, and programs should have few enough
> flag options, that it never becomes a problem wading through tens of
> paragraphs to locate the flag option you're looking for.

I formerly held to this opinion, with the exception that I never even tried 
wading through more than 4 or 5 paragraphs at most. I have to admit 
that even 2 paragraphs of verbiage around the options could be really 
annoying at times.

I use the word "verbiage" because it sounds like "foliage", which in this 
context reminds me of attempting to proceed through jungle undergrowth. 

> Parsing the big paragraphs for flag options is
> cognitively disruptive and prone to error

Exactly. 

I implied I'll do nothing at the top, but that may turn out to be false. I really 
got back into programming in the last few weeks, but once I really got going 
I found it somewhat addictive. There's always another fascinating puzzle to 
solve, and I don't want to stop. Then, of course, it takes my energy away 
from everything else. I decided to limit programming to one day a week, 
but I need something lighter to fill the rest of my time. 
I've got a few other things to write at the moment, but when they're done, 
maybe I'll have a go at man pages.


-- 
The lyf so short, the craft so long to lerne. -- Chaucer


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-17 21:12         ` Lyndon Nerenberg
@ 2018-03-18  2:33           ` hiro
  0 siblings, 0 replies; 20+ messages in thread
From: hiro @ 2018-03-18  2:33 UTC (permalink / raw)
  To: 9front

neither are tutorials, but i would always recommend reading both to
get a good overview.

also: man pages are updated, /sys/doc stuff often is outdated.

earlier sl was correct to complain. what i really wanted to point out
is the significance of this additional use case, i.e. man pages cover
both a lot of detail (for quick references) and more abstract
overview.

On 3/17/18, Lyndon Nerenberg <lyndon@orthanc.ca> wrote:
>> They are meant to be read also for getting an overview of the system.
>
> I think /sys/doc/* fulfills that role.
>
> Which isn't to say you can't learn a lot from reading manpages, but they
> aren't tutorials.
>


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16 15:45       ` hiro
  2018-03-16 18:00         ` Stanley Lieber
@ 2018-03-17 21:12         ` Lyndon Nerenberg
  2018-03-18  2:33           ` hiro
  1 sibling, 1 reply; 20+ messages in thread
From: Lyndon Nerenberg @ 2018-03-17 21:12 UTC (permalink / raw)
  To: 9front

> They are meant to be read also for getting an overview of the system.

I think /sys/doc/* fulfills that role.

Which isn't to say you can't learn a lot from reading manpages, but they 
aren't tutorials.


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16 18:00         ` Stanley Lieber
  2018-03-16 22:04           ` hiro
@ 2018-03-16 22:06           ` hiro
  1 sibling, 0 replies; 20+ messages in thread
From: hiro @ 2018-03-16 22:06 UTC (permalink / raw)
  To: 9front

> I don’t agree that a tabulated list of flag options is at odds with
> providing an overview of the system. The same information is still being
> provided, whichever format is ultimately used.

I agree it is possible either way.


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16 18:00         ` Stanley Lieber
@ 2018-03-16 22:04           ` hiro
  2018-03-16 22:06           ` hiro
  1 sibling, 0 replies; 20+ messages in thread
From: hiro @ 2018-03-16 22:04 UTC (permalink / raw)
  To: 9front

no


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16 15:45       ` hiro
@ 2018-03-16 18:00         ` Stanley Lieber
  2018-03-16 22:04           ` hiro
  2018-03-16 22:06           ` hiro
  2018-03-17 21:12         ` Lyndon Nerenberg
  1 sibling, 2 replies; 20+ messages in thread
From: Stanley Lieber @ 2018-03-16 18:00 UTC (permalink / raw)
  To: 9front

On Mar 16, 2018, at 11:45 AM, hiro <23hiro@gmail.com> wrote:
> 
> They are meant to be read also for getting an overview of the system.

Are you saying:

Man pages are not a reference work because they are meant to provide information about the system.

Or something else?

This is going to sound rude: Maybe you could try embedding your message inside long paragraphs. If it’s good enough for enumerating flag options, it might work here.

I don’t agree that a tabulated list of flag options is at odds with providing an overview of the system. The same information is still being provided, whichever format is ultimately used.

sl




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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16 15:08     ` Stanley Lieber
@ 2018-03-16 15:45       ` hiro
  2018-03-16 18:00         ` Stanley Lieber
  2018-03-17 21:12         ` Lyndon Nerenberg
  0 siblings, 2 replies; 20+ messages in thread
From: hiro @ 2018-03-16 15:45 UTC (permalink / raw)
  To: 9front

They are meant to be read also for getting an overview of the system.


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16 13:23   ` hiro
@ 2018-03-16 15:08     ` Stanley Lieber
  2018-03-16 15:45       ` hiro
  2018-03-18 10:15     ` Ethan A. Gardener
  1 sibling, 1 reply; 20+ messages in thread
From: Stanley Lieber @ 2018-03-16 15:08 UTC (permalink / raw)
  To: 9front

On Mar 16, 2018, at 9:23 AM, hiro <23hiro@gmail.com> wrote:

>> Manpages are supposed to be 'reference' pages.
> 
> Wrong.

What are they then, hiro. Lottery tickets?

sl



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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16  1:32 ` Lyndon Nerenberg
  2018-03-16 13:22   ` hiro
@ 2018-03-16 13:23   ` hiro
  2018-03-16 15:08     ` Stanley Lieber
  2018-03-18 10:15     ` Ethan A. Gardener
  1 sibling, 2 replies; 20+ messages in thread
From: hiro @ 2018-03-16 13:23 UTC (permalink / raw)
  To: 9front

> Manpages are supposed to be 'reference' pages.

Wrong.


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16  1:32 ` Lyndon Nerenberg
@ 2018-03-16 13:22   ` hiro
  2018-03-16 13:23   ` hiro
  1 sibling, 0 replies; 20+ messages in thread
From: hiro @ 2018-03-16 13:22 UTC (permalink / raw)
  To: 9front

The man pages being very readable is a lesson on how little the rules
you manage to formulate matter in comparison to subtler rules we can
only attribute to the "art" of writing.


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-16  1:20 sl
@ 2018-03-16  1:32 ` Lyndon Nerenberg
  2018-03-16 13:22   ` hiro
  2018-03-16 13:23   ` hiro
  0 siblings, 2 replies; 20+ messages in thread
From: Lyndon Nerenberg @ 2018-03-16  1:32 UTC (permalink / raw)
  To: 9front

> I want both English and legibility. I don't think tabulating flag options
> violates any of this.  Clarity shouldn't replace depth.

And describing flags using out-dented paragraphs doesn't stop anyone from 
writing prose within those paragraphs.  What frustrates me to no end with 
the traditional Plan9 manpage layout is that you cannot find where the 
flag description starts, when they are all buried inside inline text.

The typeset manpages have differential font helpers, but when you're 
running man in a terminal window, flags get buried on the background 
noise.

Manpages are supposed to be 'reference' pages.  That means visibly calling 
out the flags and their usage.  Otherwise, they (the man pages) aren't 
doing their job.

--lyndon



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

* Re: [9front] Argument lists in Plan 9 man pages
@ 2018-03-16  1:20 sl
  2018-03-16  1:32 ` Lyndon Nerenberg
  0 siblings, 1 reply; 20+ messages in thread
From: sl @ 2018-03-16  1:20 UTC (permalink / raw)
  To: 9front

>> I agree with Tufte, at least so far as this applies to man pages.
>> Flag options should be presented as a table.
> 
> Counterpoint:
> 
> Man pages should provide a full and well-articulated explanation of the
> software.  Tufte's table advocacy is more appropriate for a 'usage'
> function that might describe invocation to a user who passed a help
> flag or fucked up the initial attempt.
> 
> Tufte's USA Today stuff is fine for sales brochures and nutrition
> information labels -- man pages should be the developer speaking to the
> user, and that happens in English.

I want both English and legibility. I don't think tabulating flag options
violates any of this.  Clarity shouldn't replace depth.

sl


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-15  3:34 ` Kurt H Maier
@ 2018-03-15  4:54   ` Kyle Nusbaum
  0 siblings, 0 replies; 20+ messages in thread
From: Kyle Nusbaum @ 2018-03-15  4:54 UTC (permalink / raw)
  To: 9front

On 03/14/2018 10:34 PM, Kurt H Maier wrote:
> On Wed, Mar 14, 2018 at 10:57:55PM -0400, sl@stanleylieber.com wrote:
>>
>> I agree with Tufte, at least so far as this applies to man pages.
>> Flag options should be presented as a table.
> 
> 
> Counterpoint:
> 
> Man pages should provide a full and well-articulated explanation of the
> software.  Tufte's table advocacy is more appropriate for a 'usage'
> function that might describe invocation to a user who passed a help
> flag or fucked up the initial attempt.
> 
> Tufte's USA Today stuff is fine for sales brochures and nutrition
> information labels -- man pages should be the developer speaking to the
> user, and that happens in English.
> 
> My commitment to this opinion is insufficiently intense to cause me to
> take any action beyond whining on the internet.
> 
> khm
> 

Furthermore, it appears Tufte is speaking specifically about
quantitative materials.
I'm not confident flags are quantitative.

Having said this, I agree with sl, and either way I will obviously do
nothing about it.

-Kyle


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-15  2:57 sl
  2018-03-15  3:33 ` Sean Hinchee
@ 2018-03-15  3:34 ` Kurt H Maier
  2018-03-15  4:54   ` Kyle Nusbaum
  2018-03-18 10:07 ` Ethan A. Gardener
  2 siblings, 1 reply; 20+ messages in thread
From: Kurt H Maier @ 2018-03-15  3:34 UTC (permalink / raw)
  To: 9front

On Wed, Mar 14, 2018 at 10:57:55PM -0400, sl@stanleylieber.com wrote:
> 
> I agree with Tufte, at least so far as this applies to man pages.
> Flag options should be presented as a table.


Counterpoint:

Man pages should provide a full and well-articulated explanation of the
software.  Tufte's table advocacy is more appropriate for a 'usage'
function that might describe invocation to a user who passed a help
flag or fucked up the initial attempt.

Tufte's USA Today stuff is fine for sales brochures and nutrition
information labels -- man pages should be the developer speaking to the
user, and that happens in English.

My commitment to this opinion is insufficiently intense to cause me to
take any action beyond whining on the internet.

khm


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-15  2:57 sl
@ 2018-03-15  3:33 ` Sean Hinchee
  2018-03-15  3:34 ` Kurt H Maier
  2018-03-18 10:07 ` Ethan A. Gardener
  2 siblings, 0 replies; 20+ messages in thread
From: Sean Hinchee @ 2018-03-15  3:33 UTC (permalink / raw)
  To: 9front

I can definitely say i find the upasfs(4) style of handling arguments
much more pleasant than the style in which the arguments are
intermixed with paragraphs of prose.

I would agree with sl on this one and would offer my time to help
re-format pages if it would be desired.

Cheers,
Sean

On Wed, Mar 14, 2018 at 9:57 PM,  <sl@stanleylieber.com> wrote:
>> On Wed, Mar 14, 2018 at 09:53:38PM -0400, sl@stanleylieber.com
> wrote: >> From Tufte, Edward R (2001) [1983], The Visual Display of
> Quantitative >> Information (2nd ed.), Cheshire, CT: Graphics Press,
> ISBN >> 0-9613921-4-2: >> >>
> http://img.stanleylieber.com:80/src/19787/img/small.1521069102.png > >
> Tufte is full of it.
>
> I agree with Tufte, at least so far as this applies to man pages.
> Flag options should be presented as a table.
>
> Compare:
>
>         http://man.9front.org/1/rio
>
> with:
>
>         http://man.9front.org/4/upasfs
>
> Both styles are distributed across the total collection of man pages.
> The pages that try to describe flag options by clumping them together
> into communal paragraphs require all kinds of awkward constructions
> that are only slightly more legible (because flag options are printed
> in an alternate font) in the fully-formatted PostScript output.  Even
> then, all the extra words needed to shore up embedding them into
> literary prose obscure the information the page is trying to
> communicate.
>
> The argument against my point of view is that the man pages are
> supposed to be kept short enough, and programs should have few enough
> flag options, that it never becomes a problem wading through tens of
> paragraphs to locate the flag option you're looking for.  This
> argument doesn't wash.  Parsing the big paragraphs for flag options is
> cognitively disruptive and prone to error when the reader has no need
> to re-digest the entirety of an already chewed over man page.
>
> This is not a call to action.  I will not revise a single man page.  I
> will continue to author new man pages that display flag options as a
> table.
>
> Thank you for your time.
>
> sl


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

* Re: [9front] Argument lists in Plan 9 man pages
@ 2018-03-15  2:57 sl
  2018-03-15  3:33 ` Sean Hinchee
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: sl @ 2018-03-15  2:57 UTC (permalink / raw)
  To: 9front

> On Wed, Mar 14, 2018 at 09:53:38PM -0400, sl@stanleylieber.com
wrote: >> From Tufte, Edward R (2001) [1983], The Visual Display of
Quantitative >> Information (2nd ed.), Cheshire, CT: Graphics Press,
ISBN >> 0-9613921-4-2: >> >>
http://img.stanleylieber.com:80/src/19787/img/small.1521069102.png > >
Tufte is full of it.

I agree with Tufte, at least so far as this applies to man pages.
Flag options should be presented as a table.

Compare:

	http://man.9front.org/1/rio

with:

	http://man.9front.org/4/upasfs

Both styles are distributed across the total collection of man pages.
The pages that try to describe flag options by clumping them together
into communal paragraphs require all kinds of awkward constructions
that are only slightly more legible (because flag options are printed
in an alternate font) in the fully-formatted PostScript output.  Even
then, all the extra words needed to shore up embedding them into
literary prose obscure the information the page is trying to
communicate.

The argument against my point of view is that the man pages are
supposed to be kept short enough, and programs should have few enough
flag options, that it never becomes a problem wading through tens of
paragraphs to locate the flag option you're looking for.  This
argument doesn't wash.  Parsing the big paragraphs for flag options is
cognitively disruptive and prone to error when the reader has no need
to re-digest the entirety of an already chewed over man page.

This is not a call to action.  I will not revise a single man page.  I
will continue to author new man pages that display flag options as a
table.

Thank you for your time.

sl


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

* Re: [9front] Argument lists in Plan 9 man pages
  2018-03-15  1:53 sl
@ 2018-03-15  2:19 ` Kurt H Maier
  0 siblings, 0 replies; 20+ messages in thread
From: Kurt H Maier @ 2018-03-15  2:19 UTC (permalink / raw)
  To: 9front

On Wed, Mar 14, 2018 at 09:53:38PM -0400, sl@stanleylieber.com wrote:
>  From Tufte, Edward R (2001) [1983], The Visual Display of Quantitative
> Information (2nd ed.), Cheshire, CT: Graphics Press, ISBN
> 0-9613921-4-2:
> 
> 	http://img.stanleylieber.com:80/src/19787/img/small.1521069102.png

Tufte is full of it.

khm


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

end of thread, other threads:[~2018-03-18 10:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-16  1:25 [9front] Argument lists in Plan 9 man pages sl
  -- strict thread matches above, loose matches on Subject: below --
2018-03-16  1:20 sl
2018-03-16  1:32 ` Lyndon Nerenberg
2018-03-16 13:22   ` hiro
2018-03-16 13:23   ` hiro
2018-03-16 15:08     ` Stanley Lieber
2018-03-16 15:45       ` hiro
2018-03-16 18:00         ` Stanley Lieber
2018-03-16 22:04           ` hiro
2018-03-16 22:06           ` hiro
2018-03-17 21:12         ` Lyndon Nerenberg
2018-03-18  2:33           ` hiro
2018-03-18 10:15     ` Ethan A. Gardener
2018-03-15  2:57 sl
2018-03-15  3:33 ` Sean Hinchee
2018-03-15  3:34 ` Kurt H Maier
2018-03-15  4:54   ` Kyle Nusbaum
2018-03-18 10:07 ` Ethan A. Gardener
2018-03-18 10:17   ` Ethan A. Gardener
2018-03-15  1:53 sl
2018-03-15  2:19 ` [9front] " Kurt H Maier

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