Fork of the Unix cal (ncal) command with ncurses that supports picking a date.
Go to file
Kartik K. Agaram d2138dc774 one more dependency 2022-02-17 22:17:30 -08:00
COPYRIGHT copyright notice 2022-02-17 20:36:28 -08:00
Makefile rename the command 2022-02-17 14:55:08 -08:00
README.md one more dependency 2022-02-17 22:17:30 -08:00
calendar.c from bsdmainutils 11.1.2ubuntu3 2022-02-15 14:39:30 -08:00
calendar.h from bsdmainutils 11.1.2ubuntu3 2022-02-15 14:39:30 -08:00
calpick.c rename the command 2022-02-17 14:55:08 -08:00
config.mk rename the command 2022-02-17 14:55:08 -08:00
easter.c from bsdmainutils 11.1.2ubuntu3 2022-02-15 14:39:30 -08:00
freebsd.h make ncal subdirectory self-sufficient 2022-02-15 14:39:58 -08:00

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.