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



On Sun, 5 Dec 2004, Jack J. Woehr wrote:
>
> The stderr says "keysym SunF37 is not handled".
>

I did a little poking around, and found this paragraph on a web forum
somewhere:

  For historical reasons, on a Sun keyboard, the keys labeled "Stop" and
  "Again" are registered as F11 & F12, and the keys labeled "F11" & "F12"
  are registered as SunF36 & SunF37.  (The F11 & F12 keys were added to
  the keyboard layout years after F1-F35 were all assigned to various
  keys, so they were added to the end instead of breaking all applications
  written to use the older keyboards.)

Hmmm... I don't have a Sun box to try this on, so this is a bit of a stab
in the dark, but would the following patch work?

--- ../../orig/x5250-0.4.6/src/key.c    Mon Nov 15 23:04:27 2004
+++ key.c       Sun Dec  5 19:30:04 2004
@@ -232,7 +232,12 @@
          return K_F10;
        }
     }
-  else if (*keysym == XK_F11)
+  else if (*keysym == XK_F11
+#ifdef XK_SunF36
+           || *keysym == XK_SunF36 )
+#else
+         )
+#endif
     {
       if ((report->xkey.state & ShiftMask) != 0)
        {
@@ -243,7 +248,12 @@
          return K_F11;
        }
     }
-  else if (*keysym == XK_F12)
+  else if (*keysym == XK_F12
+#ifdef XK_SunF37
+           || *keysym == XK_SunF37 )
+#else
+         )
+#endif
     {
       if ((report->xkey.state & ShiftMask) != 0)
        {

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.