franco@gprc.uucp (Franco Carlacci) (06/13/91)
I few days ago I posted a request for help concerning G. Irlam's
virtual consoles. Well Gordon himself provided me with a fix. It's
given below:
--------------------------------------------------------------------------
I've got the sources now. Find load_keyboard in keyboard.c, and try changing
switch (scan_code) {
case STANDARD_SCAN: keyboard_type = IBM_PC; break;
case OLIVETTI_SCAN: keyboard_type = OLIVETTI; break;
case DUTCH_EXT_SCAN: keyboard_type = DUTCH_EXT; break;
case US_EXT_SCAN: keyboard_type = US_EXT; break;
}
to
switch (scan_code) {
case STANDARD_SCAN: keyboard_type = IBM_PC; break;
case OLIVETTI_SCAN: keyboard_type = OLIVETTI; break;
case DUTCH_EXT_SCAN: keyboard_type = DUTCH_EXT; break;
case US_EXT_SCAN:
default: keyboard_type = US_EXT; break;
}
------------------------------------------------------------------------------
The problem stemmed from the fact that I had changed menu.c so that it
would no longer prompt for the '=' sign. This would eventually lead to
keyboard_type remaining unitialized.
thanks
franco
Franco Carlacci franco@gprc.uucp
Grande Prairie Regional College ...!alberta!gprc!franco
franco@cs.ualberta.ca