MIDRANGE dot COM Mailing List Archive



Home » LINUX5250 » June 2002

RE: Keyboard mapping - feedback



fixed

OK, I added the following to the key down table in winterm.c
{ VK_SHIFT    VK_LEFT,         K_PREVWORD  , 0, 1 },
{ VK_SHIFT    VK_RIGHT,        K_NEXTWORD  , 0, 1 },

and it maps to the appropriate functions just fine.  Alas, the function
doesn't do what I want it to do.  They move the cursor to the next/last
non-blank character.  I would like to move to the next/last field whether
it's blank or not (like the option column in PDM.)

So, I have a look around to see where the K_PREVWORD is used, and by
burrowing in enough places, I see that PREVWORD is called in display.c and
implemented in dbuffer.c.  When I get a chance, I will try to change
tn5250_dbuffer_prevword to go to the field boundary, not just to the next
non-blank.

Thanks for the tips.  I will let the list know how I make out. (Green screen
guy trepidation showing.)
  --buck






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact