public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] TIOCLINUX.2const: Document TIOCL_SETSEL selection modes
@ 2025-03-30 14:30 Günther Noack
  2025-03-30 14:30 ` [PATCH v4 1/2] TIOCLINUX.2const: Restructure documentation for " Günther Noack
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Günther Noack @ 2025-03-30 14:30 UTC (permalink / raw)
  To: Alejandro Colomar
  Cc: Jared Finder, G . Branden Robinson, linux-man, Günther Noack

Hi!

TIOCLINUX's TIOCL_SETSEL sub-code has another layer of sub-operations,
called "selection modes" (even though not all of them actually deal
with the mouse selection).

Going forward, the CAP_SYS_ADMIN requirement will be different for
some of these selection modes, which prompted me to at least list the
different selection modes with a short description.  I am leaving
CAP_SYS_ADMIN documentation as it is for now and will send another
patch once these semantics are finalized [1] [2].

Thanks,
–Günther

[1] <https://lore.kernel.org/all/20250221.0a947528d8f3@gnoack.org/>
[2] <https://lore.kernel.org/all/20250223205449.7432-2-gnoack3000@gmail.com/>

History:

V2:
 * Split into a "restructuring" and a "new documentation" commit
 * Use non-breaking space \~
 * Put URIs in <>
 * Added a helpful link to console_codes(4) regarding mouse reporting

V3:
 * Corrections and clarifications for various selection modes
   as suggested by Jared Finder. (Thanks!)

V4:
 * Clarified how TIOCL_SELPOINTER selects the coordinate to use

Günther Noack (2):
  TIOCLINUX.2const: Restructure documentation for TIOCL_SETSEL selection
    modes
  TIOCLINUX.2const: Document missing TIOCL_SETSEL selection modes

 man/man2const/TIOCLINUX.2const | 59 +++++++++++++++++++++++++++++++---
 1 file changed, 54 insertions(+), 5 deletions(-)

Range-diff against v3:
1:  d07edb528 = 1:  828c5189a TIOCLINUX.2const: Restructure documentation for TIOCL_SETSEL selection modes
2:  59f217fb0 ! 2:  bffc3e550 TIOCLINUX.2const: Document missing TIOCL_SETSEL selection modes
    @@ man/man2const/TIOCLINUX.2const: Select line-by-line,
     +.RI ( xs ,\~ ys )
     +or
     +.RI ( xe ,\~ ye ),
    -+whichever is greater.
    ++whichever is later in text flow order.
     +.TP
     +.B TIOCL_SELCLEAR
     +Remove the current selection highlight, if any,
-- 
2.49.0


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

end of thread, other threads:[~2025-03-31  8:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-30 14:30 [PATCH v4 0/2] TIOCLINUX.2const: Document TIOCL_SETSEL selection modes Günther Noack
2025-03-30 14:30 ` [PATCH v4 1/2] TIOCLINUX.2const: Restructure documentation for " Günther Noack
2025-03-30 14:30 ` [PATCH v4 2/2] TIOCLINUX.2const: Document missing " Günther Noack
2025-03-31  8:15 ` [PATCH v4 0/2] TIOCLINUX.2const: Document " Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox