On Mon, Jun 20, 2011 at 5:14 PM, Nicholas Marriott
<nicholas.marri...@gmail.com> wrote:
> TERM=gnome is ncurses not tmux

Forgive, I'm sorry, I don't understand what this means.  I'd like to
use gnome-terminal to either create or connect to a tmux session,
wherein I bind-key -n S-F1..S-F4 to some functionality.  It's not
immediately apparent to me how ncurses comes into play?

> i'll look at the patch again tomorrow

Awesome!  Thanks!

It appears to me that tmux isn't registering the keycode that
gnome-terminal delivers when I press "shift-F1" as "shift-F1".
Digging through the tmux code, it seems that there's a bit of logic
for the (unfortunate) disagreement between various terminals on how to
relay "shift-F1".  My patch simply adds another four entries in that
mapping table for F1..F4.  I've tested it here and it fixes both
gnome-terminal and terminator.  Another reply on the list (Randy)
confirmed the fix for them too.  I've also tested that the operation
of xterm is unaffected.

Cheers,
-- 
:-Dustin

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to