This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: fvwm ignores clickToFocus for function keys
- From: Charles Smith <cts dot private at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 21 Sep 2010 12:39:39 -0700 (PDT)
- Subject: Re: fvwm ignores clickToFocus for function keys
> 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