Clock written in about 5 minutes. Public Domain.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Emil 86bf168eea
init
7 months ago
.gitignore init 7 months ago
Makefile init 7 months ago
README init 7 months ago
clock.c init 7 months ago

README

/-------------------------------\
| Clock |
\-------------------------------/

It's just a clock.

The executable is compressed, if you compile it and it fails to run, run `mv clock~ clock` and try again.

Building: make or baked

CPPFLAGS='...
PERIOD - Inteval which the clock will update by.
CLEAR - The control code for clearing the terminal.
CLEAR_DUMB - How it clears on a dumb terminal, 127 newlines is enough.
'

These definitions may be omitted without issue.

Installing: make install INSTALL=/usr/local PROGN=clock
INSTALL - Installation location, should be somewhere within the PATH.
PROGN - A overridable program name, change it if you want to.

Licensed under the public domain.

This line makes the README as exactly as long as the code.