Terminal based "The Matrix" like implementation

CMatrix

CMatrix is based on the screensaver from The Matrix website. It shows text flying in and out in a terminal like as seen in "The Matrix" movie. It can scroll lines all at the same rate or asynchronously and at a user-defined speed.

CMatrix by default operates in eye candy mode. It must be aborted with control-c (Ctrl+C) or by pressing q. If you wish for more of a screen saver effect, you must specify -s on the command line. For usage info, use cmatrix -h.

Build Status

Dependencies

You'll probably need a decent ncurses library to get this to work.

Building and installing cmatrix

To install cmatrix, use either of the following methods from within the cmatrix directory.

Using configure (recommended for most linux user)

autoreconf -i  # skip if using released tarball
./configure
make
make install

Using CMake

Here we also show an out-of-source build in the sub directory "build".

mkdir -p build
cd build
# to install to "/usr/local"
cmake ..
# or to install to "/usr"
#cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
make install

Running cmatrix

After you have installed cmatrix just run cmatrix to run cmatrix :)

To get the program to look most like the movie, use cmatrix -lba To get the program to look most like the Win/Mac screensaver, use cmatrix -ol

Valuable information

If you have any suggestions/flames/patches to send, please feel free to open issues and if possible solve them in PRs via Github.

Note: cmatrix is probably not particularly portable or efficient, but it wont hog too much CPU time

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
How to enable Proxy Settings for Yum Command on RHEL / CentOS Servers
Viewed 12394 times since Thu, Jul 19, 2018
RHEL: Reserved space on a ext2/ext3/ext4 filesystem
Viewed 4299 times since Sun, May 27, 2018
How to find the largest files and directories in Linux?
Viewed 3239 times since Sun, May 20, 2018
Using stunnel and TinyProxy to obfuscate HTTP traffic
Viewed 6766 times since Fri, Sep 28, 2018
Nagrywanie sesji SSH do pliku
Viewed 2879 times since Thu, May 24, 2018
Telnet – Send GET/HEAD HTTP Request
Viewed 3197 times since Mon, Feb 18, 2019
6 rsync Examples to Exclude Multiple Files and Directories using exclude-from
Viewed 4824 times since Wed, Oct 31, 2018
Linux - How to get Memory information
Viewed 1868 times since Fri, Jun 8, 2018
How To: Linux Hard Disk Encryption With LUKS [ cryptsetup Command ]
Viewed 7264 times since Fri, Jul 13, 2018
Yum Update: DB_RUNRECOVERY Fatal error, run database recovery
Viewed 3968 times since Fri, Jan 17, 2020