ilya-manin / tmux-network-bandwidth

📊 Network bandwidth plugin for tmux
MIT License
76 stars 13 forks source link

not working on Debian 10 (Buster ) #5

Closed kamilmirza closed 4 years ago

kamilmirza commented 4 years ago

after Please Wait... nothing shows up: 2020-03-30_23-51-22 all requirement packages are installed tmux 2.8 & tmux 3.1rc working fine on ubuntu 18.04 with tmux 3.0

ilya-manin commented 4 years ago

Hey @kamilmirza

I just checked the plugin on debian (buster) and everything is ok, could you please double-check? Looks like a problem with the wrong version of awk, please try to install GNU awk.

That's how I checked:

RUN echo "set -g @plugin 'tmux-plugins/tpm'\n \ set -g @plugin 'xamut/tmux-network-bandwidth' \n \ run -b '~/.tmux/plugins/tpm/tpm' \n \ set-option -g status-interval 3 \n \ set-option -g status-right '#{network_bandwidth}'" > ~/.tmux.conf

RUN git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm RUN TMUX_PLUGIN_MANAGER_PATH="~/.tmux/plugins" ~/.tmux/plugins/tpm/bin/install_plugins

CMD tmux -u # Force UTF8 support



* Build the image `docker build -t tmux .`
* Run the container `docker run --rm -ir tmux`
* Then try to download something, like: `curl -O http://dl-cdn.alpinelinux.org/alpine/v3.11/releases/x86_64/alpine-standard-3.11.3-x86_64.iso`

Hope it helps you.
kamilmirza commented 4 years ago

fixed it by installing gawk thanks a lot