[Info-vax] XWindows Client

Wilm Boerhout wboerhout.no at spam.gmail.com
Sat Jan 23 06:17:07 EST 2010


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.

CAUTION: some lines may have wrapped.

-----------------------------------
$!
$! For XMING & DECterm
$!
$       xmodmap SYS$INPUT
$DECK
!
! Mouse:
!
pointer = 1 2 3 4 5 6 7
!
! Editing keypad
!
! 106 097 099
! 107 103 105
!
!     098
! 100 104 102
!
keycode 106 = Insert
keycode  97 = Find
keycode  99 = Prior

keycode 107 = Delete
keycode 103 = Select
keycode 105 = Next
!
keycode  98 = Up
keycode 100 = Left
keycode 104 = Down
keycode 102 = Right
!
! Numeric Keypad
!
! 077 112 063 082
!
! 079 080 081
!             086
! 083 084 085
!
! 087 088 089
!             108
!   090   091
!
keycode  77 = KP_F1
keycode 112 = KP_F2
keycode  63 = KP_F3
keycode  82 = KP_F4
!
keycode  79 = KP_7
keycode  80 = KP_8
keycode  81 = KP_9
!
keycode  83 = KP_4
keycode  84 = KP_5
keycode  85 = KP_6
!
keycode  87 = KP_1
keycode  88 = KP_2
keycode  89 = KP_3
!
keycode 108 = KP_Enter
!
keycode  90 = KP_0
keycode  91 = KP_Decimal
!
! Function keys, top row
!
!keycode  95 = Help
!keycode  96 = Do
!
keycode  72 =  F6 0x1008fe06  F6 0x1008fe06 F6  0x1008fe06
keycode  95 = F11 0x1008fe0b F11 0x1008fe0b F11 0x1008fe0b
keycode  96 = F12 0x1008fe0c F12 0x1008fe0c F12 0x1008fe0c
$EOD
-----------------------------------





More information about the Info-vax mailing list