tmux-plugins / tmux-logging

Easy logging and screen capturing for Tmux.
MIT License
1.03k stars 113 forks source link

logging stops after log file is cat #10

Closed raghavendravk closed 9 years ago

raghavendravk commented 9 years ago

Once I cat the log file, the logging stops (I started capture with bind-key + alt + shift + p

bruno- commented 9 years ago

Hey, prefix + alt + shift + p saves the existing pane history once and then stops.

Use prefix + shift + p if you want to continually log pane output..

raghavendravk commented 9 years ago

Isn't it swapped in documentation then?

  1. "Screen capture"

Key binding: prefix + alt + p File path: $HOME (user home dir) File name format:

tmux-screen-capture-#{session_name}-#{window_index}-#{pane_index}-%Y%m%dT%H%M%S.log

Example file:

tmux-screen-capture-my-session-0-1-20140527T165614.log

Visible text in the current pane is saved to a file. Equivalent of a "texual screenshot".

  1. Save complete history

Key binding: prefix + alt + shift + p File path: $HOME (user home dir) File name format:

tmux-history-#{session_name}-#{window_index}-#{pane_index}-%Y%m%dT%H%M%S.log

Example file:

tmux-history-my-session-0-1-20140527T165614.log

Saves complete pane history to a file. Convenient if you retroactively remember you need to log/save all the work.