tmux-logging | Easy logging and screen capturing for Tmux | Command Line Interface library
kandi X-RAY | tmux-logging Summary
kandi X-RAY | tmux-logging Summary
Tested and working on Linux, OSX and Cygwin.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tmux-logging
tmux-logging Key Features
tmux-logging Examples and Code Snippets
Community Discussions
Trending Discussions on tmux-logging
QUESTION
So I am using this tmux plugin for logging the entire tmux history. https://github.com/tmux-plugins/tmux-logging
The plugin uses the key bindings C-b
+ P
to start and stop the logging session. Basically, prefix
+ P
.
I am programatically trying to to stop and start the logging session to create a new output file for each day. For this, I want to setup a crontab to run a simple script. The content of the script is as follows.
...ANSWER
Answered 2020-Dec-10 at 14:49According to the maintainer of tmux, "You can't trigger tmux key bindings with send-keys. You could just run the commands the key is bound to instead.".
For your specific case, I see in logging.tmux:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tmux-logging
Add this line to the bottom of .tmux.conf:. You should now have all tmux-logging key bindings defined.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page