1*43704Scael.\" Copyright (c) 1980, 1990 The Regents of the University of California. 2*43704Scael.\" All rights reserved. 319169Smckusick.\" 4*43704Scael.\" %sccs.include.redist.man% 519169Smckusick.\" 6*43704Scael.\" @(#)leave.1 6.3 (Berkeley) 06/24/90 7*43704Scael.\" 8*43704Scael.Dd 9*43704Scael.Dt LEAVE 1 10*43704Scael.Sh NAME 11*43704Scael.Nm leave 12*43704Scael.Nd remind you when you have to leave 13*43704Scael.Sh SYNOPSIS 14*43704Scael.Nm leave 15*43704Scael.Op Op \&+ Ar hhmm 16*43704Scael.Sh DESCRIPTION 17*43704Scael.Nm Leave 1819169Smckusickwaits until the specified time, then reminds you that you 1919169Smckusickhave to leave. 2019169SmckusickYou are reminded 5 minutes and 1 minute before the actual 2119169Smckusicktime, at the time, and every minute thereafter. 2219169SmckusickWhen you log off, 23*43704Scael.Nm leave 2419169Smckusickexits just before it would have 2519169Smckusickprinted the next message. 26*43704Scael.Pp 2719169SmckusickThe time of day is in the form hhmm where hh is a time in 2819169Smckusickhours (on a 12 or 24 hour clock). 2919169SmckusickAll times are converted to a 12 hour clock, and assumed to 3019169Smckusickbe in the next 12 hours. 31*43704Scael.Tw Ds 32*43704Scael.Tp Ic \&+ 3319368SmckusickIf the time is preceeded by `+', the alarm will go off in hours and minutes 3419368Smckusickfrom the current time. 35*43704Scael.Tp 36*43704Scael.Pp 3719169SmckusickIf no argument is given, 38*43704Scael.Nm leave 3919169Smckusickprompts with "When do you 4019169Smckusickhave to leave?". A reply of newline causes 41*43704Scael.Nm leave 4219169Smckusickto exit, 4319169Smckusickotherwise the reply is assumed to be a time. 4419169SmckusickThis form is suitable for inclusion in a 45*43704Scael.Pa .login 4619169Smckusickor 47*43704Scael.Pa .profile. 48*43704Scael.Pp 4919169SmckusickLeave ignores interrupts, quits, and terminates. 50*43704ScaelTo get rid of it you should either log off or use 51*43704Scael.Dq Li kill \-9 5219169Smckusickgiving its process id. 53*43704Scael.Sh SEE ALSO 54*43704Scael.Xr calendar 1 55*43704Scael.Sh HISTORY 56*43704Scael.Nm Leave 57*43704Scaelappeared in 3 BSD. 58