Giter Site home page Giter Site logo

ustb-clock's Introduction

USTB-CLOCK

哎,就是玩~

bash版看这里:https://github.com/Jason23347/ustb-cli

Compile

Compile from master branch

先运行

autoreconf -i

然后

./configure \
    --enable-detect-winsize \
    # --enable-debug \
    # --disable-colorful-output

最后

make -j8 # 不 -j8 也行

本项目的一切参数优先适配了树莓派LCD屏幕,在 conf.h 修改。

Compile from released tarball

改完已知bug再发布tarball。

求好心人帮我 debug calc_* 函数里的 unsigned long 导致的溢出问题。

Help

编译之后,./ustb-clock -h查看编译参数。

Like this:

$ ./ustb-clock -h
USTB-CLOCK v0.9
+color -debug -winsize

Copy 2021 Jason <[email protected]>

Login host:     202.204.48.82
Login port:     80
Clock color:    BG_DARKGREEN
Dot width:      2
Space width:    3
Condense mode:  FALSE
Info refresh interval: 1 second(s)

Quitting program

退出?什么退出?你只能 Ctrl+C 了!

TODOs

  • 显示时间
  • 显示星期
  • 显示流量信息
  • 颜色
  • 时间刷新
  • 流量信息刷新
  • 监听各种退出信号(退出时至少显示光标...)
  • 监听窗口大小变化

ustb-clock's People

Contributors

jason23347 avatar

Stargazers

Next Alone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.