You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
1 year ago | |
---|---|---|
COPYRIGHT | 1 year ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
calendar.c | 1 year ago | |
calendar.h | 1 year ago | |
calpick.c | 1 year ago | |
config.mk | 1 year ago | |
easter.c | 1 year ago | |
freebsd.h | 1 year ago |
README.md
Fork of the unix cal
command (from https://packages.ubuntu.com/focal/bsdmainutils)
that acts as an interactive date picker.
Getting started
sudo apt build-dep bsdmainutils
sudo apt install libncurses-dev
make
Now try it out:
./calpick -y > out
You should see a display similar to cal
or ncal
. Most commandline args
continue to work. In addition you will be able to move the highlighted date
using arrow keys. To select a date, hit enter. You'll exit the date picker and
the date you picked will be in file out
.
Known issues
Cursor can be moved out of the visible calendar.
There's no man page. man ncal
should almost entirely be applicable.