Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!noao!buchholz From: buchholz@noao.edu (Nick Buchholz) Newsgroups: comp.windows.x Subject: Help with key redefines in Openwindows and xterm Keywords: openwindows xterm Message-ID: <1991Mar4.195343.13259@noao.edu> Date: 4 Mar 91 19:53:43 GMT Organization: National Optical Astronomy Observatories, Tucson, AZ, USA Lines: 58 I am running Openwindows on a SPARCstation SLC and Im trying to redefine the L5, L7, F1, 0/Insert and ./Del keys. All seems to have gone OK except for the L5 key no matter what I try the L5 key stays as a window raise/lower key I have the following xmodmap in openwin-sys #### #!/bin/sh # openwin-sys - OpenWindows X11/NeWS Server system initialization file #install Meta keys, XView function keys, AltGraph and Num_Lock as modifiers xmodmap -e 'add mod1 = Meta_L Meta_R' \ -e 'add mod3 = Mode_switch' \ -e 'add mod4 = Num_Lock' \ -e 'keycode 73 = BackSpace' \ -e 'keycode 50 = Delete' \ -e 'keycode 101 = Insert' \ -e 'keycode 57 = yen' \ -e 'keycode 56 = L5'\ -e 'keycode 79 = L7' #invoke XView selection service (sv_xv_sel_svc &) & exit 0 #### and the following as a .Xdefaults file #### Scrollbar.JumpCursor: True xterm*vt100.font: 8*13 xterm*bordercolor: gray75 xterm*SunFunctionKeys: True xterm*VT100.Translations: #override \n \ yen: string("~[224z") \n \ L5: string("~[196z") \n \ L7: string("~[198z") \n \ Insert: string("~[223z") \n OpenWindows.MultiClickTimeout: 4 OpenWindows.IconLocation: right OpenWindows.Beep: always OpenWindows.SetInput: followmouse OpenWindows.ScrollbarPlacement: right OpenWindows.PopupJumpCursor: True OpenWindows.SelectDisplaysMenu: False OpenWindows.DragRightDistance: 20 #### Ive tried changeing the L5 key to other keys with xmodmap but nothing seems to work. What am I doing wrong?? Nick C. Buchholz -- buchholz@yogi.noao.edu | "Time is an illusion, Lunchtime doubly so" | - Ford Prefect