summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20111218/d36a25cc/attachment.bin
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20111218/d36a25cc/attachment.bin
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20111218/d36a25cc/attachment.bin')
-rw-r--r--zarb-ml/mageia-dev/attachments/20111218/d36a25cc/attachment.bin39
1 files changed, 39 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20111218/d36a25cc/attachment.bin b/zarb-ml/mageia-dev/attachments/20111218/d36a25cc/attachment.bin
new file mode 100644
index 000000000..fdb97f9ec
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20111218/d36a25cc/attachment.bin
@@ -0,0 +1,39 @@
+>From 3647fb1d98ef0bbd9fac4ea44a868835bada0a69 Mon Sep 17 00:00:00 2001
+From: Anssi Hannula <anssi.hannula@iki.fi>
+Date: Sun, 18 Dec 2011 11:56:38 +0200
+Subject: [PATCH] set default console as vt7 (proof-of-concept)
+
+---
+ drivers/tty/vt/vt.c | 2 +-
+ include/linux/vt.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
+index e716839..4c2782c 100644
+--- a/drivers/tty/vt/vt.c
++++ b/drivers/tty/vt/vt.c
+@@ -2923,7 +2923,7 @@ static int __init con_init(void)
+ vc_init(vc, vc->vc_rows, vc->vc_cols,
+ currcons || !vc->vc_sw->con_save_screen);
+ }
+- currcons = fg_console = 0;
++ currcons = fg_console = 6;
+ master_display_fg = vc = vc_cons[currcons].d;
+ set_origin(vc);
+ save_screen(vc);
+diff --git a/include/linux/vt.h b/include/linux/vt.h
+index 30a8dd9..663308a 100644
+--- a/include/linux/vt.h
++++ b/include/linux/vt.h
+@@ -6,7 +6,7 @@
+ * These constants are also useful for user-level apps (e.g., VC
+ * resizing).
+ */
+-#define MIN_NR_CONSOLES 1 /* must be at least 1 */
++#define MIN_NR_CONSOLES 7 /* must be at least 1 */
+ #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */
+ #define MAX_NR_USER_CONSOLES 63 /* must be root to allocate above this */
+ /* Note: the ioctl VT_GETSTATE does not work for
+--
+1.7.7.2
+