|
|
1.1 root 1: .\" Copyright (c) 1980, 1990 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted provided
5: .\" that: (1) source distributions retain this entire copyright notice and
6: .\" comment, and (2) distributions including binaries display the following
7: .\" acknowledgement: ``This product includes software developed by the
8: .\" University of California, Berkeley and its contributors'' in the
9: .\" documentation or other materials provided with the distribution and in
10: .\" all advertising materials mentioning features or use of this software.
11: .\" Neither the name of the University nor the names of its contributors may
12: .\" be used to endorse or promote products derived from this software without
13: .\" specific prior written permission.
14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17: .\"
18: .\" @(#)leave.1 6.4 (Berkeley) 7/24/90
19: .\"
20: .Dd July 24, 1990
21: .Dt LEAVE 1
22: .Sh NAME
23: .Nm leave
24: .Nd remind you when you have to leave
25: .Sh SYNOPSIS
26: .Nm leave
27: .Op [\&+] Ar hhmm
28: .Sh DESCRIPTION
29: .Nm Leave
30: waits until the specified time, then reminds you that you
31: have to leave.
32: You are reminded 5 minutes and 1 minute before the actual
33: time, at the time, and every minute thereafter.
34: When you log off,
35: .Nm leave
36: exits just before it would have
37: printed the next message.
38: .Pp
39: Options:
40: .Pp
41: .Tw Fl
42: .Tp Ar hhmm
43: The time of day is in the form
44: .Ar hhmm
45: where
46: .Ar hh
47: is a time in
48: hours (on a 12 or 24 hour clock), and
49: .Ar mm
50: are minutes.
51: All times are converted to a 12 hour clock, and assumed to
52: be in the next 12 hours.
53: .Tp Ic \&+
54: If the time is preceeded by `+', the alarm will go off in hours and minutes
55: from the current time.
56: .Tp
57: .Pp
58: If no argument is given,
59: .Nm leave
60: prompts with "When do you
61: have to leave?". A reply of newline causes
62: .Nm leave
63: to exit,
64: otherwise the reply is assumed to be a time.
65: This form is suitable for inclusion in a
66: .Pa .login
67: or
68: .Pa .profile.
69: .Pp
70: Leave ignores interrupts, quits, and terminates.
71: To get rid of it you should either log off or use
72: .Ql kill \-9
73: giving its process id.
74: .Sh SEE ALSO
75: .Xr calendar 1
76: .Sh HISTORY
77: .Nm Leave
78: appeared in 3 BSD.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.