From owner-freebsd-questions Sat Apr 11 19:58:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA00907 for freebsd-questions-outgoing; Sat, 11 Apr 1998 19:58:47 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from trantor.galaxia.com (terminus.galaxia.com [204.255.210.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA00900 for ; Sat, 11 Apr 1998 19:58:41 -0700 (PDT) (envelope-from dave@galaxia.com) Received: from localhost (dave@localhost) by trantor.galaxia.com (8.8.7/8.8.7) with SMTP id WAA00950 for ; Sat, 11 Apr 1998 22:58:33 -0400 (EDT) (envelope-from dave@galaxia.com) Date: Sat, 11 Apr 1998 22:58:32 -0400 (EDT) From: "David H. Brierley" To: freebsd-questions@FreeBSD.ORG Subject: Question about using an alternative keyboard Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am attempting to use the keyboard from an NCD X terminal on my PC running FreeBSD-2.2.5 and XFree86. My first question is, has anybody ever done this before and can you tell me what you did to make it work? If you have never attempted this particular keyboard but perhaps have done this with some other non-standard keyboard that information would also be helpful because it would certainly point me in the right direction. What I have done so far is to attempt to determine what the keyboard scancode values are for the NCD keyboard and to build a keymap file for use with the syscons keyboard driver. This part seems to be progressing quite nicely although there are still a few keys on the keyboard that I can't seem to access correctly. In particular, the F5 key and the "4" key seem to produce the same scancode! If I attempt to move beyond that and start up X/11, things seem to get really strange. I think I need to modify (or create new) files in /usr/X11R6/lib/X11/xkb but I'm not sure exactly which files to modify and I can't seem to find any really clear documentation on the contents of the files or how they are used. Any help you can provide will be greatly appreciated. I would really like to use this keyboard because the layout is almost identical to the Sun type-5 keyboard that I use at work all day and this way my daytime keyboard and my evening keyboard would have the same layout. However, I want to make sure it is going to work correctly before I spend the money to buy it. -- David H. Brierley dave@galaxia.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message