Skip to content

'tail -F' with color feedback based on how recent the line was seen

Notifications You must be signed in to change notification settings

bVector/tailcolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation:

pip install tailcolor --pre

Requirements:

Requires fabulous, sarge, and blessings:

pip install fabulous
pip install blessings
pip install sarge

Usage

Usage patterns: 
  tail -F [file to follow] | tailcolor
  tail -F [file to follow] | tailflash
  tail -F [file to follow] | tailrain
  
tail -F  can be replaced with any command that provides stdout
  

Known issues

  • Issues with buffered output: If you're writing to a file, 'stdbuf -oL -eL [command]' works well if the command you're piping through doesnt have line buffered output (e.g. tcpdump has -l) http://sarge.readthedocs.org/en/latest/tutorial.html#buffering-issues
  • Minor graphical glitches when exiting or when the piped process prints to stdout ( pipe stdout to /dev/null fixes )

About

'tail -F' with color feedback based on how recent the line was seen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages