Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!atha!aunro!alberta!gprc!franco From: franco@gprc.uucp (Franco Carlacci) Newsgroups: comp.os.minix Subject: virtual console problem solved Message-ID: <91061398@gprc.uucp> Date: 12 Jun 91 19:03:01 GMT Organization: Grande Prairie Regional College Lines: 39 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