manual page distributed with 4.2BSD
[unix-history] / usr / src / usr.bin / leave / leave.1
CommitLineData
7219bb74
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
832f97d3 5.\" @(#)leave.1 6.1 (Berkeley) %G%
7219bb74
KM
6.\"
7.TH LEAVE 1
8.UC
9.SH NAME
10leave \- remind you when you have to leave
11.SH SYNOPSIS
12.B leave
13[ hhmm ]
14.SH DESCRIPTION
15.I Leave
16waits until the specified time, then reminds you that you
17have to leave.
18You are reminded 5 minutes and 1 minute before the actual
19time, at the time, and every minute thereafter.
20When you log off,
21.I leave
22exits just before it would have
23printed the next message.
24.PP
25The time of day is in the form hhmm where hh is a time in
26hours (on a 12 or 24 hour clock).
27All times are converted to a 12 hour clock, and assumed to
28be in the next 12 hours.
29.PP
30If no argument is given,
31.I leave
32prompts with "When do you
33have to leave?". A reply of newline causes
34.I leave
35to exit,
36otherwise the reply is assumed to be a time.
37This form is suitable for inclusion in a
38.I .login
39or
40.I .profile.
41.PP
42Leave ignores interrupts, quits, and terminates.
43To get rid of it you should either log off or use ``kill \-9''
44giving its process id.
45.SH SEE ALSO
46calendar(1)
47.SH AUTHOR
48Mark Horton
49.SH BUGS