Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After kernel update to my OS this tmux configuration exists in error #457

Closed
lemiesz opened this issue Mar 2, 2021 · 6 comments
Closed
Labels

Comments

@lemiesz
Copy link

lemiesz commented Mar 2, 2021

For the past year or so I have been using this configuration with tmux 2.8. It worked fine, however after a system update to my machine today, it has stooped working.

I get the notification "this configuration required tmux 2.3+".

Anyone know whats up?

@lemiesz
Copy link
Author

lemiesz commented Mar 2, 2021

Even downgrading to 2.3 seems to give me the same message

@gpakosz
Copy link
Owner

gpakosz commented Mar 2, 2021

Hello @lemiesz 👋

Can you please tell me which operating system you're using and the tmux version?

$ tmux -V

Then

$ cut -c3- ~/.tmux.conf | sh -sx

@gpakosz gpakosz added the support label Mar 3, 2021
@lemiesz
Copy link
Author

lemiesz commented Mar 4, 2021

Im on Amazon Linux 2 which a flavor on top of rhel5/centos

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2:-:internal"
HOME_URL="https://amazonlinux.com/"
VARIANT="internal"

tmux -V

tmux.orig 2.8

Although I also have a tmux 2.3 version installed that does the same thing.

The second command gives me

+ :
+ set -e
+ unset GREP_OPTIONS
+ export LC_NUMERIC=C
+ LC_NUMERIC=C
+ printf ''
+ sed -E s///
++ uname -s
+ _uname_s=Linux
++ tmux -V
++ tr -cd 0123456789.
++ cut '-d ' -f2
++ awk -F . '{print $1 * 100 + $2}'
+ _tmux_version=2
+ command -v pkill

@gpakosz
Copy link
Owner

gpakosz commented Mar 4, 2021

$ tmux -V
tmux.orig 2.8

So you aliased or symlinked tmux?

In any case, can you please try the gh-457 branch? This should improve version detection and fix the problem you're facing.

@gpakosz
Copy link
Owner

gpakosz commented Mar 11, 2021

Hey @lemiesz 👋

Did you find the time to give the gh-457 branch a try by chance?

@lemiesz
Copy link
Author

lemiesz commented Mar 12, 2021

Sorry i kept forgetting to do this. Yes that worked thanks alot

@lemiesz lemiesz closed this as completed Mar 12, 2021
@gpakosz gpakosz reopened this Mar 12, 2021
@gpakosz gpakosz changed the title After kernel update to my OS this tmux confugration crashes After kernel update to my OS this tmux configuration exists in error Mar 12, 2021
madhukar93 pushed a commit to madhukar93/.tmux that referenced this issue Apr 25, 2021
ulken94 added a commit to ulken94/.tmux that referenced this issue Oct 28, 2021
* improved status line rendering, fixes gpakosz#419 (2)

- do not apply attr to spacers
- fixed attr for last window, window with activity and window with bell

* added support for #{hostname_full} and #{hostname_full_ssh}, closes gpakosz#361

* fixed use of invalid 'print' command

* improved status line rendering, fixes gpakosz#419 (3)

fixed spacers

* fixed indentation in _apply_overrides()

* mention 'reattach-no-usernamespace' is not needed for tmux > 2.6

* added support for tpm, resolves gpakosz#61

* fixed BusyBox's tr command compatibility, fixes gpakosz#441

* fixed variable replacement in tmux_conf_theme_status_right and tmux_conf_theme_status_left, fixes gpakosz#356

* fix left status prefix rendering

* fixed variable replacement in tmux_conf_theme_status_right and tmux_conf_theme_status_left (2), fixes gpakosz#442

* fixed #{online} custom variable implementation as ping -t is not portable, fixes gpakosz#451

* remind people to not "uncomment" local functions in .tmux.conf.local

* fixed copy to os clipboard on macOS when xclip or xsel is installed, fixes gpakosz#459

* worked around broken /sys/class/power_supply/<supply_name>/capacity > 100, resolves gpakosz#460

* made version detection more robust in case tmux executable is renamed (2), fixes gpakosz#457

* made version detection more robust in case tmux executable is renamed (3), fixes gpakosz#462

fixed a regression introduced by commit 8aefa1e that breaks
version detection for tmux HEAD for which 'tmux -V' prints e.g. tmux next-3.3

* made _apply_bindings() work with tmux 3.2 stock bindings, fixes gpakosz#472

* replaced printf '\n' calls by echo calls, fixes gpakosz#479

TPM plugins further editing status-left or status-right may alter the content
in such a way that the line feed character becomes a space

* use single quotes for strings containing Unicode escapes, fixes gpakosz#486

* mitigate tmux displaying its "<... not ready>" message, closes gpakosz#496

the "flickering" perceived when the "<... not ready>" message is long won't be
totally eliminated until tmux 3.3 though (commit 38c5788232e0e3abdd08ade55a9d4fbcda637df1)

* revert "mitigate tmux displaying its "<... not ready>" message, closes gpakosz#496"

this reverts commit 67b1d38.

the proposed mitigation causes flickering for some, see followups in gpakosz#496

* check connectivity to github.com before installing and/or updating tpm and plugins, fixes gpakosz#513

* fixed _battery_info() when pmset doesn't report a charge percentage, fixes gpakosz#512

* updated tpm integration

- automatically delete tpm when not used
- automatically delete unused plugins
- install plugins when subsequently enabling then in ~/.tmux.conf.local
- use <prefix> + u to update plugins as <prefix> + U is bound to Urlview, fixes gpakosz#507

* fixed tpm plugins not installing on CentOS 7, fixes gpakosz#520

- drop git clone --shallow-submodules as it requires git >= 2.9.0
- display a message when one of the tpm script fails

* worked around Falcon.app agent slowing everything down, fixes gpakosz#492

it appears the Falcon anti-malware product for end-points slows down ps -t /dev/ttysXXX
commands 🤷

the workaround consists in passing ttysXXX instead of /dev/ttysXXX and is achieved
by removing the /dev/ prefix in #{pane_tty} expansion with the help of formats
substitutions

* worked around Falcon.app agent slowing everything down (2), fixes gpakosz#522

* reworked pane / tty introspection, fixes gpakosz#403, fixes gpakosz#458

- renamed _tty_info() to _pane_info()
- pass both #{pane_pid} and #{pane_tty} to _pane_info()
- when inspecting ps output, walk down from #{pane_pid} to the child-most pid

* made background sleep process exit immediately when exiting tmux, fixes gpakosz#509

* set default-terminal to tmux-256color when available, fixes gpakosz#205, fixes gpakosz#382, closes gpakosz#386

see https://github.com/tmux/tmux/wiki/FAQ#i-dont-see-italics-or-italics-and-reverse-are-the-wrong-way-round

* check connectivity to github.com before installing and/or updating tpm and plugins (2)

Co-authored-by: Gregory Pakosz <gregory.pakosz@gmail.com>
Co-authored-by: Frederick Zhang <frederick888@tsundere.moe>
Co-authored-by: Neil Mahoney <neiljosephmahoney@gmail.com>
Co-authored-by: Haneol Kim <hekim@jmarple.ai>
yerstd pushed a commit to cgxxv/tmuxc that referenced this issue Nov 18, 2021
yerstd pushed a commit to cgxxv/tmuxc that referenced this issue Dec 9, 2021
farhadkarimi pushed a commit to farhadkarimi/.tmux that referenced this issue Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants