|
On Thu, 26 Jul 2001, Jason Bechtel wrote: > > > > On my system, and in CVS, the XTerm file contains: > > > > <Key>KP_Add: string("\030") \n\ > > > > that is, when KP_Add is pressed, it sends an Octal 30 (Ctrl-X) to the > > emulator. Ctrl-X is wired to the "Field Plus" capability of the 5250 > > protocol. > > Thank you!!! Where is all this documented? Heh.. the source code is always the best documentation :) Perhaps we could persuade Carey Evans to put more of this stuff in the man page? (The man page currently says that Field+ is +, and that it's the same as Field Exit... which isn't quite right... C-x is Field+, C-k is field exit. They are very similar, but field exit doesn't change a negative number into a positive number like field+ does) > I also need the octal code > to assign to KP_Minus in order to have that key execute a "Field-". > > Thanks for all the help! > Jason > Field- is actually two keypresses... it's Escape followed by m. (This one is in the man page, but you have to know that 'M-m' means Esc M) Again, the version of XTerm in CVS has this set for you. If you wish to set it yourself, you'd do this: <Key>KP_Subtract: string("\033M") \n\ So you see... \033 is the octal value for ESC. And M... is M. :) The result will be interpreted as Field- by tn5250... +--- | This is the LINUX5250 Mailing List! | To submit a new message, send your mail to LINUX5250@midrange.com. | To subscribe to this list send email to LINUX5250-SUB@midrange.com. | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.