Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!news.cs.indiana.edu!noose.ecn.purdue.edu!samsung!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.windows.open-look Subject: Re: function keys f1,f11 and f12 Message-ID: <4313@auspex.auspex.com> Date: 10 Nov 90 03:05:50 GMT References: <1990Nov8.083925@Unify.com> Organization: Auspex Systems, Santa Clara Lines: 43 >The problem is that the xnews server maps the sun keys in an >odd way. By default, it maps the L1 and L2 keys (on the left of >the keyboard) to the F11 and F12 keysyms, From the X11R4 : /* * Auxilliary Functions; note the duplicate definitions for left and right * function keys; Sun keyboards and a few other manufactures have such * function key groups on the left and/or right sides of the keyboard. * We've not found a keyboard with more than 35 function keys total. */ ... #define XK_F10 0xFFC7 #define XK_F11 0xFFC8 #define XK_L1 0xFFC8 #define XK_F12 0xFFC9 #define XK_L2 0xFFC9 so the L1 keysym is the *same* as the F11 keysym in X11 (and therefore it had better be the same in OW, the X side of that being X11). The same applies to L2/F12. The MIT Sun server does the exact same thing as the OW server here. >and it maps the F1 key to the Help keysym. For the benefit of IBM PC weenies out there, I assume. If, as, and when we get OW here, I'd probably make the frigging Help key have the Help keysym, and the F1 key have the F1 keysym.... (That's what the MIT server does.) >It then maps the F11 and F12 keys to the SunF36 and SunF37 keysysms. Because the F11 and F12 keysyms are already spoken for. (The MIT server maps F11 to F11/L1 and F12 to F12/L2, so L1 and F11.) Apparently, the X11 folks at MIT hadn't found any Type 4 keyboards as of when they wrote that comment, because I have no trouble finding a keyboard with 37 "numbered" function keys (L1-L10, F1-F12, R1-R15) - there's one right under my fingers as I type....