ZLEAVE(1)

πŸ’– ZLEAVE(1) πŸ’–

the iconic little timekeeper from the General Commands Manual, MIT Project Athena edition πŸŽ€


✨ NAME ✨

zleave β€” notify you via Zephyr when you have to leave πŸ¦‹


✨ SYNOPSIS ✨

zleave [ [+]hhmm [ -m Reminder Message ] ]
zleave can[cel]

✨ DESCRIPTION ✨

okay so bestie, zleave is literally your group-chat bestie who taps you on the shoulder at the exact right moment πŸ’…

Zleave waits until the specified time, then reminds you that you have to leave, using the Zephyr(1) Notification Service. The way it does this is iconic: you get pinged 5 minutes and 1 minute before the actual time, at the time, and then every minute thereafter. Obsessed. πŸ•βœ¨ And when you log off, zleave exits just before it would have sent the next message β€” no awkward lingering, she knows when to leave the party πŸ™ˆ

⏰ the time format, no cap

The time of day is in the form hhmm, where hh is a time in hours (on a 12 or 24 hour clock). All times are converted to a 12 hour clock, and assumed to be in the next 12 hours. slay, ambiguous but make it fashion πŸ’«

If the time is preceded by +, the alarm will go off in hours and minutes from the current time β€” so it's a countdown, not a clock reading, iykyk ⏳

πŸ’¬ no argument? she'll ask

If no argument is given, zleave prompts with:

When do you have to leave?

A reply of newline causes zleave to exit. Otherwise the reply is assumed to be a time. This form is suitable for inclusion in a .login or .profile β€” set it and forget it, main character energy πŸ‘‘

🚫 the cancel option

The cancel option cancels the currently running zleave. If another zleave is running, it is automatically killed when a new time to leave is set. The process id is stored in the file /tmp/zleave.uid, where uid is the user's UNIX uid. One queen at a time, periodt πŸ’€πŸ‘‘

πŸ“ the -m flag

If the -m argument is specified, the next argument is appended to the standard message (a sentence describing how much time remains until the appointed hour) sent at appropriate times. If you want to append a multiple-word message, you normally must quote it with double quotes (") β€” and yes, this is necessary for users of csh(1) and sh(1) 🐚

πŸ¦‹ zephyr subscription stuff

Zleave automatically subscribes you to Zephyr class "MESSAGE", instance "LEAVE". You do not have to add anything to your default subscriptions file (see zctl(1)). The reminder message is displayed by the WindowGram client (usually zwgc(1)). She did the subscribing for you, bestie, you're welcome πŸ’–

😭 if zephyr is unavailable

If Zephyr is unavailable, zleave acts essentially like leave(1). Backup plan activated, we move 🌈

πŸ›‘ signals, or: why she won't leave

Zleave ignores SIGINT, SIGQUIT, and SIGTERM. To get rid of it you should either log off or use the cancel option.

not her being completely unbothered by your Ctrl-C 😭 she is not taking that tone with you. If you want her gone, log off or use cancel. Those are the options. Periodt πŸ’…


✨ FILES ✨

  • /tmp/zleave.uid
  • /tmp/wg.*

✨ SEE ALSO ✨


✨ RESTRICTIONS ✨

Copyright (c) 1980, Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms are permitted provided that this notice is preserved and that due credit is given to the University of California at Berkeley. The name of the University may not be used to endorse or promote products derived from this software without specific written prior permission. This software is provided ``as is'' without express or implied warranty.
Copyright (c) 1987,1988 by the Massachusetts Institute of Technology.

and that's the whole page, bestie πŸ’œ this one came from MIT Project Athena and it's dated July 1, 1988 β€” vintage but still serving, fr fr. go set your leave time and let the Zephyr notifications do their thing πŸ¦‹βœ¨

πŸ“¦ where this page comes from