Fork of the Unix cal (ncal) command with ncurses that supports picking a date.
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.
 
 
Kartik K. Agaram d2138dc774 one more dependency 1 year ago
COPYRIGHT copyright notice 1 year ago
Makefile rename the command 1 year ago
README.md one more dependency 1 year ago
calendar.c from bsdmainutils 11.1.2ubuntu3 1 year ago
calendar.h from bsdmainutils 11.1.2ubuntu3 1 year ago
calpick.c rename the command 1 year ago
config.mk rename the command 1 year ago
easter.c from bsdmainutils 11.1.2ubuntu3 1 year ago
freebsd.h make ncal subdirectory self-sufficient 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.