cmatrix秀一波骚操作

淩亂°似流年 2023-02-24 14:25 73阅读 0赞

cmatrix官网 https://www.asty.org/cmatrix/


cmatrix 展示效果

20200709171712309.png


linux下安装 cmatrix 流程

  1. wget https://www.asty.org/cmatrix2/dist/cmatrix-1.2a.tar.gz
  2. tar -zxvf cmatrix-1.2a.tar.gz
  3. cd cmatrix-1.2a
  4. yum install ncurses-devel
  5. ./configure && make && make install

cmatrix 参数配置选项

  1. Usage: cmatrix -[abBfhlsVx] [-u delay] [-C color]
  2. -a: Asynchronous scroll
  3. -b: Bold characters on
  4. -B: All bold characters (overrides -b)
  5. -f: Force the linux $TERM type to be on
  6. -l: Linux mode (uses matrix console font)
  7. -o: Use old-style scrolling
  8. -h: Print usage and exit
  9. -n: No bold characters (overrides -b and -B, default)
  10. -s: "Screensaver" mode, exits on first keystroke
  11. -x: X window mode, use if your xterm is using mtx.pcf
  12. -V: Print version information and exit
  13. -u delay (0 - 10, default 4): Screen update delay
  14. -C [color]: Use this color for matrix (default green)
  15. 用法:cmatrix-[abBfhlsVx][-u延迟][-C颜色]
  16. -a 异步滚动
  17. -b 加粗字符
  18. -B 所有粗体字符(覆盖-B
  19. -f 强制linux$TERM类型为on
  20. -l Linux模式(使用矩阵控制台字体)
  21. -o 使用旧式滚动
  22. -h 打印使用和退出
  23. -n 没有粗体字符(覆盖-b和-b,默认)
  24. -s “屏幕保护”模式,在第一次按键时退出
  25. -x x窗口模式,如果您的xterm正在使用mtx.pcf公司
  26. -V 打印版本信息并退出
  27. -u延迟(0-10,默认值4):屏幕更新延迟
  28. -C[color]:将此颜色用于矩阵(默认为绿色)

配置 linux 连接动画

配置linux服务器连接动画,成功连接之后显示代码雨,之后按任意键退出代码雨

  1. 打开 .bashrc 文件 vim ~/.bashrc
  2. 在末尾处追加 cmatrix -b -u 3 -C green -s

ps : 在运行状态的时候按键 0-9 可以更改代码雨流动的速度

发表评论

表情:
评论列表 (有 0 条评论,73人围观)

还没有评论,来说两句吧...

相关阅读