[Info-vax] XWindows Client

Jeff Goodwin jgoodwin at maine.rrr-r.com
Mon Jan 25 16:41:06 EST 2010


"Wilm Boerhout" <wboerhout.no at spam.gmail.com> wrote in message 
news:4b5adab4$0$14130$703f8584 at textnews.kpn.nl...
> Jeff Goodwin mentioned  on 19-1-2010 20:58:
>> "Wilm Boerhout"<wboerhout.no at spam.gmail.com>  wrote in message
>> news:4b5600c0$0$14118$703f8584 at textnews.kpn.nl...
>>> Jeff Goodwin mentioned  on 19-1-2010 19:10:
>>>> I'd be interested in what you are using to set up your keyboard 
>>>> mapping.
>>>> I'm currently using an xmodmap file I created that is applied after
>>>> connecting to VMS.  I'd much rather use the xkb files that come with
>>>> xming,
>>>> but I haven't been able to find a combination that gives me the correct
>>>> emulation for the VMS keypad and function keys.
>>>>
>>>> Thanks,
>>>> Jeff
>>>
>>> My standard PC keyboard works fine with the "-xkbmodel pc105" modifier 
>>> in
>>> Xming. I have not found it necessary to modify anything on the server 
>>> side
>>> or on the VMS client side. Editors, including TPU and Teco work fine 
>>> with
>>> DECterm.
>>>
>>> /Wilm
>>
>> Thanks Wilm,
>>
>> I retried the with the modifier you use and confirmed I do not end up 
>> with a
>> keypad that I could use for an editor like EDT.  I am not sure what the
>> difference is.
>>
>> For example, when running DECW$UTILS:XEV, pressing the Num Lock key 
>> should
>> give me a symbol of KP_F1, but I get the Num_Lock symbol.
>>
>> I'll have to give it some more thought.
>> -Jeff
>
> For a previous version of Xming, I have at one time worked with the 
> following Xmodmap on VMS. It may be a starting point for you.

Thanks Wilm,

I already had a file that would work for xmodmap.  The posting you made 
should help anyone else looking for the same data.

The format I was looking for was the xkb format.  Bojan Nemec posted one 
here if anyone is interested:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264455077493+28353475&threadId=1016653

To activate on the xserver startup command, I used: -xkblayout us_vms

There is still one issue I need to resolve.  Switching from an X window to a 
non-X window (like a browser) and back to the X window causes a problem. 
The remapped Num Lock key, if active, will simulate a key press and a key 
release.  This causes an application to think the PF1 key has been pressed, 
when in fact, is has not been.

-Jeff





More information about the Info-vax mailing list