Yes, if you're running from an xterm, you should include the following line in
/usr/local/share/tn5250/XTerm (and make sure the key isn't defined more than
once, that could be a problem...)

<Key>Control_R: string("\013") \n\

That will make the right control key be field exit.  It worked for me.

[EMAIL PROTECTED] wrote:

> I've been trying to get these key bindings to work (especially the right
> control as field exit). I edit the /usr/share/tn5250/XTerm file, but
> nothing seems to work. Is that the correct file?
>
> Steve Fox
> http://w3.rchland.ibm.com/~sjfox (IBM Intranet)
> http://k-lug.com (Rochester Linux Users Group)
>
> Carey Evans <[EMAIL PROTECTED]> on 03/24/2000 12:53:42 AM
>
> Please respond to [EMAIL PROTECTED]
>
> To:   [EMAIL PROTECTED]
> cc:
> Subject:  Re: Field Exit
>
> Sean Porterfield <[EMAIL PROTECTED]> writes:
>
> > Warning: translation table syntax error: Unknown keysym name:  Enter
> > Warning: ... found while parsing '<Key>Enter: string("
> >                                                       ") '
>
> That's what I get for not testing...  The X keysym is "Return":
>
>         <Key>Return: string("\013") \n\
>
> > I also added the following to map the left control key to reset (it
> works):
> >
> > <Key>Control_L: string("\022") \n\
>

+---
| 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