I've been having a problem using rxvt where shift-f1 and shift-f2 end up
with the same scan codes as f11 and f12.
tn5250 to an iSeries really requires the full set of function and shifted 
function keys.

Did a bunch of searching and playing around with termcap and ilk.
Also found this but really not much luck otherwise.
  http://www.cygwin.com/ml/cygwin/2003-06/msg00394.html

I ended up making this change to my local rxvt version 2.7.10-4:
Though I didn't correctly build a non X windows version yet, it works for 
me.
I'm really a rookie with terminal stuff. and I'm guessing there's 
some historical reason why it might have only processed up to shift-F10 
instead 
of shift-F12.
Anyone have any insights?

--- command.original.c  2004-12-02 14:54:03.802104200 -0600
+++ command.c   2004-12-02 14:54:28.477585800 -0600
@@ -179,9 +179,9 @@
        }
 
        if (shft) {
-       /* Shift + F1 - F10 generates F11 - F20 */
-           if (keysym >= XK_F1 && keysym <= XK_F10) {
-               keysym += (XK_F11 - XK_F1);
+       /* Shift + F1 - F12 generates F113- F24 */
+           if (keysym >= XK_F1 && keysym <= XK_F12) {
+               keysym += (XK_F13 - XK_F1);
                shft = 0;       /* turn off Shift */
            } else if (!ctrl && !meta && (r->h->PrivateModes & 
PrivMode_ShiftKeys)) {
                switch (keysym) {



"The stuff we call "software" is not like anything that human society 
  is used to thinking about. Software is something like a machine, and 
  something like mathematics, and something like language, and 
  something like thought, and art, and information... 
  but software is not in fact any of those other things."
Bruce Sterling - The Hacker Crackdown

Fred A. Kulack - IBM eServer iSeries - Enterprise Application Solutions
ERP, Java DB2 access, Jdbc, JTA, etc...
IBM in Rochester, MN  (Phone: 507.253.5982   T/L 553-5982)
mailto:kulack/us.ibm.com   Personal: mailto:kulack/gmail.com
AIM Home:FKulack  AIM Work:FKulackWrk 
MSN Work: fakulack/hotmail.com (replace email / with @)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to