-
Notifications
You must be signed in to change notification settings - Fork 107
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
tmux echo loops in several panes -> in rtail stream mixed output from several panes #110
Comments
Hey @a93ushakov do you mind providing the exact steps to reproduce this? |
rtail-server --web-port 8081
tmux kill-server #!/bin/bash
SESSION=test
tmux -2 new-session -d -s $SESSION
tmux new-window -t $SESSION:1 -n 'test0'
tmux send-keys "while true; do echo test0 && sleep 3; done | rtail --id test0" C-m
tmux new-window -t $SESSION:2 -n 'test1'
tmux send-keys "while true; do echo test1 && sleep 3; done | rtail --id test1" C-m
# Attach to session
tmux -2 attach-session -t $SESSION |
On paper this should work, but I never used Thanks for reporting @a93ushakov ! |
Thank you for reply - on github developer's quick response is rarity. Maybe this help. docker run -ti debian /bin/bash -c "apt-get update && apt-get install -y --no-install-recommends tmux" |
Same issue here. @kilianc please let me know if you can't reproduce. |
Problem is here: https://github.com/kilianc/rtail/blob/develop/cli/rtail-server.js#L111. For example, after:
I'm not sure what the |
Changing line 111 with:
solves this for me. |
PR: #114 |
@kilianc this is an amazing project. great work. :-) I am facing the same issue. This is easy to reproduce... simply rtail two files with separate I am on latest Ubuntu and latest production rtail. Hope this helps. :-) I would love if we can release a 0.2.x with this fix instead of waiting for 0.3 since this makes rtail UI unusable with multiple files streaming in. |
Thanks @mfornasa for https://github.com/kilianc/rtail/pull/114/files which IMO should be merged. In the meantime here is a hack:
|
After clicking at stream link output becomes mixed (from other tmux panes).
The text was updated successfully, but these errors were encountered: