hi all,
I saw a script in cadence doccuments which is used to set bindkeys for number keys in num lock keypad. When iam exicuting that in my icfb then it shows error. Script is in below. What's the problem in it?
xmodmap -e "add Mod3 =KP_0 KP_1 KP_2 KP_3 KP_4 KP_5 KP_6 KP_7 KP_8 KP_9"
(*Error* eval: undefined function - xmodmap)
xmodmap -pm
(*Error* eval: undefined function - xmodmap)
;------
;mod3 KP_0 (0x5a), KP_1 (0x57), KP_2 (0x58), KP_3 (0x59), KP_4 (0x53), KP_5 ;(0x54), KP_6 (0x55), KP_7 (0x4f), KP_8 (0x50), KP_9 (0x51)
;------
;Then set the DFII bindkeys as:
hiSetBindKey( "Command Interpreter" "Shift<Key>KP_1" "printf( \"hello1\")")
;the above setting is for NumLock: ON
hiSetBindKey( "Command Interpreter" "<Key>KP_1" "printf( \"helloEnd\")")
;the above setting is for NumLock: OFF
hiSetBindKey( "Command Interpreter" "Shift<Key>KP_8" "printf( \"hello8\")")
;the above setting is for NumLock: ON
hiSetBindKey( "Command Interpreter" "<Key>KP_8" "printf( \"helloUp\")")
;the above setting is for NumLock: OFF
;If the xmodmap output is like below, you would need to set the bindkeys a bit differently:
;$ xmodmap -pm
;-----
;mod3 KP_Insert (0x5a), KP_End (0x57), KP_Down (0x58), KP_Next (0x59), KP_Left (0x53), KP_Begin (0x54), KP_Right (0x55), KP_Home (0x4f), KP_Up (0x50), KP_Prior (0x51)
;------
;Then set the DFII bindkeys as:
hiSetBindKey( "Command Interpreter" "Shift<Key>KP_End" "printf( \"hello1\")")
;the above setting is for NumLock: ON
hiSetBindKey( "Command Interpreter" "<Key>KP_End" "printf( \"helloEnd\")")
;the above setting is for NumLock: OFF
hiSetBindKey( "Command Interpreter" "Shift<Key>KP_Up" "printf( \"hello8\")")
;the above setting is for NumLock: ON
hiSetBindKey( "Command Interpreter" "<Key>KP_Up" "printf( \"helloUp\")")
;the above setting is for NumLock: OFF
;=======================================
Thank you,
venu