An ad-hoc replacement for multitail implemented with tmux and grcat
The following features thus come more or less for free.
Color highlighting is done with an node clone of grcat, grcat.js, which is about a factor 10 faster than the python original
Currently a default grcat configuration is baked into tmtail that should be well suited for tailing wildfly logs
brew install themadsens/tap/tmtail
Make sure tmux & node is installed, then dump tmtail and grcat.js somewhere in your $PATH
Usage: tmtail [-n lines] [{-c colorconf|-h highlightpattern}] <file1> [file2] [file3] ...
Default scrollback is 1000 lines.
A colorconf file is located in the same places grcat will look.
The following help text is provided when pressing h or ?
Up,k Select next pane up
Down,j Select next pane down
Left Select next pane left
Right Select next pane right
M-Up,M-k Select next pane up and set height to 50%
M-Down,M-j Select next pane down and set height to 50%
+ Set pane height to 50%
_ Set pane height to 90%
=,U,Escape Show all panes in equal height
M-= Show panes tiled
z,Enter Toggle zoom pane
u Select pane from a menu to zoom (but not scroll)
s,S Enter scrollback
B Zoom pane (if not) and enter scrollback mode
B One halfpage back if in scrollback mode already
F One halfpage forward if in scrollback mode
y Yank. Copy selection to clipboard
Y Yank line to clipboard
?,/,n,N,V Search etc. in scrollback mode.
See man tmux / copy-mode for others
h,? Show this help text
Space Add a marker line to all panes
: Enter the tmux command prompt
q,Q quit
10 commits
Shell
51.3%
JavaScript
48.7%
An ad-hoc replacement for multitail implemented with tmux and grcat
The following features thus come more or less for free.
Color highlighting is done with an node clone of grcat, grcat.js, which is about a factor 10 faster than the python original
Currently a default grcat configuration is baked into tmtail that should be well suited for tailing wildfly logs
brew install themadsens/tap/tmtail
Make sure tmux & node is installed, then dump tmtail and grcat.js somewhere in your $PATH
Usage: tmtail [-n lines] [{-c colorconf|-h highlightpattern}] <file1> [file2] [file3] ...
Default scrollback is 1000 lines.
A colorconf file is located in the same places grcat will look.
The following help text is provided when pressing h or ?
Up,k Select next pane up
Down,j Select next pane down
Left Select next pane left
Right Select next pane right
M-Up,M-k Select next pane up and set height to 50%
M-Down,M-j Select next pane down and set height to 50%
+ Set pane height to 50%
_ Set pane height to 90%
=,U,Escape Show all panes in equal height
M-= Show panes tiled
z,Enter Toggle zoom pane
u Select pane from a menu to zoom (but not scroll)
s,S Enter scrollback
B Zoom pane (if not) and enter scrollback mode
B One halfpage back if in scrollback mode already
F One halfpage forward if in scrollback mode
y Yank. Copy selection to clipboard
Y Yank line to clipboard
?,/,n,N,V Search etc. in scrollback mode.
See man tmux / copy-mode for others
h,? Show this help text
Space Add a marker line to all panes
: Enter the tmux command prompt
q,Q quit
10 commits
Shell
51.3%
JavaScript
48.7%