Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bVector/tailcolor
'tail -F' with color feedback based on how recent the line was seen
https://github.com/bVector/tailcolor
Last synced: 11 days ago
JSON representation
'tail -F' with color feedback based on how recent the line was seen
- Host: GitHub
- URL: https://github.com/bVector/tailcolor
- Owner: bVector
- Created: 2014-05-05T19:57:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-14T03:28:48.000Z (almost 10 years ago)
- Last Synced: 2024-09-22T04:18:19.072Z (about 2 months ago)
- Language: Python
- Size: 234 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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 )