发现的酷炫小工具-cmatrix,本人使用的centos,以下是安装步骤
目录
1.安装依赖的软件
2.下载并安装Cmatrix
3.使用命令提示
1.安装依赖的软件
yum install gcc make autoconf automakencurses-devel
2.下载并安装Cmatrix
wgethttp://www.asty.org/cmatrix/dist/cmatrix-1.2a.tar.gz
tar xzvf cmatrix-1.2a.tar.gz
cd cmatrix-1.2a
aclocal
autoconf
automake -a
./configure
make
sudo make install
3.使用命令提示
cmatrix -h
# 输出帮助
# Usage: cmatrix -[abBfhlsVx] [-u delay] [-Ccolor]
# -a:Asynchronous scroll
# -b:Bold characters on
# -B:All bold characters (overrides -b)
# -f:Force the linux $TERM type to be on
# -l:Linux mode (uses matrix console font)
# -o:Use old-style scrolling
# -h:Print usage and exit
# -n:No bold characters (overrides -b and -B, default)
# -s:"Screensaver" mode, exits on first keystroke
# -x:X window mode, use if your xterm is using mtx.pcf
# -V:Print version information and exit
# -udelay (0 - 10, default 4): Screen update delay
# -C [color]:Use this color for matrix (default green)
cmatrix –b
cmatrix –cred