unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk \(man-pages\) via Libc-alpha" <libc-alpha@sourceware.org>
To: Carlos O'Donell <carlos@redhat.com>,
	"libc-alpha@sourceware.org" <libc-alpha@sourceware.org>,
	linux-man <linux-man@vger.kernel.org>, enh <enh@google.com>,
	Zack Weinberg <zackw@panix.com>
Cc: Florian Weimer <fweimer@redhat.com>,
	Linux API <linux-api@vger.kernel.org>,
	mtk.manpages@gmail.com, Joseph Myers <joseph@codesourcery.com>
Subject: Re: [RFC PATCH] Replacing "master-slave" terminology for pseudoterminals
Date: Thu, 30 Jul 2020 11:16:33 +0200	[thread overview]
Message-ID: <cbf7666c-440e-b4bd-0ff6-712123845fae@gmail.com> (raw)
In-Reply-To: <88273c2f-ce21-db54-688d-5bebd4a81ecd@redhat.com>

Hello Carlos,

Thanks for looking at the patch.

On 7/30/20 6:06 AM, Carlos O'Donell wrote:
> On 7/29/20 6:39 AM, Michael Kerrisk (man-pages) wrote:
>> As per some discussion on libc-alpha [1], many of us are interested in
>> finding a replacement for the problemantic master-slave terminology
>> used in the description of pseudoterminals.
>>
>> Elliot Hughes (enh@) suggested a replacement based on an idea from 
>> an analogous change in the golang libraries, and I've taken a shot 
>> at implementing that idea in a branch [2] of man-pages. The affected
>> pages are:
>>
>>  man2/ioctl_tty.2    | 23 +++++++++++--------
>>  man2/poll.2         |  3 ++-
>>  man3/getpt.3        |  2 +-
>>  man3/grantpt.3      | 17 +++++++-------
>>  man3/openpty.3      | 35 ++++++++++++++++------------
>>  man3/posix_openpt.3 | 10 ++++----
>>  man3/ptsname.3      | 10 ++++----
>>  man3/ttyname.3      |  2 +-
>>  man3/unlockpt.3     | 11 +++++----
>>  man4/pts.4          | 26 ++++++++++++---------
>>  man7/pty.7          | 65 +++++++++++++++++++++++++++-------------------------
>>  11 files changed, 112 insertions(+), 92 deletions(-)
>>
>> Eventually, I think we should take this discussion also to the 
>> mailing list, and also see if we can raise this within the POSIX 
>> committee. But let's see if we can fist off find some terminology
>> that seems agreeable.
>>
>> I've added the full patch below. I am myself still reflecting on 
>> the change. At times, the language feels a little clunky, but overall
>> I don't hate the result. I welcome comments from all, and especially
>> I'd be interested in feedback from Elliot and from Zack, who was 
>> planning to work on this issue in the glibc documentation.
> 
> Overall I agree with Elliott that the changes are positive and make the
> pages clearer. In some case I find the verbosity slightly longer than
> I would want for reading in English. 

I know what you mean. One reason for that verbosity is the need to
clearly distinguish "pseudoterminal device/end" from "pseudoterminal
device pair". It's hard to avoid being wordy there.

> Since I have an EE background I also
> find multiplexer more natural, but I got lost down the "agent noun from
> a verb" rabbit hole and I agree with either position.

I was unsure of which to use. It seems both are used, but some quick 
checking just now shows that "multiplexer" is the rather more
widespread spelling, so I've changed it.

Thanks,

Michael



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

  reply	other threads:[~2020-07-30  9:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29 10:39 [RFC PATCH] Replacing "master-slave" terminology for pseudoterminals Michael Kerrisk (man-pages) via Libc-alpha
2020-07-29 10:47 ` Michael Kerrisk (man-pages) via Libc-alpha
2020-07-29 16:31 ` enh via Libc-alpha
2020-07-30  9:16   ` Michael Kerrisk (man-pages) via Libc-alpha
2020-07-30  4:06 ` Carlos O'Donell via Libc-alpha
2020-07-30  9:16   ` Michael Kerrisk (man-pages) via Libc-alpha [this message]
2020-07-30 11:38     ` Carlos O'Donell via Libc-alpha
2020-07-30 20:35       ` enh via Libc-alpha
2020-07-31  7:48         ` Michael Kerrisk (man-pages) via Libc-alpha
2020-08-04 17:25           ` enh via Libc-alpha
2020-08-04 20:04             ` Michael Kerrisk (man-pages) via Libc-alpha

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to=cbf7666c-440e-b4bd-0ff6-712123845fae@gmail.com \
    --to=libc-alpha@sourceware.org \
    --cc=carlos@redhat.com \
    --cc=enh@google.com \
    --cc=fweimer@redhat.com \
    --cc=joseph@codesourcery.com \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    --cc=zackw@panix.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).