× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Scott
> Subject: Re: [LINUX5250] Re: TN5250 0.16.2 released!
> Date: Mon, 3 Sep 2001 11:57:32 -0500 (CDT)
> From: Scott Klement <klemscot@klements.com>
> To: <linux5250@midrange.com>

<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.
--
martin@dbg400.net / jamaro@firstlinux.net
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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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