An ad-hoc replacement for multitail made with tmux and grcat

themadsens1 pts0 comments

GitHub - themadsens/tmtail: An ad-hoc replacement for multitail implemented with tmux and grcat · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

themadsens

tmtail

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>12 Commits<br>12 Commits

LICENSE

LICENSE

README.md

README.md

grcat.js

grcat.js

tmtail

tmtail

View all files

Repository files navigation

tmtail

An ad-hoc replacement for multitail<br>implemented with tmux and grcat

The following features thus come more or less for free.

Mouse aware for select, resize etc.

The full tmux copy-mode for scrollback browsing, searching etc

Copy scrollback text to the clipboard (y & Y) without any fuzz, via tmux clipboard integration

Easily extendible by adding bindings for tmux actions. The sky is the limit ..

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

Installation

Make sure tmux & node is installed, then dump tmtail and grcat.js somewhere in your $PATH

Syntax

Usage: tmtail [-n lines] [-c colorconf] [file2] [file3] ...

Default scrollback is 1000 lines.

A colorconf file is located in the same places grcat will look.

Commands

The following help text is provided when pressing h or ?

Up,k Select next pane up<br>Down,j Select next pane down<br>Left Select next pane left<br>Right Select next pane right<br>M-Up,M-k Select next pane up and set height to 50%<br>M-Down,M-j Select next pane down and set height to 50%<br>+ Set pane height to 50%<br>_ Set pane height to 90%<br>=,U,Escape Show all panes in equal height<br>M-= Show panes tiled<br>z Zoom pane<br>u Select pane from a menu to zoom (but not scroll)<br>B Zoom pane (if not) and enter scrollback mode<br>B One halfpage back if in scrollback mode already<br>F One halfpage forward if in scrollback mode<br>y Yank. Copy selection to clipboard<br>Y Yank line to clipboard<br>?,/,n,N,V Search etc. in scrollback mode.<br>See man tmux / copy-mode for others<br>h,? Show this help text<br>Enter,Space Add a marker line to all panes<br>: Enter the tmux command prompt<br>q,Q quit

Screenshot

About

An ad-hoc replacement for multitail implemented with tmux and grcat

Resources

Readme

License

MIT license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

JavaScript<br>53.0%

Shell<br>47.0%

You can’t perform that action at this time.

grcat pane tmux tmtail select scrollback

Related Articles