Hi Scott
> Subject: Re: [LINUX5250] Re: TN5250 0.16.2 released!
> Date: Mon, 3 Sep 2001 11:57:32 -0500 (CDT)
> From: Scott Klement <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>

<snipped>
> It shouldn't be sending '[2C' or '[2D' the changes to the XTerm file
> should be causing it to send ESC Ctrl-H (left) and ESC Ctrl-U (right)
> (that is, \033\010 and \033\025, respectively)
>
> Are you sure that the changes were installed in
> /usr/local/share/tn5250/XTerm?

mrowe@mrowe:~$ tail /usr/local/share/tn5250/XTerm
        Shift <Key>Left: string("\033\010") \n\
        Shift <Key>Right: string("\033\025") \n\

> If you are using an ~/.Xresources file
> or similar mechanism to override the settings in the
> /usr/local/share/tn5250/XTerm file, you'll need to copy those changes to
> your ~/.Xresources file as well.

mrowe@mrowe:~$ ls -l .Xresources
ls: .Xresources: No such file or directory

> Hope that helps...

That bit didn't, but having another look at my XTerm file did - I just
dropped those two lines into the file at the end of the existing list[1]. The
former last line didn't have a trailing \n\, so the new mappings were being
ignored. Once that was fixed your functions came to life :-) Sorry about that
:-(

It works the same as in CA (or KMail) when going right, but places the cursor
at the end of the word when going left. As an example from the signon screen

Display . . . . . :   QPADEV0006
^       ^ ^ ^ ^ ^ ^   ^           # ^ = stop points for CA/KMail
r       r r r r r r   r           # r = stop points for tn5250 moving right
      l l l l l l l   l           # l = stop points for tn5250 moving left

In addition the other apps will move onto the [start of the next|end of the
previous] line and carry on from there, once they reach the [start|end] of
the line being processed. Having never used this functionality until it got
mentioned on the list, I can't say I'm bothered either way, but it might be
nice to emulate that too.

One other, slightly related question. Is it possible to have a key binding
for start of the current line/field (as a matching function to End), like
Home does in pretty much any other app I've used. I know Home has a special
meaning in 5250 but would a Shift-Home (or something else) be possible
without breaking anything?

Regards, Martin
[1] Have a few different key mappings to the standard set supplied, so
maintain my own XTerm with additions from the cvs version.
--
[EMAIL PROTECTED] / [EMAIL PROTECTED]
http://www.dbg400.net  DBG/400 - DataBase Generation utilities
Open Source test environment tools for the AS/400 / iSeries and
miscellaneous database & spooled file management commands.
_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to