zoukankan      html  css  js  c++  java
  • linux有趣动画--代码雨

    环境centos7

    前提:centos7如果用yum安装找不到包,所以用二进制

    步骤一:下载二进制包

    百度网盘链接: https://pan.baidu.com/s/10RocS03RFRiOftesUid0wQ 提取码: sfd7 

    步骤二:安装

    1.安装依赖
    yum install -y ncurses-devel

    编译安装也不用说
    ./configure
    make && make install

    步骤三:查看效果

    6、查看效果

    [root@localhost bin]# ./cmatrix
    相关参数:

    -a:异步滚动
    -b:启用粗体字符
    -b:所有粗体字符(覆盖-b)
    -f:强制启用linux$term类型
    -l:linux模式(使用矩阵控制台字体)
    -o:使用旧式滚动
    -h:打印使用和退出
    -n:无粗体字符(覆盖-b和-b,默认)
    -s:“屏幕保护程序”模式,在第一次按键时退出
    -x:窗口模式,如果您的xterm使用mtx.pcf,则使用
    -v:打印版本信息并退出
    -u延迟(0-10,默认4):屏幕更新延迟
    -C [颜色]:将此颜色用于矩阵(默认为绿色

  • 相关阅读:
    Number Clicker CodeForces
    We Need More Bosses CodeForces
    Tree Constructing CodeForces
    Berland and the Shortest Paths CodeForces
    Allowed Letters CodeForces
    Military Problem CodeForces
    FFT自看
    Communication System
    Dollars
    Coin Change
  • 原文地址:https://www.cnblogs.com/thirteen-yang/p/12720161.html
Copyright © 2011-2022 走看看