Follow

Hey unix nerds. Probably like a decade and a half ago on linux I had a console calendar program sorta like cal, but you could store oneoff or repeating events in a text config file. With the right options you could get a cal-style month, or you could get a list of events for the day or week.

Any guess what it was? Web searches are useless now that shitty content farms have taken over and there's a million sites trying to teach me to use cal or some x program.

· · Web · 6 · 6 · 2
@epilanthanomai The `calendar` utility (in the bsdmainutils package in Debian / Ubuntu) displays a list of events for the next n days from a file. But the way I read the man page, it doesn't do cal-style months.
I also vaguely recall something like this, though.

@epilanthanomai Some light spelunking in my apt cache also suggests ccal, or for a heavier-weight system that also claims to have an extensive command-line interface, maybe calcurse?

@stibbons Actually I might have imagined the cal-style months. man 1 calendar looks about right tbh, especially with its flexible date descriptions. ccal's format looks entirely unfamiliar to me.

I ran across calcurse when I was searching earlier, but the one I'm looking for wasn't curses based, just strictly command line. Now that I'm reading about it, though, I think I mighta used it for a bit too.

@epilanthanomai I've been keeping my calendar in emacs org-mode for a while now, and your post has convinced me to try to write some scripts to dump agendas on a command line, for login shells and similar.

@stibbons Mostly what I *really* want is something I can sync to nextcloud over caldav. calcurses apparently does caldav, which is nice, but I still want that nice clean shell goodness. Might hafta hack something up...

@epilanthanomai Hi! Maybe it was khal? It's cli, it shows the calendar and lists of events, and it can be synced over caldav using vdirsyncer.

@Yulran That didn't exist at the time, but looking at it now it looks kinda amazing and possibly even exactly what I actually want now. Thanks for the tip!

@anj I don't think so. I think Ubuntu barely existed around the time I'm thinking of. But it looks like another nice cal-with-extra-features for me to look into, so thanks!

@epilanthanomai oh I assumed it was just Ubuntu hosting the page rather than an Ubuntu-specific thing. Oh well.

@anj Oh hey, nope, you're right: The pal code is on sourceforge and the changelog says it's been around since 2003. Dunno where I got the idea that it was specifically an Ubuntu thing.

@epilanthanomai this sounds like remind, which is the one I use

dianne.skoll.ca/projects/remin…

which is pretty horrible to search for, even if you remember the name (thankfully the debian packages has an Homepage field :) )

@valhalla Ohm wow, that looks fully programmable in a way that I sorta wanna try to learn sometime, but it'll be a while before I'm able to integrate anything like that with my other tools and workflow. Thanks for the tip, though!

@draco Doesn't ring a bell. Any chance you have a link? The name isn't especially web-searchable ;-)

@epilanthanomai have you looked at calcurse? It seems like that might be it. I just tried installing it the other day but didn’t get it running, but I think O figured out why

@liaizon I wasn't thinking of calcurse, but I do think I remember using it! I want to re-explore it for curses-based calendaring sometime, but for now I'm specifically looking for something strictly command-line one-off.

@epilanthanomai what do you mean by one-off? I found calcurse cause I was trying to find a new text only pases calendar system to move to. I really want to just use markdown lists but I want some system to keep the dates right for me. I want a whole year in one .txt file one line at a time

@liaizon One-off like run it, get output into to my tty without messing with curses, and then I have a new shell prompt. You know, a conventional non-curses unix program.

Does calcurse have a non-curses mode? I was under the impression it was specifically a curses TUI, but I didn't look too deeply so maybe I missed something.

Sign in to participate in the conversation
Signs & Codes

Signs & Codes is a private Mastodon instance built around a community of friends.