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 [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---

Reply via email to