Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!UUNET.UU.NET!klein%ncd From: klein%ncd@UUNET.UU.NET Newsgroups: comp.windows.x Subject: Re: keycodes Message-ID: <9006071445.AA09751@bryant.com> Date: 7 Jun 90 14:45:12 GMT References: <36306@sequent.UUCP> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 21 >Is there a convention that each key on a keyboard has a unique keycode? Can >one assume this is true? Is there any advantage for two different keys (such >as the right and left shift keys and the right and left Alt keys) to have the >same keycode? What if you wanted to use the right Alt key for a different >purpose than the left one? It seems to be a limitation. I am using a >keyboard that has this problem now, after the server was upgraded. What is >the current thinking (if any) on this? I assume by your mail that you are using an NCD, and the upgrade you are referring to is 2.1. To go back to the way the keyboard is 'supposed to be' you must turn off a 'feature' of our 2.1 server that was added for DECwindows compatibility. In the SETUP menus there is a button called 'DW Compatibility'. Make sure it says 'No'. One of the side effects of saying 'Yes' is to cause several of the 'right' keys, (e.g., Alt, Shift), to 'disappear'. See earlier postings by myself and Burns Fisher of DEC for technical details if you are curious. Doug klein@ncd.com