Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ leave.bsd(1) — Domain/IX SR9.2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

calendar(1)

LEAVE(1)

NAME

leave − remind you when you have to leave

USAGE

leave [ hhmm ]

DESCRIPTION

The leave program is a general-purpose alarm clock that, once set, reminds you that you “have to leave” at the specified time.  You are reminded five minutes and one minute before the actual time, at the time, and every minute thereafter.  When you log off, leave exits just before it would have printed the next message. 

Leave expects you to give it the time of day (when you want to leave) in the form hhmm where hh represents hours and mm represents minutes.  It understands both 12- and 24-hour formats, and is bright enough to deal with absent (or present) leading zeroes.  The leave command converts hhmm to a 12-hour clock representation and assumes that the specified time falls within the next 12-hour period. 

If no argument is given (e.g., when leave is a line in your .profile or .login file), leave prompts with “When do you have to leave?”.  If you hit the return key, leave exits.  It assumes any other reply to be the time that you have to leave. 

The leave program ignores interrupt, quit, and terminate signals. To quit the program, you must log off or use a “kill −9” signal. 

EXAMPLES

(The following examples assume a current time of 4:00 PM.) 

leave 430 Set the alarm for 4:30 PM

leave 1630 Set the alarm for 4:30 PM

leave 330 Remind user that “That time has already passed”, then set the alarm for 3:30 AM tomorrow.

RELATED INFORMATION

calendar(1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026