James Rich wrote:
Using the XTerm to map ¢ to a key put the sign on the screen and added another character after it.)


Can you please post what you added to XTerm for this?

<Key>bracketleft: string("¢") \n\

x5250 should quite happily print any character in the font. But you are right, the hard part is the fact that there is no cent key. A mapping can be set up for it, though right now that requires some coding. Tell me what mapping you would like and I'll add it for you.

You correctly read what I meant :) In iSeries Access, I mapped it on the left square bracket, since I almost never use that character. I then mapped Alt-[ to be [ just in case I needed it. I'm not really picky, though. If I can make the character, I can do my job.


The font will change if I specify -font in xt5250 but not from font_80 in .tn5250rc.


xt5250 or x5250? I don't think xt5250 has a -font option.

That comment was directed only toward xt5250.

Application defaults for x5250 are found in
/usr/local/share/x5250/X5250 or may be placed in ~/.Xdefaults.  The
 X5250 file list all the resources that can be customized.  You can
 also run 'x5250 --help' to get a list of command line options.

Aha! The x5250*pastecursor option helps me (though it is backwards from what I expected.) I found that if I copy within x5250, I can paste outside it. If I copy outside, I can paste within (though it was pasting wherever I had the cursor which really messed up my code!) I still cannot highlight in x5250 and paste back into x5250.


I should be able to just edit key.c to do things the way I like them. See the following that I added to my XTerm file:

        <Key>Menu: string("\022") \n\
        Shift<Key>Escape: string("\003") \n\
        <Key>End: string("\033\012") \n\
        <Key>Control_R: string("\015") \n\
        <Key>Return: string("\013") \n\
        <Key>KP_Enter: string("\013") \n\

This was already in XTerm, but doesn't work in x5250:
        <Key>Control_L: string("\022") \n\

Thanks!

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 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.