Re: [PATCH] man/man2const/TIOCLINUX.2const: document TIOCL_GETBRACKETEDPASTE
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-06-11 08:20:28
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-06-11 08:20:28
Hi Nicolas, On Sat, Jun 07, 2025 at 03:59:33PM -0400, Nicolas Pitre wrote:
Corresponding code is in drivers/tty/vt/vt.c:tioclinux(). New in Linux v6.16. Signed-off-by: Nicolas Pitre <redacted>
Patch applied. Thanks! <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=57013e97dbc677245c67fed6c838e5fce0413ca7> Have a lovely day! Alex
--- man/man2const/TIOCLINUX.2const | 8 ++++++++ 1 file changed, 8 insertions(+)diff --git a/man/man2const/TIOCLINUX.2const b/man/man2const/TIOCLINUX.2const index 90984e6b4..86e9ac105 100644 --- a/man/man2const/TIOCLINUX.2const +++ b/man/man2const/TIOCLINUX.2const@@ -271,6 +271,14 @@ Never used. .BR subcode = TIOCL_GETKMSGREDIRECT Returns target of kernel messages. (Since Linux 2.6.17.) +.TP +.BR subcode = TIOCL_GETBRACKETEDPASTE +Returns +.B 1 +if the application advertised bracketed paste compatibility to the terminal, +.B 0 +otherwise. +(Since Linux 6.16.) .SH RETURN VALUE On success, 0 is returned (except where indicated). On failure, \-1 is returned, and-- 2.49.0
-- <https://www.alejandro-colomar.es/>