[HECnet] While we're at it - using an LK464 with Ubuntu...

Mark Wickens mark at wickensonline.co.uk
Tue Mar 8 13:50:25 PST 2011


Just to let people know that the LK464 can be made to work in both standard keyboard layout for use with a PC and also in OpenVMS mode for use via remote decterms/xterms on VMS boxes.

I've created two little icons on my command bar that run two scripts to install an xmodmap overlay to use the keyboard for either PC or VMS use. The overlay primarily swaps the functionality of the Find, Insert, Remove and Select keys between what is intuitive in PC mode and what is required when connecting to a VMS box. The Help and Do keys also work, as do PF1,PF3,PF4.

PF2 is the only key I haven't got mapped correctly, and I think that's because it is mapped to a window manager functionality (enable/disable trackpad).

There might be an automated way to apply keymaps to particular classes of windows, but I could grow old finding the right solution, and clicking on a couple of icons at the top of the screen is hardly arduous, especially as most of the time I'm in one mood or the other.

The LK464 OpenVMS modmap file is (PC mode is a straight dump of the default US mapping):

keycode 9=grave asciitilde
keycode 49 = less       greater
keycode 199 = KP_F1
keycode 200 = KP_F2
keycode 201 = KP_F3
keycode 202 = KP_F4
keycode 110 = Find
keycode 115 = Select
keycode 191 = F13
keycode 192 = F14
keycode 142 = F16
keycode 195 = F17
keycode 196 = F18
keycode 197 = F19
keycode 198 = F20
keycode 108 = Alt_R
keycode 90 = KP_0
keycode 87 = KP_1
keycode 88 = KP_2
keycode 89 = KP_3
keycode 83 = KP_4
keycode 84 = KP_5
keycode 85 = KP_6
keycode 79 = KP_7
keycode 80 = KP_8
keycode 81 = KP_9
keycode 91 = KP_Decimal
keycode 129 = KP_Separator
keycode 22 = Delete
keycode 119 = 0x1000FF00

Regards, Mark.



More information about the Hecnet-list mailing list