|
Okay, I've implemented your suggestions: -- Shift-Left will now go to the start of a word, instead of the end. -- Shift-Right & Shift-Left will now wrap lines -- Shift-Home has been added to go to the first position of the current field. These are in CVS for the 0.17.x branch. Once they've had a bit more exposure, I'll merge them into the 0.16.x branch as well... Please let me know what you think of the way they work, now... On Tue, 4 Sep 2001, Martin Rowe wrote: > 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? >
As an Amazon Associate we earn from qualifying purchases.
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.