Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RM/COBOL: configuration file 2

Status
Not open for further replies.

on5ex

Programmer
Apr 30, 2003
6
0
0
BE
Hello.
I need to redefine the . key (numeric keypad) into , . Guess this should be done by
TERM-INPUT 44 {input character equivalent}
Which character sequence should be used for the numpad . key?
Any help much appreciated!
Regards.
 
Try using the virtual key mappings that are available in 7.50. This configuration works for me.

-Rob

TERM-INTERFACE WINDOWS
/* Multiple Data-Character Definitions.
/* Example of new virtual key mapping names in version 7.50
/* remove period (46) and plus (43) from data-characters.
TERM-ATTR Data-Characters=32,42
TERM-ATTR Data-Characters=44,45
TERM-ATTR Data-Characters=47,128
/*
/* -- regular keyboard period still returns period
TERM-INPUT Data=46 NUL KB.>
/* -- numeric keypad period returns comma
TERM-INPUT Data=44 NUL NKP.
/*
/*
TERM-INPUT Code=1 SOH
TERM-INPUT Code=2 STX
/* TERM-INPUT Action=Control-Break ETX
TERM-INPUT Action=Copy-To-Clipboard ETX
TERM-INPUT Code=78 EOT
TERM-INPUT Code=79 ENQ
TERM-INPUT Code=6 ACK
TERM-INPUT Code=7 BEL
TERM-INPUT Action=Backspace BS
TERM-INPUT Code=9 HT
TERM-INPUT Code=10 LF
TERM-INPUT Code=11 VT
TERM-INPUT Code=12 FF
TERM-INPUT Code=13 Exception=No NUL CR
TERM-INPUT Code=14 SO
TERM-INPUT Code=15 SI
TERM-INPUT Code=16 DLE
TERM-INPUT Code=17 DC1
TERM-INPUT Code=18 DC2
TERM-INPUT Code=19 DC3
TERM-INPUT Code=20 DC4
TERM-INPUT Code=21 NAK
TERM-INPUT Code=22 SYN
TERM-INPUT Code=23 ETB
TERM-INPUT Code=24 CAN
TERM-INPUT Code=25 EM
TERM-INPUT Code=26 SUB
TERM-INPUT Action=Screen-Escape Code=27 ESC
TERM-INPUT Code=28 FS
TERM-INPUT Code=29 GS
TERM-INPUT Code=30 RS
TERM-INPUT Code=31 US


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top