From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: f7344,df0db7010d4db97f X-Google-NewGroupId: yes X-Google-Thread: 1164f8,df0db7010d4db97f X-Google-NewGroupId: yes X-Google-Attributes: gid3717dac89a,gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!usenet.stanford.edu!newsfeed.news.ucla.edu!ihnp4.UCSD.Edu!sdd.hp.com!usenet01.boi.hp.com!not-for-mail From: "FredK" Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: HP Integrity rx2600 on eBay Date: Thu, 21 Oct 2010 15:37:37 -0400 Organization: None Message-ID: References: <4ca6292f$0$32123$6bda1f65@news.fne.fi> <7033996c-3d98-466c-948d-9730d004fcd1@i21g2000yqg.googlegroups.com> <7672d0d3-dbbe-44ec-8d56-a34fce4d071f@w22g2000yqw.googlegroups.com> <00AA4C9F.B009AFC5@SendSpamHere.ORG> <3c9cfc25-d591-4870-bd32-74e3881bdd7e@e14g2000yqe.googlegroups.com> NNTP-Posting-Host: fkleinsorg.americas.hpqcorp.net X-Trace: usenet01.boi.hp.com 1287687676 5153 16.213.43.117 (21 Oct 2010 19:01:16 GMT) X-Complaints-To: news@usenet01.boi.hp.com NNTP-Posting-Date: Thu, 21 Oct 2010 19:01:16 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Xref: g2news2.google.com comp.os.vms:36566 comp.sys.dec:2260 "Snowshoe" wrote in message news:i9pug7$afd$1@speranza.aioe.org... > On 10/21/2010 11:37 AM, FredK wrote: >> Any random USB keyboard should work on VMS. You can even program >> translation tables for ones that don't look like a VMS or "standard" >> (Windows/UNIX) keyboard. > > Do you have a pointer to online docs that state how to do so? I'd like > to get my <> keys working, then maybe later tweak the others. Before you jump in at the deep end, run XEV and see if the keys are generating something. If they are, then either make sure you are using the right keymap file, modify a keymap file, or use xmodmap or other tool to simply map them correctly. The stuff that allows driver level remapping isn't documented because it hasn't been needed - but when I coded things up, I made sure that I would not have to write new USB driver code to deal with it... part of the end-user issue in making it all public/supported would be for there to be a general need - and the user needs to actually know what the keyboard generates (which on VMS would require a debug version of the driver, which is what I use when I need to). So - the functionality is not documented/supported - if a new KB came out that needed new mapping, I would simply spin a new table and build it into the default driver. But to see what a mapping table looks like (and the output actually is used for the input for a new table) - there is an application in sys$system called decw$config. Find the keyboard device name, run decw$config and tell it something like: show xtab kbd0 This will show you the current mapping, keyboard type and available mappings. show xlate kbd0 This will actually dump the current table in all the nitty gritty detail. Fundamentally the table maps the USB keys to an LK401. So you actually need to know what a LK401 generates. Like I said, it isn't designed for general use, but it is a low-level tool for someone who knows the details of keyboards. set xlate kbd0 n will set the current mapping to the table index "n" The same command with some optional parameters will load a custom table formatted the same way as the dump.