aboutsummaryrefslogtreecommitdiffstats
path: root/man2/ioctl_console.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/ioctl_console.2')
-rw-r--r--man2/ioctl_console.2110
1 files changed, 55 insertions, 55 deletions
diff --git a/man2/ioctl_console.2 b/man2/ioctl_console.2
index 231cde8b67..d6f3ec1bc5 100644
--- a/man2/ioctl_console.2
+++ b/man2/ioctl_console.2
@@ -245,7 +245,7 @@ Sets screen font and associated rendering information.
points to a
.in +4n
-.nf
+.EX
struct consolefontdesc {
unsigned short charcount; /* characters in font
(256 or 512) */
@@ -254,7 +254,7 @@ struct consolefontdesc {
char *chardata; /* font data in
expanded form */
};
-.fi
+.EE
.in
If necessary, the screen will be appropriately resized, and
@@ -311,29 +311,29 @@ symbols.
Get Unicode-to-font mapping from kernel.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct unimapdesc {
unsigned short entry_ct;
struct unipair *entries;
};
-.fi
+.EE
.in
-
+.IP
where
.I entries
points to an array of
-
+,IP
.in +4n
-.nf
+.EX
struct unipair {
unsigned short unicode;
unsigned short fontpos;
};
-.fi
+.EE
.in
-
+.IP
(Since Linux 1.1.92.)
.TP
.B PIO_UNIMAP
@@ -347,17 +347,17 @@ points to a
Clear table, possibly advise hash algorithm.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct unimapinit {
unsigned short advised_hashsize; /* 0 if no opinion */
unsigned short advised_hashstep; /* 0 if no opinion */
unsigned short advised_hashlevel; /* 0 if no opinion */
};
-.fi
+.EE
.in
-
+.IP
(Since Linux 1.1.92.)
.TP
.B KDGKBMODE
@@ -410,17 +410,17 @@ equal to one of the values shown above for
Gets one entry in key translation table (keycode to action code).
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct kbentry {
unsigned char kb_table;
unsigned char kb_index;
unsigned short kb_value;
};
-.fi
+.EE
.in
-
+.IP
with the first two members filled in:
.I kb_table
selects the key table (0 <=
@@ -448,16 +448,16 @@ points to a
Gets one function key string.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct kbsentry {
unsigned char kb_func;
unsigned char kb_string[512];
};
.fi
.in
-
+.IP
.I kb_string
is set to the (null-terminated) string corresponding to
the
@@ -474,45 +474,45 @@ points to a
Read kernel accent table.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct kbdiacrs {
unsigned int kb_cnt;
struct kbdiacr kbdiacr[256];
};
-.fi
+.EE
.in
-
+.IP
where
.I kb_cnt
is the number of entries in the array, each of which
is a
-
+.IP
.in +4n
-.nf
+.EX
struct kbdiacr {
unsigned char diacr;
unsigned char base;
unsigned char result;
};
-.fi
+.EE
.in
.TP
.B KDGETKEYCODE
Read kernel keycode table entry (scan code to keycode).
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct kbkeycode {
unsigned int scancode;
unsigned int keycode;
};
-.fi
+.EE
.in
-
+.IP
.I keycode
is set to correspond to the given
.IR scancode .
@@ -558,9 +558,9 @@ number of the vt (1 <=
Get mode of active vt.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct vt_mode {
char mode; /* vt mode */
char waitv; /* if set, hang on writes if not active */
@@ -568,9 +568,9 @@ struct vt_mode {
short acqsig; /* signal to raise on acquisition */
short frsig; /* unused (set to 0) */
};
-.fi
+.EE
.in
-
+.IP
which is set to the mode of the active vt.
.I mode
is set to one of these values:
@@ -591,17 +591,17 @@ points to a
Get global vt state info.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct vt_stat {
unsigned short v_active; /* active vt */
unsigned short v_signal; /* signal to send */
unsigned short v_state; /* vt bit mask */
};
-.fi
+.EE
.in
-
+.IP
For each vt in use, the corresponding bit in the
.I v_state
member is set.
@@ -631,17 +631,17 @@ Deallocate the memory associated with vt
Set the kernel's idea of screensize.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct vt_sizes {
unsigned short v_rows; /* # rows */
unsigned short v_cols; /* # columns */
unsigned short v_scrollsize; /* no longer used */
};
-.fi
+.EE
.in
-
+.IP
Note that this does not change the videomode.
See
.BR resizecons (8).
@@ -651,9 +651,9 @@ See
Set the kernel's idea of various screen parameters.
.I argp
points to a
-
+.IP
.in +4n
-.nf
+.EX
struct vt_consize {
unsigned short v_rows; /* number of rows */
unsigned short v_cols; /* number of columns */
@@ -666,9 +666,9 @@ struct vt_consize {
unsigned short v_ccol; /* number of pixel columns
per character */
};
-.fi
+.EE
.in
-
+.IP
Any parameter may be set to zero, indicating "no change", but if
multiple parameters are set, they must be self-consistent.
Note that this does not change the videomode.
@@ -699,17 +699,17 @@ Disappeared in Linux 1.1.92.
Set selection.
.I argp
points to a
+.IP
.in +4n
-.nf
-
+.EX
struct {
- char subcode;
- short xs, ys, xe, ye;
- short sel_mode;
+ char subcode;
+ short xs, ys, xe, ye;
+ short sel_mode;
};
-
-.fi
+.EE
.in
+.IP
.I xs
and
.I ys