当前位置:网站首页>[software tool] the hacker matrix special effect software CMatrix

[software tool] the hacker matrix special effect software CMatrix

2022-06-11 08:24:00 Wangtingyun's blog

One 、Cmatrix Introduce


Cmatrix Is a Linux Cool Screensaver software in the environment , The effect is similar to the code rain in the matrix movie :
 Insert picture description here
The software is also an open source software , Open source project address :https://github.com/abishekvashok/cmatrix


Two 、Cmatrix Installation tutorial


1、 Direct command installation

If your system is similar to Ubuntu Of Linux Release version , You can directly use the issued command to install :

sudo apt-get install cmatrix

2、 Source code compilation and installation

But if your is similar to Centos Of Linux Release version , Installation is not so convenient , In this case, it is necessary to Source code compilation Installed , and Source code compilation The installation is applicable to any series Linux Distribution version , therefore , Here we focus on how to compile and install the source code .

1) Get the source installation package

Go directly to the open source project address (https://github.com/abishekvashok/cmatrix) Package and download the source code .

2) install ncurses library

because Cmatrix Depend on ncurse library , So you need to install it , Installation command ( With Centos For example ):

sudo yum install -y ncurses*

3) Compilation and installation

Mr Into configure Related configuration files :

autoreconf -i

Check the configuration dependencies :

./configure

After the dependency check does not report an error, you can compile and install :

make && make install

4) function Cmatrix

[[email protected]]$ cmatrix

3、 ... and 、Cmatrix Introduction to parameters and commands


Common parameters :

  • -h: Usage of the print command
  • -a: Asynchronous scrolling
  • -b: Turn on BOLD effect
  • -B: Use bold for all characters
  • -n: Turn off bold characters ( Cover -b and -B The effect of )
  • -V: Print version information
  • -C [color]: Use the specified color ( Default green )
  • -r: Rainbow mode
  • -u [delay]: Specify the screen refresh delay time (0 - 10, Default 4)

Run time key commands

Key effect
1-9 Screen refresh delay time
a One step scrolling
b Turn on BOLD effect
B All characters are bold
n Turn off bold
q sign out
! The font color is switched to red
@ The font color is switched to green
# The font color is switched to yellow
$ The font color is switched to blue
% The font color is switched to magenta
^ The font color is switched to cyan
& The font color is switched to white
原网站

版权声明
本文为[Wangtingyun's blog]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203020510296320.html