[ale] question about keymapping in xterm HELP!! :) - long email sorry guys!!
Van Loggins
vanloggins at gmail.com
Thu Sep 9 08:59:27 EDT 2004
I was finally able to solve this problem. The (NOT!!) wonderful tech
support guys over at rand mcnally wanted to charge us per hour to
custom program their program to get it to work right on our system.
I took your advice Michael and this is what I came up with in order to
get it working.
I added this into the shell script that rand mcnally uses to start
their milemaker software.
TERM=xterm
export TERM
/usr/X11R6/bin/xmodmap -e "keycode 120 = 0 parenright"
/usr/X11R6/bin/xmodmap -e "keycode 113 = 1 exclam"
/usr/X11R6/bin/xmodmap -e "keycode 122 = 2 at"
/usr/X11R6/bin/xmodmap -e "keycode 130 = 3 numbersign"
/usr/X11R6/bin/xmodmap -e "keycode 115 = 4 dollar"
/usr/X11R6/bin/xmodmap -e "keycode 123 = 5 percent"
/usr/X11R6/bin/xmodmap -e "keycode 124 = 6 asciicircum"
/usr/X11R6/bin/xmodmap -e "keycode 116 = 7 ampersand"
/usr/X11R6/bin/xmodmap -e "keycode 125 = 8 asterisk"
/usr/X11R6/bin/xmodmap -e "keycode 133 = 9 parenleft"
/usr/X11R6/bin/xmodmap -e "keycode 129 = Return"
doing this enabled the number pad keys to work, and it also got the
keypad return key to work.
after doing some research I determined that our problem had something
to do with how motif maps keys, but the main problem was that rand
mcnally never bothered to verify that their program would work
correctly under Linux when they ported it over.
Hopefully this info will help them to fix their problem when I pass it
along to them.
Have a great day and I hope this info helps anyone who may have
similar problems.
Van
>I'd try using xmodmap to remap the numkeys to the standard numbers. Notice
>that right now they put out KP_1 instead of 1. xmodmap should be able to
>remap it to send 1, then the program will probably work.
>
>Michael
On Wednesday 21 July 2004 11:24 am, Van Loggins wrote:
> I'm attempting to get a program called Milemaker (made by
> rand mcnally) to run properly when remotely executed
> on one of our NC900 X terminals.
>
> this program is executed remotely from another server by
> using this command which is set up as a menu entry in
> the motif window manager we use on our terminals.
>
> here is the command
>
> rsh mercury /usr/bin/X11/xterm -cr red -bg MidnightBlue -fg
> snow -display $DISPLAY -title MileMaker -n MilerMaker -e
> /usr/micro/g18/exe/startup.sh
>
> the startup.sh file sets the terminal environment to xterm
> and then starts the milemaker program
>
>
>
> Here is my problem, I'm trying to get the number pad to work
> properly. we use a .xmodmap file that maps the key codes to
> the correct keys on our terminals.
>
>
> when the command xmodmap -pke is executed I get these
> results
>
> keycode 8 =
> keycode 9 =
> keycode 10 =
> keycode 11 =
> keycode 12 =
> keycode 13 =
> keycode 14 =
> keycode 15 = F1
> keycode 16 = Escape
> keycode 17 =
> keycode 18 =
> keycode 19 =
> keycode 20 =
> keycode 21 = Tab
> keycode 22 = grave asciitilde
> keycode 23 = F2
> keycode 24 =
> keycode 25 = Control_L
> keycode 26 = Shift_L
> keycode 27 = backslash bar
> keycode 28 = Caps_Lock
> keycode 29 = Q
> keycode 30 = 1 exclam
> keycode 31 = F3
> keycode 32 =
> keycode 33 = Alt_L
> keycode 34 = Z
> keycode 35 = S
> keycode 36 = A
> keycode 37 = W
> keycode 38 = 2 at
> keycode 39 = F4
> keycode 40 =
> keycode 41 = C
> keycode 42 = X
> keycode 43 = D
> keycode 44 = E
> keycode 45 = 4 dollar
> keycode 46 = 3 numbersign
> keycode 47 = F5
> keycode 48 =
> keycode 49 = space
> keycode 50 = V
> keycode 51 = F
> keycode 52 = T
> keycode 53 = R
> keycode 54 = 5 percent
> keycode 55 = F6
> keycode 56 =
> keycode 57 = N
> keycode 58 = B
> keycode 59 = H
> keycode 60 = G
> keycode 61 = Y
> keycode 62 = 6 asciicircum
> keycode 63 = F7
> keycode 64 =
> keycode 65 = Alt_R
> keycode 66 = M
> keycode 67 = J
> keycode 68 = U
> keycode 69 = 7 ampersand
> keycode 70 = 8 asterisk
> keycode 71 = F8
> keycode 72 =
> keycode 73 = comma less
> keycode 74 = K
> keycode 75 = I
> keycode 76 = O
> keycode 77 = 0 parenright
> keycode 78 = 9 parenleft
> keycode 79 = F9
> keycode 80 =
> keycode 81 = period greater
> keycode 82 = slash question
> keycode 83 = L
> keycode 84 = semicolon colon
> keycode 85 = P
> keycode 86 = minus underscore
> keycode 87 = F10
> keycode 88 =
> keycode 89 =
> keycode 90 = apostrophe quotedbl
> keycode 91 = backslash bar
> keycode 92 = bracketleft braceleft
> keycode 93 = equal plus
> keycode 94 = F11
> keycode 95 = Print Linefeed
> keycode 96 = Control_R
> keycode 97 = Shift_R
> keycode 98 = Return
> keycode 99 = bracketright braceright
> keycode 100 = backslash bar
> keycode 101 = backslash bar
> keycode 102 = F12
> keycode 103 = Cancel
> keycode 104 = Down
> keycode 105 = Left
> keycode 106 = Pause 0x1000ff17
> keycode 107 = Up
> keycode 108 = Delete
> keycode 109 = End
> keycode 110 = BackSpace
> keycode 111 = Insert
> keycode 112 =
> keycode 113 = KP_1
> keycode 114 = Right
> keycode 115 = KP_4
> keycode 116 = KP_7
> keycode 117 = Next
> keycode 118 = Home
> keycode 119 = Prior
> keycode 120 = KP_0
> keycode 121 = KP_Decimal Delete
> keycode 122 = KP_2
> keycode 123 = KP_5
> keycode 124 = KP_6
> keycode 125 = KP_8
> keycode 126 = Num_Lock
> keycode 127 = KP_Divide
> keycode 128 =
> keycode 129 = KP_Enter
> keycode 130 = KP_3
> keycode 131 =
> keycode 132 = KP_Add
> keycode 133 = KP_9
> keycode 134 = KP_Multiply
> keycode 135 =
> keycode 136 =
> keycode 137 =
> keycode 138 =
> keycode 139 =
> keycode 140 = KP_Subtract
> keycode 141 =
> keycode 142 =
> keycode 143 =
> keycode 144 =
> keycode 145 =
> keycode 146 =
> keycode 147 = Meta_L
> keycode 148 = Meta_R
> keycode 149 = Menu
> keycode 150 =
> keycode 151 =
> keycode 152 =
> keycode 153 =
> keycode 154 =
> keycode 155 =
> keycode 156 =
> keycode 157 =
> keycode 158 =
> keycode 159 =
> keycode 160 =
> keycode 161 =
> keycode 162 =
> keycode 163 =
> keycode 164 =
> keycode 165 =
> keycode 166 =
> keycode 167 =
> keycode 168 =
> keycode 169 =
> keycode 170 =
> keycode 171 =
> keycode 172 =
> keycode 173 =
> keycode 174 =
> keycode 175 =
> keycode 176 =
> keycode 177 =
> keycode 178 =
> keycode 179 =
> keycode 180 =
> keycode 181 =
> keycode 182 =
> keycode 183 =
> keycode 184 =
> keycode 185 =
> keycode 186 =
> keycode 187 =
> keycode 188 =
> keycode 189 =
> keycode 190 =
> keycode 191 =
> keycode 192 =
> keycode 193 =
> keycode 194 =
> keycode 195 =
> keycode 196 =
> keycode 197 =
> keycode 198 =
> keycode 199 =
> keycode 200 =
> keycode 201 =
> keycode 202 =
> keycode 203 =
> keycode 204 =
> keycode 205 =
> keycode 206 =
> keycode 207 =
> keycode 208 =
> keycode 209 =
> keycode 210 =
> keycode 211 =
> keycode 212 =
> keycode 213 =
> keycode 214 =
> keycode 215 =
> keycode 216 =
> keycode 217 =
> keycode 218 =
> keycode 219 =
> keycode 220 =
> keycode 221 =
> keycode 222 =
> keycode 223 =
> keycode 224 =
> keycode 225 =
> keycode 226 =
> keycode 227 =
> keycode 228 =
> keycode 229 =
> keycode 230 =
> keycode 231 =
> keycode 232 =
> keycode 233 =
> keycode 234 =
> keycode 235 =
> keycode 236 =
> keycode 237 =
> keycode 238 =
> keycode 239 =
> keycode 240 =
> keycode 241 =
> keycode 242 =
> keycode 243 =
> keycode 244 =
> keycode 245 =
> keycode 246 =
> keycode 247 = Break
> keycode 248 =
> keycode 249 =
> keycode 250 =
> keycode 251 =
> keycode 252 =
> keycode 253 =
> keycode 254 =
>
> when I press the numbers on the numerical keypad in a xterm
> session they all display correctly, but don't work when
> running the milemaker program
>
>
> I'm hoping that someone else here has had similar problems
> in the past, I sure could use some help.
>
> Thanks in Advance,
>
> Van
>
> P.S. I have called the tech support guys at rand mcnally,
> they are supposed to call me back. If they are able to help
> out I'll post their instructions to the list in case anyone
> needs them too.
--
Van Loggins
"Linux Geek In Training"
vanloggins at gmail.com
This email is intended to be private to the person it was sent to. It
is copyrighted and publishing this email in any public forum, or
providing it to any other person or organization without my explicit
permission is forbidden.
All your Base are belong to us..
More information about the Ale
mailing list