Hi! On 9/1/22 15:35, наб wrote: > Separate TIOCLINUX from subcode: they're separate variables > > Signed-off-by: Ahelenia Ziemiańska Patch 1/4 applied. Since there's feedback about a few others including 2/4, I'll wait for the others. Cheers, Alex > --- > man2/ioctl_console.2 | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/man2/ioctl_console.2 b/man2/ioctl_console.2 > index 28eaade83..932be4e10 100644 > --- a/man2/ioctl_console.2 > +++ b/man2/ioctl_console.2 > @@ -664,7 +664,7 @@ referred to here as the > .IR subcode . > These are legal only for the superuser or the owner of the current terminal. > .TP > -.B "TIOCLINUX, subcode=0" > +.BR TIOCLINUX ", " subcode=0 > Dump the screen. > Disappeared in Linux 1.1.92. > (With kernel 1.1.92 or later, read from > @@ -673,11 +673,11 @@ or > .I /dev/vcsaN > instead.) > .TP > -.B "TIOCLINUX, subcode=1" > +.BR TIOCLINUX ", " subcode=1 > Get task information. > Disappeared in Linux 1.1.92. > .TP > -.B "TIOCLINUX, subcode=2" > +.BR TIOCLINUX ", " subcode=2 > Set selection. > .I argp > points to a > @@ -710,35 +710,35 @@ The indicated screen characters are highlighted and saved > in the static array sel_buffer in > .IR devices/char/console.c . > .TP > -.B "TIOCLINUX, subcode=3" > +.BR TIOCLINUX ", " subcode=3 > Paste selection. > The characters in the selection buffer are > written to > .IR fd . > .TP > -.B "TIOCLINUX, subcode=4" > +.BR TIOCLINUX ", " subcode=4 > Unblank the screen. > .TP > -.B "TIOCLINUX, subcode=5" > +.BR TIOCLINUX ", " subcode=5 > Sets contents of a 256-bit look up table defining characters in a "word", > for word-by-word selection. > (Since Linux 1.1.32.) > .TP > -.B "TIOCLINUX, subcode=6" > +.BR TIOCLINUX ", " subcode=6 > .I argp > points to a char which is set to the value of the kernel > variable > .IR shift_state . > (Since Linux 1.1.32.) > .TP > -.B "TIOCLINUX, subcode=7" > +.BR TIOCLINUX ", " subcode=7 > .I argp > points to a char which is set to the value of the kernel > variable > .IR report_mouse . > (Since Linux 1.1.33.) > .TP > -.B "TIOCLINUX, subcode=8" > +.BR TIOCLINUX ", " subcode=8 > Dump screen width and height, cursor position, and all the > character-attribute pairs. > (Kernels 1.1.67 through 1.1.91 only. > @@ -746,7 +746,7 @@ With kernel 1.1.92 or later, read from > .I /dev/vcsa* > instead.) > .TP > -.B "TIOCLINUX, subcode=9" > +.BR TIOCLINUX ", " subcode=9 > Restore screen width and height, cursor position, and all the > character-attribute pairs. > (Kernels 1.1.67 through 1.1.91 only. > @@ -754,7 +754,7 @@ With kernel 1.1.92 or later, write to > .I /dev/vcsa* > instead.) > .TP > -.B "TIOCLINUX, subcode=10" > +.BR TIOCLINUX ", " subcode=10 > Handles the Power Saving > feature of the new generation of monitors. > VESA screen blanking mode is set to -- Alejandro Colomar