Commit b61a5cae authored by Clemens Ladisch's avatar Clemens Ladisch Committed by james toy

-ENOCHANGELOG

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
Cc: Daniel Mack <daniel@caiaq.de>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Cc: David Newall <davidn@davidnewall.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent f1d73c1b
...@@ -2720,6 +2720,11 @@ and is between 256 and 4096 characters. It is defined in the file ...@@ -2720,6 +2720,11 @@ and is between 256 and 4096 characters. It is defined in the file
vmpoff= [KNL,S390] Perform z/VM CP command after power off. vmpoff= [KNL,S390] Perform z/VM CP command after power off.
Format: <command> Format: <command>
vt.cur_default= [VT] Default cursor shape.
Format: 0xCCBBAA, where AA, BB, and CC are the same as
the parameters of the <Esc>[?A;B;Cc escape sequence;
see VGA-softcursor.txt. Default: 2 = underline.
vt.default_blu= [VT] vt.default_blu= [VT]
Format: <blue0>,<blue1>,<blue2>,...,<blue15> Format: <blue0>,<blue1>,<blue2>,...,<blue15>
Change the default blue palette of the console. Change the default blue palette of the console.
......
...@@ -162,6 +162,9 @@ static int printable; /* Is console ready for printing? */ ...@@ -162,6 +162,9 @@ static int printable; /* Is console ready for printing? */
int default_utf8 = true; int default_utf8 = true;
module_param(default_utf8, int, S_IRUGO | S_IWUSR); module_param(default_utf8, int, S_IRUGO | S_IWUSR);
static int cur_default = CUR_DEFAULT;
module_param(cur_default, int, S_IRUGO | S_IWUSR);
/* /*
* ignore_poke: don't unblank the screen when things are typed. This is * ignore_poke: don't unblank the screen when things are typed. This is
* mainly for the privacy of braille terminal users. * mainly for the privacy of braille terminal users.
...@@ -1628,7 +1631,7 @@ static void reset_terminal(struct vc_data *vc, int do_clear) ...@@ -1628,7 +1631,7 @@ static void reset_terminal(struct vc_data *vc, int do_clear)
/* do not do set_leds here because this causes an endless tasklet loop /* do not do set_leds here because this causes an endless tasklet loop
when the keyboard hasn't been initialized yet */ when the keyboard hasn't been initialized yet */
vc->vc_cursor_type = CUR_DEFAULT; vc->vc_cursor_type = cur_default;
vc->vc_complement_mask = vc->vc_s_complement_mask; vc->vc_complement_mask = vc->vc_s_complement_mask;
default_attr(vc); default_attr(vc);
...@@ -1830,7 +1833,7 @@ static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, int c) ...@@ -1830,7 +1833,7 @@ static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, int c)
if (vc->vc_par[0]) if (vc->vc_par[0])
vc->vc_cursor_type = vc->vc_par[0] | (vc->vc_par[1] << 8) | (vc->vc_par[2] << 16); vc->vc_cursor_type = vc->vc_par[0] | (vc->vc_par[1] << 8) | (vc->vc_par[2] << 16);
else else
vc->vc_cursor_type = CUR_DEFAULT; vc->vc_cursor_type = cur_default;
return; return;
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment