Animated pipes terminal screensaver.
Screenshot of pipes.sh, click to watch a screencast on YouTube.
Contents
First and foremost, I am not the original author of pipes.sh.
The author of the original script is unknown to me. The first entry I can find was posted at 2010-03-21 09:50:09 on Arch Linux Forums (doesn't mean the poster is the author at all).
Originally, I pushed my modifications to Gist after reading about pipes.sh on a blog, I continued to maintain the Gist for a few months in 2013
In 2014, after seeing this C version, which happened to be inspired by my modified version, it might be the time to move here.
Normally, I wouldn't do this for a source code without proper license, but it's done a year ago, So, what the heck. Even I have read somewhere that claim pipes.sh is in public domain, I can not trust that.
So, anyone who wants to contribute, please be aware.
The most interesting thing is: I don't even have a name of the original author.
If you want to install, you can run:
$ make install
By default, it installs to /usr/local
; for user home, you can run:
$ make PREFIX=$HOME/.local install
Or any PREFIX
you prefer.
The Makefile
also provides uninstall
target.
Number of pipes (D=1).
Type of pipes, can be used more than once (D=0).
-t # |
Charaters |
---|---|
-t 0 |
|
-t 1 |
|
-t 2 |
|
-t 3 |
|
-t 4 |
|
-t 5 |
|
Framerate (D=75).
Probability of a straight fitting (D=13).
Reset after x characters, 0 if no limit (D=2000).
Random starting point.
No bold effect.
No color.
Help message.
Print version number.
Press any key to exit the program, except in Bash < 4, Control + C is the only key to exit.
Feel free to fork and/or create pull request. But if you does create pull requests, that means you agree to put your contribution in public domain, also be sure to read about copyright concern.