| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_FV,TW_VW,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <222931.89096.qm@web63704.mail.re1.yahoo.com> |
| Date: | Tue, 21 Sep 2010 12:39:39 -0700 (PDT) |
| From: | Charles Smith <cts DOT private AT yahoo DOT com> |
| Subject: | Re: fvwm ignores clickToFocus for function keys |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
> Cygwin-X User's Guide to the rescue! :-)
Okay, I'll give that a try ... except ... can I run FVWM rootless? Where will it go? Doesn't rootless mode mean that the Windows window manager is used?
BTW, I have identified what gets sent when the cursor is NOT inside the bounds of the window: it's the *unmapped* version of the function key.
Okay, here's the information I forgot to supply (or only hinted at): I use the xterm.VT100.Translations resource (in my .Xdefaults file) to map the function keys:
xterm*VT100.Translations: #override \n\
<Key> Print: string(0x7f) \n\
<Key> Pause: insert-selection(PRIMARY, CUT_BUFFER0) \n\
Ctrl <Key> Prior: scroll-back(1,halfpage) \n\
Ctrl <Key> Next: scroll-forw(1,halfpage) \n\
\
Shift <Key> Up: string(0x1b) string("OAA") \n\
Shift <Key> Down: string(0x1b) string("OBB") \n\
\
Ctrl <Key> 3: string(0x1b) string("\\\\") \n\
Ctrl <Key> 4: string(0x1b) string("_") \n\
\
Shift <Key> F7: string("/media/") \n\
Shift <Key> F8: string("[<>|]") \n\
Shift <Key> F9: string(0x1b) string("[35~") \n\
Shift <Key> F10: string(0x1b) string("[36~") \n\
Shift <Key> F11: string(" 2>&1 | ") \n\
Shift <Key> F12: string(" 2>&1 | tee -a make.$md\n") \n\
\
Alt <Key> F2: keymap(vt100)\n\
Alt <Key> F1: keymap(None)\n\
\
<Key> F1: string(0x1b) string("_") \n\
<Key> F4: string("$ARCH/") \n\
<Key> F5: string("../Include/%:t:r.hpp") \n\
<Key> F6: string("../Source/%:t:r.cpp") \n\
<Key> F7: string("->next") \n\
<Key> F8: string(" ") \n\
<Key> F9: insert-selection(PRIMARY, CUT_BUFFER0) \n\
<Key> F10: string(" 2>&1 | ") \n\
<Key> F11: string(" 2>&1 | head\n") \n\
<Key> F12: string(" 2>&1 | less\n")
So, for example, if I hit F12 when the mouse cursor is outside the bounds of the window, ^[[24~ gets inserted onto my command line.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |