From: Alejandro Colomar <alx.manpages@gmail.com>
To: наб <nabijaczleweli@nabijaczleweli.xyz>
Cc: linux-man@vger.kernel.org, Jakub Wilk <jwilk@jwilk.net>
Subject: Re: [PATCH v2 4/4] ioctl_console.2: document all extant TIOCLINUX subcodes as of 6.0 (2.6.17)
Date: Fri, 2 Sep 2022 21:07:55 +0200 [thread overview]
Message-ID: <35511bab-860a-4652-e5e2-05b1b82cfc33@gmail.com> (raw)
In-Reply-To: <2c202ac5ba2df3cd94bcbb9b11f1476924d44b83.1662123938.git.nabijaczleweli@nabijaczleweli.xyz>
[-- Attachment #1.1: Type: text/plain, Size: 2222 bytes --]
Hi!
On 9/2/22 15:07, наб wrote:
> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Patch set applied. And added Cc: Jakub ... to the log.
Cheers,
Alex
> ---
> v2: with corrections from Jakub
>
> man2/ioctl_console.2 | 43 ++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 42 insertions(+), 1 deletion(-)
>
> diff --git a/man2/ioctl_console.2 b/man2/ioctl_console.2
> index 0c25edf67..145e98081 100644
> --- a/man2/ioctl_console.2
> +++ b/man2/ioctl_console.2
> @@ -787,8 +787,49 @@ blank_timer times out, then you choose this option.
> Powering down frequently will damage the monitor.)
> (Since Linux 1.1.76.)
> .RE
> +.TP
> +.BR TIOCLINUX ", " subcode = TIOCL_SETKMSGREDIRECT
> +Change target of kernel messages ("console"):
> +by default, and if this is set to
> +.BR 0 ,
> +messages are written to the currently active VT.
> +The VT to write to is a single byte following
> +.BR subcode .
> +(Since Linux 2.5.36.)
> +.TP
> +.BR TIOCLINUX ", " subcode = TIOCL_GETFGCONSOLE
> +Returns the number of VT currently in foreground.
> +(Since Linux 2.5.36.)
> +.TP
> +.BR TIOCLINUX ", " subcode = TIOCL_SCROLLCONSOLE
> +Scroll the foreground VT by the specified amount of
> +.I lines
> +down,
> +or half the screen if
> +.BR 0 .
> +.I lines
> +is *(((int32_t *)&subcode) + 1).
> +(Since Linux 2.5.67.)
> +.TP
> +.BR TIOCLINUX ", " subcode = TIOCL_BLANKSCREEN
> +Blank the foreground VT, ignoring "pokes" (typing):
> +can only be unblanked explicitly (by switching VTs, to text mode, etc.).
> +(Since Linux 2.5.71.)
> +.TP
> +.BR TIOCLINUX ", " subcode = TIOCL_BLANKEDSCREEN
> +Returns the number of VT currently blanked,
> +.B 0
> +if none.
> +(Since Linux 2.5.71.)
> +.TP
> +.BR TIOCLINUX ", " subcode = 16
> +Never used.
> +.TP
> +.BR TIOCLINUX ", " subcode = TIOCL_GETKMSGREDIRECT
> +Returns target of kernel messages.
> +(Since Linux 2.6.17.)
> .SH RETURN VALUE
> -On success, 0 is returned.
> +On success, 0 is returned (except where indicated).
> On failure, \-1 is returned, and
> .I errno
> is set to indicate the error.
--
Alejandro Colomar
<http://www.alejandro-colomar.es/>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2022-09-02 19:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 13:35 [PATCH 1/4] ioctl_console.2: ffix наб
2022-09-01 13:36 ` [PATCH 2/4] ioctl_console.2: use symbolic subcodes наб
2022-09-01 14:51 ` Jakub Wilk
2022-09-01 13:36 ` [PATCH 3/4] ioctl_console.2: devices/char/console.c and sel_buffer don't exist anymore наб
2022-09-01 13:37 ` [PATCH 4/4] ioctl_console.2: document all extant TIOCLINUX subcodes as of 6.0 (2.6.17) наб
2022-09-01 15:13 ` Jakub Wilk
2022-09-01 21:28 ` [PATCH 1/4] ioctl_console.2: ffix Alejandro Colomar
2022-09-02 13:06 ` [PATCH v2 2/4] ioctl_console.2: use symbolic subcodes наб
2022-09-02 13:06 ` [PATCH v2 3/4] ioctl_console.2: devices/char/console.c and sel_buffer don't exist anymore наб
2022-09-02 13:07 ` [PATCH v2 4/4] ioctl_console.2: document all extant TIOCLINUX subcodes as of 6.0 (2.6.17) наб
2022-09-02 19:07 ` Alejandro Colomar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35511bab-860a-4652-e5e2-05b1b82cfc33@gmail.com \
--to=alx.manpages@gmail.com \
--cc=jwilk@jwilk.net \
--cc=linux-man@vger.kernel.org \
--cc=nabijaczleweli@nabijaczleweli.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox