On Mon, 28 Jul 2003, isa-media GmbH - Herbert Hartung wrote:

> I have problems with xt5250. I run Lindows and xt5250.
> Here my Problems:
> 1. Problem with Keybord
> I want to use the "+" Key on the Number block for "input field"
> I try to explain the funktion: When i hit "+" the charakters right of
> the cursor shout cleard.
> (i use just "STRG+K" Keys to get them)

I'm not familiar with Lindows, but I'll assume it works like other Linux

You should have a file called /usr/local/share/tn5250/XTerm  in that file
should be a line like this:

        <Key>KP_Add: string("\030") \n\

That line says that when the "KP_Add" (the + key on the keypad) is
pressed, send the string \030  (which is the same as Ctrl-X on a US
keyboard -- I'm guessing that's Strg-X on yours?)

All you need to do is change that line to be whatever you want to send,
and restart xt5250.   For Ctrl-K (again, I'm assuming STRG is the same as
Ctrl, but I don't know since I've only used US keyboards) you'd simply
use string("\013")  (since \013 is Ctrl-K)

> The "," Key on The Number Block is just a "." and i need the ","

Hmmm...  Sounds like your keyboard is set up for USA?  Should be the
same fix... just put
       <Key>KP_Decimal: string(",") \n\
into the /usr/local/share/XTerm file

> 2. Display
> I use some Code in the xt5250 File to creat a biger Font. I look for
> other code to get a much grater font. I have 1024x768 Resolution and
> want to have a full view in the xt5250

In your tn5250rc you can specify any font you like.  I don't know what
fonts your system has or how they are displayed.  On mine I can get
relatively close using something like this:

dsp01 {
    env.DEVNAME = dsp01
    host = ssl:as400.example.com

and then, of course, I type "xt5250 dsp01" to start the emulator.

> 3. Keyboardbuffer
> I know many Forms on the as400. Then i type the actions quikly i become
> errors on the as400 because the as400 post slowly the forms back to me.
> I look after a funktion on xt520 that stop the input and take it at the
> moment the right form is aktiv.

I don't have this problem.  Are you using the current release of TN5250?
(0.16.5) and/or do you have keyboard buffering enabled on your iSeries?


> Have anybody a Howto or code examples?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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