Using xfce4-terminal (TERM=xterm-265color)
I see the same sequence when pressing shift-F2.

The man page does not suggest that tmux supports "S-" as the shift modifier,
and if it did I wouldn't know how to test it... you don't bind S-w, you just
bind W...

tmux does support the F2 key,
but for me (tmux svn) it does not seem to work with a modifier (like M-F2).

At a bash command prompt for me:
Ctrl-V, Alt-F2 prints: "^[O1;3Q",
prefix, Alt-F2 prints: "1;3Q"
Alt-F2 prints: ";3Q"

On Fri, Jun 17, 2011 at 6:13 PM, Dustin Kirkland
<dustin.kirkl...@gmail.com>wrote:

> Howdy!
>
> I'm trying to bind some Shift- and Alt- keys using the bind-key command.
>
> I've found the helpful S- and M- prefixes, which is quite handy and nice.
>
> It seems, though, that my terminal (gnome-terminal) sets TERM=xterm,
> but some key sequences (such as Shift-F2) differ slightly between
> gnome-terminal and xterm.
>
> In any case, if I check the actual keycode for something like Shift-F2
> using cat >/dev/null, I get:
> ^[O1;2Q
>
> Weird, yeah, I know.
>
> So, in screenrc, I could still bind to this sequence easily enough with:
>
> bindkey "^[O1;2Q" split
>
> I'd love to be able to do the same with tmux.  Something like:
> bind-key -n "^[O1;2Q" split-window -v
>
> Is there any way of accomplishing this behavior?
>
> Thanks!
> --
> :-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
>
------------------------------------------------------------------------------
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