I've been collecting a minimal set of nicities for a while now, if anyone is interested:
https://github.com/ohazi/dotfiles
Giving the man page a cursory skim is recommended.
I've been collecting a minimal set of nicities for a while now, if anyone is interested:
https://github.com/ohazi/dotfiles
Giving the man page a cursory skim is recommended.
I wish TMUX would be capable of noticing and either fixing or suggesting a fix for that kind of garbage.
It's also almost impossible to validate a program against different environments other than just manually trying as many as you can tolerate.
Also there are lots of systems with broken/incomplete/incorrect termcap databases, so now you're looking at kludgy exception lists anyway.
Tmux switched from using xterm- to screen- and then tmux- as its $TERM at some point, and adding a proper termcap entry, and it's mostly been a net positive, but some things definitely break as a result.
The most annoying thing is that $TERM is inherited over ssh, but the termcap db isn't, so it's not enough to have your local programs configured correctly, you need to have the same config (or at least a workaround) available on all of the remote systems you use.
Tldr: xterm- is ossified, and trying to do anything else, even the correct way, is a nightmare and often can't realistically be made to work.
I fully expect to have to revisit this again soonish. But most of the tmux changes over the years have been clear positives, despite the config churn.
I remapped my prefix to C-q. It's a relatively useless key (who needs flow control these days?) and it's close to the number row — you can press it and then quickly get to a number key.