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@xxxxxxxxxx/> [2] <https://lore.kernel.org/all/20250223205449.7432-2-gnoack3000@xxxxxxxxx/> 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 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 | 52 ++++++++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 5 deletions(-) base-commit: fe7e094e78139a4ac5ee31b2321b77041c725794 -- 2.48.1