Looks fine to me, although tmux only supports up to F20. If you turn on the xterm-keys option you should get the xterm escape sequences instead of the normal tmux ones.
On Tue, Jul 15, 2014 at 12:04:18AM -0400, Bryan Mills wrote: > I've been experimenting with alternate keyboards lately, and I've got > a USB HID device that generates lesser-used function key codes > (F13-F24). > > I managed to get xterm configured decently enough to forward them to > emacs, so everything seems to be plumbed properly... > > Only, if I throw tmux in the middle, it all breaks and I'm left with > random garbage. I suspect a terminfo problem, but at this point I > can't rule out a tmux bug. Any ideas? > > > Under just xterm, pressing F13 through F24: > > $ echo $TERM > xterm-256color > $ cat > ^[[1;2P^[[1;2Q^[[1;2R^[[1;2S^[[15;2~^[[17;2~^[[18;2~^[[19;2~^[[20;2~^[[21;2~^[[23;2~^[[24;2~ > > > Under xterm+tmux: > > $ echo $TERM > screen-256color > $ cat > ^[[25~^[[26~^[[28~^[[29~^[[31~^[[32~^[[33~^[[34~^[[20;2~^[[21;2~^[[23;2~^[[24;2~ > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users