162055Sbostic.\" Copyright (c) 1980, 1990, 1993 262055Sbostic.\" The Regents of the University of California. All rights reserved. 319169Smckusick.\" 450618Scael.\" %sccs.include.redist.roff% 519169Smckusick.\" 6*69034Sbostic.\" @(#)leave.1 8.3 (Berkeley) 04/28/95 743704Scael.\" 843704Scael.Dd 943704Scael.Dt LEAVE 1 1050618Scael.Os 1143704Scael.Sh NAME 1243704Scael.Nm leave 1343704Scael.Nd remind you when you have to leave 1443704Scael.Sh SYNOPSIS 1543704Scael.Nm leave 1650618Scael.Sm off 1750618Scael.Oo 1850618Scael.Op Cm \&+ 1950618Scael.Ns Ar hhmm 2050618Scael.Oc 2150618Scael.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 3550618Scael.Bl -tag -width flag 3650618Scael.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. 4750618Scael.It Cm \&+ 4866906SbosticIf the time is preceded by 4950618Scael.Ql Cm \&+ , 5050618Scaelthe alarm will go off in hours and minutes 5119368Smckusickfrom the current time. 5250618Scael.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 68*69034Sbostic.Ql kill \-s KILL 6919169Smckusickgiving its process id. 7043704Scael.Sh SEE ALSO 7143704Scael.Xr calendar 1 7243704Scael.Sh HISTORY 7350618ScaelThe 7450618Scael.Nm leave 7550618Scaelcommand appeared in 7650618Scael.Bx 3.0 . 77