From: "Günther Noack" <gnoack3000@gmail.com>
To: Jared Finder <jared@finder.org>
Cc: "Alejandro Colomar" <alx@kernel.org>,
linux-man@vger.kernel.org, "Hanno Böck" <hanno@hboeck.de>,
"Jann Horn" <jannh@google.com>,
"Jiri Slaby" <jirislaby@kernel.org>,
jwilk@jwilk.net
Subject: Re: [PATCH man v2 2/2] TIOCLINUX.2const: Document missing TIOCL_SETSEL selection modes
Date: Sun, 2 Mar 2025 20:23:49 +0100 [thread overview]
Message-ID: <20250302.440abe5b7da8@gnoack.org> (raw)
In-Reply-To: <ef429ddf8a438c47e6fdfbb41b25943f@finder.org>
Hello!
On Sun, Feb 23, 2025 at 03:19:02PM -0800, Jared Finder wrote:
> On 2025-02-23 13:36, Günther Noack wrote:
> > man/man2const/TIOCLINUX.2const | 29 +++++++++++++++++++++++++++++
> > 1 file changed, 29 insertions(+)
> >
> > diff --git a/man/man2const/TIOCLINUX.2const
> > b/man/man2const/TIOCLINUX.2const
> > index 5db3f6ea6..3aa1c7eb2 100644
> > --- a/man/man2const/TIOCLINUX.2const
> > +++ b/man/man2const/TIOCLINUX.2const
> > @@ -82,6 +82,35 @@ and saved in a kernel buffer.
> > Select line-by-line.
> > The indicated screen characters are highlighted
> > and saved in a kernel buffer.
> > +.TP
> > +.B TIOCL_SELPOINTER
> > +Show the pointer at position
> > +.RI ( xe ,\~ ye ).
>
> nit: Technically, "at the greater position of start or end". See how ps and
> pe are swapped if ps > pe in vc_selection().
Thanks, that is a good point, I had missed that.
I happens at a central place in the code, where it technically affects
all operations except for TIOCL_SELMOUSEREPORT, but it only makes a
difference in the documentation of TIOCL_SELPOINTER.
> > +.TP
> > +.B TIOCL_SELCLEAR
> > +Remove the current selection highlight, if any,
> > +from the console holding the selection.
>
> I'd recommend stating explicitly if this affects the stored characters. (I
> believe it does not.)
Thanks, added.
–Günther
prev parent reply other threads:[~2025-03-02 19:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-23 21:36 [PATCH man v2 0/2] TIOCLINUX.2const: Document TIOCL_SETSEL selection modes Günther Noack
2025-02-23 21:36 ` [PATCH man v2 1/2] TIOCLINUX.2const: Restructure documentation for " Günther Noack
2025-02-23 23:13 ` Jared Finder
2025-03-02 7:06 ` Alejandro Colomar
2025-03-02 19:45 ` Günther Noack
2025-03-02 19:00 ` Günther Noack
2025-02-23 21:36 ` [PATCH man v2 2/2] TIOCLINUX.2const: Document missing " Günther Noack
2025-02-23 23:19 ` Jared Finder
2025-03-02 19:23 ` Günther Noack [this message]
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=20250302.440abe5b7da8@gnoack.org \
--to=gnoack3000@gmail.com \
--cc=alx@kernel.org \
--cc=hanno@hboeck.de \
--cc=jannh@google.com \
--cc=jared@finder.org \
--cc=jirislaby@kernel.org \
--cc=jwilk@jwilk.net \
--cc=linux-man@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.