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-22 19:37:16

Hi all,

On Mon, Mar 17, 2025 at 12:43:40PM -0500, G. Branden Robinson wrote:
[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?


Have a lovely night!
Alex
The problem with the Linux kernel's terminal driver's lack of developer
attention over the years is obviously a result of it presenting
insufficient features of interest to the linear algebraist.

;-)

Regards,
Branden


-- 
<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