BSD 3 development
[unix-history] / usr / man / man1 / leave.1
CommitLineData
f505414c
MH
1.TH LEAVE 1
2.UC
3.SH NAME
4leave \- remind you when you have to leave
5.SH SYNOPSIS
6.B leave
7[ hhmm ]
8.SH DESCRIPTION
9.I Leave
10waits until the specified time, then reminds you that you
11have to leave.
12You are reminded 5 minutes and 1 minute before the actual
13time, at the time, and every minute thereafter.
14When you log off,
15.I leave
16exits just before it would have
17printed the next message.
18.PP
19The time of day is in the form hhmm where hh is a time in
20hours (on a 12 or 24 hour clock).
21All times are converted to a 12 hour clock, and assumed to
22be in the next 12 hours.
23.PP
24If no argument is given,
25.I leave
26prompts with "When do you
27have to leave?". A reply of newline causes
28.I leave
29to exit,
30otherwise the reply is assumed to be a time.
31This form is suitable for inclusion in a
32.I .login
33or
34.I .profile.
35.PP
36Leave ignores interrupts, quits, and terminates.
37To get rid of it you should either log off or use ``kill -9''
38giving its process id.
39.SH SEE ALSO
40calendar(1)
41.SH AUTHOR
42Mark Horton
43.SH BUGS