Thread (13 messages) 13 messages, 4 authors, 2025-03-30

Re: [PATCH man v3 0/2] TIOCLINUX.2const: Document TIOCL_SETSEL selection modes

From: Alejandro Colomar <alx@kernel.org>
Date: 2025-03-26 08:58:25

Hi Jared,

On Tue, Mar 25, 2025 at 09:48:58PM -0700, Jared Finder wrote:
On 2025-03-22 12:37, Alejandro Colomar wrote:
quoted
Hi all,

On Mon, Mar 17, 2025 at 12:43:40PM -0500, G. Branden Robinson wrote:
quoted
[somewhat whimsical]

At 2025-03-17T14:23:09+0100, Alejandro Colomar wrote:
quoted
On Sun, Mar 02, 2025 at 08:43:31PM +0100, Günther Noack wrote:
quoted
     +.TP
     +.B TIOCL_SELPOINTER
     +Show the pointer at position
    -+.RI ( xe ,\~ ye ).
    ++.RI ( xs ,\~ ys )
    ++or
    ++.RI ( xe ,\~ ye ),
    ++whichever is greater.
Everything else looks good to me.  But,

What's "greater" when you have two dimensions?
Since we can model the terminal display as an inner product space,
the terminal driver can compute an orthographic projection of the
plane onto a line and from there use routine arithmetic inequality
operators.
In any case, this is going to be confusing.  Can we get some wording
that is obvious to a school student?
How about something like "... whichever is greater.
When the positions span
multiple horizontal lines (ys != ye),
characters are ordered left to right,
top to bottom, similar to when writing English text".
And greater is a character ordered first or last?
  -- MJF

Have a lovely day!
Alex

-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help