143704Scael.\" Copyright (c) 1980, 1990 The Regents of the University of California. 243704Scael.\" All rights reserved. 319169Smckusick.\" 4*50618Scael.\" %sccs.include.redist.roff% 519169Smckusick.\" 6*50618Scael.\" @(#)leave.1 6.6 (Berkeley) 07/27/91 743704Scael.\" 843704Scael.Dd 943704Scael.Dt LEAVE 1 10*50618Scael.Os 1143704Scael.Sh NAME 1243704Scael.Nm leave 1343704Scael.Nd remind you when you have to leave 1443704Scael.Sh SYNOPSIS 1543704Scael.Nm leave 16*50618Scael.Sm off 17*50618Scael.Oo 18*50618Scael.Op Cm \&+ 19*50618Scael.Ns Ar hhmm 20*50618Scael.Oc 21*50618Scael.Sm on 2243704Scael.Sh DESCRIPTION 2343704Scael.Nm Leave 2419169Smckusickwaits until the specified time, then reminds you that you 2519169Smckusickhave to leave. 2619169SmckusickYou are reminded 5 minutes and 1 minute before the actual 2719169Smckusicktime, at the time, and every minute thereafter. 2819169SmckusickWhen you log off, 2943704Scael.Nm leave 3019169Smckusickexits just before it would have 3119169Smckusickprinted the next message. 3243704Scael.Pp 3344955ScaelOptions: 3444955Scael.Pp 35*50618Scael.Bl -tag -width flag 36*50618Scael.It Ar hhmm 3744955ScaelThe time of day is in the form 3844955Scael.Ar hhmm 3944955Scaelwhere 4044955Scael.Ar hh 4144955Scaelis a time in 4244955Scaelhours (on a 12 or 24 hour clock), and 4344955Scael.Ar mm 4444955Scaelare minutes. 4519169SmckusickAll times are converted to a 12 hour clock, and assumed to 4619169Smckusickbe in the next 12 hours. 47*50618Scael.It Cm \&+ 48*50618ScaelIf the time is preceeded by 49*50618Scael.Ql Cm \&+ , 50*50618Scaelthe alarm will go off in hours and minutes 5119368Smckusickfrom the current time. 52*50618Scael.El 5343704Scael.Pp 5419169SmckusickIf no argument is given, 5543704Scael.Nm leave 5619169Smckusickprompts with "When do you 5719169Smckusickhave to leave?". A reply of newline causes 5843704Scael.Nm leave 5919169Smckusickto exit, 6019169Smckusickotherwise the reply is assumed to be a time. 6119169SmckusickThis form is suitable for inclusion in a 6243704Scael.Pa .login 6319169Smckusickor 6443704Scael.Pa .profile. 6543704Scael.Pp 6619169SmckusickLeave ignores interrupts, quits, and terminates. 6743704ScaelTo get rid of it you should either log off or use 6844955Scael.Ql kill \-9 6919169Smckusickgiving its process id. 7043704Scael.Sh SEE ALSO 7143704Scael.Xr calendar 1 7243704Scael.Sh HISTORY 73*50618ScaelThe 74*50618Scael.Nm leave 75*50618Scaelcommand appeared in 76*50618Scael.Bx 3.0 . 77