[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add xterm+pcfkeys to tmux
From: |
Nicholas Marriott |
Subject: |
Re: Add xterm+pcfkeys to tmux |
Date: |
Wed, 25 Jan 2017 14:46:35 +0000 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
Hi
I made a mistake - xterm-keys changes only modified keys, not the
unmodified Home and End, so these stay as before (\E[1~ and \E[4~).
(I don't like this, but changing them would hurt people who use
TERM=screen instead of TERM=tmux.)
Adding the xterm+edit fragment as well is enough to get them working,
but I'm not sure if it would be better to include different bits
instead.
This also removes Ms@:
--- terminfo-20161231.src.orig Wed Jan 25 14:39:44 2017
+++ terminfo-20161231.src Wed Jan 25 14:41:58 2017
@@ -6445,8 +6445,9 @@
# tmux is compatible with screen, but has support for italics, and some of the
# xterm cursor bits.
tmux|tmux terminal multiplexer,
- ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
- use=xterm+sl, use=xterm+tmux, use=screen,
+ ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m,
+ use=xterm+edit, use=xterm+pcfkeys, use=xterm+sl, use=xterm+tmux,
+ use=screen,
tmux-256color|tmux with 256 colors,
use=xterm+256setaf, use=tmux,
Thanks
On Tue, Jan 03, 2017 at 11:48:17PM +0000, Nicholas Marriott wrote:
> Hi
>
> From the next release (around May) tmux will generate xterm-style escape
> sequences for function keys out of the box (the xterm-keys option will
> initially default to on and later be removed).
>
> So if would be great if xterm+pcfkeys could be added to the tmux
> entry. Below is a diff against terminfo-20161126.src.
>
> Currently we generate nothing for these keys by default so this
> shouldn't make any difference even for older tmux versions.
>
> Thanks
>
>
> --- terminfo-20161126.src.old Fri Dec 30 13:27:10 2016
> +++ terminfo-20161126.src Fri Dec 30 13:29:41 2016
> @@ -6435,7 +6435,7 @@
> # xterm cursor bits.
> tmux|tmux terminal multiplexer,
> ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
> - use=xterm+sl, use=xterm+tmux, use=screen,
> + use=xterm+pcfkeys, use=xterm+sl, use=xterm+tmux, use=screen,
>
> tmux-256color|tmux with 256 colors,
> use=xterm+256setaf, use=tmux,