Readers can refer to the archives for the history (or check subject 
"complete list of key values" which may be helpful.)

I still don't fully understand how the keymapping works despite VERY 
clear descriptions.  I'm also not a C programmer.  OK, disclaimers aside 

I've been royally irritated by the shift-tab issue on FC1.  To persue my 
ignorance - I did at least make it work.

To quote Scott Klement: "Is this the "right" way to do it?  I don't 
know... but it'll work... :)"

--- tn5250.orig/src/cursesterm.c     2004-04-28 19:55:10.000000000 -0400
+++ tn5250/src/cursesterm.c     2004-04-28 19:37:27.000000000 -0400
@@ -240,6 +240,7 @@
    { K_NEXTFLD,                "\033\025" }, /* ESC Ctrl-U */
    { K_PREVFLD,                "\033\010" }, /* ESC Ctrl-H */
    { K_FIELDHOME,      "\033\006" }, /* ESC Ctrl-F */
+   { K_BACKTAB,                "\033\125" }, /* ESC Shift-Tab? */
    /* K_INSERT = ESC+DEL handled in code below. */

--- tn5250.orig/XTerm        2001-09-04 17:35:24.000000000 -0400
+++ /usr/local/share/tn5250/XTerm       2004-04-28 19:38:33.000000000 
@@ -42,7 +42,7 @@
         Shift <Key>F10: string("\033)") \n\
         Shift <Key>F11: string("\033_") \n\
         Shift <Key>F12: string("\033+") \n\
-        Shift <Key>Tab: string("\033[Z") \n\
+        Shift <Key>Tab: string("\033\125") \n\
         Shift <Key>Left: string("\033\010") \n\
         Shift <Key>Right: string("\033\025") \n\
         Shift <Key>Home: string("\033\006") \n\

Maybe someone will find the "correct" solution someday, but I'm happy to
have my backtab working in the meantime!

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 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.