Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hier(7): improvement, modernisation #763

Closed
wants to merge 22 commits into from

Conversation

grahamperrin
Copy link
Contributor

@grahamperrin grahamperrin commented Jun 5, 2023

hier(7): improvement, modernisation

Consistent use of lowercase, spacing between sections, etc.

Cease mentioning floppy disks.

De-list /usr/share/misc/fonts/, which has been ??? (without a description) for twenty-seven years.

Change zpool to pool.

Uppercase PPP for Point-to-Point Protocol.

A few other improvements to wording, including avoidance of the phrase pre-fab.

Update the descriptions of:

  • /tmp/
  • /usr/share/misc/
  • /var/preserve/
  • /var/tmp/
  • /var/tmp/vi.recover/.

Refer to vi(1) instead of ex(1).

https://bugs.freebsd.org/261349

PR: 261349
Pull request: #763


The 30th May edition, rendered: https://reviews.freebsd.org/paste/raw/572/

@bsdimp
Copy link
Member

bsdimp commented Jun 5, 2023

Am I blind? I only see capitalizing in this PR

@grahamperrin
Copy link
Contributor Author

You're not blind :-) it's a draft …

Aim for better vertical alignment; and for consistent use of one empty paragraph before, and after, each intended block.
<https://man.freebsd.org/cgi/man.cgi?query=ex&sektion=1&manpath=freebsd-release> for ex(1) presents a page that is headed VI(1), so we may as well refer to vi(1).
/usr/share/misc/ is not limited to ASCII text files.
For consistency, remove a full stop.
PPP for Point-to-Point Protocol.
share/man/man7/hier.7 Outdated Show resolved Hide resolved
/usr/share/misc/fonts/ lacks a description.

The trio of question marks ??? appeared twenty-seven years ago <freebsd@2641f58>. 

The phrase 'misc/fonts' appears only in the ports tree, nowhere in doc or src. 

I think we can reasonably de-list this part of the hierarchy.
The empty paragraph between /usr/include/ and /usr/lib/ is unnecessary.
Add an empty paragraph between the indented block for freebsd-update/ and the less indented block for empty/
Further attention to alignment of indented blocks.
@grahamperrin grahamperrin marked this pull request as ready for review June 5, 2023 19:19
@grahamperrin

This comment was marked as outdated.

Copy link
Contributor

@mhorne mhorne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your work.

I checked the rendered version as well. To summarize the spacing rules for the document, we insert a blank line:

  1. After every top-level directory entry
  2. Before and after every next-level directory list

... is that right?

share/man/man7/hier.7 Show resolved Hide resolved
@grahamperrin
Copy link
Contributor Author

… a blank line:

  • After every top-level directory entry

  • Before and after every next-level directory list

That's a fair summary. Never more than one blank line.


In a nutshell: where I found the spacing used in parts (not all) of the current edition, I did find it much easier to read. So I used the same approach to spacing throughout the page, in its entirety.

Maybe easiest to see the difference with these two eighty-column windows. The window to the right is what's drafted, with extra spacing:

image


Now, I see that word pre-fab. Not ideal. I'll take this PR back to draft for a few more tweaks.

@grahamperrin grahamperrin marked this pull request as draft June 6, 2023 22:02
Be less verbose, more technical.

For calendar files at /usr/share/calendar, use the terminology that's used in the manual page for calendar(1).
@grahamperrin grahamperrin marked this pull request as ready for review June 6, 2023 23:14
As in a previous commit, describe single-user and multi-user as modes.

Use rc(8) and rc.conf(5) as points of reference to help differentiate the multiple meanings of temporary.
@grahamperrin

This comment was marked as resolved.

freebsd-git pushed a commit that referenced this pull request Jun 10, 2023
Consistent use of lowercase, spacing between sections, etc.

Cease mentioning floppy disks.

De-list /usr/share/misc/fonts/, which has been ??? (without a
description) for twenty-seven years.

Change zpool to pool. (zpool is a command.)

Uppercase PPP for Point-to-Point Protocol.

A few other changes to wording, including avoidance of the phrase
pre-fab.

Update the descriptions of:

* /tmp/
* /usr/share/misc/
* /var/preserve/
* /var/tmp/
* /var/tmp/vi.recover/.

Refer to vi(1) instead of ex(1).

https://bugs.freebsd.org/261349

PR:                      261349
Reviewed by:             mhorne
Approved by:             mhorne
Pull request:            #763
@emaste emaste added the merged label Jun 12, 2023
freebsd-git pushed a commit that referenced this pull request Jul 7, 2023
Consistent use of lowercase, spacing between sections, etc.

Cease mentioning floppy disks.

De-list /usr/share/misc/fonts/, which has been ??? (without a
description) for twenty-seven years.

Change zpool to pool. (zpool is a command.)

Uppercase PPP for Point-to-Point Protocol.

A few other changes to wording, including avoidance of the phrase
pre-fab.

Update the descriptions of:

* /tmp/
* /usr/share/misc/
* /var/preserve/
* /var/tmp/
* /var/tmp/vi.recover/.

Refer to vi(1) instead of ex(1).

https://bugs.freebsd.org/261349

PR:                      261349
Reviewed by:             mhorne
Approved by:             mhorne
Pull request:            #763

(cherry picked from commit 6469f9c)
(cherry picked from commit 5ca7f02)
(cherry picked from commit b374a39)
bsdjhb pushed a commit to bsdjhb/cheribsd that referenced this pull request Aug 14, 2023
Consistent use of lowercase, spacing between sections, etc.

Cease mentioning floppy disks.

De-list /usr/share/misc/fonts/, which has been ??? (without a
description) for twenty-seven years.

Change zpool to pool. (zpool is a command.)

Uppercase PPP for Point-to-Point Protocol.

A few other changes to wording, including avoidance of the phrase
pre-fab.

Update the descriptions of:

* /tmp/
* /usr/share/misc/
* /var/preserve/
* /var/tmp/
* /var/tmp/vi.recover/.

Refer to vi(1) instead of ex(1).

https://bugs.freebsd.org/261349

PR:                      261349
Reviewed by:             mhorne
Approved by:             mhorne
Pull request:            freebsd/freebsd-src#763
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants