From: jefftep@cs.utexas.edu (Jeffrey Grills) Subject: Re: [Q] VCs above 12 Date: 30 Apr 1993 02:10:22 -0500
In article <1993Apr30.040809.1008394@sue.cc.uregina.ca> guentbru@hercules.cs.uregina.ca (Bruce Guenter) writes:
>OK, I figured out how to give the kernel 24 VCs (I saw somebody else post
>something about it and just _HAD_ to check it out myself). Now, how are
>the VCs above 12 accessed? I've tried just about every Alt-Shift-Ctrl-F*
>key combination to no avail (and a few non-F*, too). What works?
>
>Thanks in advance
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>Bruce Guenter Address:
>guentbru@hercules.cs.uregina.ca 36 Usher St.
>FidoNet: 1:140/97.0 Regina, SK, Canada
>(306)761-0349 S4N 4J1
This was probably me. I no longer use 24 vc's, because I've hacked the
dual monitor patches up so I can dynamically swap them on the run. I used
to have 12 vc's per monitor. Anways, what you need to do is slightly
twiddle /usr/src/linux/kernel/chr_drv/keyboard.c around line 1278.
There is code like (it's modified in my sources for the dual monitor
support, so this is close to what it was):
if (kbd_flag(KG_ALT))
want_console = sc;
else
....
I'd just prepend something like:
if (kbd_flg(KG_ALTGR))
want_console = sc + 12;
else
.... the original stuff ...
This lets the right alt key select a higher VC. You can do other things,
but this clues you where to start.
-- jeff grills jefftep@cs.utexas.edu