home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
| Confidence | Program | Detection | Match Type | Support
|
|---|
| 100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
| 100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
| 1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
| 100%
| file
| news text
| default
| |
| 99%
| file
| C source, ASCII text
| default
| |
| 100%
| checkBytes
| Printable ASCII
| default
| |
| 100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
| 100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
| 100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
| 100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
| 100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 75 | 6e 65 74 21 68 75 73 63 |Path: uu|net!husc|
|00000010| 36 21 62 6c 6f 6f 6d 2d | 62 65 61 63 6f 6e 21 6d |6!bloom-|beacon!m|
|00000020| 69 74 2d 65 64 64 69 65 | 21 72 75 74 67 65 72 73 |it-eddie|!rutgers|
|00000030| 21 61 72 61 6d 69 73 2e | 72 75 74 67 65 72 73 2e |!aramis.|rutgers.|
|00000040| 65 64 75 21 64 61 72 74 | 61 67 6e 61 6e 2e 72 75 |edu!dart|agnan.ru|
|00000050| 74 67 65 72 73 2e 65 64 | 75 21 6d 63 67 72 65 77 |tgers.ed|u!mcgrew|
|00000060| 0a 46 72 6f 6d 3a 20 6d | 63 67 72 65 77 40 64 61 |.From: m|cgrew@da|
|00000070| 72 74 61 67 6e 61 6e 2e | 72 75 74 67 65 72 73 2e |rtagnan.|rutgers.|
|00000080| 65 64 75 20 28 43 68 61 | 72 6c 65 73 20 4d 63 67 |edu (Cha|rles Mcg|
|00000090| 72 65 77 29 0a 4e 65 77 | 73 67 72 6f 75 70 73 3a |rew).New|sgroups:|
|000000a0| 20 63 6f 6d 70 2e 73 6f | 75 72 63 65 73 2e 73 75 | comp.so|urces.su|
|000000b0| 6e 0a 53 75 62 6a 65 63 | 74 3a 20 76 30 31 69 30 |n.Subjec|t: v01i0|
|000000c0| 31 31 3a 20 20 43 61 6c | 65 6e 64 61 72 2f 70 6c |11: Cal|endar/pl|
|000000d0| 61 6e 6e 69 6e 67 20 74 | 6f 6f 6c 3a 20 50 61 72 |anning t|ool: Par|
|000000e0| 74 20 30 32 2f 30 39 0a | 4d 65 73 73 61 67 65 2d |t 02/09.|Message-|
|000000f0| 49 44 3a 20 3c 4d 61 79 | 2e 32 37 2e 31 37 2e 30 |ID: <May|.27.17.0|
|00000100| 37 2e 31 36 2e 31 39 38 | 39 2e 31 39 33 31 32 40 |7.16.198|9.19312@|
|00000110| 64 61 72 74 61 67 6e 61 | 6e 2e 72 75 74 67 65 72 |dartagna|n.rutger|
|00000120| 73 2e 65 64 75 3e 0a 44 | 61 74 65 3a 20 32 37 20 |s.edu>.D|ate: 27 |
|00000130| 4d 61 79 20 38 39 20 32 | 31 3a 30 37 3a 31 39 20 |May 89 2|1:07:19 |
|00000140| 47 4d 54 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|00000150| 3a 20 52 75 74 67 65 72 | 73 20 55 6e 69 76 2e 2c |: Rutger|s Univ.,|
|00000160| 20 4e 65 77 20 42 72 75 | 6e 73 77 69 63 6b 2c 20 | New Bru|nswick, |
|00000170| 4e 2e 4a 2e 0a 4c 69 6e | 65 73 3a 20 32 32 39 30 |N.J..Lin|es: 2290|
|00000180| 0a 41 70 70 72 6f 76 65 | 64 3a 20 6d 63 67 72 65 |.Approve|d: mcgre|
|00000190| 77 40 61 72 61 6d 69 73 | 2e 72 75 74 67 65 72 73 |w@aramis|.rutgers|
|000001a0| 2e 65 64 75 0a 0a 53 75 | 62 6d 69 74 74 65 64 2d |.edu..Su|bmitted-|
|000001b0| 62 79 3a 20 42 69 6c 6c | 20 52 61 6e 64 6c 65 20 |by: Bill| Randle |
|000001c0| 3c 62 69 6c 6c 72 40 73 | 61 61 62 2e 63 6e 61 2e |<billr@s|aab.cna.|
|000001d0| 74 65 6b 2e 63 6f 6d 3e | 0a 50 6f 73 74 69 6e 67 |tek.com>|.Posting|
|000001e0| 2d 6e 75 6d 62 65 72 3a | 20 56 6f 6c 75 6d 65 20 |-number:| Volume |
|000001f0| 31 2c 20 49 73 73 75 65 | 20 31 31 0a 41 72 63 68 |1, Issue| 11.Arch|
|00000200| 69 76 65 2d 6e 61 6d 65 | 3a 20 63 61 6c 65 6e 74 |ive-name|: calent|
|00000210| 6f 6f 6c 2f 70 61 72 74 | 30 32 0a 0a 23 21 20 2f |ool/part|02..#! /|
|00000220| 62 69 6e 2f 73 68 0a 23 | 20 54 68 69 73 20 69 73 |bin/sh.#| This is|
|00000230| 20 61 20 73 68 65 6c 6c | 20 61 72 63 68 69 76 65 | a shell| archive|
|00000240| 2c 20 6d 65 61 6e 69 6e | 67 3a 0a 23 20 31 2e 20 |, meanin|g:.# 1. |
|00000250| 52 65 6d 6f 76 65 20 65 | 76 65 72 79 74 68 69 6e |Remove e|verythin|
|00000260| 67 20 61 62 6f 76 65 20 | 74 68 65 20 23 21 20 2f |g above |the #! /|
|00000270| 62 69 6e 2f 73 68 20 6c | 69 6e 65 2e 0a 23 20 32 |bin/sh l|ine..# 2|
|00000280| 2e 20 53 61 76 65 20 74 | 68 65 20 72 65 73 75 6c |. Save t|he resul|
|00000290| 74 69 6e 67 20 74 65 78 | 74 20 69 6e 20 61 20 66 |ting tex|t in a f|
|000002a0| 69 6c 65 2e 0a 23 20 33 | 2e 20 45 78 65 63 75 74 |ile..# 3|. Execut|
|000002b0| 65 20 74 68 65 20 66 69 | 6c 65 20 77 69 74 68 20 |e the fi|le with |
|000002c0| 2f 62 69 6e 2f 73 68 20 | 28 6e 6f 74 20 63 73 68 |/bin/sh |(not csh|
|000002d0| 29 20 74 6f 20 63 72 65 | 61 74 65 20 74 68 65 20 |) to cre|ate the |
|000002e0| 66 69 6c 65 73 3a 0a 23 | 09 63 61 6c 32 63 74 2e |files:.#|.cal2ct.|
|000002f0| 63 0a 23 09 63 61 6c 65 | 6e 74 6f 6f 6c 2e 31 0a |c.#.cale|ntool.1.|
|00000300| 23 09 63 61 6c 65 6e 74 | 6f 6f 6c 2e 63 0a 23 09 |#.calent|ool.c.#.|
|00000310| 63 74 2e 68 0a 23 20 54 | 68 69 73 20 61 72 63 68 |ct.h.# T|his arch|
|00000320| 69 76 65 20 63 72 65 61 | 74 65 64 3a 20 53 61 74 |ive crea|ted: Sat|
|00000330| 20 4d 61 79 20 32 37 20 | 31 33 3a 31 30 3a 35 36 | May 27 |13:10:56|
|00000340| 20 31 39 38 39 0a 65 78 | 70 6f 72 74 20 50 41 54 | 1989.ex|port PAT|
|00000350| 48 3b 20 50 41 54 48 3d | 2f 62 69 6e 3a 24 50 41 |H; PATH=|/bin:$PA|
|00000360| 54 48 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 65 78 |TH.echo |shar: ex|
|00000370| 74 72 61 63 74 69 6e 67 | 20 22 27 63 61 6c 32 63 |tracting| "'cal2c|
|00000380| 74 2e 63 27 22 20 27 28 | 36 37 33 31 20 63 68 61 |t.c'" '(|6731 cha|
|00000390| 72 61 63 74 65 72 73 29 | 27 0a 69 66 20 74 65 73 |racters)|'.if tes|
|000003a0| 74 20 2d 66 20 27 63 61 | 6c 32 63 74 2e 63 27 0a |t -f 'ca|l2ct.c'.|
|000003b0| 74 68 65 6e 0a 09 65 63 | 68 6f 20 73 68 61 72 3a |then..ec|ho shar:|
|000003c0| 20 77 69 6c 6c 20 6e 6f | 74 20 6f 76 65 72 2d 77 | will no|t over-w|
|000003d0| 72 69 74 65 20 65 78 69 | 73 74 69 6e 67 20 66 69 |rite exi|sting fi|
|000003e0| 6c 65 20 22 27 63 61 6c | 32 63 74 2e 63 27 22 0a |le "'cal|2ct.c'".|
|000003f0| 65 6c 73 65 0a 73 65 64 | 20 27 73 2f 5e 09 58 2f |else.sed| 's/^.X/|
|00000400| 2f 27 20 3c 3c 20 5c 53 | 48 41 52 5f 45 4f 46 20 |/' << \S|HAR_EOF |
|00000410| 3e 20 27 63 61 6c 32 63 | 74 2e 63 27 0a 09 58 2f |> 'cal2c|t.c'..X/|
|00000420| 2a 0a 09 58 20 2a 20 24 | 48 65 61 64 65 72 3a 20 |*..X * $|Header: |
|00000430| 63 61 6c 32 63 74 2e 63 | 2c 76 20 32 2e 31 20 38 |cal2ct.c|,v 2.1 8|
|00000440| 39 2f 30 35 2f 30 39 20 | 31 34 3a 31 38 3a 34 31 |9/05/09 |14:18:41|
|00000450| 20 62 69 6c 6c 72 20 45 | 78 70 20 24 0a 09 58 20 | billr E|xp $..X |
|00000460| 2a 2f 0a 09 58 2f 2a 0a | 09 58 20 2a 20 63 61 6c |*/..X/*.|.X * cal|
|00000470| 32 63 74 20 2d 20 63 6f | 6e 76 65 72 74 20 63 61 |2ct - co|nvert ca|
|00000480| 6c 65 6e 64 61 72 20 72 | 65 6d 69 6e 64 65 72 20 |lendar r|eminder |
|00000490| 66 69 6c 65 73 20 74 6f | 20 63 61 6c 65 6e 74 6f |files to| calento|
|000004a0| 6f 6c 20 73 74 79 6c 65 | 20 66 69 6c 65 73 0a 09 |ol style| files..|
|000004b0| 58 20 2a 0a 09 58 20 2a | 20 41 75 74 68 6f 72 3a |X *..X *| Author:|
|000004c0| 20 42 69 6c 6c 20 52 61 | 6e 64 6c 65 2c 20 54 65 | Bill Ra|ndle, Te|
|000004d0| 6b 74 72 6f 6e 69 78 2c | 20 49 6e 63 2e 20 3c 62 |ktronix,| Inc. <b|
|000004e0| 69 6c 6c 72 40 73 61 61 | 62 2e 43 4e 41 2e 54 45 |illr@saa|b.CNA.TE|
|000004f0| 4b 2e 43 4f 4d 3e 0a 09 | 58 20 2a 0a 09 58 20 2a |K.COM>..|X *..X *|
|00000500| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 31 | Copyrig|ht (C) 1|
|00000510| 39 38 39 20 54 65 6b 74 | 72 6f 6e 69 78 2c 20 49 |989 Tekt|ronix, I|
|00000520| 6e 63 2e 20 20 41 6c 6c | 20 52 69 67 68 74 73 20 |nc. All| Rights |
|00000530| 52 65 73 65 72 76 65 64 | 0a 09 58 20 2a 0a 09 58 |Reserved|..X *..X|
|00000540| 20 2a 20 50 65 72 6d 69 | 73 73 69 6f 6e 20 69 73 | * Permi|ssion is|
|00000550| 20 68 65 72 65 62 79 20 | 67 72 61 6e 74 65 64 20 | hereby |granted |
|00000560| 74 6f 20 75 73 65 20 61 | 6e 64 20 6d 6f 64 69 66 |to use a|nd modif|
|00000570| 79 20 74 68 69 73 20 63 | 6f 64 65 20 69 6e 20 73 |y this c|ode in s|
|00000580| 6f 75 72 63 65 0a 09 58 | 20 2a 20 6f 72 20 62 69 |ource..X| * or bi|
|00000590| 6e 61 72 79 20 66 6f 72 | 6d 20 61 73 20 6c 6f 6e |nary for|m as lon|
|000005a0| 67 20 61 73 20 69 74 20 | 69 73 20 6e 6f 74 20 73 |g as it |is not s|
|000005b0| 6f 6c 64 20 66 6f 72 20 | 70 72 6f 66 69 74 20 61 |old for |profit a|
|000005c0| 6e 64 20 74 68 69 73 20 | 63 6f 70 79 72 69 67 68 |nd this |copyrigh|
|000005d0| 74 0a 09 58 20 2a 20 6e | 6f 74 69 63 65 20 72 65 |t..X * n|otice re|
|000005e0| 6d 61 69 6e 73 20 69 6e | 74 61 63 74 2e 0a 09 58 |mains in|tact...X|
|000005f0| 20 2a 2f 0a 09 58 0a 09 | 58 23 69 6e 63 6c 75 64 | */..X..|X#includ|
|00000600| 65 20 22 63 74 2e 68 22 | 0a 09 58 23 69 6e 63 6c |e "ct.h"|..X#incl|
|00000610| 75 64 65 20 3c 73 74 64 | 69 6f 2e 68 3e 0a 09 58 |ude <std|io.h>..X|
|00000620| 23 69 6e 63 6c 75 64 65 | 20 3c 63 74 79 70 65 2e |#include| <ctype.|
|00000630| 68 3e 0a 09 58 23 69 6e | 63 6c 75 64 65 20 3c 73 |h>..X#in|clude <s|
|00000640| 79 73 2f 74 69 6d 65 2e | 68 3e 0a 09 58 0a 09 58 |ys/time.|h>..X..X|
|00000650| 73 74 72 75 63 74 20 61 | 70 70 74 5f 65 6e 74 72 |struct a|ppt_entr|
|00000660| 79 20 61 70 70 74 73 2c | 20 2a 61 70 74 72 3b 0a |y appts,| *aptr;.|
|00000670| 09 58 63 68 61 72 20 66 | 69 6c 65 6e 61 6d 65 5b |.Xchar f|ilename[|
|00000680| 31 32 38 5d 2c 20 2a 66 | 69 6c 65 3b 0a 09 58 46 |128], *f|ile;..XF|
|00000690| 49 4c 45 20 2a 66 70 3b | 0a 09 58 73 74 72 75 63 |ILE *fp;|..Xstruc|
|000006a0| 74 20 74 6d 20 63 75 72 | 72 65 6e 74 2c 20 74 6f |t tm cur|rent, to|
|000006b0| 64 61 79 2c 20 2a 6c 6f | 63 61 6c 74 69 6d 65 28 |day, *lo|caltime(|
|000006c0| 29 3b 0a 09 58 73 74 72 | 75 63 74 20 74 69 6d 65 |);..Xstr|uct time|
|000006d0| 76 61 6c 20 74 70 3b 0a | 09 58 0a 09 58 65 78 74 |val tp;.|.X..Xext|
|000006e0| 65 72 6e 20 63 68 61 72 | 20 2a 67 65 74 65 6e 76 |ern char| *getenv|
|000006f0| 28 29 3b 0a 09 58 0a 09 | 58 6d 61 69 6e 28 61 72 |();..X..|Xmain(ar|
|00000700| 67 63 2c 20 61 72 67 76 | 29 0a 09 58 69 6e 74 20 |gc, argv|)..Xint |
|00000710| 61 72 67 63 3b 0a 09 58 | 63 68 61 72 20 2a 61 72 |argc;..X|char *ar|
|00000720| 67 76 5b 5d 3b 0a 09 58 | 7b 0a 09 58 09 69 66 20 |gv[];..X|{..X.if |
|00000730| 28 61 72 67 63 20 3e 20 | 31 29 0a 09 58 09 09 66 |(argc > |1)..X..f|
|00000740| 69 6c 65 20 3d 20 61 72 | 67 76 5b 31 5d 3b 0a 09 |ile = ar|gv[1];..|
|00000750| 58 09 65 6c 73 65 20 7b | 0a 09 58 09 09 73 74 72 |X.else {|..X..str|
|00000760| 63 70 79 28 66 69 6c 65 | 6e 61 6d 65 2c 20 67 65 |cpy(file|name, ge|
|00000770| 74 65 6e 76 28 22 48 4f | 4d 45 22 29 29 3b 0a 09 |tenv("HO|ME"));..|
|00000780| 58 09 09 73 74 72 63 61 | 74 28 66 69 6c 65 6e 61 |X..strca|t(filena|
|00000790| 6d 65 2c 20 22 2f 63 61 | 6c 65 6e 64 61 72 22 29 |me, "/ca|lendar")|
|000007a0| 3b 0a 09 58 09 09 66 69 | 6c 65 20 3d 20 66 69 6c |;..X..fi|le = fil|
|000007b0| 65 6e 61 6d 65 3b 0a 09 | 58 09 7d 0a 09 58 0a 09 |ename;..|X.}..X..|
|000007c0| 58 09 69 66 20 28 28 66 | 70 20 3d 20 66 6f 70 65 |X.if ((f|p = fope|
|000007d0| 6e 28 66 69 6c 65 2c 20 | 22 72 22 29 29 20 3d 3d |n(file, |"r")) ==|
|000007e0| 20 4e 55 4c 4c 29 20 7b | 0a 09 58 09 09 66 70 72 | NULL) {|..X..fpr|
|000007f0| 69 6e 74 66 28 73 74 64 | 65 72 72 2c 20 22 63 61 |intf(std|err, "ca|
|00000800| 6e 27 74 20 6f 70 65 6e | 20 63 61 6c 65 6e 64 61 |n't open| calenda|
|00000810| 72 20 66 69 6c 65 20 66 | 6f 72 20 72 65 61 64 69 |r file f|or readi|
|00000820| 6e 67 5c 6e 22 29 3b 0a | 09 58 09 09 65 78 69 74 |ng\n");.|.X..exit|
|00000830| 28 31 29 3b 0a 09 58 09 | 7d 0a 09 58 09 67 65 74 |(1);..X.|}..X.get|
|00000840| 74 69 6d 65 6f 66 64 61 | 79 28 26 74 70 2c 20 4e |timeofda|y(&tp, N|
|00000850| 55 4c 4c 29 3b 0a 09 58 | 09 74 6f 64 61 79 20 3d |ULL);..X|.today =|
|00000860| 20 2a 6c 6f 63 61 6c 74 | 69 6d 65 28 26 74 70 2e | *localt|ime(&tp.|
|00000870| 74 76 5f 73 65 63 29 3b | 0a 09 58 09 69 66 20 28 |tv_sec);|..X.if (|
|00000880| 21 72 65 61 64 5f 63 61 | 6c 5f 66 69 6c 65 28 29 |!read_ca|l_file()|
|00000890| 29 20 7b 0a 09 58 09 09 | 66 70 72 69 6e 74 66 28 |) {..X..|fprintf(|
|000008a0| 73 74 64 65 72 72 2c 20 | 22 6e 6f 20 72 65 6d 69 |stderr, |"no remi|
|000008b0| 6e 64 65 72 73 20 72 65 | 61 64 20 66 72 6f 6d 20 |nders re|ad from |
|000008c0| 25 73 5c 6e 22 2c 20 66 | 69 6c 65 29 3b 0a 09 58 |%s\n", f|ile);..X|
|000008d0| 09 09 65 78 69 74 28 31 | 29 3b 0a 09 58 09 7d 0a |..exit(1|);..X.}.|
|000008e0| 09 58 09 66 63 6c 6f 73 | 65 28 66 70 29 3b 0a 09 |.X.fclos|e(fp);..|
|000008f0| 58 09 73 74 72 63 70 79 | 28 66 69 6c 65 6e 61 6d |X.strcpy|(filenam|
|00000900| 65 2c 20 67 65 74 65 6e | 76 28 22 48 4f 4d 45 22 |e, geten|v("HOME"|
|00000910| 29 29 3b 0a 09 58 09 73 | 74 72 63 61 74 28 66 69 |));..X.s|trcat(fi|
|00000920| 6c 65 6e 61 6d 65 2c 20 | 22 2f 2e 61 70 70 6f 69 |lename, |"/.appoi|
|00000930| 6e 74 6d 65 6e 74 73 22 | 29 3b 0a 09 58 09 69 66 |ntments"|);..X.if|
|00000940| 20 28 28 66 70 20 3d 20 | 66 6f 70 65 6e 28 66 69 | ((fp = |fopen(fi|
|00000950| 6c 65 6e 61 6d 65 2c 20 | 22 77 22 29 29 20 3d 3d |lename, |"w")) ==|
|00000960| 20 4e 55 4c 4c 29 20 7b | 0a 09 58 09 09 66 70 72 | NULL) {|..X..fpr|
|00000970| 69 6e 74 66 28 73 74 64 | 65 72 72 2c 20 22 63 61 |intf(std|err, "ca|
|00000980| 6e 27 74 20 6f 70 65 6e | 20 2e 61 70 70 6f 69 6e |n't open| .appoin|
|00000990| 74 6d 65 6e 74 73 20 66 | 69 6c 65 20 66 6f 72 20 |tments f|ile for |
|000009a0| 77 72 69 74 69 6e 67 5c | 6e 22 29 3b 0a 09 58 09 |writing\|n");..X.|
|000009b0| 09 65 78 69 74 28 31 29 | 3b 0a 09 58 09 7d 0a 09 |.exit(1)|;..X.}..|
|000009c0| 58 09 77 72 69 74 65 5f | 63 74 5f 66 69 6c 65 28 |X.write_|ct_file(|
|000009d0| 29 3b 0a 09 58 7d 0a 09 | 58 0a 09 58 2f 2a 0a 09 |);..X}..|X..X/*..|
|000009e0| 58 20 2a 20 72 65 61 64 | 20 64 61 74 65 73 20 66 |X * read| dates f|
|000009f0| 72 6f 6d 20 63 61 6c 65 | 6e 64 61 72 20 66 69 6c |rom cale|ndar fil|
|00000a00| 65 20 61 6e 64 20 73 74 | 75 66 66 20 69 6e 74 6f |e and st|uff into|
|00000a10| 20 61 70 70 74 73 20 73 | 74 72 75 63 74 0a 09 58 | appts s|truct..X|
|00000a20| 20 2a 2f 0a 09 58 72 65 | 61 64 5f 63 61 6c 5f 66 | */..Xre|ad_cal_f|
|00000a30| 69 6c 65 28 29 0a 09 58 | 7b 0a 09 58 09 63 68 61 |ile()..X|{..X.cha|
|00000a40| 72 20 2a 66 67 65 74 73 | 28 29 3b 0a 09 58 09 63 |r *fgets|();..X.c|
|00000a50| 68 61 72 20 62 75 66 5b | 35 31 32 5d 3b 0a 09 58 |har buf[|512];..X|
|00000a60| 09 73 74 72 75 63 74 20 | 61 70 70 74 5f 65 6e 74 |.struct |appt_ent|
|00000a70| 72 79 20 2a 6f 70 74 72 | 3b 0a 09 58 0a 09 58 09 |ry *optr|;..X..X.|
|00000a80| 61 70 74 72 20 3d 20 26 | 61 70 70 74 73 3b 0a 09 |aptr = &|appts;..|
|00000a90| 58 09 77 68 69 6c 65 20 | 28 66 67 65 74 73 28 62 |X.while |(fgets(b|
|00000aa0| 75 66 2c 20 35 31 32 2c | 20 66 70 29 20 21 3d 20 |uf, 512,| fp) != |
|00000ab0| 4e 55 4c 4c 29 20 7b 0a | 09 58 09 09 61 70 74 72 |NULL) {.|.X..aptr|
|00000ac0| 2d 3e 72 65 70 65 61 74 | 20 3d 20 61 70 74 72 2d |->repeat| = aptr-|
|00000ad0| 3e 6c 6f 6f 6b 61 68 65 | 61 64 20 3d 20 30 3b 0a |>lookahe|ad = 0;.|
|00000ae0| 09 58 09 09 61 70 74 72 | 2d 3e 66 6c 61 67 73 20 |.X..aptr|->flags |
|00000af0| 3d 20 41 5f 4e 4f 54 45 | 3b 0a 09 58 09 09 61 70 |= A_NOTE|;..X..ap|
|00000b00| 74 72 2d 3e 6e 65 78 74 | 20 3d 20 4e 55 4c 4c 3b |tr->next| = NULL;|
|00000b10| 0a 09 58 09 09 69 66 20 | 28 21 70 61 72 73 65 5f |..X..if |(!parse_|
|00000b20| 64 61 74 65 28 62 75 66 | 29 29 0a 09 58 09 09 09 |date(buf|))..X...|
|00000b30| 72 65 74 75 72 6e 28 31 | 29 3b 0a 09 58 09 09 61 |return(1|);..X..a|
|00000b40| 70 74 72 2d 3e 6e 65 78 | 74 20 3d 20 28 73 74 72 |ptr->nex|t = (str|
|00000b50| 75 63 74 20 61 70 70 74 | 5f 65 6e 74 72 79 20 2a |uct appt|_entry *|
|00000b60| 29 6d 61 6c 6c 6f 63 28 | 73 69 7a 65 6f 66 28 73 |)malloc(|sizeof(s|
|00000b70| 74 72 75 63 74 20 61 70 | 70 74 5f 65 6e 74 72 79 |truct ap|pt_entry|
|00000b80| 29 29 3b 0a 09 58 09 09 | 69 66 20 28 61 70 74 72 |));..X..|if (aptr|
|00000b90| 2d 3e 6e 65 78 74 20 3d | 3d 20 4e 55 4c 4c 29 20 |->next =|= NULL) |
|00000ba0| 7b 0a 09 58 09 09 09 66 | 70 72 69 6e 74 66 28 73 |{..X...f|printf(s|
|00000bb0| 74 64 65 72 72 2c 20 22 | 6f 75 74 20 6f 66 20 6d |tderr, "|out of m|
|00000bc0| 65 6d 6f 72 79 5c 6e 22 | 29 3b 0a 09 58 09 09 09 |emory\n"|);..X...|
|00000bd0| 72 65 74 75 72 6e 3b 0a | 09 58 09 09 7d 0a 09 58 |return;.|.X..}..X|
|00000be0| 09 09 6f 70 74 72 20 3d | 20 61 70 74 72 3b 0a 09 |..optr =| aptr;..|
|00000bf0| 58 09 09 61 70 74 72 20 | 3d 20 61 70 74 72 2d 3e |X..aptr |= aptr->|
|00000c00| 6e 65 78 74 3b 0a 09 58 | 09 7d 0a 09 58 09 69 66 |next;..X|.}..X.if|
|00000c10| 20 28 61 70 74 72 20 3d | 3d 20 26 61 70 70 74 73 | (aptr =|= &appts|
|00000c20| 29 0a 09 58 09 09 72 65 | 74 75 72 6e 28 30 29 3b |)..X..re|turn(0);|
|00000c30| 09 2f 2a 20 6e 6f 74 68 | 69 6e 67 20 72 65 61 64 |./* noth|ing read|
|00000c40| 20 2a 2f 0a 09 58 09 2f | 2a 20 64 6f 6e 27 74 20 | */..X./|* don't |
|00000c50| 6e 65 65 64 20 74 68 65 | 20 6c 61 73 74 20 6f 6e |need the| last on|
|00000c60| 65 20 2a 2f 0a 09 58 09 | 66 72 65 65 28 61 70 74 |e */..X.|free(apt|
|00000c70| 72 29 3b 0a 09 58 09 6f | 70 74 72 2d 3e 6e 65 78 |r);..X.o|ptr->nex|
|00000c80| 74 20 3d 20 4e 55 4c 4c | 3b 0a 09 58 09 72 65 74 |t = NULL|;..X.ret|
|00000c90| 75 72 6e 28 31 29 3b 0a | 09 58 7d 0a 09 58 0a 09 |urn(1);.|.X}..X..|
|00000ca0| 58 2f 2a 0a 09 58 20 2a | 20 77 72 69 74 65 20 6f |X/*..X *| write o|
|00000cb0| 75 74 20 74 68 65 20 6e | 65 77 20 2e 61 70 70 6f |ut the n|ew .appo|
|00000cc0| 69 6e 74 6d 65 6e 74 73 | 20 66 69 6c 65 0a 09 58 |intments| file..X|
|00000cd0| 20 2a 2f 0a 09 58 77 72 | 69 74 65 5f 63 74 5f 66 | */..Xwr|ite_ct_f|
|00000ce0| 69 6c 65 28 29 0a 09 58 | 7b 0a 09 58 09 61 70 74 |ile()..X|{..X.apt|
|00000cf0| 72 20 3d 20 26 61 70 70 | 74 73 3b 0a 09 58 09 66 |r = &app|ts;..X.f|
|00000d00| 70 75 74 73 28 48 45 41 | 44 45 52 2c 20 66 70 29 |puts(HEA|DER, fp)|
|00000d10| 3b 0a 09 58 09 77 68 69 | 6c 65 20 28 61 70 74 72 |;..X.whi|le (aptr|
|00000d20| 29 20 7b 0a 09 58 09 09 | 69 66 20 28 70 75 74 5f |) {..X..|if (put_|
|00000d30| 61 65 6e 74 72 79 28 66 | 70 2c 20 61 70 74 72 29 |aentry(f|p, aptr)|
|00000d40| 29 20 7b 0a 09 58 09 09 | 09 66 70 72 69 6e 74 66 |) {..X..|.fprintf|
|00000d50| 28 73 74 64 65 72 72 2c | 20 22 65 72 72 6f 72 20 |(stderr,| "error |
|00000d60| 77 72 69 74 69 6e 67 20 | 2e 61 70 70 6f 69 6e 74 |writing |.appoint|
|00000d70| 6d 65 6e 74 73 20 66 69 | 6c 65 5c 6e 22 29 3b 0a |ments fi|le\n");.|
|00000d80| 09 58 09 09 09 72 65 74 | 75 72 6e 3b 0a 09 58 09 |.X...ret|urn;..X.|
|00000d90| 09 7d 0a 09 58 09 09 61 | 70 74 72 20 3d 20 61 70 |.}..X..a|ptr = ap|
|00000da0| 74 72 2d 3e 6e 65 78 74 | 3b 0a 09 58 09 7d 0a 09 |tr->next|;..X.}..|
|00000db0| 58 7d 0a 09 58 0a 09 58 | 63 68 61 72 20 2a 64 61 |X}..X..X|char *da|
|00000dc0| 79 6e 61 6d 65 5b 37 5d | 20 3d 20 7b 22 53 55 22 |yname[7]| = {"SU"|
|00000dd0| 2c 20 22 4d 4f 22 2c 20 | 22 54 55 22 2c 20 22 57 |, "MO", |"TU", "W|
|00000de0| 45 22 2c 20 22 54 48 22 | 2c 20 22 46 52 22 2c 20 |E", "TH"|, "FR", |
|00000df0| 22 53 41 22 7d 3b 0a 09 | 58 63 68 61 72 20 2a 6d |"SA"};..|Xchar *m|
|00000e00| 6f 6e 74 68 6e 61 6d 65 | 5b 31 32 5d 20 3d 20 7b |onthname|[12] = {|
|00000e10| 22 4a 41 4e 22 2c 20 22 | 46 45 42 22 2c 20 22 4d |"JAN", "|FEB", "M|
|00000e20| 41 52 22 2c 20 22 41 50 | 52 22 2c 20 22 4d 41 59 |AR", "AP|R", "MAY|
|00000e30| 22 2c 20 22 4a 55 4e 22 | 2c 0a 09 58 09 22 4a 55 |", "JUN"|,..X."JU|
|00000e40| 4c 22 2c 20 22 41 55 47 | 22 2c 20 22 53 45 50 22 |L", "AUG|", "SEP"|
|00000e50| 2c 20 22 4f 43 54 22 2c | 20 22 4e 4f 56 22 2c 20 |, "OCT",| "NOV", |
|00000e60| 22 44 45 43 22 7d 3b 0a | 09 58 0a 09 58 2f 2a 0a |"DEC"};.|.X..X/*.|
|00000e70| 09 58 20 2a 20 70 61 72 | 73 65 20 74 68 65 20 64 |.X * par|se the d|
|00000e80| 61 74 65 20 6f 6e 20 74 | 68 65 20 63 6f 6d 6d 61 |ate on t|he comma|
|00000e90| 6e 64 20 6c 69 6e 65 20 | 61 6e 64 20 72 65 73 65 |nd line |and rese|
|00000ea0| 74 20 74 68 65 20 22 63 | 75 72 72 65 6e 74 22 0a |t the "c|urrent".|
|00000eb0| 09 58 20 2a 20 64 61 74 | 65 20 74 6f 20 72 65 66 |.X * dat|e to ref|
|00000ec0| 6c 65 63 74 20 74 68 61 | 74 20 64 61 74 65 2e 20 |lect tha|t date. |
|00000ed0| 54 68 65 20 64 61 74 65 | 20 6d 61 79 20 74 61 6b |The date| may tak|
|00000ee0| 65 20 74 68 65 20 66 6f | 72 6d 20 6f 66 20 61 0a |e the fo|rm of a.|
|00000ef0| 09 58 20 2a 20 64 61 79 | 20 6e 61 6d 65 20 28 65 |.X * day| name (e|
|00000f00| 2e 67 2e 20 54 75 2c 20 | 54 75 65 2c 20 54 75 65 |.g. Tu, |Tue, Tue|
|00000f10| 73 64 61 79 29 20 6f 72 | 20 61 20 64 61 74 65 20 |sday) or| a date |
|00000f20| 69 6e 20 6d 2f 64 2f 79 | 20 66 6f 72 6d 61 74 0a |in m/d/y| format.|
|00000f30| 09 58 20 2a 20 77 68 65 | 72 65 20 74 68 65 20 6d |.X * whe|re the m|
|00000f40| 6f 6e 74 68 20 61 6e 64 | 2f 6f 72 20 79 65 61 72 |onth and|/or year|
|00000f50| 20 6d 61 79 20 62 65 20 | 6d 69 73 73 69 6e 67 20 | may be |missing |
|00000f60| 28 65 2e 67 2e 20 32 37 | 20 3d 20 32 37 74 68 0a |(e.g. 27| = 27th.|
|00000f70| 09 58 20 2a 20 6f 66 20 | 74 68 69 73 20 6d 6f 6e |.X * of |this mon|
|00000f80| 74 68 2c 20 38 2f 32 37 | 20 3d 20 41 75 67 75 73 |th, 8/27| = Augus|
|00000f90| 74 20 32 37 20 6f 66 20 | 74 68 69 73 20 79 65 61 |t 27 of |this yea|
|00000fa0| 72 2c 20 38 2f 32 37 2f | 38 39 20 3d 0a 09 58 20 |r, 8/27/|89 =..X |
|00000fb0| 2a 20 41 75 67 75 73 74 | 20 32 37 20 6f 66 20 31 |* August| 27 of 1|
|00000fc0| 39 38 39 2e 20 6d 6f 6e | 74 68 20 6d 61 79 20 61 |989. mon|th may a|
|00000fd0| 6c 73 6f 20 62 65 20 61 | 20 73 74 72 69 6e 67 20 |lso be a| string |
|00000fe0| 28 65 2e 67 2e 20 22 44 | 65 63 22 0a 09 58 20 2a |(e.g. "D|ec"..X *|
|00000ff0| 20 6f 72 20 22 64 65 63 | 65 6d 62 65 72 22 29 20 | or "dec|ember") |
|00001000| 6f 72 20 61 20 27 2a 27 | 20 28 61 6c 6c 20 6d 6f |or a '*'| (all mo|
|00001010| 6e 74 68 73 29 2e 0a 09 | 58 20 2a 2f 0a 09 58 70 |nths)...|X */..Xp|
|00001020| 61 72 73 65 5f 64 61 74 | 65 28 73 74 72 29 0a 09 |arse_dat|e(str)..|
|00001030| 58 63 68 61 72 20 2a 73 | 74 72 3b 0a 09 58 7b 0a |Xchar *s|tr;..X{.|
|00001040| 09 58 09 63 68 61 72 20 | 63 5b 34 5d 3b 0a 09 58 |.X.char |c[4];..X|
|00001050| 09 69 6e 74 20 69 2c 20 | 64 6f 77 20 3d 20 2d 31 |.int i, |dow = -1|
|00001060| 2c 20 6d 6f 6e 20 3d 20 | 2d 31 2c 20 6d 20 3d 20 |, mon = |-1, m = |
|00001070| 2d 31 2c 20 64 20 3d 20 | 2d 31 3b 0a 09 58 0a 09 |-1, d = |-1;..X..|
|00001080| 58 09 63 75 72 72 65 6e | 74 20 3d 20 74 6f 64 61 |X.curren|t = toda|
|00001090| 79 3b 09 2f 2a 20 73 74 | 61 72 74 20 77 69 74 68 |y;./* st|art with|
|000010a0| 20 74 68 69 73 20 6d 6f | 6e 74 68 2c 20 64 61 79 | this mo|nth, day|
|000010b0| 2c 20 79 65 61 72 20 2a | 2f 0a 09 58 09 77 68 69 |, year *|/..X.whi|
|000010c0| 6c 65 20 28 69 73 73 70 | 61 63 65 28 2a 73 74 72 |le (issp|ace(*str|
|000010d0| 29 29 0a 09 58 09 09 2b | 2b 73 74 72 3b 0a 09 58 |))..X..+|+str;..X|
|000010e0| 0a 09 58 09 69 66 20 28 | 69 73 64 69 67 69 74 28 |..X.if (|isdigit(|
|000010f0| 2a 73 74 72 29 29 20 7b | 0a 09 58 09 09 2f 2a 20 |*str)) {|..X../* |
|00001100| 6d 75 73 74 20 62 65 20 | 61 20 6d 2f 64 20 64 61 |must be |a m/d da|
|00001110| 74 65 20 2a 2f 0a 09 58 | 09 09 2f 2a 20 61 73 73 |te */..X|../* ass|
|00001120| 75 6d 65 20 69 74 27 73 | 20 61 20 6d 6f 6e 74 68 |ume it's| a month|
|00001130| 20 66 69 72 73 74 20 2a | 2f 0a 09 58 09 09 6d 20 | first *|/..X..m |
|00001140| 3d 20 2a 73 74 72 2b 2b | 20 2d 20 27 30 27 3b 0a |= *str++| - '0';.|
|00001150| 09 58 09 09 69 66 20 28 | 69 73 64 69 67 69 74 28 |.X..if (|isdigit(|
|00001160| 2a 73 74 72 29 29 0a 09 | 58 09 09 09 6d 20 3d 20 |*str))..|X...m = |
|00001170| 6d 2a 31 30 20 2b 20 2a | 73 74 72 2b 2b 20 2d 20 |m*10 + *|str++ - |
|00001180| 27 30 27 3b 0a 09 58 09 | 09 69 66 20 28 2a 73 74 |'0';..X.|.if (*st|
|00001190| 72 20 21 3d 20 27 2f 27 | 29 20 7b 0a 09 58 09 09 |r != '/'|) {..X..|
|000011a0| 09 2f 2a 20 6e 6f 20 6d | 6f 72 65 20 63 68 61 72 |./* no m|ore char|
|000011b0| 73 20 3d 3e 20 64 61 79 | 20 6f 6e 6c 79 20 2a 2f |s => day| only */|
|000011c0| 0a 09 58 09 09 09 64 20 | 3d 20 6d 3b 0a 09 58 09 |..X...d |= m;..X.|
|000011d0| 09 09 6d 20 3d 20 2d 31 | 3b 0a 09 58 09 09 7d 20 |..m = -1|;..X..} |
|000011e0| 65 6c 73 65 20 7b 0a 09 | 58 09 09 09 2b 2b 73 74 |else {..|X...++st|
|000011f0| 72 3b 0a 09 58 09 09 09 | 77 68 69 6c 65 20 28 69 |r;..X...|while (i|
|00001200| 73 73 70 61 63 65 28 2a | 73 74 72 29 29 0a 09 58 |sspace(*|str))..X|
|00001210| 09 09 09 09 2b 2b 73 74 | 72 3b 0a 09 58 09 09 09 |....++st|r;..X...|
|00001220| 69 66 20 28 69 73 64 69 | 67 69 74 28 2a 73 74 72 |if (isdi|git(*str|
|00001230| 29 29 20 7b 0a 09 58 09 | 09 09 09 64 20 3d 20 2a |)) {..X.|...d = *|
|00001240| 73 74 72 2b 2b 20 2d 20 | 27 30 27 3b 0a 09 58 09 |str++ - |'0';..X.|
|00001250| 09 09 09 69 66 20 28 69 | 73 64 69 67 69 74 28 2a |...if (i|sdigit(*|
|00001260| 73 74 72 29 29 0a 09 58 | 09 09 09 09 09 64 20 3d |str))..X|.....d =|
|00001270| 20 64 2a 31 30 20 2b 20 | 2a 73 74 72 2b 2b 20 2d | d*10 + |*str++ -|
|00001280| 20 27 30 27 3b 0a 09 58 | 09 09 09 7d 20 65 6c 73 | '0';..X|...} els|
|00001290| 65 20 7b 0a 09 58 09 09 | 09 09 66 70 72 69 6e 74 |e {..X..|..fprint|
|000012a0| 66 28 73 74 64 65 72 72 | 2c 20 22 62 61 64 6c 79 |f(stderr|, "badly|
|000012b0| 20 66 6f 72 6d 65 64 20 | 64 61 74 65 3a 20 25 73 | formed |date: %s|
|000012c0| 5c 6e 22 2c 20 73 74 72 | 2d 32 29 3b 0a 09 58 09 |\n", str|-2);..X.|
|000012d0| 09 09 09 72 65 74 75 72 | 6e 28 30 29 3b 0a 09 58 |...retur|n(0);..X|
|000012e0| 09 09 09 7d 0a 09 58 09 | 09 7d 0a 09 58 09 09 69 |...}..X.|.}..X..i|
|000012f0| 66 20 28 6d 20 3e 20 30 | 29 0a 09 58 09 09 09 63 |f (m > 0|)..X...c|
|00001300| 75 72 72 65 6e 74 2e 74 | 6d 5f 6d 6f 6e 20 3d 20 |urrent.t|m_mon = |
|00001310| 6d 20 2d 20 31 3b 0a 09 | 58 09 09 69 66 20 28 64 |m - 1;..|X..if (d|
|00001320| 20 3e 20 30 29 0a 09 58 | 09 09 09 63 75 72 72 65 | > 0)..X|...curre|
|00001330| 6e 74 2e 74 6d 5f 6d 64 | 61 79 20 3d 20 64 3b 0a |nt.tm_md|ay = d;.|
|00001340| 09 58 09 7d 20 65 6c 73 | 65 20 69 66 20 28 2a 73 |.X.} els|e if (*s|
|00001350| 74 72 20 3d 3d 20 27 2a | 27 29 20 7b 0a 09 58 09 |tr == '*|') {..X.|
|00001360| 09 61 70 74 72 2d 3e 66 | 6c 61 67 73 20 7c 3d 20 |.aptr->f|lags |= |
|00001370| 41 4c 4c 5f 4d 4f 4e 54 | 48 53 3b 0a 09 58 09 09 |ALL_MONT|HS;..X..|
|00001380| 2b 2b 73 74 72 3b 0a 09 | 58 09 09 77 68 69 6c 65 |++str;..|X..while|
|00001390| 20 28 69 73 73 70 61 63 | 65 28 2a 73 74 72 29 20 | (isspac|e(*str) |
|000013a0| 7c 7c 20 2a 73 74 72 20 | 3d 3d 20 27 2f 27 29 0a ||| *str |== '/').|
|000013b0| 09 58 09 09 09 2b 2b 73 | 74 72 3b 0a 09 58 09 09 |.X...++s|tr;..X..|
|000013c0| 64 20 3d 20 2a 73 74 72 | 2b 2b 20 2d 20 27 30 27 |d = *str|++ - '0'|
|000013d0| 3b 0a 09 58 09 09 69 66 | 20 28 69 73 64 69 67 69 |;..X..if| (isdigi|
|000013e0| 74 28 2a 73 74 72 29 29 | 0a 09 58 09 09 09 64 20 |t(*str))|..X...d |
|000013f0| 3d 20 64 2a 31 30 20 2b | 20 2a 73 74 72 2b 2b 20 |= d*10 +| *str++ |
|00001400| 2d 20 27 30 27 3b 0a 09 | 58 09 09 63 75 72 72 65 |- '0';..|X..curre|
|00001410| 6e 74 2e 74 6d 5f 6d 64 | 61 79 20 3d 20 64 3b 0a |nt.tm_md|ay = d;.|
|00001420| 09 58 09 7d 20 65 6c 73 | 65 20 7b 0a 09 58 09 09 |.X.} els|e {..X..|
|00001430| 2f 2a 20 64 61 79 20 6f | 66 20 77 65 65 6b 20 6f |/* day o|f week o|
|00001440| 72 20 6d 6f 6e 74 68 20 | 6e 61 6d 65 20 2a 2f 0a |r month |name */.|
|00001450| 09 58 09 09 2f 2a 20 63 | 68 65 63 6b 20 66 6f 72 |.X../* c|heck for|
|00001460| 20 64 61 79 20 6e 61 6d | 65 73 20 2a 2f 0a 09 58 | day nam|es */..X|
|00001470| 09 09 63 5b 30 5d 20 3d | 20 69 73 6c 6f 77 65 72 |..c[0] =| islower|
|00001480| 28 2a 73 74 72 29 20 3f | 20 74 6f 75 70 70 65 72 |(*str) ?| toupper|
|00001490| 28 2a 73 74 72 29 20 3a | 20 2a 73 74 72 3b 0a 09 |(*str) :| *str;..|
|000014a0| 58 09 09 2b 2b 73 74 72 | 3b 0a 09 58 09 09 63 5b |X..++str|;..X..c[|
|000014b0| 31 5d 20 3d 20 69 73 6c | 6f 77 65 72 28 2a 73 74 |1] = isl|ower(*st|
|000014c0| 72 29 20 3f 20 74 6f 75 | 70 70 65 72 28 2a 73 74 |r) ? tou|pper(*st|
|000014d0| 72 29 20 3a 20 2a 73 74 | 72 3b 0a 09 58 09 09 69 |r) : *st|r;..X..i|
|000014e0| 66 20 28 2a 2b 2b 73 74 | 72 29 20 7b 0a 09 58 09 |f (*++st|r) {..X.|
|000014f0| 09 09 63 5b 32 5d 20 3d | 20 69 73 6c 6f 77 65 72 |..c[2] =| islower|
|00001500| 28 2a 73 74 72 29 20 3f | 20 74 6f 75 70 70 65 72 |(*str) ?| toupper|
|00001510| 28 2a 73 74 72 29 20 3a | 20 2a 73 74 72 3b 0a 09 |(*str) :| *str;..|
|00001520| 58 09 09 09 63 5b 33 5d | 20 3d 20 27 5c 30 27 3b |X...c[3]| = '\0';|
|00001530| 0a 09 58 09 09 7d 20 65 | 6c 73 65 0a 09 58 09 09 |..X..} e|lse..X..|
|00001540| 09 63 5b 32 5d 20 3d 20 | 27 5c 30 27 3b 0a 09 58 |.c[2] = |'\0';..X|
|00001550| 09 09 77 68 69 6c 65 20 | 28 21 69 73 73 70 61 63 |..while |(!isspac|
|00001560| 65 28 2a 73 74 72 29 29 | 0a 09 58 09 09 09 2b 2b |e(*str))|..X...++|
|00001570| 73 74 72 3b 0a 09 58 09 | 09 2f 2a 20 63 68 65 63 |str;..X.|./* chec|
|00001580| 6b 20 6d 6f 6e 74 68 20 | 6e 61 6d 65 73 20 2a 2f |k month |names */|
|00001590| 0a 09 58 09 09 66 6f 72 | 20 28 69 3d 30 3b 20 69 |..X..for| (i=0; i|
|000015a0| 3c 31 32 3b 20 69 2b 2b | 29 20 7b 0a 09 58 09 09 |<12; i++|) {..X..|
|000015b0| 09 69 66 20 28 21 73 74 | 72 63 6d 70 28 63 2c 20 |.if (!st|rcmp(c, |
|000015c0| 6d 6f 6e 74 68 6e 61 6d | 65 5b 69 5d 29 29 20 7b |monthnam|e[i])) {|
|000015d0| 0a 09 58 09 09 09 09 6d | 6f 6e 20 3d 20 69 3b 0a |..X....m|on = i;.|
|000015e0| 09 58 09 09 09 09 62 72 | 65 61 6b 3b 3b 0a 09 58 |.X....br|eak;;..X|
|000015f0| 09 09 09 7d 0a 09 58 09 | 09 7d 0a 09 58 09 09 69 |...}..X.|.}..X..i|
|00001600| 66 20 28 6d 6f 6e 20 3e | 3d 20 30 29 20 7b 0a 09 |f (mon >|= 0) {..|
|00001610| 58 09 09 09 2f 2a 20 6d | 61 74 63 68 20 66 6f 75 |X.../* m|atch fou|
|00001620| 6e 64 20 2a 2f 0a 09 58 | 09 09 09 63 75 72 72 65 |nd */..X|...curre|
|00001630| 6e 74 2e 74 6d 5f 6d 6f | 6e 20 3d 20 6d 6f 6e 3b |nt.tm_mo|n = mon;|
|00001640| 0a 09 58 09 09 09 77 68 | 69 6c 65 20 28 21 69 73 |..X...wh|ile (!is|
|00001650| 73 70 61 63 65 28 2a 73 | 74 72 29 29 0a 09 58 09 |space(*s|tr))..X.|
|00001660| 09 09 09 2b 2b 73 74 72 | 3b 0a 09 58 09 09 09 64 |...++str|;..X...d|
|00001670| 20 3d 20 2a 2b 2b 73 74 | 72 20 2d 20 27 30 27 3b | = *++st|r - '0';|
|00001680| 0a 09 58 09 09 09 2b 2b | 73 74 72 3b 0a 09 58 09 |..X...++|str;..X.|
|00001690| 09 09 69 66 20 28 69 73 | 64 69 67 69 74 28 2a 73 |..if (is|digit(*s|
|000016a0| 74 72 29 29 0a 09 58 09 | 09 09 09 64 20 3d 20 64 |tr))..X.|...d = d|
|000016b0| 2a 31 30 20 2b 20 2a 73 | 74 72 2b 2b 20 2d 20 27 |*10 + *s|tr++ - '|
|000016c0| 30 27 3b 0a 09 58 09 09 | 09 63 75 72 72 65 6e 74 |0';..X..|.current|
|000016d0| 2e 74 6d 5f 6d 64 61 79 | 20 3d 20 64 3b 0a 09 58 |.tm_mday| = d;..X|
|000016e0| 09 09 7d 20 65 6c 73 65 | 20 7b 0a 09 58 09 09 09 |..} else| {..X...|
|000016f0| 2f 2a 20 63 68 65 63 6b | 20 64 61 79 20 6e 61 6d |/* check| day nam|
|00001700| 65 73 20 2a 2f 0a 09 58 | 09 09 09 63 5b 32 5d 20 |es */..X|...c[2] |
|00001710| 3d 20 27 5c 30 27 3b 0a | 09 58 09 09 09 66 6f 72 |= '\0';.|.X...for|
|00001720| 20 28 69 3d 30 3b 20 69 | 3c 37 3b 20 69 2b 2b 29 | (i=0; i|<7; i++)|
|00001730| 20 7b 0a 09 58 09 09 09 | 09 69 66 20 28 21 73 74 | {..X...|.if (!st|
|00001740| 72 63 6d 70 28 63 2c 20 | 64 61 79 6e 61 6d 65 5b |rcmp(c, |dayname[|
|00001750| 69 5d 29 29 20 7b 0a 09 | 58 09 09 09 09 09 64 6f |i])) {..|X.....do|
|00001760| 77 20 3d 20 69 3b 0a 09 | 58 09 09 09 09 09 62 72 |w = i;..|X.....br|
|00001770| 65 61 6b 3b 0a 09 58 09 | 09 09 09 7d 0a 09 58 09 |eak;..X.|...}..X.|
|00001780| 09 09 7d 0a 09 58 09 09 | 09 69 66 20 28 64 6f 77 |..}..X..|.if (dow|
|00001790| 20 3e 3d 20 30 29 20 7b | 0a 09 58 09 09 09 09 2f | >= 0) {|..X..../|
|000017a0| 2a 20 6d 61 74 63 68 20 | 66 6f 75 6e 64 20 2a 2f |* match |found */|
|000017b0| 0a 09 58 09 09 09 09 63 | 75 72 72 65 6e 74 2e 74 |..X....c|urrent.t|
|000017c0| 6d 5f 6d 64 61 79 20 2b | 3d 20 64 6f 77 20 2d 20 |m_mday +|= dow - |
|000017d0| 63 75 72 72 65 6e 74 2e | 74 6d 5f 77 64 61 79 3b |current.|tm_wday;|
|000017e0| 0a 09 58 09 09 09 09 66 | 69 78 5f 63 75 72 72 65 |..X....f|ix_curre|
|000017f0| 6e 74 5f 64 61 79 28 29 | 3b 0a 09 58 09 09 09 7d |nt_day()|;..X...}|
|00001800| 20 65 6c 73 65 0a 09 58 | 09 09 09 09 66 70 72 69 | else..X|....fpri|
|00001810| 6e 74 66 28 73 74 64 65 | 72 72 2c 20 22 62 61 64 |ntf(stde|rr, "bad|
|00001820| 6c 79 20 66 6f 72 6d 65 | 64 20 64 61 74 65 3a 20 |ly forme|d date: |
|00001830| 25 73 5c 6e 22 2c 20 73 | 74 72 2d 32 29 3b 0a 09 |%s\n", s|tr-2);..|
|00001840| 58 09 09 7d 0a 09 58 09 | 7d 0a 09 58 09 77 68 69 |X..}..X.|}..X.whi|
|00001850| 6c 65 20 28 69 73 73 70 | 61 63 65 28 2a 73 74 72 |le (issp|ace(*str|
|00001860| 29 29 0a 09 58 09 09 2b | 2b 73 74 72 3b 0a 09 58 |))..X..+|+str;..X|
|00001870| 09 73 74 72 63 70 79 28 | 61 70 74 72 2d 3e 73 74 |.strcpy(|aptr->st|
|00001880| 72 2c 20 73 74 72 29 3b | 0a 09 58 09 61 70 74 72 |r, str);|..X.aptr|
|00001890| 2d 3e 79 65 61 72 20 3d | 20 63 75 72 72 65 6e 74 |->year =| current|
|000018a0| 2e 74 6d 5f 79 65 61 72 | 3b 0a 09 58 09 61 70 74 |.tm_year|;..X.apt|
|000018b0| 72 2d 3e 6d 6f 6e 74 68 | 20 3d 20 63 75 72 72 65 |r->month| = curre|
|000018c0| 6e 74 2e 74 6d 5f 6d 6f | 6e 3b 0a 09 58 09 61 70 |nt.tm_mo|n;..X.ap|
|000018d0| 74 72 2d 3e 64 61 79 20 | 3d 20 63 75 72 72 65 6e |tr->day |= curren|
|000018e0| 74 2e 74 6d 5f 6d 64 61 | 79 3b 0a 09 58 09 72 65 |t.tm_mda|y;..X.re|
|000018f0| 74 75 72 6e 28 31 29 3b | 0a 09 58 7d 0a 09 58 0a |turn(1);|..X}..X.|
|00001900| 09 58 2f 2a 0a 09 58 20 | 2a 09 52 65 73 65 74 20 |.X/*..X |*.Reset |
|00001910| 73 6f 6d 65 20 76 61 6c | 75 65 73 20 69 6e 20 63 |some val|ues in c|
|00001920| 75 72 72 65 6e 74 20 74 | 6d 20 73 74 72 75 63 74 |urrent t|m struct|
|00001930| 75 72 65 2e 20 59 65 61 | 72 2c 20 6d 6f 6e 74 68 |ure. Yea|r, month|
|00001940| 20 61 6e 64 0a 09 58 20 | 2a 09 64 61 79 2d 6f 66 | and..X |*.day-of|
|00001950| 2d 6d 6f 6e 74 68 20 61 | 72 65 20 76 61 6c 69 64 |-month a|re valid|
|00001960| 20 62 75 74 20 64 61 79 | 20 61 6e 64 2f 6f 72 20 | but day| and/or |
|00001970| 6d 6f 6e 74 68 20 6d 61 | 79 20 62 65 20 3c 20 30 |month ma|y be < 0|
|00001980| 20 6f 72 0a 09 58 20 2a | 09 67 72 65 61 74 65 72 | or..X *|.greater|
|00001990| 20 74 68 61 6e 20 74 68 | 65 20 6d 61 78 69 6d 75 | than th|e maximu|
|000019a0| 6d 20 76 61 6c 75 65 2c | 20 69 6e 20 77 68 69 63 |m value,| in whic|
|000019b0| 68 20 63 61 73 65 20 74 | 68 65 79 20 61 72 65 20 |h case t|hey are |
|000019c0| 61 64 6a 75 73 74 65 64 | 0a 09 58 20 2a 09 61 63 |adjusted|..X *.ac|
|000019d0| 63 6f 72 64 69 6e 67 6c | 79 2e 20 44 61 79 2d 6f |cordingl|y. Day-o|
|000019e0| 66 2d 79 65 61 72 20 61 | 6e 64 20 64 61 79 2d 6f |f-year a|nd day-o|
|000019f0| 66 2d 77 65 65 6b 20 61 | 72 65 20 74 68 65 6e 20 |f-week a|re then |
|00001a00| 72 65 63 61 6c 63 75 6c | 61 74 65 64 2e 0a 09 58 |recalcul|ated...X|
|00001a10| 20 2a 2f 0a 09 58 66 69 | 78 5f 63 75 72 72 65 6e | */..Xfi|x_curren|
|00001a20| 74 5f 64 61 79 28 29 0a | 09 58 7b 0a 09 58 09 69 |t_day().|.X{..X.i|
|00001a30| 6e 74 20 6d 6f 6e 74 68 | 2c 20 74 6f 74 64 61 79 |nt month|, totday|
|00001a40| 73 20 3d 20 30 3b 0a 09 | 58 09 73 74 72 75 63 74 |s = 0;..|X.struct|
|00001a50| 20 74 6d 20 66 72 6f 6d | 2c 20 74 6f 3b 0a 09 58 | tm from|, to;..X|
|00001a60| 0a 09 58 09 69 66 20 28 | 63 75 72 72 65 6e 74 2e |..X.if (|current.|
|00001a70| 74 6d 5f 6d 6f 6e 20 3c | 20 4a 41 4e 29 20 7b 0a |tm_mon <| JAN) {.|
|00001a80| 09 58 09 09 63 75 72 72 | 65 6e 74 2e 74 6d 5f 6d |.X..curr|ent.tm_m|
|00001a90| 6f 6e 20 3d 20 44 45 43 | 3b 0a 09 58 09 09 63 75 |on = DEC|;..X..cu|
|00001aa0| 72 72 65 6e 74 2e 74 6d | 5f 79 65 61 72 2d 2d 3b |rrent.tm|_year--;|
|00001ab0| 0a 09 58 09 7d 20 65 6c | 73 65 20 69 66 20 28 63 |..X.} el|se if (c|
|00001ac0| 75 72 72 65 6e 74 2e 74 | 6d 5f 6d 6f 6e 20 3e 20 |urrent.t|m_mon > |
|00001ad0| 44 45 43 29 20 7b 0a 09 | 58 09 09 63 75 72 72 65 |DEC) {..|X..curre|
|00001ae0| 6e 74 2e 74 6d 5f 6d 6f | 6e 20 3d 20 4a 41 4e 3b |nt.tm_mo|n = JAN;|
|00001af0| 0a 09 58 09 09 63 75 72 | 72 65 6e 74 2e 74 6d 5f |..X..cur|rent.tm_|
|00001b00| 79 65 61 72 2b 2b 3b 0a | 09 58 09 7d 0a 09 58 09 |year++;.|.X.}..X.|
|00001b10| 69 66 20 28 63 75 72 72 | 65 6e 74 2e 74 6d 5f 6d |if (curr|ent.tm_m|
|00001b20| 64 61 79 20 3c 20 31 29 | 20 7b 0a 09 58 09 09 63 |day < 1)| {..X..c|
|00001b30| 75 72 72 65 6e 74 2e 74 | 6d 5f 6d 6f 6e 2d 2d 3b |urrent.t|m_mon--;|
|00001b40| 0a 09 58 09 09 69 66 20 | 28 63 75 72 72 65 6e 74 |..X..if |(current|
|00001b50| 2e 74 6d 5f 6d 6f 6e 20 | 3c 20 4a 41 4e 29 20 7b |.tm_mon |< JAN) {|
|00001b60| 0a 09 58 09 09 09 63 75 | 72 72 65 6e 74 2e 74 6d |..X...cu|rrent.tm|
|00001b70| 5f 6d 6f 6e 20 3d 20 44 | 45 43 3b 0a 09 58 09 09 |_mon = D|EC;..X..|
|00001b80| 09 63 75 72 72 65 6e 74 | 2e 74 6d 5f 79 65 61 72 |.current|.tm_year|
|00001b90| 2d 2d 3b 0a 09 58 09 09 | 7d 0a 09 58 09 09 63 75 |--;..X..|}..X..cu|
|00001ba0| 72 72 65 6e 74 2e 74 6d | 5f 6d 64 61 79 20 2b 3d |rrent.tm|_mday +=|
|00001bb0| 20 6d 6f 6e 74 68 6c 65 | 6e 67 74 68 28 63 75 72 | monthle|ngth(cur|
|00001bc0| 72 65 6e 74 2e 74 6d 5f | 6d 6f 6e 29 3b 0a 09 58 |rent.tm_|mon);..X|
|00001bd0| 09 7d 20 65 6c 73 65 20 | 69 66 20 28 63 75 72 72 |.} else |if (curr|
|00001be0| 65 6e 74 2e 74 6d 5f 6d | 64 61 79 20 3e 20 6d 6f |ent.tm_m|day > mo|
|00001bf0| 6e 74 68 6c 65 6e 67 74 | 68 28 63 75 72 72 65 6e |nthlengt|h(curren|
|00001c00| 74 2e 74 6d 5f 6d 6f 6e | 29 29 20 7b 0a 09 58 09 |t.tm_mon|)) {..X.|
|00001c10| 09 63 75 72 72 65 6e 74 | 2e 74 6d 5f 6d 64 61 79 |.current|.tm_mday|
|00001c20| 20 2d 3d 20 6d 6f 6e 74 | 68 6c 65 6e 67 74 68 28 | -= mont|hlength(|
|00001c30| 63 75 72 72 65 6e 74 2e | 74 6d 5f 6d 6f 6e 29 3b |current.|tm_mon);|
|00001c40| 0a 09 58 09 09 63 75 72 | 72 65 6e 74 2e 74 6d 5f |..X..cur|rent.tm_|
|00001c50| 6d 6f 6e 2b 2b 3b 0a 09 | 58 09 09 69 66 20 28 63 |mon++;..|X..if (c|
|00001c60| 75 72 72 65 6e 74 2e 74 | 6d 5f 6d 6f 6e 20 3e 20 |urrent.t|m_mon > |
|00001c70| 44 45 43 29 20 7b 0a 09 | 58 09 09 09 63 75 72 72 |DEC) {..|X...curr|
|00001c80| 65 6e 74 2e 74 6d 5f 6d | 6f 6e 20 3d 20 4a 41 4e |ent.tm_m|on = JAN|
|00001c90| 3b 0a 09 58 09 09 09 63 | 75 72 72 65 6e 74 2e 74 |;..X...c|urrent.t|
|00001ca0| 6d 5f 79 65 61 72 2b 2b | 3b 0a 09 58 09 09 7d 0a |m_year++|;..X..}.|
|00001cb0| 09 58 09 7d 0a 09 58 09 | 63 75 72 72 65 6e 74 2e |.X.}..X.|current.|
|00001cc0| 74 6d 5f 79 64 61 79 20 | 3d 20 63 75 72 72 65 6e |tm_yday |= curren|
|00001cd0| 74 2e 74 6d 5f 6d 64 61 | 79 20 2d 20 31 3b 0a 09 |t.tm_mda|y - 1;..|
|00001ce0| 58 09 66 6f 72 20 28 6d | 6f 6e 74 68 20 3d 20 30 |X.for (m|onth = 0|
|00001cf0| 3b 20 6d 6f 6e 74 68 20 | 3c 20 63 75 72 72 65 6e |; month |< curren|
|00001d00| 74 2e 74 6d 5f 6d 6f 6e | 3b 20 6d 6f 6e 74 68 2b |t.tm_mon|; month+|
|00001d10| 2b 29 20 7b 0a 09 58 09 | 09 63 75 72 72 65 6e 74 |+) {..X.|.current|
|00001d20| 2e 74 6d 5f 79 64 61 79 | 20 2b 3d 20 6d 6f 6e 74 |.tm_yday| += mont|
|00001d30| 68 6c 65 6e 67 74 68 28 | 6d 6f 6e 74 68 29 3b 0a |hlength(|month);.|
|00001d40| 09 58 09 7d 0a 09 58 09 | 69 66 20 28 28 63 75 72 |.X.}..X.|if ((cur|
|00001d50| 72 65 6e 74 2e 74 6d 5f | 79 65 61 72 20 3c 20 74 |rent.tm_|year < t|
|00001d60| 6f 64 61 79 2e 74 6d 5f | 79 65 61 72 29 0a 09 58 |oday.tm_|year)..X|
|00001d70| 09 09 7c 7c 20 28 28 63 | 75 72 72 65 6e 74 2e 74 |..|| ((c|urrent.t|
|00001d80| 6d 5f 79 65 61 72 20 3d | 3d 20 74 6f 64 61 79 2e |m_year =|= today.|
|00001d90| 74 6d 5f 79 65 61 72 29 | 0a 09 58 09 09 26 26 20 |tm_year)|..X..&& |
|00001da0| 28 63 75 72 72 65 6e 74 | 2e 74 6d 5f 79 64 61 79 |(current|.tm_yday|
|00001db0| 20 3c 20 74 6f 64 61 79 | 2e 74 6d 5f 79 64 61 79 | < today|.tm_yday|
|00001dc0| 29 29 29 20 7b 0a 09 58 | 09 09 66 72 6f 6d 20 3d |))) {..X|..from =|
|00001dd0| 20 63 75 72 72 65 6e 74 | 3b 0a 09 58 09 09 74 6f | current|;..X..to|
|00001de0| 20 3d 20 74 6f 64 61 79 | 3b 0a 09 58 09 7d 20 65 | = today|;..X.} e|
|00001df0| 6c 73 65 20 7b 0a 09 58 | 09 09 66 72 6f 6d 20 3d |lse {..X|..from =|
|00001e00| 20 74 6f 64 61 79 3b 0a | 09 58 09 09 74 6f 20 3d | today;.|.X..to =|
|00001e10| 20 63 75 72 72 65 6e 74 | 3b 0a 09 58 09 7d 0a 09 | current|;..X.}..|
|00001e20| 58 09 69 66 20 28 66 72 | 6f 6d 2e 74 6d 5f 79 65 |X.if (fr|om.tm_ye|
|00001e30| 61 72 20 21 3d 20 74 6f | 2e 74 6d 5f 79 65 61 72 |ar != to|.tm_year|
|00001e40| 29 20 7b 0a 09 58 09 09 | 66 6f 72 20 28 74 6f 74 |) {..X..|for (tot|
|00001e50| 64 61 79 73 20 3d 20 30 | 3b 20 66 72 6f 6d 2e 74 |days = 0|; from.t|
|00001e60| 6d 5f 79 65 61 72 20 3c | 20 74 6f 2e 74 6d 5f 79 |m_year <| to.tm_y|
|00001e70| 65 61 72 3b 20 66 72 6f | 6d 2e 74 6d 5f 79 65 61 |ear; fro|m.tm_yea|
|00001e80| 72 2b 2b 29 0a 09 58 09 | 09 09 74 6f 74 64 61 79 |r++)..X.|..totday|
|00001e90| 73 20 2b 3d 20 64 79 73 | 69 7a 65 28 66 72 6f 6d |s += dys|ize(from|
|00001ea0| 2e 74 6d 5f 79 65 61 72 | 20 2b 20 31 39 30 30 29 |.tm_year| + 1900)|
|00001eb0| 3b 0a 09 58 09 7d 0a 09 | 58 09 74 6f 74 64 61 79 |;..X.}..|X.totday|
|00001ec0| 73 20 2b 3d 20 74 6f 2e | 74 6d 5f 79 64 61 79 20 |s += to.|tm_yday |
|00001ed0| 2d 20 66 72 6f 6d 2e 74 | 6d 5f 79 64 61 79 3b 0a |- from.t|m_yday;.|
|00001ee0| 09 58 09 69 66 20 28 28 | 63 75 72 72 65 6e 74 2e |.X.if ((|current.|
|00001ef0| 74 6d 5f 79 65 61 72 20 | 3c 20 74 6f 64 61 79 2e |tm_year |< today.|
|00001f00| 74 6d 5f 79 65 61 72 29 | 0a 09 58 09 09 7c 7c 20 |tm_year)|..X..|| |
|00001f10| 28 28 63 75 72 72 65 6e | 74 2e 74 6d 5f 79 65 61 |((curren|t.tm_yea|
|00001f20| 72 20 3d 3d 20 74 6f 64 | 61 79 2e 74 6d 5f 79 65 |r == tod|ay.tm_ye|
|00001f30| 61 72 29 0a 09 58 09 09 | 26 26 20 28 63 75 72 72 |ar)..X..|&& (curr|
|00001f40| 65 6e 74 2e 74 6d 5f 79 | 64 61 79 20 3c 20 74 6f |ent.tm_y|day < to|
|00001f50| 64 61 79 2e 74 6d 5f 79 | 64 61 79 29 29 29 0a 09 |day.tm_y|day)))..|
|00001f60| 58 09 09 74 6f 74 64 61 | 79 73 20 3d 20 2d 74 6f |X..totda|ys = -to|
|00001f70| 74 64 61 79 73 3b 0a 09 | 58 09 63 75 72 72 65 6e |tdays;..|X.curren|
|00001f80| 74 2e 74 6d 5f 77 64 61 | 79 20 3d 0a 09 58 09 09 |t.tm_wda|y =..X..|
|00001f90| 28 28 74 6f 74 64 61 79 | 73 20 25 20 37 29 20 2b |((totday|s % 7) +|
|00001fa0| 20 37 20 2b 20 74 6f 64 | 61 79 2e 74 6d 5f 77 64 | 7 + tod|ay.tm_wd|
|00001fb0| 61 79 29 20 25 20 37 3b | 0a 09 58 7d 0a 09 58 0a |ay) % 7;|..X}..X.|
|00001fc0| 09 58 69 6e 74 0a 09 58 | 6d 6f 6e 74 68 6c 65 6e |.Xint..X|monthlen|
|00001fd0| 67 74 68 28 6d 6f 6e 74 | 68 29 0a 09 58 69 6e 74 |gth(mont|h)..Xint|
|00001fe0| 09 6d 6f 6e 74 68 3b 0a | 09 58 7b 0a 09 58 09 73 |.month;.|.X{..X.s|
|00001ff0| 74 61 74 69 63 20 69 6e | 74 09 6d 6f 6e 74 68 6c |tatic in|t.monthl|
|00002000| 65 6e 67 74 68 73 5b 5d | 20 3d 20 7b 33 31 2c 32 |engths[]| = {31,2|
|00002010| 38 2c 33 31 2c 33 30 2c | 33 31 2c 33 30 2c 33 31 |8,31,30,|31,30,31|
|00002020| 2c 33 31 2c 33 30 2c 33 | 31 2c 33 30 2c 33 31 7d |,31,30,3|1,30,31}|
|00002030| 3b 0a 09 58 0a 09 58 09 | 69 66 20 28 6d 6f 6e 74 |;..X..X.|if (mont|
|00002040| 68 20 3d 3d 20 46 45 42 | 20 26 26 20 28 64 79 73 |h == FEB| && (dys|
|00002050| 69 7a 65 28 63 75 72 72 | 65 6e 74 2e 74 6d 5f 79 |ize(curr|ent.tm_y|
|00002060| 65 61 72 20 2b 20 31 39 | 30 30 29 20 3d 3d 20 33 |ear + 19|00) == 3|
|00002070| 36 36 29 29 0a 09 58 09 | 09 72 65 74 75 72 6e 28 |66))..X.|.return(|
|00002080| 32 39 29 3b 0a 09 58 09 | 65 6c 73 65 0a 09 58 09 |29);..X.|else..X.|
|00002090| 09 72 65 74 75 72 6e 28 | 6d 6f 6e 74 68 6c 65 6e |.return(|monthlen|
|000020a0| 67 74 68 73 5b 6d 6f 6e | 74 68 5d 29 3b 0a 09 58 |gths[mon|th]);..X|
|000020b0| 7d 0a 53 48 41 52 5f 45 | 4f 46 0a 69 66 20 74 65 |}.SHAR_E|OF.if te|
|000020c0| 73 74 20 36 37 33 31 20 | 2d 6e 65 20 22 60 77 63 |st 6731 |-ne "`wc|
|000020d0| 20 2d 63 20 3c 20 27 63 | 61 6c 32 63 74 2e 63 27 | -c < 'c|al2ct.c'|
|000020e0| 60 22 0a 74 68 65 6e 0a | 09 65 63 68 6f 20 73 68 |`".then.|.echo sh|
|000020f0| 61 72 3a 20 65 72 72 6f | 72 20 74 72 61 6e 73 6d |ar: erro|r transm|
|00002100| 69 74 74 69 6e 67 20 22 | 27 63 61 6c 32 63 74 2e |itting "|'cal2ct.|
|00002110| 63 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |c'" '(sh|ould hav|
|00002120| 65 20 62 65 65 6e 20 36 | 37 33 31 20 63 68 61 72 |e been 6|731 char|
|00002130| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 20 23 |acters)'|.fi.fi #|
|00002140| 20 65 6e 64 20 6f 66 20 | 6f 76 65 72 77 72 69 74 | end of |overwrit|
|00002150| 69 6e 67 20 63 68 65 63 | 6b 0a 65 63 68 6f 20 73 |ing chec|k.echo s|
|00002160| 68 61 72 3a 20 65 78 74 | 72 61 63 74 69 6e 67 20 |har: ext|racting |
|00002170| 22 27 63 61 6c 65 6e 74 | 6f 6f 6c 2e 31 27 22 20 |"'calent|ool.1'" |
|00002180| 27 28 32 39 32 32 38 20 | 63 68 61 72 61 63 74 65 |'(29228 |characte|
|00002190| 72 73 29 27 0a 69 66 20 | 74 65 73 74 20 2d 66 20 |rs)'.if |test -f |
|000021a0| 27 63 61 6c 65 6e 74 6f | 6f 6c 2e 31 27 0a 74 68 |'calento|ol.1'.th|
|000021b0| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 77 |en..echo| shar: w|
|000021c0| 69 6c 6c 20 6e 6f 74 20 | 6f 76 65 72 2d 77 72 69 |ill not |over-wri|
|000021d0| 74 65 20 65 78 69 73 74 | 69 6e 67 20 66 69 6c 65 |te exist|ing file|
|000021e0| 20 22 27 63 61 6c 65 6e | 74 6f 6f 6c 2e 31 27 22 | "'calen|tool.1'"|
|000021f0| 0a 65 6c 73 65 0a 73 65 | 64 20 27 73 2f 5e 09 58 |.else.se|d 's/^.X|
|00002200| 2f 2f 27 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |//' << \|SHAR_EOF|
|00002210| 20 3e 20 27 63 61 6c 65 | 6e 74 6f 6f 6c 2e 31 27 | > 'cale|ntool.1'|
|00002220| 0a 09 58 2e 5c 22 20 24 | 48 65 61 64 65 72 3a 20 |..X.\" $|Header: |
|00002230| 63 61 6c 65 6e 74 6f 6f | 6c 2e 31 2c 76 20 32 2e |calentoo|l.1,v 2.|
|00002240| 32 20 38 39 2f 30 35 2f | 31 36 20 31 36 3a 33 38 |2 89/05/|16 16:38|
|00002250| 3a 32 32 20 62 69 6c 6c | 72 20 45 78 70 20 24 0a |:22 bill|r Exp $.|
|00002260| 09 58 2e 5c 22 0a 09 58 | 2e 54 48 20 43 41 4c 45 |.X.\"..X|.TH CALE|
|00002270| 4e 54 4f 4f 4c 20 31 20 | 22 31 35 20 4d 61 79 20 |NTOOL 1 |"15 May |
|00002280| 31 39 38 39 22 0a 09 58 | 2e 64 73 20 50 73 20 50 |1989"..X|.ds Ps P|
|00002290| 5c 73 2d 32 4f 53 54 5c | 73 2b 32 53 5c 73 2d 32 |\s-2OST\|s+2S\s-2|
|000022a0| 43 52 49 50 54 5c 73 2b | 32 0a 09 58 2e 53 48 20 |CRIPT\s+|2..X.SH |
|000022b0| 4e 41 4d 45 0a 09 58 63 | 61 6c 65 6e 74 6f 6f 6c |NAME..Xc|alentool|
|000022c0| 20 2d 20 64 61 79 2f 77 | 65 65 6b 2f 6d 6f 6e 74 | - day/w|eek/mont|
|000022d0| 68 2f 79 65 61 72 2d 61 | 74 2d 61 2d 67 6c 61 6e |h/year-a|t-a-glan|
|000022e0| 63 65 20 53 75 6e 56 69 | 65 77 20 74 6f 6f 6c 20 |ce SunVi|ew tool |
|000022f0| 28 74 68 65 20 48 61 63 | 6b 65 72 27 73 20 41 6c |(the Hac|ker's Al|
|00002300| 6d 61 6e 61 63 29 0a 09 | 58 2e 53 48 20 53 59 4e |manac)..|X.SH SYN|
|00002310| 4f 50 53 49 53 0a 09 58 | 2e 42 20 63 61 6c 65 6e |OPSIS..X|.B calen|
|00002320| 74 6f 6f 6c 0a 09 58 5b | 0a 09 58 2e 42 20 2d 62 |tool..X[|..X.B -b|
|00002330| 0a 09 58 5d 0a 09 58 5b | 0a 09 58 2e 42 20 2d 64 |..X]..X[|..X.B -d|
|00002340| 0a 09 58 2e 49 20 64 61 | 74 65 0a 09 58 5d 0a 09 |..X.I da|te..X]..|
|00002350| 58 5b 0a 09 58 2e 42 20 | 2d 66 0a 09 58 2e 49 20 |X[..X.B |-f..X.I |
|00002360| 61 70 70 74 73 66 69 6c | 65 0a 09 58 5d 0a 09 58 |apptsfil|e..X]..X|
|00002370| 5b 0a 09 58 2e 42 20 2d | 68 0a 09 58 5b 0a 09 58 |[..X.B -|h..X[..X|
|00002380| 2e 49 20 41 20 61 20 63 | 20 69 20 6c 20 6a 20 73 |.I A a c| i l j s|
|00002390| 0a 09 58 5d 5d 0a 09 58 | 5b 0a 09 58 2e 42 20 2d |..X]]..X|[..X.B -|
|000023a0| 48 0a 09 58 5b 0a 09 58 | 2e 49 20 41 20 61 20 63 |H..X[..X|.I A a c|
|000023b0| 20 69 20 6c 20 6a 20 73 | 0a 09 58 5d 5d 0a 09 58 | i l j s|..X]]..X|
|000023c0| 5b 0a 09 58 2e 42 20 2d | 69 0a 09 58 5d 0a 09 58 |[..X.B -|i..X]..X|
|000023d0| 5b 0a 09 58 2e 42 20 2d | 6d 0a 09 58 2e 49 20 75 |[..X.B -|m..X.I u|
|000023e0| 73 65 72 69 64 0a 09 58 | 5d 0a 09 58 5b 0a 09 58 |serid..X|]..X[..X|
|000023f0| 2e 42 20 2d 6f 0a 09 58 | 5d 0a 09 58 5b 0a 09 58 |.B -o..X|]..X[..X|
|00002400| 2e 42 20 2d 70 0a 09 58 | 5d 0a 09 58 5b 0a 09 58 |.B -p..X|]..X[..X|
|00002410| 2e 42 20 2d 50 0a 09 58 | 5d 0a 09 58 5b 0a 09 58 |.B -P..X|]..X[..X|
|00002420| 2e 42 20 2d 72 0a 09 58 | 5d 0a 09 58 5b 0a 09 58 |.B -r..X|]..X[..X|
|00002430| 2e 42 20 2d 74 0a 09 58 | 5d 0a 09 58 5b 0a 09 58 |.B -t..X|]..X[..X|
|00002440| 2e 42 20 2d 75 0a 09 58 | 2e 49 20 69 6e 74 0a 09 |.B -u..X|.I int..|
|00002450| 58 5d 0a 09 58 5b 0a 09 | 58 2e 42 20 2d 77 0a 09 |X]..X[..|X.B -w..|
|00002460| 58 5d 0a 09 58 5b 0a 09 | 58 2e 42 20 2d 7a 0a 09 |X]..X[..|X.B -z..|
|00002470| 58 5d 0a 09 58 5b 0a 09 | 58 2e 42 20 2d 35 0a 09 |X]..X[..|X.B -5..|
|00002480| 58 5d 0a 09 58 5b 0a 09 | 58 2e 42 20 2d 37 0a 09 |X]..X[..|X.B -7..|
|00002490| 58 5d 0a 09 58 5b 0a 09 | 58 2e 49 20 77 69 6e 64 |X]..X[..|X.I wind|
|000024a0| 6f 77 20 6f 70 74 69 6f | 6e 73 0a 09 58 5d 0a 09 |ow optio|ns..X]..|
|000024b0| 58 2e 53 48 20 44 45 53 | 43 52 49 50 54 49 4f 4e |X.SH DES|CRIPTION|
|000024c0| 0a 09 58 2e 49 20 43 61 | 6c 65 6e 74 6f 6f 6c 0a |..X.I Ca|lentool.|
|000024d0| 09 58 69 73 20 61 20 64 | 61 79 2f 77 65 65 6b 2f |.Xis a d|ay/week/|
|000024e0| 6d 6f 6e 74 68 2f 79 65 | 61 72 2d 61 74 2d 61 2d |month/ye|ar-at-a-|
|000024f0| 67 6c 61 6e 63 65 20 74 | 6f 6f 6c 2e 20 20 49 74 |glance t|ool. It|
|00002500| 20 69 73 20 61 0a 09 58 | 77 69 6e 64 6f 77 2d 62 | is a..X|window-b|
|00002510| 61 73 65 64 20 63 61 6c | 65 6e 64 61 72 3b 20 74 |ased cal|endar; t|
|00002520| 68 65 20 6f 6e 6c 79 20 | 74 69 6d 65 20 79 6f 75 |he only |time you|
|00002530| 20 73 68 6f 75 6c 64 20 | 68 61 76 65 20 74 6f 20 | should |have to |
|00002540| 74 79 70 65 20 69 73 0a | 09 58 77 68 65 6e 20 65 |type is.|.Xwhen e|
|00002550| 6e 74 65 72 69 6e 67 20 | 74 68 65 20 74 65 78 74 |ntering |the text|
|00002560| 20 66 6f 72 20 61 6e 20 | 61 70 70 6f 69 6e 74 6d | for an |appointm|
|00002570| 65 6e 74 2e 0a 09 58 2e | 49 20 43 61 6c 65 6e 74 |ent...X.|I Calent|
|00002580| 6f 6f 6c 0a 09 58 70 72 | 6f 76 69 64 65 73 20 66 |ool..Xpr|ovides f|
|00002590| 6f 72 20 62 6f 74 68 20 | 6f 6e 65 2d 74 69 6d 65 |or both |one-time|
|000025a0| 20 61 6e 64 20 72 65 63 | 75 72 72 69 6e 67 20 61 | and rec|urring a|
|000025b0| 70 70 6f 69 6e 74 6d 65 | 6e 74 73 2c 20 61 73 20 |ppointme|nts, as |
|000025c0| 77 65 6c 6c 20 61 73 20 | 6e 6f 74 65 73 0a 09 58 |well as |notes..X|
|000025d0| 28 61 70 70 6f 69 6e 74 | 6d 65 6e 74 73 20 6f 72 |(appoint|ments or|
|000025e0| 20 72 65 6d 69 6e 64 65 | 72 73 20 77 69 74 68 20 | reminde|rs with |
|000025f0| 6e 6f 20 61 73 73 6f 63 | 69 61 74 65 64 20 74 69 |no assoc|iated ti|
|00002600| 6d 65 29 2e 20 20 41 20 | 70 65 72 69 6f 64 20 6f |me). A |period o|
|00002610| 66 20 61 64 76 61 6e 63 | 65 0a 09 58 77 61 72 6e |f advanc|e..Xwarn|
|00002620| 69 6e 67 20 63 61 6e 20 | 62 65 20 73 70 65 63 69 |ing can |be speci|
|00002630| 66 69 65 64 2e 20 20 41 | 20 76 69 73 75 61 6c 20 |fied. A| visual |
|00002640| 77 61 72 6e 69 6e 67 20 | 28 61 6e 64 20 6f 70 74 |warning |(and opt|
|00002650| 69 6f 6e 61 6c 20 61 75 | 64 69 74 6f 72 79 20 62 |ional au|ditory b|
|00002660| 65 6c 6c 29 0a 09 58 61 | 72 65 20 70 72 6f 64 75 |ell)..Xa|re produ|
|00002670| 63 65 64 20 61 74 20 74 | 68 65 20 61 70 70 72 6f |ced at t|he appro|
|00002680| 61 63 68 20 6f 66 20 61 | 20 73 63 68 65 64 75 6c |ach of a| schedul|
|00002690| 65 64 20 61 70 70 6f 69 | 6e 74 6d 65 6e 74 2e 0a |ed appoi|ntment..|
|000026a0| 09 58 2e 4c 50 0a 09 58 | 42 79 20 65 6d 70 6c 6f |.X.LP..X|By emplo|
|000026b0| 79 69 6e 67 20 61 70 70 | 72 6f 70 72 69 61 74 65 |ying app|ropriate|
|000026c0| 20 6f 70 74 69 6f 6e 73 | 2c 20 74 68 69 73 20 74 | options|, this t|
|000026d0| 6f 6f 6c 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |ool can |be used |
|000026e0| 74 6f 20 73 65 6e 64 20 | 72 65 6d 69 6e 64 65 72 |to send |reminder|
|000026f0| 73 0a 09 58 6f 66 20 61 | 70 70 6f 69 6e 74 6d 65 |s..Xof a|ppointme|
|00002700| 6e 74 73 20 62 79 0a 09 | 58 2e 49 52 20 6d 61 69 |nts by..|X.IR mai|
|00002710| 6c 20 28 31 29 2c 0a 09 | 58 61 6e 64 20 74 6f 20 |l (1),..|Xand to |
|00002720| 65 78 61 6d 69 6e 65 20 | 63 6f 6c 6c 65 61 67 75 |examine |colleagu|
|00002730| 65 73 20 61 70 70 6f 69 | 6e 74 6d 65 6e 74 20 73 |es appoi|ntment s|
|00002740| 63 68 65 64 75 6c 65 73 | 2e 20 20 44 61 69 6c 79 |chedules|. Daily|
|00002750| 20 61 6e 64 20 77 65 65 | 6b 6c 79 20 73 63 68 65 | and wee|kly sche|
|00002760| 64 75 6c 65 73 0a 09 58 | 63 61 6e 20 62 65 20 73 |dules..X|can be s|
|00002770| 65 6e 74 20 74 6f 20 61 | 20 5c 2a 28 50 73 20 70 |ent to a| \*(Ps p|
|00002780| 72 69 6e 74 65 72 2e 20 | 20 4f 75 74 64 61 74 65 |rinter. | Outdate|
|00002790| 64 20 61 70 70 6f 69 6e | 74 6d 65 6e 74 73 20 63 |d appoin|tments c|
|000027a0| 61 6e 20 62 65 20 73 65 | 6e 74 0a 09 58 61 75 74 |an be se|nt..Xaut|
|000027b0| 6f 6d 61 74 69 63 61 6c | 6c 79 20 74 6f 20 61 6e |omatical|ly to an|
|000027c0| 20 61 72 63 68 69 76 61 | 6c 20 66 69 6c 65 2e 20 | archiva|l file. |
|000027d0| 20 41 6e 20 65 78 74 65 | 6e 73 69 76 65 20 20 73 | An exte|nsive s|
|000027e0| 65 74 20 6f 66 20 66 69 | 6c 65 73 20 63 6f 6e 74 |et of fi|les cont|
|000027f0| 61 69 6e 69 6e 67 0a 09 | 58 63 6f 6d 6d 65 6d 6f |aining..|Xcommemo|
|00002800| 72 61 74 69 76 65 20 64 | 61 74 65 73 20 69 73 20 |rative d|ates is |
|00002810| 69 6e 63 6c 75 64 65 64 | 2c 20 61 73 20 77 65 6c |included|, as wel|
|00002820| 6c 20 61 73 20 61 20 6c | 69 62 72 61 72 79 20 6f |l as a l|ibrary o|
|00002830| 66 20 72 6f 75 74 69 6e | 65 73 20 77 68 69 63 68 |f routin|es which|
|00002840| 0a 09 58 63 6f 6d 70 75 | 74 65 73 20 74 68 65 20 |..Xcompu|tes the |
|00002850| 64 61 74 65 73 20 6f 66 | 20 76 61 72 69 6f 75 73 |dates of| various|
|00002860| 20 68 6f 6c 69 64 61 79 | 73 20 77 68 69 63 68 20 | holiday|s which |
|00002870| 64 6f 20 6e 6f 74 20 66 | 61 6c 6c 20 6f 6e 20 66 |do not f|all on f|
|00002880| 69 78 65 64 20 64 61 79 | 73 0a 09 58 6f 66 20 74 |ixed day|s..Xof t|
|00002890| 68 65 20 47 72 65 67 6f | 72 69 61 6e 20 63 61 6c |he Grego|rian cal|
|000028a0| 65 6e 64 61 72 20 28 69 | 6e 63 6c 75 64 69 6e 67 |endar (i|ncluding|
|000028b0| 20 72 65 6c 69 67 69 6f | 75 73 20 68 6f 6c 69 64 | religio|us holid|
|000028c0| 61 79 73 20 61 6e 64 20 | 61 73 74 72 6f 6e 6f 6d |ays and |astronom|
|000028d0| 69 63 61 6c 0a 09 58 65 | 76 65 6e 74 73 29 2e 20 |ical..Xe|vents). |
|000028e0| 20 4c 75 6e 61 72 20 61 | 6e 64 20 73 6f 6c 61 72 | Lunar a|nd solar|
|000028f0| 20 61 6c 6d 61 6e 61 63 | 73 20 61 72 65 20 61 6c | almanac|s are al|
|00002900| 73 6f 20 69 6e 63 6c 75 | 64 65 64 2e 0a 09 58 2e |so inclu|ded...X.|
|00002910| 4c 50 0a 09 58 41 6c 74 | 68 6f 75 67 68 20 74 6f |LP..XAlt|hough to|
|00002920| 20 74 61 6b 65 20 66 75 | 6c 6c 20 61 64 76 61 6e | take fu|ll advan|
|00002930| 74 61 67 65 20 6f 66 0a | 09 58 2e 49 20 63 61 6c |tage of.|.X.I cal|
|00002940| 65 6e 74 6f 6f 6c 0a 09 | 58 79 6f 75 20 73 68 6f |entool..|Xyou sho|
|00002950| 75 6c 64 20 62 65 20 6f | 70 65 72 61 74 69 6e 67 |uld be o|perating|
|00002960| 20 77 69 74 68 69 6e 20 | 74 68 65 20 53 75 6e 56 | within |the SunV|
|00002970| 69 65 77 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 2c |iew envi|ronment,|
|00002980| 20 74 68 65 0a 09 58 2e | 42 52 20 5c 2d 6d 20 2c | the..X.|BR \-m ,|
|00002990| 0a 09 58 2e 42 20 5c 2d | 70 0a 09 58 61 6e 64 0a |..X.B \-|p..Xand.|
|000029a0| 09 58 2e 42 20 5c 2d 50 | 0a 09 58 6f 70 74 69 6f |.X.B \-P|..Xoptio|
|000029b0| 6e 73 20 61 6c 6c 6f 77 | 20 74 68 65 20 48 61 63 |ns allow| the Hac|
|000029c0| 6b 65 72 27 73 20 41 6c | 6d 61 6e 61 63 20 74 6f |ker's Al|manac to|
|000029d0| 20 62 65 20 65 6d 70 6c | 6f 79 65 64 20 65 76 65 | be empl|oyed eve|
|000029e0| 6e 20 66 72 6f 6d 20 6f | 72 64 69 6e 61 72 79 20 |n from o|rdinary |
|000029f0| 74 65 72 6d 69 6e 61 6c | 73 2e 0a 09 58 54 68 65 |terminal|s...XThe|
|00002a00| 20 61 63 63 6f 6d 70 61 | 6e 79 69 6e 67 20 75 74 | accompa|nying ut|
|00002a10| 69 6c 69 74 69 65 73 0a | 09 58 2e 49 52 20 63 61 |ilities.|.X.IR ca|
|00002a20| 6c 32 63 74 20 28 31 4c | 29 2c 0a 09 58 2e 49 52 |l2ct (1L|),..X.IR|
|00002a30| 20 6d 6f 6e 74 68 32 63 | 74 20 28 31 4c 29 2c 0a | month2c|t (1L),.|
|00002a40| 09 58 61 6e 64 0a 09 58 | 2e 49 52 20 6d 74 32 63 |.Xand..X|.IR mt2c|
|00002a50| 74 20 28 31 4c 29 2c 0a | 09 58 74 72 61 6e 73 66 |t (1L),.|.Xtransf|
|00002a60| 6f 72 6d 20 61 70 70 6f | 69 6e 74 6d 65 6e 74 20 |orm appo|intment |
|00002a70| 66 69 6c 65 73 20 69 6e | 0a 09 58 2e 49 52 20 63 |files in|..X.IR c|
|00002a80| 61 6c 65 6e 64 61 72 20 | 28 31 29 2c 0a 09 58 2e |alendar |(1),..X.|
|00002a90| 49 52 20 6d 6f 6e 74 68 | 20 28 31 4c 29 2c 0a 09 |IR month| (1L),..|
|00002aa0| 58 61 6e 64 0a 09 58 2e | 49 52 20 6d 6f 6e 74 68 |Xand..X.|IR month|
|00002ab0| 74 6f 6f 6c 20 28 31 4c | 29 0a 09 58 66 6f 72 6d |tool (1L|)..Xform|
|00002ac0| 61 74 73 20 74 6f 0a 09 | 58 2e 49 20 63 61 6c 65 |ats to..|X.I cale|
|00002ad0| 6e 74 6f 6f 6c 0a 09 58 | 66 6f 72 6d 61 74 2e 0a |ntool..X|format..|
|00002ae0| 09 58 2e 4c 50 0a 09 58 | 49 6e 73 74 72 75 63 74 |.X.LP..X|Instruct|
|00002af0| 69 6f 6e 73 20 61 70 70 | 65 61 72 20 69 6e 20 74 |ions app|ear in t|
|00002b00| 68 65 20 73 65 63 74 69 | 6f 6e 20 44 45 54 41 49 |he secti|on DETAI|
|00002b10| 4c 45 44 20 49 4e 53 54 | 52 55 43 54 49 4f 4e 53 |LED INST|RUCTIONS|
|00002b20| 2c 20 77 68 69 63 68 20 | 66 6f 6c 6c 6f 77 73 20 |, which |follows |
|00002b30| 74 68 65 0a 09 58 4f 50 | 54 49 4f 4e 53 20 73 65 |the..XOP|TIONS se|
|00002b40| 63 74 69 6f 6e 2e 0a 09 | 58 2e 53 48 20 4f 50 54 |ction...|X.SH OPT|
|00002b50| 49 4f 4e 53 0a 09 58 2e | 49 20 43 61 6c 65 6e 74 |IONS..X.|I Calent|
|00002b60| 6f 6f 6c 0a 09 58 61 63 | 63 65 70 74 73 20 73 74 |ool..Xac|cepts st|
|00002b70| 61 6e 64 61 72 64 0a 09 | 58 2e 49 20 73 75 6e 74 |andard..|X.I sunt|
|00002b80| 6f 6f 6c 73 0a 09 58 63 | 6f 6d 6d 61 6e 64 20 6c |ools..Xc|ommand l|
|00002b90| 69 6e 65 20 6f 70 74 69 | 6f 6e 73 20 61 74 20 74 |ine opti|ons at t|
|00002ba0| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 63 6f |he end o|f the co|
|00002bb0| 6d 6d 61 6e 64 20 6c 69 | 6e 65 2e 0a 09 58 2e 54 |mmand li|ne...X.T|
|00002bc0| 50 20 31 35 0a 09 58 2e | 42 20 2d 62 0a 09 58 57 |P 15..X.|B -b..XW|
|00002bd0| 68 65 6e 20 61 6e 20 61 | 70 70 6f 69 6e 74 6d 65 |hen an a|ppointme|
|00002be0| 6e 74 20 69 73 20 70 65 | 6e 64 69 6e 67 2c 20 61 |nt is pe|nding, a|
|00002bf0| 20 62 65 6c 6c 20 63 68 | 61 72 61 63 74 65 72 20 | bell ch|aracter |
|00002c00| 28 61 6c 6f 6e 67 20 77 | 69 74 68 20 74 68 65 20 |(along w|ith the |
|00002c10| 61 70 70 6f 69 6e 74 6d | 65 6e 74 0a 09 58 6d 65 |appointm|ent..Xme|
|00002c20| 73 73 61 67 65 29 20 69 | 73 20 73 65 6e 74 20 74 |ssage) i|s sent t|
|00002c30| 6f 20 74 68 65 20 63 6f | 6e 73 6f 6c 65 3b 20 6f |o the co|nsole; o|
|00002c40| 6e 6c 79 20 6f 6e 65 20 | 72 65 6d 69 6e 64 65 72 |nly one |reminder|
|00002c50| 20 69 73 20 73 65 6e 74 | 20 66 6f 72 20 65 61 63 | is sent| for eac|
|00002c60| 68 0a 09 58 61 70 70 6f | 69 6e 74 6d 65 6e 74 2e |h..Xappo|intment.|
|00002c70| 20 20 41 6c 73 6f 2c 20 | 70 6c 61 63 65 20 61 20 | Also, |place a |
|00002c80| 63 6f 70 79 20 6f 66 20 | 74 68 65 20 61 70 70 6f |copy of |the appo|
|00002c90| 69 6e 74 6d 65 6e 74 20 | 74 65 78 74 20 69 6e 20 |intment |text in |
|00002ca0| 74 68 65 20 66 69 6c 65 | 0a 09 58 2e 49 52 20 24 |the file|..X.IR $|
|00002cb0| 48 4f 4d 45 2f 2e 6d 73 | 67 66 69 6c 65 20 2e 0a |HOME/.ms|gfile ..|
|00002cc0| 09 58 54 68 65 20 74 65 | 78 74 20 69 6e 20 74 68 |.XThe te|xt in th|
|00002cd0| 69 73 20 66 69 6c 65 20 | 69 73 20 64 69 73 70 6c |is file |is displ|
|00002ce0| 61 79 65 64 20 62 79 20 | 74 68 65 20 73 63 72 65 |ayed by |the scre|
|00002cf0| 65 6e 20 6c 6f 63 6b 20 | 70 72 6f 67 72 61 6d 0a |en lock |program.|
|00002d00| 09 58 2e 49 52 20 6e 6c | 6f 63 6b 20 28 31 4c 29 |.X.IR nl|ock (1L)|
|00002d10| 3b 0a 09 58 6e 6f 74 69 | 66 79 69 6e 67 20 70 61 |;..Xnoti|fying pa|
|00002d20| 73 73 65 72 73 2d 62 79 | 20 6f 66 20 74 68 65 20 |ssers-by| of the |
|00002d30| 75 73 65 72 27 73 20 63 | 75 72 72 65 6e 74 20 61 |user's c|urrent a|
|00002d40| 63 74 69 76 69 74 79 2e | 0a 09 58 2e 54 50 0a 09 |ctivity.|..X.TP..|
|00002d50| 58 2e 42 49 20 5c 2d 64 | 20 5c 20 64 61 74 65 0a |X.BI \-d| \ date.|
|00002d60| 09 58 4f 70 65 6e 20 74 | 68 65 20 63 61 6c 65 6e |.XOpen t|he calen|
|00002d70| 64 61 72 20 61 74 20 74 | 68 65 20 64 61 79 0a 09 |dar at t|he day..|
|00002d80| 58 2e 49 52 20 64 61 74 | 65 20 2c 0a 09 58 77 68 |X.IR dat|e ,..Xwh|
|00002d90| 69 63 68 20 6d 61 79 20 | 74 61 6b 65 20 6f 6e 20 |ich may |take on |
|00002da0| 73 65 76 65 72 61 6c 20 | 66 6f 72 6d 61 74 73 3a |several |formats:|
|00002db0| 0a 09 58 2e 52 53 0a 09 | 58 2e 54 50 0a 09 58 64 |..X.RS..|X.TP..Xd|
|00002dc0| 61 79 20 6f 66 20 63 75 | 72 72 65 6e 74 20 77 65 |ay of cu|rrent we|
|00002dd0| 65 6b 3a 0a 09 58 54 75 | 65 2c 20 54 68 2c 20 66 |ek:..XTu|e, Th, f|
|00002de0| 72 2c 20 4d 4f 4e 44 41 | 59 0a 09 58 2e 54 50 0a |r, MONDA|Y..X.TP.|
|00002df0| 09 58 6e 75 6d 65 72 69 | 63 20 64 61 74 65 73 3a |.Xnumeri|c dates:|
|00002e00| 0a 09 58 44 44 20 28 64 | 61 79 20 44 44 20 6f 66 |..XDD (d|ay DD of|
|00002e10| 20 63 75 72 72 65 6e 74 | 20 6d 6f 6e 74 68 2c 20 | current| month, |
|00002e20| 66 6f 72 20 65 78 61 6d | 70 6c 65 20 32 37 20 66 |for exam|ple 27 f|
|00002e30| 6f 72 20 74 68 65 20 32 | 37 74 68 20 6f 66 20 74 |or the 2|7th of t|
|00002e40| 68 69 73 20 6d 6f 6e 74 | 68 29 0a 09 58 2e 62 72 |his mont|h)..X.br|
|00002e50| 0a 09 58 4d 4f 2f 44 44 | 20 28 64 61 79 20 44 44 |..XMO/DD| (day DD|
|00002e60| 20 6f 66 20 6d 6f 6e 74 | 68 20 4d 4f 2c 20 66 6f | of mont|h MO, fo|
|00002e70| 72 20 65 78 61 6d 70 6c | 65 20 31 31 2f 31 32 20 |r exampl|e 11/12 |
|00002e80| 66 6f 72 20 4e 6f 76 65 | 6d 62 65 72 20 31 32 29 |for Nove|mber 12)|
|00002e90| 0a 09 58 2e 62 72 0a 09 | 58 4d 4f 2f 44 44 2f 59 |..X.br..|XMO/DD/Y|
|00002ea0| 59 20 28 64 61 79 20 44 | 44 20 6f 66 20 6d 6f 6e |Y (day D|D of mon|
|00002eb0| 74 68 20 4d 4f 2c 20 79 | 65 61 72 20 59 59 2c 20 |th MO, y|ear YY, |
|00002ec0| 66 6f 72 20 65 78 61 6d | 70 6c 65 20 39 2f 31 2f |for exam|ple 9/1/|
|00002ed0| 38 38 20 66 6f 72 20 31 | 20 53 65 70 74 65 6d 62 |88 for 1| Septemb|
|00002ee0| 65 72 20 31 39 38 38 29 | 0a 09 58 2e 52 45 0a 09 |er 1988)|..X.RE..|
|00002ef0| 58 2e 54 50 0a 09 58 2e | 42 49 20 5c 2d 66 20 5c |X.TP..X.|BI \-f \|
|00002f00| 20 61 70 70 74 73 66 69 | 6c 65 0a 09 58 55 73 65 | apptsfi|le..XUse|
|00002f10| 0a 09 58 2e 49 20 61 70 | 70 74 73 66 69 6c 65 0a |..X.I ap|ptsfile.|
|00002f20| 09 58 61 73 20 74 68 65 | 20 61 70 70 6f 69 6e 74 |.Xas the| appoint|
|00002f30| 6d 65 6e 74 73 20 66 69 | 6c 65 2e 20 20 54 68 69 |ments fi|le. Thi|
|00002f40| 73 20 69 73 20 75 73 65 | 66 75 6c 20 66 6f 72 20 |s is use|ful for |
|00002f50| 73 65 65 69 6e 67 20 69 | 66 0a 09 58 6f 74 68 65 |seeing i|f..Xothe|
|00002f60| 72 20 70 65 6f 70 6c 65 | 20 6f 6e 20 74 68 65 20 |r people| on the |
|00002f70| 6e 65 74 20 61 72 65 20 | 66 72 65 65 20 74 6f 20 |net are |free to |
|00002f80| 61 74 74 65 6e 64 20 61 | 20 6d 65 65 74 69 6e 67 |attend a| meeting|
|00002f90| 2e 0a 09 58 49 66 20 65 | 76 65 72 79 6f 6e 65 20 |...XIf e|veryone |
|00002fa0| 65 78 70 6f 72 74 73 20 | 68 69 73 20 61 70 70 6f |exports |his appo|
|00002fb0| 69 6e 74 6d 65 6e 74 73 | 20 66 69 6c 65 20 28 69 |intments| file (i|
|00002fc0| 6e 20 61 20 4e 46 53 20 | 65 6e 76 69 72 6f 6e 6d |n a NFS |environm|
|00002fd0| 65 6e 74 29 20 74 68 65 | 6e 0a 09 58 70 65 6f 70 |ent) the|n..Xpeop|
|00002fe0| 6c 65 20 63 61 6e 20 70 | 6c 61 6e 20 61 70 70 6f |le can p|lan appo|
|00002ff0| 69 6e 74 6d 65 6e 74 73 | 20 6d 6f 72 65 20 65 66 |intments| more ef|
|00003000| 66 65 63 74 69 76 65 6c | 79 2e 0a 09 58 2e 49 50 |fectivel|y...X.IP|
|00003010| 0a 09 58 46 69 6c 65 20 | 69 6e 74 65 67 72 69 74 |..XFile |integrit|
|00003020| 79 20 63 61 6e 20 4e 4f | 54 20 62 65 20 61 73 73 |y can NO|T be ass|
|00003030| 75 72 65 64 20 77 68 65 | 6e 20 74 68 69 73 20 6f |ured whe|n this o|
|00003040| 70 74 69 6f 6e 20 69 73 | 20 69 6e 20 75 73 65 3b |ption is| in use;|
|00003050| 0a 09 58 69 66 20 74 77 | 6f 20 70 65 6f 70 6c 65 |..Xif tw|o people|
|00003060| 20 74 72 79 20 74 6f 20 | 77 72 69 74 65 20 74 6f | try to |write to|
|00003070| 20 74 68 65 20 73 61 6d | 65 20 61 70 70 6f 69 6e | the sam|e appoin|
|00003080| 74 6d 65 6e 74 73 20 66 | 69 6c 65 20 61 74 20 74 |tments f|ile at t|
|00003090| 68 65 20 73 61 6d 65 20 | 74 69 6d 65 2c 20 74 68 |he same |time, th|
|000030a0| 65 0a 09 58 72 65 73 75 | 6c 74 20 63 6f 75 6c 64 |e..Xresu|lt could|
|000030b0| 20 62 65 20 74 72 61 67 | 69 63 2e 20 20 4f 6e 6c | be trag|ic. Onl|
|000030c0| 79 20 74 68 65 20 70 65 | 72 73 6f 6e 20 77 68 6f |y the pe|rson who|
|000030d0| 73 65 20 73 63 68 65 64 | 75 6c 65 20 69 73 0a 09 |se sched|ule is..|
|000030e0| 58 64 65 73 63 72 69 62 | 65 64 20 62 79 20 61 20 |Xdescrib|ed by a |
|000030f0| 70 61 72 74 69 63 75 6c | 61 72 20 61 70 70 6f 69 |particul|ar appoi|
|00003100| 6e 74 6d 65 6e 74 73 20 | 66 69 6c 65 20 73 68 6f |ntments |file sho|
|00003110| 75 6c 64 20 68 61 76 65 | 20 77 72 69 74 65 20 70 |uld have| write p|
|00003120| 65 72 6d 69 73 73 69 6f | 6e 20 66 6f 72 0a 09 58 |ermissio|n for..X|
|00003130| 74 68 61 74 20 66 69 6c | 65 2e 0a 09 58 2e 54 50 |that fil|e...X.TP|
|00003140| 0a 09 58 2e 42 49 20 5c | 2d 68 20 63 68 61 72 0a |..X.BI \|-h char.|
|00003150| 09 58 43 6f 6d 70 75 74 | 65 20 61 6e 64 20 64 69 |.XComput|e and di|
|00003160| 73 70 6c 61 79 20 68 6f | 6c 69 64 61 79 73 20 77 |splay ho|lidays w|
|00003170| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 66 61 6c 6c |hich do |not fall|
|00003180| 20 6f 6e 20 73 65 74 20 | 64 61 74 65 73 20 6f 66 | on set |dates of|
|00003190| 20 74 68 65 20 47 72 65 | 67 6f 72 69 61 6e 0a 09 | the Gre|gorian..|
|000031a0| 58 63 61 6c 65 6e 64 61 | 72 2e 20 20 4e 6f 74 65 |Xcalenda|r. Note|
|000031b0| 73 20 61 70 70 65 61 72 | 20 69 6e 20 74 68 65 20 |s appear| in the |
|000031c0| 64 61 79 20 61 6e 64 20 | 77 65 65 6b 20 64 69 73 |day and |week dis|
|000031d0| 70 6c 61 79 73 2c 20 61 | 6e 64 20 6d 61 72 6b 73 |plays, a|nd marks|
|000031e0| 20 61 70 70 65 61 72 20 | 69 6e 0a 09 58 74 68 65 | appear |in..Xthe|
|000031f0| 20 6d 6f 6e 74 68 20 61 | 6e 64 20 79 65 61 72 20 | month a|nd year |
|00003200| 64 69 73 70 6c 61 79 73 | 2e 20 20 54 68 69 73 20 |displays|. This |
|00003210| 6f 70 74 69 6f 6e 20 69 | 73 20 66 6f 6c 6c 6f 77 |option i|s follow|
|00003220| 65 64 20 62 79 20 61 20 | 73 69 6e 67 6c 65 20 63 |ed by a |single c|
|00003230| 68 61 72 61 63 74 65 72 | 0a 09 58 77 68 69 63 68 |haracter|..Xwhich|
|00003240| 20 69 6e 64 69 63 61 74 | 65 73 20 77 68 69 63 68 | indicat|es which|
|00003250| 20 73 65 74 20 6f 66 20 | 68 6f 6c 69 64 61 79 73 | set of |holidays|
|00003260| 20 69 73 20 74 6f 20 62 | 65 20 63 6f 6d 70 75 74 | is to b|e comput|
|00003270| 65 64 20 28 74 68 65 20 | 6f 70 74 69 6f 6e 20 63 |ed (the |option c|
|00003280| 61 6e 20 62 65 0a 09 58 | 69 6e 76 6f 6b 65 64 20 |an be..X|invoked |
|00003290| 6d 75 6c 74 69 70 6c 65 | 20 74 69 6d 65 73 20 6f |multiple| times o|
|000032a0| 6e 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |n the co|mmand li|
|000032b0| 6e 65 29 2e 20 20 54 68 | 65 20 63 68 61 72 61 63 |ne). Th|e charac|
|000032c0| 74 65 72 20 63 6f 64 65 | 73 20 66 6f 72 0a 09 58 |ter code|s for..X|
|000032d0| 73 75 70 70 6f 72 74 65 | 64 20 64 61 74 65 20 73 |supporte|d date s|
|000032e0| 65 74 73 20 61 72 65 3a | 0a 09 58 2e 52 53 0a 09 |ets are:|..X.RS..|
|000032f0| 58 2e 54 50 0a 09 58 2e | 42 20 41 0a 09 58 55 73 |X.TP..X.|B A..XUs|
|00003300| 65 20 61 6c 6c 20 61 76 | 61 69 6c 61 62 6c 65 20 |e all av|ailable |
|00003310| 64 61 74 65 20 73 65 74 | 73 2e 20 20 57 68 65 6e |date set|s. When|
|00003320| 20 74 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 | this op|tion is |
|00003330| 63 68 6f 73 65 6e 2c 20 | 74 68 65 20 74 69 6d 65 |chosen, |the time|
|00003340| 20 72 65 71 75 69 72 65 | 64 0a 09 58 74 6f 20 70 | require|d..Xto p|
|00003350| 72 6f 64 75 63 65 20 61 | 20 6e 65 77 20 64 69 73 |roduce a| new dis|
|00003360| 70 6c 61 79 20 69 6e 63 | 72 65 61 73 65 73 2e 20 |play inc|reases. |
|00003370| 20 49 74 20 62 65 63 6f | 6d 65 73 20 6c 6f 6e 67 | It beco|mes long|
|00003380| 20 66 6f 72 20 74 68 65 | 20 6d 6f 6e 74 68 20 64 | for the| month d|
|00003390| 69 73 70 6c 61 79 0a 09 | 58 61 6e 64 20 65 78 74 |isplay..|Xand ext|
|000033a0| 72 65 6d 65 6c 79 20 6c | 6f 6e 67 20 66 6f 72 20 |remely l|ong for |
|000033b0| 74 68 65 20 79 65 61 72 | 20 64 69 73 70 6c 61 79 |the year| display|
|000033c0| 2e 0a 09 58 2e 54 50 0a | 09 58 2e 42 20 61 0a 09 |...X.TP.|.X.B a..|
|000033d0| 58 41 73 74 72 6f 6e 6f | 6d 69 63 61 6c 20 65 76 |XAstrono|mical ev|
|000033e0| 65 6e 74 73 20 28 73 6f | 6c 73 74 69 63 65 73 20 |ents (so|lstices |
|000033f0| 61 6e 64 20 65 71 75 69 | 6e 6f 78 65 73 29 2e 0a |and equi|noxes)..|
|00003400| 09 58 2e 54 50 0a 09 58 | 2e 42 20 63 0a 09 58 43 |.X.TP..X|.B c..XC|
|00003410| 68 72 69 73 74 69 61 6e | 20 72 65 6c 69 67 69 6f |hristian| religio|
|00003420| 75 73 20 68 6f 6c 69 64 | 61 79 73 2e 20 20 54 68 |us holid|ays. Th|
|00003430| 65 73 65 20 64 61 74 65 | 73 20 6d 61 79 20 62 65 |ese date|s may be|
|00003440| 20 69 6e 61 63 63 75 72 | 61 74 65 20 66 6f 72 20 | inaccur|ate for |
|00003450| 79 65 61 72 73 0a 09 58 | 70 72 69 6f 72 20 74 6f |years..X|prior to|
|00003460| 20 74 68 65 20 61 64 76 | 65 6e 74 20 6f 66 20 74 | the adv|ent of t|
|00003470| 68 65 20 47 72 65 67 6f | 72 69 61 6e 20 63 61 6c |he Grego|rian cal|
|00003480| 65 6e 64 61 72 20 69 6e | 20 31 35 38 32 2e 0a 09 |endar in| 1582...|
|00003490| 58 2e 54 50 0a 09 58 2e | 42 20 69 0a 09 58 49 73 |X.TP..X.|B i..XIs|
|000034a0| 6c 61 6d 69 63 20 72 65 | 6c 69 67 69 6f 75 73 20 |lamic re|ligious |
|000034b0| 68 6f 6c 69 64 61 79 73 | 2e 20 20 54 68 65 72 65 |holidays|. There|
|000034c0| 20 61 72 65 20 64 69 66 | 66 65 72 65 6e 74 20 63 | are dif|ferent c|
|000034d0| 6f 6e 76 65 6e 74 69 6f | 6e 73 20 75 73 65 64 20 |onventio|ns used |
|000034e0| 62 79 20 4d 75 73 6c 69 | 6d 0a 09 58 63 6f 75 6e |by Musli|m..Xcoun|
|000034f0| 74 72 69 65 73 20 74 6f | 20 64 65 74 65 72 6d 69 |tries to| determi|
|00003500| 6e 65 20 74 68 65 20 64 | 61 74 65 73 20 69 6e 20 |ne the d|ates in |
|00003510| 74 68 65 20 49 73 6c 61 | 6d 69 63 20 63 61 6c 65 |the Isla|mic cale|
|00003520| 6e 64 61 72 3b 20 74 68 | 65 20 64 61 74 65 73 20 |ndar; th|e dates |
|00003530| 63 6f 6d 70 75 74 65 64 | 0a 09 58 68 65 72 65 20 |computed|..Xhere |
|00003540| 6d 61 79 20 64 69 66 66 | 65 72 20 62 79 20 31 2d |may diff|er by 1-|
|00003550| 32 20 64 61 79 73 20 66 | 72 6f 6d 20 74 68 65 20 |2 days f|rom the |
|00003560| 6c 6f 63 61 6c 6c 79 20 | 64 65 74 65 72 6d 69 6e |locally |determin|
|00003570| 65 64 20 64 61 74 65 2e | 0a 09 58 2e 54 50 0a 09 |ed date.|..X.TP..|
|00003580| 58 2e 42 20 6c 0a 09 58 | 4c 75 6e 61 72 20 63 61 |X.B l..X|Lunar ca|
|00003590| 6c 65 6e 64 61 72 20 28 | 43 68 69 6e 65 73 65 2f |lendar (|Chinese/|
|000035a0| 4f 72 69 65 6e 74 61 6c | 29 20 68 6f 6c 69 64 61 |Oriental|) holida|
|000035b0| 79 73 20 28 6e 6f 74 20 | 79 65 74 20 69 6d 70 6c |ys (not |yet impl|
|000035c0| 65 6d 65 6e 74 65 64 29 | 2e 0a 09 58 2e 54 50 0a |emented)|...X.TP.|
|000035d0| 09 58 2e 42 20 6a 0a 09 | 58 4a 65 77 69 73 68 20 |.X.B j..|XJewish |
|000035e0| 72 65 6c 69 67 69 6f 75 | 73 20 68 6f 6c 69 64 61 |religiou|s holida|
|000035f0| 79 73 2e 20 20 54 68 65 | 73 65 20 6d 61 79 20 6e |ys. The|se may n|
|00003600| 6f 74 20 62 65 20 61 63 | 63 75 72 61 74 65 20 66 |ot be ac|curate f|
|00003610| 6f 72 20 79 65 61 72 73 | 20 61 66 74 65 72 20 32 |or years| after 2|
|00003620| 30 30 30 2e 0a 09 58 41 | 6c 73 6f 20 6e 6f 74 65 |000...XA|lso note|
|00003630| 20 74 68 61 74 20 75 6e | 74 69 6c 20 72 65 63 65 | that un|til rece|
|00003640| 6e 74 20 63 65 6e 74 75 | 72 69 65 73 2c 20 74 68 |nt centu|ries, th|
|00003650| 65 20 4a 65 77 69 73 68 | 20 63 61 6c 65 6e 64 61 |e Jewish| calenda|
|00003660| 72 20 77 61 73 20 72 65 | 67 75 6c 61 74 65 64 20 |r was re|gulated |
|00003670| 28 6c 69 6b 65 0a 09 58 | 74 68 65 20 6d 6f 64 65 |(like..X|the mode|
|00003680| 72 6e 20 49 73 6c 61 6d | 69 63 20 63 61 6c 65 6e |rn Islam|ic calen|
|00003690| 64 61 72 29 20 62 79 20 | 73 69 67 68 74 69 6e 67 |dar) by |sighting|
|000036a0| 73 20 6f 66 20 74 68 65 | 20 63 72 65 73 63 65 6e |s of the| crescen|
|000036b0| 74 20 4d 6f 6f 6e 2c 20 | 73 6f 20 74 68 61 74 0a |t Moon, |so that.|
|000036c0| 09 58 64 61 74 65 73 20 | 66 6f 72 20 70 72 65 76 |.Xdates |for prev|
|000036d0| 69 6f 75 73 20 79 65 61 | 72 73 20 6d 75 73 74 20 |ious yea|rs must |
|000036e0| 62 65 20 69 6e 74 65 72 | 70 72 65 74 65 64 20 77 |be inter|preted w|
|000036f0| 69 74 68 20 63 61 75 74 | 69 6f 6e 2e 0a 09 58 2e |ith caut|ion...X.|
|00003700| 54 50 0a 09 58 2e 42 20 | 73 0a 09 58 55 53 20 53 |TP..X.B |s..XUS S|
|00003710| 65 63 75 6c 61 72 20 68 | 6f 6c 69 64 61 79 73 2e |ecular h|olidays.|
|00003720| 0a 09 58 2e 52 45 0a 09 | 58 2e 54 50 0a 09 58 2e |..X.RE..|X.TP..X.|
|00003730| 42 49 20 5c 2d 48 20 63 | 68 61 72 0a 09 58 49 64 |BI \-H c|har..XId|
|00003740| 65 6e 74 69 63 61 6c 20 | 74 6f 20 74 68 65 0a 09 |entical |to the..|
|00003750| 58 2e 42 20 5c 2d 68 0a | 09 58 6f 70 74 69 6f 6e |X.B \-h.|.Xoption|
|00003760| 2c 20 65 78 63 65 70 74 | 20 74 68 61 74 20 63 6f |, except| that co|
|00003770| 6d 70 75 74 65 64 20 64 | 61 74 65 73 20 61 72 65 |mputed d|ates are|
|00003780| 20 64 69 73 70 6c 61 79 | 65 64 20 6f 6e 6c 79 20 | display|ed only |
|00003790| 69 6e 20 74 68 65 20 64 | 61 79 20 61 6e 64 20 77 |in the d|ay and w|
|000037a0| 65 65 6b 0a 09 58 64 69 | 73 70 6c 61 79 73 3b 20 |eek..Xdi|splays; |
|000037b0| 74 68 65 20 6d 6f 6e 74 | 68 20 61 6e 64 20 79 65 |the mont|h and ye|
|000037c0| 61 72 20 64 69 73 70 6c | 61 79 73 20 61 72 65 20 |ar displ|ays are |
|000037d0| 6e 6f 74 20 6d 61 72 6b | 65 64 20 66 6f 72 20 74 |not mark|ed for t|
|000037e0| 68 65 73 65 20 64 61 74 | 65 73 2e 0a 09 58 2e 54 |hese dat|es...X.T|
|000037f0| 50 0a 09 58 2e 42 20 5c | 2d 69 0a 09 58 49 6e 63 |P..X.B \|-i..XInc|
|00003800| 6c 75 64 65 20 61 6c 6c | 20 6f 75 74 64 61 74 65 |lude all| outdate|
|00003810| 64 20 61 70 70 6f 69 6e | 74 6d 65 6e 74 73 20 66 |d appoin|tments f|
|00003820| 69 6c 65 73 20 28 66 69 | 6c 65 73 20 6e 61 6d 65 |iles (fi|les name|
|00003830| 64 0a 09 58 2e 49 52 20 | 2e 61 70 70 6f 69 6e 74 |d..X.IR |.appoint|
|00003840| 6d 65 6e 74 73 2e 79 79 | 20 2c 0a 09 58 77 68 65 |ments.yy| ,..Xwhe|
|00003850| 72 65 0a 09 58 2e 49 20 | 79 79 0a 09 58 72 65 70 |re..X.I |yy..Xrep|
|00003860| 72 65 73 65 6e 74 73 20 | 74 68 65 20 6c 61 73 74 |resents |the last|
|00003870| 20 74 77 6f 20 64 69 67 | 69 74 73 20 6f 66 20 61 | two dig|its of a|
|00003880| 20 70 61 73 74 20 79 65 | 61 72 29 2e 0a 09 58 2e | past ye|ar)...X.|
|00003890| 54 50 0a 09 58 2e 42 49 | 20 5c 2d 6d 20 5c 20 75 |TP..X.BI| \-m \ u|
|000038a0| 73 65 72 69 64 0a 09 58 | 53 65 6e 64 20 6d 61 69 |serid..X|Send mai|
|000038b0| 6c 20 6c 69 73 74 69 6e | 67 20 74 6f 64 61 79 73 |l listin|g todays|
|000038c0| 20 61 70 70 6f 69 6e 74 | 6d 65 6e 74 73 20 74 6f | appoint|ments to|
|000038d0| 20 74 68 65 20 75 73 65 | 72 20 73 70 65 63 69 66 | the use|r specif|
|000038e0| 69 65 64 20 62 79 0a 09 | 58 2e 49 20 75 73 65 72 |ied by..|X.I user|
|000038f0| 69 64 0a 09 58 61 6e 64 | 20 65 78 69 74 2e 0a 09 |id..Xand| exit...|
|00003900| 58 54 68 69 73 20 66 65 | 61 74 75 72 65 20 69 73 |XThis fe|ature is|
|00003910| 20 75 73 65 66 75 6c 20 | 77 68 65 6e 20 63 61 6c | useful |when cal|
|00003920| 65 6e 74 6f 6f 6c 20 69 | 73 20 72 75 6e 20 66 72 |entool i|s run fr|
|00003930| 6f 6d 0a 09 58 2e 49 52 | 20 63 72 6f 6e 20 28 31 |om..X.IR| cron (1|
|00003940| 29 2c 0a 09 58 74 6f 20 | 73 65 6e 64 20 79 6f 75 |),..Xto |send you|
|00003950| 72 73 65 6c 66 20 6d 61 | 69 6c 20 61 62 6f 75 74 |rself ma|il about|
|00003960| 20 74 6f 64 61 79 27 73 | 20 61 70 70 6f 69 6e 74 | today's| appoint|
|00003970| 6d 65 6e 74 73 2e 0a 09 | 58 28 4e 6f 74 65 3a 20 |ments...|X(Note: |
|00003980| 74 68 69 73 20 6f 70 74 | 69 6f 6e 20 65 6c 69 6d |this opt|ion elim|
|00003990| 69 6e 61 74 65 73 20 74 | 68 65 20 6e 65 65 64 20 |inates t|he need |
|000039a0| 66 6f 72 20 74 68 65 20 | 73 65 70 61 72 61 74 65 |for the |separate|
|000039b0| 20 70 72 6f 67 72 61 6d | 2c 0a 09 58 2e 49 52 20 | program|,..X.IR |
|000039c0| 63 61 6c 65 6e 6d 61 69 | 6c 20 28 31 4c 29 2c 0a |calenmai|l (1L),.|
|000039d0| 09 58 77 68 69 63 68 20 | 77 61 73 20 64 69 73 74 |.Xwhich |was dist|
|000039e0| 72 69 62 75 74 65 64 20 | 77 69 74 68 20 65 61 72 |ributed |with ear|
|000039f0| 6c 69 65 72 20 72 65 6c | 65 61 73 65 73 20 6f 66 |lier rel|eases of|
|00003a00| 0a 09 58 2e 49 52 20 63 | 61 6c 65 6e 74 6f 6f 6c |..X.IR c|alentool|
|00003a10| 20 29 2e 0a 09 58 2e 54 | 50 0a 09 58 2e 42 20 5c | )...X.T|P..X.B \|
|00003a20| 2d 6f 0a 09 58 41 74 20 | 74 68 65 20 63 68 61 6e |-o..XAt |the chan|
|00003a30| 67 65 20 6f 66 20 61 20 | 79 65 61 72 2c 20 73 65 |ge of a |year, se|
|00003a40| 6e 64 20 61 6c 6c 20 6f | 75 74 64 61 74 65 64 20 |nd all o|utdated |
|00003a50| 61 70 70 6f 69 6e 74 6d | 65 6e 74 73 20 74 6f 20 |appointm|ents to |
|00003a60| 61 6e 20 6f 75 74 64 61 | 74 65 64 0a 09 58 61 70 |an outda|ted..Xap|
|00003a70| 70 6f 69 6e 74 6d 65 6e | 74 73 20 66 69 6c 65 20 |pointmen|ts file |
|00003a80| 28 61 20 66 69 6c 65 20 | 6e 61 6d 65 64 0a 09 58 |(a file |named..X|
|00003a90| 2e 49 52 20 2e 61 70 70 | 6f 69 6e 74 6d 65 6e 74 |.IR .app|ointment|
|00003aa0| 73 2e 79 79 20 2c 0a 09 | 58 77 68 65 72 65 0a 09 |s.yy ,..|Xwhere..|
|00003ab0| 58 2e 49 20 79 79 0a 09 | 58 72 65 70 72 65 73 65 |X.I yy..|Xreprese|
|00003ac0| 6e 74 73 20 74 68 65 20 | 6c 61 73 74 20 74 77 6f |nts the |last two|
|00003ad0| 20 64 69 67 69 74 73 20 | 6f 66 20 74 68 65 20 70 | digits |of the p|
|00003ae0| 61 73 74 20 79 65 61 72 | 29 2e 0a 09 58 2e 54 50 |ast year|)...X.TP|
|00003af0| 0a 09 58 2e 42 20 2d 70 | 0a 09 58 50 72 69 6e 74 |..X.B -p|..XPrint|
|00003b00| 20 74 6f 64 61 79 27 73 | 20 61 70 70 6f 69 6e 74 | today's| appoint|
|00003b10| 6d 65 6e 74 73 20 61 6e | 64 20 65 78 69 74 2e 20 |ments an|d exit. |
|00003b20| 20 54 68 69 73 20 69 73 | 20 75 73 65 66 75 6c 20 | This is| useful |
|00003b30| 66 6f 72 20 72 65 76 69 | 65 77 69 6e 67 0a 09 58 |for revi|ewing..X|
|00003b40| 61 70 70 6f 69 6e 74 6d | 65 6e 74 73 20 66 72 6f |appointm|ents fro|
|00003b50| 6d 20 61 6e 20 6f 72 64 | 69 6e 61 72 79 20 74 65 |m an ord|inary te|
|00003b60| 72 6d 69 6e 61 6c 20 6f | 72 0a 09 58 2e 49 52 20 |rminal o|r..X.IR |
|00003b70| 73 68 65 6c 6c 74 6f 6f | 6c 20 28 31 29 2e 0a 09 |shelltoo|l (1)...|
|00003b80| 58 2e 54 50 0a 09 58 2e | 42 20 2d 50 0a 09 58 50 |X.TP..X.|B -P..XP|
|00003b90| 72 69 6e 74 20 74 6f 64 | 61 79 27 73 20 61 70 70 |rint tod|ay's app|
|00003ba0| 6f 69 6e 74 6d 65 6e 74 | 73 20 61 6e 64 20 65 78 |ointment|s and ex|
|00003bb0| 69 74 2c 20 69 67 6e 6f | 72 69 6e 67 20 6e 6f 74 |it, igno|ring not|
|00003bc0| 65 73 20 77 68 69 63 68 | 20 61 72 65 20 6e 6f 74 |es which| are not|
|00003bd0| 20 74 6f 20 6d 61 72 6b | 0a 09 58 74 68 65 20 6d | to mark|..Xthe m|
|00003be0| 6f 6e 74 68 20 6f 72 20 | 79 65 61 72 20 64 69 73 |onth or |year dis|
|00003bf0| 70 6c 61 79 73 2e 20 20 | 54 68 69 73 20 69 73 20 |plays. |This is |
|00003c00| 75 73 65 66 75 6c 20 66 | 6f 72 20 73 75 70 70 72 |useful f|or suppr|
|00003c10| 65 73 73 69 6e 67 20 74 | 72 69 76 69 61 20 77 68 |essing t|rivia wh|
|00003c20| 65 6e 0a 09 58 72 65 76 | 69 65 77 69 6e 67 20 61 |en..Xrev|iewing a|
|00003c30| 70 70 6f 69 6e 74 6d 65 | 6e 74 73 20 66 72 6f 6d |ppointme|nts from|
|00003c40| 20 61 6e 20 6f 72 64 69 | 6e 61 72 79 20 74 65 72 | an ordi|nary ter|
|00003c50| 6d 69 6e 61 6c 20 6f 72 | 0a 09 58 2e 49 52 20 73 |minal or|..X.IR s|
|00003c60| 68 65 6c 6c 74 6f 6f 6c | 20 28 31 29 2e 0a 09 58 |helltool| (1)...X|
|00003c70| 2e 54 50 0a 09 58 2e 42 | 20 2d 72 0a 09 58 4f 70 |.TP..X.B| -r..XOp|
|00003c80| 65 6e 20 74 68 65 20 63 | 61 6c 65 6e 64 61 72 20 |en the c|alendar |
|00003c90| 74 6f 6f 6c 20 69 6e 20 | 72 65 61 64 2d 6f 6e 6c |tool in |read-onl|
|00003ca0| 79 20 6d 6f 64 65 2e 0a | 09 58 41 70 70 6f 69 6e |y mode..|.XAppoin|
|00003cb0| 74 6d 65 6e 74 73 20 63 | 61 6e 20 62 65 20 65 64 |tments c|an be ed|
|00003cc0| 69 74 65 64 2c 20 62 75 | 74 20 6e 6f 20 63 68 61 |ited, bu|t no cha|
|00003cd0| 6e 67 65 73 20 77 69 6c | 6c 20 62 65 20 73 61 76 |nges wil|l be sav|
|00003ce0| 65 64 2e 0a 09 58 54 68 | 65 20 74 6f 6f 6c 27 73 |ed...XTh|e tool's|
|00003cf0| 20 62 61 6e 6e 65 72 20 | 73 74 72 69 70 20 77 69 | banner |strip wi|
|00003d00| 6c 6c 20 63 6f 6e 74 61 | 69 6e 20 74 68 65 20 73 |ll conta|in the s|
|00003d10| 74 72 69 6e 67 20 22 5b | 52 65 61 64 20 4f 6e 6c |tring "[|Read Onl|
|00003d20| 79 5d 22 2e 0a 09 58 54 | 68 69 73 20 69 73 20 70 |y]"...XT|his is p|
|00003d30| 61 72 74 69 63 75 6c 61 | 72 6c 79 20 75 73 65 66 |articula|rly usef|
|00003d40| 75 6c 20 66 6f 72 20 69 | 6e 73 70 65 63 74 69 6e |ul for i|nspectin|
|00003d50| 67 20 6f 74 68 65 72 20 | 75 73 65 72 73 27 20 61 |g other |users' a|
|00003d60| 70 70 6f 69 6e 74 6d 65 | 6e 74 20 66 69 6c 65 73 |ppointme|nt files|
|00003d70| 0a 09 58 77 69 74 68 20 | 74 68 65 0a 09 58 2e 42 |..Xwith |the..X.B|
|00003d80| 20 2d 66 0a 09 58 6f 70 | 74 69 6f 6e 2e 0a 09 58 | -f..Xop|tion...X|
|00003d90| 2e 54 50 0a 09 58 2e 42 | 20 2d 74 0a 09 58 44 69 |.TP..X.B| -t..XDi|
|00003da0| 73 70 6c 61 79 20 74 68 | 65 20 63 75 72 72 65 6e |splay th|e curren|
|00003db0| 74 20 74 69 6d 65 20 62 | 65 6c 6f 77 20 74 68 65 |t time b|elow the|
|00003dc0| 0a 09 58 2e 49 20 63 61 | 6c 65 6e 74 6f 6f 6c 0a |..X.I ca|lentool.|
|00003dd0| 09 58 69 63 6f 6e 20 28 | 6e 6f 20 66 75 72 74 68 |.Xicon (|no furth|
|00003de0| 65 72 20 6e 65 65 64 20 | 66 6f 72 0a 09 58 2e 49 |er need |for..X.I|
|00003df0| 52 20 63 6c 6f 63 6b 74 | 6f 6f 6c 20 28 31 29 29 |R clockt|ool (1))|
|00003e00| 2e 0a 09 58 2e 54 50 0a | 09 58 2e 42 49 20 2d 75 |...X.TP.|.X.BI -u|
|00003e10| 20 69 6e 74 0a 09 58 55 | 70 64 61 74 65 20 74 68 | int..XU|pdate th|
|00003e20| 65 20 74 69 6d 65 20 61 | 74 20 74 68 65 20 69 6e |e time a|t the in|
|00003e30| 74 65 72 76 61 6c 20 6f | 66 0a 09 58 2e 49 20 69 |terval o|f..X.I i|
|00003e40| 6e 74 0a 09 58 73 65 63 | 6f 6e 64 73 2e 0a 09 58 |nt..Xsec|onds...X|
|00003e50| 2e 54 50 0a 09 58 2e 42 | 20 2d 77 0a 09 58 44 6f |.TP..X.B| -w..XDo|
|00003e60| 6e 27 74 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 |n't disp|lay the |
|00003e70| 22 57 6f 72 6b 69 6e 67 | 21 22 20 6d 65 73 73 61 |"Working|!" messa|
|00003e80| 67 65 20 69 6e 20 74 68 | 65 20 63 6f 6e 74 72 6f |ge in th|e contro|
|00003e90| 6c 20 70 61 6e 65 6c 20 | 64 75 72 69 6e 67 0a 09 |l panel |during..|
|00003ea0| 58 6c 65 6e 67 74 68 79 | 20 6f 70 65 72 61 74 69 |Xlengthy| operati|
|00003eb0| 6f 6e 73 2e 20 20 54 68 | 65 20 63 75 72 73 6f 72 |ons. Th|e cursor|
|00003ec0| 20 73 74 69 6c 6c 20 63 | 68 61 6e 67 65 73 20 74 | still c|hanges t|
|00003ed0| 6f 20 61 6e 20 68 6f 75 | 72 67 6c 61 73 73 2e 0a |o an hou|rglass..|
|00003ee0| 09 58 2e 54 50 0a 09 58 | 2e 42 20 2d 7a 0a 09 58 |.X.TP..X|.B -z..X|
|00003ef0| 43 6f 6e 76 65 72 74 20 | 61 70 70 6f 69 6e 74 6d |Convert |appointm|
|00003f00| 65 6e 74 73 20 66 69 6c | 65 20 75 73 65 64 20 62 |ents fil|e used b|
|00003f10| 79 20 65 61 72 6c 69 65 | 72 20 76 65 72 73 69 6f |y earlie|r versio|
|00003f20| 6e 73 20 6f 66 0a 09 58 | 2e 49 20 63 61 6c 65 6e |ns of..X|.I calen|
|00003f30| 74 6f 6f 6c 0a 09 58 74 | 6f 20 74 68 65 20 66 6f |tool..Xt|o the fo|
|00003f40| 72 6d 61 74 20 75 73 65 | 64 20 62 79 20 74 68 65 |rmat use|d by the|
|00003f50| 20 63 75 72 72 65 6e 74 | 20 76 65 72 73 69 6f 6e | current| version|
|00003f60| 2e 20 20 54 68 69 73 20 | 6f 70 74 69 6f 6e 20 73 |. This |option s|
|00003f70| 68 6f 75 6c 64 20 62 65 | 20 69 6e 76 6f 6b 65 64 |hould be| invoked|
|00003f80| 20 6f 6e 6c 79 0a 09 58 | 6f 6e 63 65 2c 20 74 68 | only..X|once, th|
|00003f90| 65 20 66 69 72 73 74 20 | 74 69 6d 65 20 61 6e 20 |e first |time an |
|00003fa0| 6f 6c 64 20 66 6f 72 6d | 61 74 20 66 69 6c 65 20 |old form|at file |
|00003fb0| 69 73 20 72 65 61 64 20 | 62 79 0a 09 58 2e 49 52 |is read |by..X.IR|
|00003fc0| 20 63 61 6c 65 6e 74 6f | 6f 6c 20 2e 0a 09 58 2e | calento|ol ...X.|
|00003fd0| 54 50 0a 09 58 2e 42 20 | 2d 35 0a 09 58 44 69 73 |TP..X.B |-5..XDis|
|00003fe0| 70 6c 61 79 20 6f 6e 6c | 79 20 66 69 76 65 20 64 |play onl|y five d|
|00003ff0| 61 79 73 20 28 4d 6f 6e | 64 61 79 20 74 68 72 6f |ays (Mon|day thro|
|00004000| 75 67 68 20 46 72 69 64 | 61 79 29 20 69 6e 20 74 |ugh Frid|ay) in t|
|00004010| 68 65 20 77 65 65 6b 20 | 64 69 73 70 6c 61 79 2e |he week |display.|
|00004020| 20 20 54 68 69 73 20 69 | 73 0a 09 58 75 73 65 66 | This i|s..Xusef|
|00004030| 75 6c 20 69 66 20 74 68 | 65 20 69 6e 73 74 61 6c |ul if th|e instal|
|00004040| 6c 65 72 20 68 61 73 20 | 73 65 74 20 74 68 65 20 |ler has |set the |
|00004050| 64 65 66 61 75 6c 74 20 | 64 69 73 70 6c 61 79 20 |default |display |
|00004060| 66 6f 72 6d 61 74 20 74 | 6f 20 37 20 64 61 79 73 |format t|o 7 days|
|00004070| 2e 0a 09 58 2e 54 50 0a | 09 58 2e 42 20 2d 37 0a |...X.TP.|.X.B -7.|
|00004080| 09 58 44 69 73 70 6c 61 | 79 20 61 6c 6c 20 73 65 |.XDispla|y all se|
|00004090| 76 65 6e 20 64 61 79 73 | 20 69 6e 20 74 68 65 20 |ven days| in the |
|000040a0| 77 65 65 6b 20 64 69 73 | 70 6c 61 79 2e 20 20 54 |week dis|play. T|
|000040b0| 68 69 73 20 69 73 20 75 | 73 65 66 75 6c 20 69 66 |his is u|seful if|
|000040c0| 20 74 68 65 20 69 6e 73 | 74 61 6c 6c 65 72 0a 09 | the ins|taller..|
|000040d0| 58 68 61 73 20 73 65 74 | 20 74 68 65 20 64 65 66 |Xhas set| the def|
|000040e0| 61 75 6c 74 20 76 61 6c | 75 65 20 74 6f 20 35 20 |ault val|ue to 5 |
|000040f0| 64 61 79 73 2e 20 20 54 | 68 65 20 37 2d 64 61 79 |days. T|he 7-day|
|00004100| 20 64 69 73 70 6c 61 79 | 20 69 73 20 77 69 64 65 | display| is wide|
|00004110| 72 20 74 68 61 6e 20 74 | 68 65 20 35 2d 64 61 79 |r than t|he 5-day|
|00004120| 0a 09 58 64 69 73 70 6c | 61 79 2c 20 61 6c 6c 6f |..Xdispl|ay, allo|
|00004130| 77 69 6e 67 20 6c 6f 6e | 67 65 72 20 6d 65 73 73 |wing lon|ger mess|
|00004140| 61 67 65 73 20 74 6f 20 | 62 65 20 64 69 73 70 6c |ages to |be displ|
|00004150| 61 79 65 64 2e 0a 09 58 | 2e 53 48 20 22 44 45 54 |ayed...X|.SH "DET|
|00004160| 41 49 4c 45 44 20 49 4e | 53 54 52 55 43 54 49 4f |AILED IN|STRUCTIO|
|00004170| 4e 53 22 0a 09 58 2e 53 | 53 20 22 45 78 61 6d 69 |NS"..X.S|S "Exami|
|00004180| 6e 69 6e 67 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |ning the| calenda|
|00004190| 72 22 0a 09 58 57 68 65 | 6e 20 66 69 72 73 74 20 |r"..XWhe|n first |
|000041a0| 6f 70 65 6e 65 64 2c 20 | 74 68 65 20 74 6f 6f 6c |opened, |the tool|
|000041b0| 20 64 69 73 70 6c 61 79 | 73 20 74 68 65 20 61 70 | display|s the ap|
|000041c0| 70 6f 69 6e 74 6d 65 6e | 74 73 20 66 6f 72 20 61 |pointmen|ts for a|
|000041d0| 20 73 69 6e 67 6c 65 20 | 64 61 79 20 28 74 6f 64 | single |day (tod|
|000041e0| 61 79 0a 09 58 69 66 20 | 74 68 65 0a 09 58 2e 42 |ay..Xif |the..X.B|
|000041f0| 20 5c 2d 64 0a 09 58 6f | 70 74 69 6f 6e 20 68 61 | \-d..Xo|ption ha|
|00004200| 73 20 6e 6f 74 20 62 65 | 65 6e 20 65 6d 70 6c 6f |s not be|en emplo|
|00004210| 79 65 64 29 2e 20 20 54 | 68 65 20 64 61 79 20 70 |yed). T|he day p|
|00004220| 61 67 65 20 66 6f 72 20 | 74 6f 64 61 79 20 69 73 |age for |today is|
|00004230| 20 64 65 6d 61 72 63 61 | 74 65 64 20 69 6e 20 67 | demarca|ted in g|
|00004240| 72 61 79 2e 0a 09 58 49 | 66 20 61 64 76 61 6e 63 |ray...XI|f advanc|
|00004250| 65 20 77 61 72 6e 69 6e | 67 20 6f 66 20 66 75 74 |e warnin|g of fut|
|00004260| 75 72 65 20 61 70 70 6f | 69 6e 74 6d 65 6e 74 73 |ure appo|intments|
|00004270| 20 68 61 73 20 62 65 65 | 6e 20 72 65 71 75 65 73 | has bee|n reques|
|00004280| 74 65 64 2c 20 61 20 70 | 6f 70 75 70 0a 09 58 64 |ted, a p|opup..Xd|
|00004290| 69 73 70 6c 61 79 20 61 | 70 70 65 61 72 73 2e 20 |isplay a|ppears. |
|000042a0| 20 54 68 65 20 64 61 79 | 20 64 69 73 70 6c 61 79 | The day| display|
|000042b0| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 61 20 66 75 | contain|ing a fu|
|000042c0| 74 75 72 65 20 61 70 70 | 6f 69 6e 74 6d 65 6e 74 |ture app|ointment|
|000042d0| 20 6d 61 79 20 62 65 0a | 09 58 64 69 73 70 6c 61 | may be.|.Xdispla|
|000042e0| 79 65 64 20 69 66 20 74 | 68 65 20 66 75 74 75 72 |yed if t|he futur|
|000042f0| 65 20 61 70 70 6f 69 6e | 74 6d 65 6e 74 20 69 73 |e appoin|tment is|
|00004300| 20 73 65 6c 65 63 74 65 | 64 20 77 69 74 68 20 74 | selecte|d with t|
|00004310| 68 65 0a 09 58 2e 49 52 | 20 6d 6f 75 73 65 2d 4c |he..X.IR| mouse-L|
|00004320| 42 20 2e 0a 09 58 54 68 | 65 20 72 65 6d 69 6e 64 |B ...XTh|e remind|
|00004330| 65 72 20 70 6f 70 75 70 | 20 6d 61 79 20 62 65 20 |er popup| may be |
|00004340| 72 65 6d 6f 76 65 64 20 | 70 65 72 6d 61 6e 65 6e |removed |permanen|
|00004350| 74 6c 79 20 28 64 75 72 | 69 6e 67 20 74 68 69 73 |tly (dur|ing this|
|00004360| 0a 09 58 2e 49 20 63 61 | 6c 65 6e 74 6f 6f 6c 0a |..X.I ca|lentool.|
|00004370| 09 58 73 65 73 73 69 6f | 6e 29 20 62 79 20 73 65 |.Xsessio|n) by se|
|00004380| 6c 65 63 74 69 6e 67 20 | 74 68 65 0a 09 58 2e 42 |lecting |the..X.B|
|00004390| 20 44 6f 6e 65 0a 09 58 | 6f 70 74 69 6f 6e 3b 20 | Done..X|option; |
|000043a0| 69 66 20 74 68 65 0a 09 | 58 2e 42 20 4b 65 65 70 |if the..|X.B Keep|
|000043b0| 0a 09 58 6f 70 74 69 6f | 6e 20 69 73 20 73 65 6c |..Xoptio|n is sel|
|000043c0| 65 63 74 65 64 2c 20 74 | 68 65 20 72 65 6d 69 6e |ected, t|he remin|
|000043d0| 64 65 72 20 77 69 6e 64 | 6f 77 20 77 69 6c 6c 20 |der wind|ow will |
|000043e0| 72 65 61 70 70 65 61 72 | 20 65 61 63 68 20 74 69 |reappear| each ti|
|000043f0| 6d 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 0a 09 |me the c|urrent..|
|00004400| 58 64 61 79 20 70 61 67 | 65 20 69 73 20 64 69 73 |Xday pag|e is dis|
|00004410| 70 6c 61 79 65 64 2e 0a | 09 58 2e 4c 50 0a 09 58 |played..|.X.LP..X|
|00004420| 49 66 20 74 68 65 72 65 | 20 61 72 65 20 6d 75 6c |If there| are mul|
|00004430| 74 69 70 6c 65 20 61 70 | 70 6f 69 6e 74 6d 65 6e |tiple ap|pointmen|
|00004440| 74 73 20 73 68 61 72 69 | 6e 67 20 61 20 74 69 6d |ts shari|ng a tim|
|00004450| 65 20 73 6c 6f 74 2c 20 | 61 0a 09 58 2e 42 20 4d |e slot, |a..X.B M|
|00004460| 6f 72 65 0a 09 58 62 75 | 74 74 6f 6e 20 61 70 70 |ore..Xbu|tton app|
|00004470| 65 61 72 73 20 74 6f 20 | 74 68 65 20 72 69 67 68 |ears to |the righ|
|00004480| 74 20 6f 66 20 74 68 65 | 20 74 69 6d 65 20 73 6c |t of the| time sl|
|00004490| 6f 74 2e 20 20 54 68 69 | 73 20 6d 61 79 20 62 65 |ot. Thi|s may be|
|000044a0| 20 74 6f 67 67 6c 65 64 | 20 72 65 70 65 61 74 65 | toggled| repeate|
|000044b0| 64 6c 79 0a 09 58 74 6f | 20 76 69 65 77 20 65 61 |dly..Xto| view ea|
|000044c0| 63 68 20 61 70 70 6f 69 | 6e 74 6d 65 6e 74 20 69 |ch appoi|ntment i|
|000044d0| 6e 20 74 75 72 6e 2e 20 | 20 49 66 20 61 70 70 6f |n turn. | If appo|
|000044e0| 69 6e 74 6d 65 6e 74 20 | 74 65 78 74 20 69 73 20 |intment |text is |
|000044f0| 74 6f 6f 20 77 69 64 65 | 20 66 6f 72 20 74 68 65 |too wide| for the|
|00004500| 0a 09 58 64 61 79 20 70 | 61 67 65 2c 20 73 63 72 |..Xday p|age, scr|
|00004510| 6f 6c 6c 20 62 75 74 74 | 6f 6e 73 20 61 70 70 65 |oll butt|ons appe|
|00004520| 61 72 20 74 6f 20 74 68 | 65 20 72 69 67 68 74 20 |ar to th|e right |
|00004530| 6f 66 20 74 68 65 20 74 | 65 78 74 20 61 6e 64 20 |of the t|ext and |
|00004540| 6d 61 79 20 62 65 20 75 | 73 65 64 20 74 6f 0a 09 |may be u|sed to..|
|00004550| 58 76 69 65 77 20 74 68 | 65 20 74 65 78 74 20 69 |Xview th|e text i|
|00004560| 6e 20 69 74 73 20 65 6e | 74 69 72 65 74 79 2e 20 |n its en|tirety. |
|00004570| 20 57 68 65 6e 20 66 69 | 72 73 74 20 64 69 73 70 | When fi|rst disp|
|00004580| 6c 61 79 65 64 2c 20 61 | 6c 6c 20 74 65 78 74 20 |layed, a|ll text |
|00004590| 69 73 20 6c 65 66 74 0a | 09 58 6a 75 73 74 69 66 |is left.|.Xjustif|
|000045a0| 69 65 64 2e 0a 09 58 2e | 4c 50 0a 09 58 54 68 65 |ied...X.|LP..XThe|
|000045b0| 20 63 6f 6e 74 72 6f 6c | 20 73 75 62 77 69 6e 64 | control| subwind|
|000045c0| 6f 77 20 63 6f 6e 74 61 | 69 6e 73 20 76 61 72 69 |ow conta|ins vari|
|000045d0| 6f 75 73 20 63 6f 6e 74 | 72 6f 6c 20 62 75 74 74 |ous cont|rol butt|
|000045e0| 6f 6e 73 20 61 6e 64 20 | 74 6f 64 61 79 73 20 64 |ons and |todays d|
|000045f0| 61 74 65 20 61 6e 64 0a | 09 58 74 69 6d 65 2e 20 |ate and.|.Xtime. |
|00004600| 20 56 69 65 77 20 74 68 | 65 20 63 75 72 72 65 6e | View th|e curren|
|00004610| 74 20 77 65 65 6b 2c 20 | 6d 6f 6e 74 68 2c 20 6f |t week, |month, o|
|00004620| 72 20 79 65 61 72 20 62 | 79 20 65 6d 70 6c 6f 79 |r year b|y employ|
|00004630| 69 6e 67 0a 09 58 74 68 | 65 0a 09 58 2e 49 20 6d |ing..Xth|e..X.I m|
|00004640| 6f 75 73 65 2d 4c 42 0a | 09 58 74 6f 20 73 65 6c |ouse-LB.|.Xto sel|
|00004650| 65 63 74 20 74 68 65 0a | 09 58 2e 42 52 20 57 65 |ect the.|.X.BR We|
|00004660| 65 6b 20 2c 0a 09 58 2e | 42 52 20 4d 6f 6e 74 68 |ek ,..X.|BR Month|
|00004670| 20 2c 0a 09 58 6f 72 0a | 09 58 2e 42 20 59 65 61 | ,..Xor.|.X.B Yea|
|00004680| 72 0a 09 58 70 61 6e 65 | 6c 20 62 75 74 74 6f 6e |r..Xpane|l button|
|00004690| 73 2e 20 20 50 75 73 68 | 69 6e 67 20 74 68 65 0a |s. Push|ing the.|
|000046a0| 09 58 2e 49 20 6d 6f 75 | 73 65 2d 52 42 0a 09 58 |.X.I mou|se-RB..X|
|000046b0| 69 6e 20 74 68 65 0a 09 | 58 2e 42 52 20 44 61 79 |in the..|X.BR Day|
|000046c0| 20 2c 0a 09 58 2e 42 52 | 20 57 65 65 6b 20 2c 0a | ,..X.BR| Week ,.|
|000046d0| 09 58 2e 42 52 20 4d 6f | 6e 74 68 20 2c 0a 09 58 |.X.BR Mo|nth ,..X|
|000046e0| 6f 72 0a 09 58 2e 42 52 | 20 59 65 61 72 0a 09 58 |or..X.BR| Year..X|
|000046f0| 70 61 6e 65 6c 20 62 75 | 74 74 6f 6e 73 20 61 63 |panel bu|ttons ac|
|00004700| 74 69 76 61 74 65 73 20 | 70 75 6c 6c 2d 64 6f 77 |tivates |pull-dow|
|00004710| 6e 20 6d 65 6e 75 73 20 | 77 69 74 68 20 61 70 70 |n menus |with app|
|00004720| 72 6f 70 72 69 61 74 65 | 20 73 65 6c 65 63 74 69 |ropriate| selecti|
|00004730| 6f 6e 73 20 28 63 65 72 | 74 61 69 6e 0a 09 58 6f |ons (cer|tain..Xo|
|00004740| 66 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 73 |f the se|lections|
|00004750| 20 6d 61 79 20 62 65 20 | 69 6e 61 63 74 69 76 61 | may be |inactiva|
|00004760| 74 65 64 20 64 75 65 20 | 74 6f 20 74 68 65 20 63 |ted due |to the c|
|00004770| 75 72 72 65 6e 74 20 64 | 69 73 70 6c 61 79 20 6d |urrent d|isplay m|
|00004780| 6f 64 65 29 2e 20 20 54 | 68 65 0a 09 58 2e 42 20 |ode). T|he..X.B |
|00004790| 54 6f 64 61 79 0a 09 58 | 70 61 6e 65 6c 20 62 75 |Today..X|panel bu|
|000047a0| 74 74 6f 6e 20 72 65 64 | 69 73 70 6c 61 79 73 20 |tton red|isplays |
|000047b0| 74 6f 64 61 79 27 73 20 | 64 61 79 20 70 61 67 65 |today's |day page|
|000047c0| 2e 20 20 49 6e 20 65 61 | 63 68 20 6f 66 20 74 68 |. In ea|ch of th|
|000047d0| 65 20 66 6f 75 72 20 64 | 69 73 70 6c 61 79 20 6d |e four d|isplay m|
|000047e0| 6f 64 65 73 2c 0a 09 58 | 74 68 65 0a 09 58 2e 42 |odes,..X|the..X.B|
|000047f0| 20 50 72 65 76 69 6f 75 | 73 0a 09 58 61 6e 64 0a | Previou|s..Xand.|
|00004800| 09 58 2e 42 20 4e 65 78 | 74 0a 09 58 70 61 6e 65 |.X.B Nex|t..Xpane|
|00004810| 6c 20 62 75 74 74 6f 6e | 73 20 6d 6f 76 65 20 62 |l button|s move b|
|00004820| 61 63 6b 77 61 72 64 20 | 6f 72 20 66 6f 72 77 61 |ackward |or forwa|
|00004830| 72 64 20 6f 6e 65 20 64 | 61 79 2c 20 77 65 65 6b |rd one d|ay, week|
|00004840| 2c 20 6d 6f 6e 74 68 20 | 6f 72 20 79 65 61 72 2c |, month |or year,|
|00004850| 20 61 73 0a 09 58 61 70 | 70 72 6f 70 72 69 61 74 | as..Xap|propriat|
|00004860| 65 20 28 6d 61 69 6e 74 | 61 69 6e 69 6e 67 20 74 |e (maint|aining t|
|00004870| 68 65 20 63 75 72 72 65 | 6e 74 20 64 69 73 70 6c |he curre|nt displ|
|00004880| 61 79 20 6d 6f 64 65 29 | 2e 20 20 54 68 65 72 65 |ay mode)|. There|
|00004890| 20 61 72 65 20 61 6c 73 | 6f 20 70 75 6c 6c 2d 64 | are als|o pull-d|
|000048a0| 6f 77 6e 0a 09 58 6d 65 | 6e 75 73 20 61 73 73 6f |own..Xme|nus asso|
|000048b0| 63 69 61 74 65 64 20 77 | 69 74 68 20 74 68 65 73 |ciated w|ith thes|
|000048c0| 65 20 62 75 74 74 6f 6e | 73 2c 20 70 72 6f 64 75 |e button|s, produ|
|000048d0| 63 65 64 20 62 79 20 73 | 65 6c 65 63 74 69 6e 67 |ced by s|electing|
|000048e0| 20 74 68 65 0a 09 58 2e | 49 20 6d 6f 75 73 65 2d | the..X.|I mouse-|
|000048f0| 52 42 0a 09 58 28 61 67 | 61 69 6e 2c 20 63 65 72 |RB..X(ag|ain, cer|
|00004900| 74 61 69 6e 20 6f 70 74 | 69 6f 6e 73 20 6d 61 79 |tain opt|ions may|
|00004910| 20 62 65 20 69 6e 61 63 | 74 69 76 61 74 65 64 20 | be inac|tivated |
|00004920| 61 63 63 6f 72 64 69 6e | 67 20 74 6f 20 74 68 65 |accordin|g to the|
|00004930| 20 63 75 72 72 65 6e 74 | 20 64 69 73 70 6c 61 79 | current| display|
|00004940| 0a 09 58 6d 6f 64 65 29 | 2e 20 20 54 68 65 0a 09 |..Xmode)|. The..|
|00004950| 58 2e 42 20 43 75 72 72 | 65 6e 74 0a 09 58 62 75 |X.B Curr|ent..Xbu|
|00004960| 74 74 6f 6e 20 64 69 73 | 70 6c 61 79 73 20 74 68 |tton dis|plays th|
|00004970| 65 20 63 75 72 72 65 6e | 74 20 64 61 79 2c 20 77 |e curren|t day, w|
|00004980| 65 65 6b 2c 20 6d 6f 6e | 74 68 20 6f 72 20 79 65 |eek, mon|th or ye|
|00004990| 61 72 2c 20 64 65 70 65 | 6e 64 69 6e 67 20 75 70 |ar, depe|nding up|
|000049a0| 6f 6e 20 74 68 65 20 63 | 75 72 72 65 6e 74 0a 09 |on the c|urrent..|
|000049b0| 58 64 69 73 70 6c 61 79 | 20 6d 6f 64 65 2e 20 20 |Xdisplay| mode. |
|000049c0| 41 20 70 75 6c 6c 2d 64 | 6f 77 6e 20 6d 65 6e 75 |A pull-d|own menu|
|000049d0| 20 61 73 73 6f 63 69 61 | 74 65 64 20 77 69 74 68 | associa|ted with|
|000049e0| 20 74 68 65 0a 09 58 2e | 42 20 43 75 72 72 65 6e | the..X.|B Curren|
|000049f0| 74 0a 09 58 62 75 74 74 | 6f 6e 20 61 6c 6c 6f 77 |t..Xbutt|on allow|
|00004a00| 73 20 73 65 6c 65 63 74 | 69 6f 6e 20 6f 66 20 74 |s select|ion of t|
|00004a10| 68 65 20 63 75 72 72 65 | 6e 74 20 64 61 79 2c 20 |he curre|nt day, |
|00004a20| 77 65 65 6b 2c 20 6d 6f | 6e 74 68 2c 20 6f 72 20 |week, mo|nth, or |
|00004a30| 79 65 61 72 20 64 69 73 | 70 6c 61 79 73 2c 20 6f |year dis|plays, o|
|00004a40| 72 0a 09 58 64 69 72 65 | 63 74 20 65 6e 74 72 79 |r..Xdire|ct entry|
|00004a50| 20 6f 66 20 61 20 73 70 | 65 63 69 66 69 63 20 64 | of a sp|ecific d|
|00004a60| 61 74 65 20 66 6f 72 20 | 77 68 69 63 68 20 61 20 |ate for |which a |
|00004a70| 64 61 79 20 70 61 67 65 | 20 69 73 20 74 6f 20 62 |day page| is to b|
|00004a80| 65 20 64 69 73 70 6c 61 | 79 65 64 2e 0a 09 58 2e |e displa|yed...X.|
|00004a90| 4c 50 0a 09 58 49 6e 20 | 74 68 65 20 77 65 65 6b |LP..XIn |the week|
|00004aa0| 20 64 69 73 70 6c 61 79 | 2c 20 74 68 65 20 69 6e | display|, the in|
|00004ab0| 69 74 69 61 6c 20 70 61 | 72 74 20 6f 66 20 65 61 |itial pa|rt of ea|
|00004ac0| 63 68 20 61 70 70 6f 69 | 6e 74 6d 65 6e 74 20 6d |ch appoi|ntment m|
|00004ad0| 65 73 73 61 67 65 20 69 | 73 20 76 69 73 69 62 6c |essage i|s visibl|
|00004ae0| 65 2e 0a 09 58 49 66 20 | 74 68 65 72 65 20 61 72 |e...XIf |there ar|
|00004af0| 65 20 6f 76 65 72 6c 61 | 70 70 69 6e 67 20 61 70 |e overla|pping ap|
|00004b00| 70 6f 69 6e 74 6d 65 6e | 74 73 2f 6e 6f 74 65 73 |pointmen|ts/notes|
|00004b10| 2c 20 61 0a 09 58 2e 42 | 20 4d 6f 72 65 0a 09 58 |, a..X.B| More..X|
|00004b20| 62 75 74 74 6f 6e 20 61 | 70 70 65 61 72 73 20 61 |button a|ppears a|
|00004b30| 74 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |t the bo|ttom of |
|00004b40| 74 68 65 20 64 61 79 20 | 63 6f 6c 75 6d 6e 2c 20 |the day |column, |
|00004b50| 77 68 69 63 68 20 70 72 | 69 6e 74 73 20 61 20 6d |which pr|ints a m|
|00004b60| 65 73 73 61 67 65 0a 09 | 58 72 65 6d 69 6e 64 69 |essage..|Xremindi|
|00004b70| 6e 67 20 74 68 65 20 75 | 73 65 72 20 74 6f 20 73 |ng the u|ser to s|
|00004b80| 65 6c 65 63 74 20 74 68 | 65 20 64 61 79 20 64 69 |elect th|e day di|
|00004b90| 73 70 6c 61 79 20 74 6f | 20 62 65 20 61 62 6c 65 |splay to| be able|
|00004ba0| 20 74 6f 20 76 69 65 77 | 20 61 6c 6c 20 6f 66 20 | to view| all of |
|00004bb0| 74 68 65 0a 09 58 61 70 | 70 6f 69 6e 74 6d 65 6e |the..Xap|pointmen|
|00004bc0| 74 73 2f 6e 6f 74 65 73 | 2e 0a 09 58 54 68 65 20 |ts/notes|...XThe |
|00004bd0| 64 61 79 20 73 74 72 69 | 70 20 66 6f 72 20 74 6f |day stri|p for to|
|00004be0| 64 61 79 2c 20 69 66 20 | 70 72 65 73 65 6e 74 2c |day, if |present,|
|00004bf0| 20 69 73 20 64 65 6d 61 | 72 63 61 74 65 64 20 69 | is dema|rcated i|
|00004c00| 6e 20 67 72 61 79 2e 0a | 09 58 4d 6f 76 65 20 74 |n gray..|.XMove t|
|00004c10| 68 65 20 63 75 72 73 6f | 72 20 6f 76 65 72 20 61 |he curso|r over a|
|00004c20| 6e 79 20 64 61 79 20 6f | 66 20 74 68 65 20 77 65 |ny day o|f the we|
|00004c30| 65 6b 20 61 6e 64 20 73 | 65 6c 65 63 74 20 74 68 |ek and s|elect th|
|00004c40| 65 0a 09 58 2e 49 20 6d | 6f 75 73 65 2d 4c 42 0a |e..X.I m|ouse-LB.|
|00004c50| 09 58 74 6f 20 76 69 65 | 77 20 74 68 65 20 69 6e |.Xto vie|w the in|
|00004c60| 64 69 63 61 74 65 64 20 | 64 61 79 20 64 69 73 70 |dicated |day disp|
|00004c70| 6c 61 79 2e 0a 09 58 2e | 4c 50 0a 09 58 49 6e 20 |lay...X.|LP..XIn |
|00004c80| 74 68 65 20 6d 6f 6e 74 | 68 20 64 69 73 70 6c 61 |the mont|h displa|
|00004c90| 79 2c 20 61 20 74 72 69 | 61 6e 67 75 6c 61 72 20 |y, a tri|angular |
|00004ca0| 68 61 74 63 68 2d 6d 61 | 72 6b 20 69 6e 20 74 68 |hatch-ma|rk in th|
|00004cb0| 65 0a 09 58 75 70 70 65 | 72 20 72 69 67 68 74 2d |e..Xuppe|r right-|
|00004cc0| 68 61 6e 64 20 63 6f 72 | 6e 65 72 20 6f 66 20 61 |hand cor|ner of a|
|00004cd0| 20 64 61 79 20 69 6e 64 | 69 63 61 74 65 73 20 61 | day ind|icates a|
|00004ce0| 6e 20 61 70 70 6f 69 6e | 74 6d 65 6e 74 2e 0a 09 |n appoin|tment...|
|00004cf0| 58 54 68 65 20 64 61 79 | 20 62 6f 78 20 66 6f 72 |XThe day| box for|
|00004d00| 20 74 6f 64 61 79 2c 20 | 69 66 20 70 72 65 73 65 | today, |if prese|
|00004d10| 6e 74 2c 20 69 73 20 64 | 65 6d 61 72 63 61 74 65 |nt, is d|emarcate|
|00004d20| 64 20 69 6e 20 67 72 61 | 79 2e 0a 09 58 4d 6f 76 |d in gra|y...XMov|
|00004d30| 65 20 74 68 65 20 63 75 | 72 73 6f 72 20 6f 76 65 |e the cu|rsor ove|
|00004d40| 72 20 61 6e 79 20 64 61 | 79 20 6f 66 20 74 68 65 |r any da|y of the|
|00004d50| 20 6d 6f 6e 74 68 20 61 | 6e 64 20 73 65 6c 65 63 | month a|nd selec|
|00004d60| 74 20 74 68 65 0a 09 58 | 2e 49 20 6d 6f 75 73 65 |t the..X|.I mouse|
|00004d70| 2d 4c 42 0a 09 58 74 6f | 20 76 69 65 77 20 74 68 |-LB..Xto| view th|
|00004d80| 65 20 69 6e 64 69 63 61 | 74 65 64 20 64 61 79 20 |e indica|ted day |
|00004d90| 64 69 73 70 6c 61 79 2e | 20 20 50 6f 73 69 74 69 |display.| Positi|
|00004da0| 6f 6e 20 74 68 65 20 63 | 75 72 73 6f 72 0a 09 58 |on the c|ursor..X|
|00004db0| 6f 76 65 72 20 74 68 65 | 20 61 72 72 6f 77 20 74 |over the| arrow t|
|00004dc0| 6f 20 74 68 65 20 6c 65 | 66 74 20 6f 66 20 61 20 |o the le|ft of a |
|00004dd0| 77 65 65 6b 20 61 6e 64 | 20 73 65 6c 65 63 74 20 |week and| select |
|00004de0| 74 68 65 0a 09 58 2e 49 | 20 6d 6f 75 73 65 2d 4c |the..X.I| mouse-L|
|00004df0| 42 0a 09 58 74 6f 20 76 | 69 65 77 20 74 68 65 20 |B..Xto v|iew the |
|00004e00| 69 6e 64 69 63 61 74 65 | 64 20 77 65 65 6b 2e 0a |indicate|d week..|
|00004e10| 09 58 2e 4c 50 0a 09 58 | 49 6e 20 74 68 65 20 79 |.X.LP..X|In the y|
|00004e20| 65 61 72 20 64 69 73 70 | 6c 61 79 2c 20 61 20 72 |ear disp|lay, a r|
|00004e30| 65 76 65 72 73 65 2d 76 | 69 64 65 6f 20 64 61 74 |everse-v|ideo dat|
|00004e40| 65 20 69 6e 64 69 63 61 | 74 65 73 20 61 6e 20 61 |e indica|tes an a|
|00004e50| 70 70 6f 69 6e 74 6d 65 | 6e 74 2e 0a 09 58 54 6f |ppointme|nt...XTo|
|00004e60| 64 61 79 27 73 20 64 61 | 74 65 2c 20 69 66 20 70 |day's da|te, if p|
|00004e70| 72 65 73 65 6e 74 2c 20 | 69 73 20 6d 61 72 6b 65 |resent, |is marke|
|00004e80| 64 20 69 6e 20 67 72 61 | 79 2e 0a 09 58 4d 6f 76 |d in gra|y...XMov|
|00004e90| 65 20 74 68 65 20 63 75 | 72 73 6f 72 20 6f 76 65 |e the cu|rsor ove|
|00004ea0| 72 20 61 20 70 61 72 74 | 69 63 75 6c 61 72 20 6d |r a part|icular m|
|00004eb0| 6f 6e 74 68 20 61 6e 64 | 20 73 65 6c 65 63 74 20 |onth and| select |
|00004ec0| 74 68 65 0a 09 58 2e 49 | 20 6d 6f 75 73 65 2d 4c |the..X.I| mouse-L|
|00004ed0| 42 0a 09 58 74 6f 20 73 | 65 6c 65 63 74 20 74 68 |B..Xto s|elect th|
|00004ee0| 65 20 69 6e 64 69 63 61 | 74 65 64 20 6d 6f 6e 74 |e indica|ted mont|
|00004ef0| 68 20 64 69 73 70 6c 61 | 79 2e 0a 09 58 2e 4c 50 |h displa|y...X.LP|
|00004f00| 0a 09 58 54 68 65 20 70 | 75 6c 6c 64 6f 77 6e 20 |..XThe p|ulldown |
|00004f10| 6d 65 6e 75 20 61 63 74 | 75 61 74 65 64 20 77 69 |menu act|uated wi|
|00004f20| 74 68 69 6e 20 74 68 65 | 20 74 6f 70 20 63 6f 6e |thin the| top con|
|00004f30| 74 72 6f 6c 20 62 61 72 | 20 6f 66 20 74 68 65 20 |trol bar| of the |
|00004f40| 77 69 6e 64 6f 77 0a 09 | 58 62 79 20 73 65 6c 65 |window..|Xby sele|
|00004f50| 63 74 69 6e 67 20 74 68 | 65 0a 09 58 2e 49 20 6d |cting th|e..X.I m|
|00004f60| 6f 75 73 65 2d 52 42 0a | 09 58 61 6c 6c 6f 77 73 |ouse-RB.|.Xallows|
|00004f70| 20 74 68 65 20 74 6f 6f | 6c 20 74 6f 20 62 65 20 | the too|l to be |
|00004f80| 63 6c 6f 73 65 64 2c 20 | 6d 6f 76 65 64 2c 20 74 |closed, |moved, t|
|00004f90| 65 72 6d 69 6e 61 74 65 | 64 2c 20 65 74 63 2e 0a |erminate|d, etc..|
|00004fa0| 09 58 2e 53 53 20 22 4c | 75 6e 61 72 20 61 6e 64 |.X.SS "L|unar and|
|00004fb0| 20 53 6f 6c 61 72 20 64 | 61 74 61 22 0a 09 58 53 | Solar d|ata"..XS|
|00004fc0| 65 6c 65 63 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |election| of the |
|00004fd0| 53 75 6e 20 6f 72 20 4d | 6f 6f 6e 20 69 63 6f 6e |Sun or M|oon icon|
|00004fe0| 73 20 69 6e 20 74 68 65 | 20 64 61 79 20 64 69 73 |s in the| day dis|
|00004ff0| 70 6c 61 79 20 72 65 76 | 65 61 6c 73 0a 09 58 69 |play rev|eals..Xi|
|00005000| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 61 62 6f 75 74 |nformati|on about|
|00005010| 20 72 69 73 69 6e 67 20 | 61 6e 64 20 73 65 74 74 | rising |and sett|
|00005020| 69 6e 67 20 74 69 6d 65 | 73 2c 20 6c 75 6e 61 72 |ing time|s, lunar|
|00005030| 20 70 68 61 73 65 73 2c | 20 6c 6f 63 61 6c 0a 09 | phases,| local..|
|00005040| 58 74 69 6d 65 2c 20 73 | 69 64 65 72 65 61 6c 20 |Xtime, s|idereal |
|00005050| 74 69 6d 65 2c 20 65 74 | 63 2e 20 20 41 6e 20 61 |time, et|c. An a|
|00005060| 62 62 72 65 76 69 61 74 | 65 64 20 73 6f 6c 61 72 |bbreviat|ed solar|
|00005070| 20 64 61 74 61 20 64 69 | 73 70 6c 61 79 20 69 73 | data di|splay is|
|00005080| 20 73 68 6f 77 6e 0a 09 | 58 69 66 20 74 68 65 20 | shown..|Xif the |
|00005090| 64 61 79 20 63 75 72 72 | 65 6e 74 6c 79 20 62 65 |day curr|ently be|
|000050a0| 69 6e 67 20 64 69 73 70 | 6c 61 79 65 64 20 69 73 |ing disp|layed is|
|000050b0| 20 6e 6f 74 20 74 6f 64 | 61 79 2e 0a 09 58 2e 53 | not tod|ay...X.S|
|000050c0| 53 20 22 49 63 6f 6e 69 | 63 20 77 61 72 6e 69 6e |S "Iconi|c warnin|
|000050d0| 67 20 6f 66 20 61 6e 20 | 61 70 70 6f 69 6e 74 6d |g of an |appointm|
|000050e0| 65 6e 74 22 0a 09 58 57 | 68 65 6e 0a 09 58 2e 49 |ent"..XW|hen..X.I|
|000050f0| 20 63 61 6c 65 6e 74 6f | 6f 6c 0a 09 58 69 73 20 | calento|ol..Xis |
|00005100| 69 6e 20 69 63 6f 6e 69 | 63 20 66 6f 72 6d 2c 20 |in iconi|c form, |
|00005110| 74 68 65 20 69 63 6f 6e | 20 69 73 20 69 6e 76 65 |the icon| is inve|
|00005120| 72 74 65 64 20 74 6f 20 | 61 20 72 65 76 65 72 73 |rted to |a revers|
|00005130| 65 20 76 69 64 65 6f 20 | 72 65 70 72 65 73 65 6e |e video |represen|
|00005140| 74 61 74 69 6f 6e 0a 09 | 58 61 70 70 72 6f 78 69 |tation..|Xapproxi|
|00005150| 6d 61 74 65 6c 79 20 74 | 65 6e 20 6d 69 6e 75 74 |mately t|en minut|
|00005160| 65 73 20 70 72 69 6f 72 | 20 74 6f 20 61 20 73 63 |es prior| to a sc|
|00005170| 68 65 64 75 6c 65 64 20 | 61 70 70 6f 69 6e 74 6d |heduled |appointm|
|00005180| 65 6e 74 20 61 6e 64 20 | 72 65 6d 61 69 6e 73 20 |ent and |remains |
|00005190| 69 6e 76 65 72 74 65 64 | 0a 09 58 66 6f 72 20 74 |inverted|..Xfor t|
|000051a0| 68 65 20 64 75 72 61 74 | 69 6f 6e 20 6f 66 20 74 |he durat|ion of t|
|000051b0| 68 65 20 61 70 70 6f 69 | 6e 74 6d 65 6e 74 2e 0a |he appoi|ntment..|
|000051c0| 09 58 2e 4c 50 0a 09 58 | 57 68 65 6e 20 74 68 65 |.X.LP..X|When the|
|000051d0| 72 65 20 61 72 65 20 6e | 6f 20 61 70 70 6f 69 6e |re are n|o appoin|
|000051e0| 74 6d 65 6e 74 73 20 6f | 72 20 6e 6f 74 65 73 20 |tments o|r notes |
|000051f0| 72 65 6d 61 69 6e 69 6e | 67 20 66 6f 72 20 74 68 |remainin|g for th|
|00005200| 65 20 63 75 72 72 65 6e | 74 20 64 61 79 2c 0a 09 |e curren|t day,..|
|00005210| 58 61 6e 20 61 6c 74 65 | 72 6e 61 74 65 20 69 63 |Xan alte|rnate ic|
|00005220| 6f 6e 20 77 69 74 68 20 | 61 6e 20 65 6d 70 74 79 |on with |an empty|
|00005230| 20 70 61 67 65 20 69 73 | 20 64 69 73 70 6c 61 79 | page is| display|
|00005240| 65 64 20 69 6e 73 74 65 | 61 64 20 6f 66 20 74 68 |ed inste|ad of th|
|00005250| 65 0a 09 58 73 74 61 6e | 64 61 72 64 20 6f 72 20 |e..Xstan|dard or |
|00005260| 72 65 76 65 72 73 65 20 | 76 69 64 65 6f 20 69 63 |reverse |video ic|
|00005270| 6f 6e 73 2e 0a 09 58 46 | 6f 72 20 61 6c 6c 20 69 |ons...XF|or all i|
|00005280| 63 6f 6e 73 2c 20 74 6f | 64 61 79 27 73 20 6d 6f |cons, to|day's mo|
|00005290| 6e 74 68 20 61 6e 64 20 | 64 61 79 20 6f 66 20 6d |nth and |day of m|
|000052a0| 6f 6e 74 68 20 61 72 65 | 20 64 69 73 70 6c 61 79 |onth are| display|
|000052b0| 65 64 20 61 74 20 74 68 | 65 0a 09 58 62 75 74 74 |ed at th|e..Xbutt|
|000052c0| 6f 6e 20 6f 66 20 74 68 | 65 20 69 63 6f 6e 27 73 |on of th|e icon's|
|000052d0| 20 63 61 6c 65 6e 64 61 | 72 20 70 61 67 65 2e 0a | calenda|r page..|
|000052e0| 09 58 2e 53 53 20 22 45 | 6e 74 65 72 69 6e 67 20 |.X.SS "E|ntering |
|000052f0| 61 70 70 6f 69 6e 74 6d | 65 6e 74 73 22 0a 09 58 |appointm|ents"..X|
|00005300| 41 70 70 6f 69 6e 74 6d | 65 6e 74 73 20 63 61 6e |Appointm|ents can|
|00005310| 20 6f 6e 6c 79 20 62 65 | 20 65 6e 74 65 72 65 64 | only be| entered|
|00005320| 20 69 6e 20 74 68 65 20 | 64 61 79 20 64 69 73 70 | in the |day disp|
|00005330| 6c 61 79 2e 20 20 54 68 | 65 20 64 61 79 20 64 69 |lay. Th|e day di|
|00005340| 73 70 6c 61 79 20 70 72 | 65 73 65 6e 74 73 0a 09 |splay pr|esents..|
|00005350| 58 61 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 61 62 |Xa numbe|r of lab|
|00005360| 65 6c 6c 65 64 20 74 69 | 6d 65 20 73 6c 6f 74 73 |elled ti|me slots|
|00005370| 20 28 67 65 6e 65 72 61 | 6c 6c 79 20 33 30 20 6d | (genera|lly 30 m|
|00005380| 69 6e 75 74 65 20 69 6e | 74 65 72 76 61 6c 73 29 |inute in|tervals)|
|00005390| 20 61 73 20 77 65 6c 6c | 20 61 73 20 61 0a 09 58 | as well| as a..X|
|000053a0| 2e 49 20 6e 6f 74 65 73 | 0a 09 58 73 65 63 74 69 |.I notes|..Xsecti|
|000053b0| 6f 6e 20 61 74 20 74 68 | 65 20 65 6e 64 20 6f 66 |on at th|e end of|
|000053c0| 20 74 68 65 20 64 61 79 | 20 70 61 67 65 2c 20 74 | the day| page, t|
|000053d0| 6f 20 65 6e 74 65 72 20 | 72 65 6d 69 6e 64 65 72 |o enter |reminder|
|000053e0| 73 20 6e 6f 74 20 61 73 | 73 6f 63 69 61 74 65 64 |s not as|sociated|
|000053f0| 20 77 69 74 68 20 61 0a | 09 58 73 70 65 63 69 66 | with a.|.Xspecif|
|00005400| 69 63 20 74 69 6d 65 2e | 20 20 54 6f 20 65 6e 74 |ic time.| To ent|
|00005410| 65 72 20 61 6e 20 61 70 | 70 6f 69 6e 74 6d 65 6e |er an ap|pointmen|
|00005420| 74 2c 20 70 6f 73 69 74 | 69 6f 6e 20 74 68 65 20 |t, posit|ion the |
|00005430| 63 75 72 73 6f 72 20 6f | 76 65 72 20 74 68 65 20 |cursor o|ver the |
|00005440| 72 65 71 75 69 72 65 64 | 0a 09 58 74 69 6d 65 20 |required|..Xtime |
|00005450| 73 6c 6f 74 20 61 6e 64 | 20 70 72 65 73 73 20 74 |slot and| press t|
|00005460| 68 65 0a 09 58 2e 49 52 | 20 6d 6f 75 73 65 2d 4c |he..X.IR| mouse-L|
|00005470| 42 20 2e 0a 09 58 54 68 | 65 20 73 6c 6f 74 20 69 |B ...XTh|e slot i|
|00005480| 73 20 74 6f 67 67 6c 65 | 64 20 66 72 6f 6d 20 77 |s toggle|d from w|
|00005490| 68 69 74 65 20 74 6f 20 | 62 6c 61 63 6b 3b 20 6c |hite to |black; l|
|000054a0| 65 61 76 69 6e 67 20 74 | 68 65 20 63 75 72 73 6f |eaving t|he curso|
|000054b0| 72 20 70 6f 73 69 74 69 | 6f 6e 65 64 20 69 6e 20 |r positi|oned in |
|000054c0| 74 68 65 0a 09 58 73 6c | 6f 74 2c 20 74 79 70 65 |the..Xsl|ot, type|
|000054d0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 64 65 73 | appropr|iate des|
|000054e0| 63 72 69 70 74 69 76 65 | 20 74 65 78 74 2e 20 20 |criptive| text. |
|000054f0| 49 66 20 74 68 65 20 74 | 65 78 74 20 65 78 63 65 |If the t|ext exce|
|00005500| 65 64 73 20 74 68 65 20 | 73 69 7a 65 20 6f 66 20 |eds the |size of |
|00005510| 74 68 65 0a 09 58 77 69 | 6e 64 6f 77 2c 20 73 63 |the..Xwi|ndow, sc|
|00005520| 72 6f 6c 6c 20 62 75 74 | 74 6f 6e 73 20 77 69 6c |roll but|tons wil|
|00005530| 6c 20 61 70 70 65 61 72 | 20 74 6f 20 74 68 65 20 |l appear| to the |
|00005540| 72 69 67 68 74 2e 20 20 | 54 79 70 69 6e 67 20 6e |right. |Typing n|
|00005550| 65 77 20 74 65 78 74 20 | 69 6e 74 6f 20 74 68 65 |ew text |into the|
|00005560| 0a 09 58 74 69 6d 65 20 | 73 6c 6f 74 20 61 75 74 |..Xtime |slot aut|
|00005570| 6f 6d 61 74 69 63 61 6c | 6c 79 20 72 69 67 68 74 |omatical|ly right|
|00005580| 2d 6a 75 73 74 69 66 69 | 65 73 20 74 68 65 20 74 |-justifi|es the t|
|00005590| 65 78 74 20 61 6c 72 65 | 61 64 79 20 70 72 65 73 |ext alre|ady pres|
|000055a0| 65 6e 74 2c 20 73 6f 20 | 74 68 61 74 20 74 68 65 |ent, so |that the|
|000055b0| 0a 09 58 6e 65 77 20 74 | 65 78 74 20 69 73 20 61 |..Xnew t|ext is a|
|000055c0| 70 70 65 6e 64 65 64 2e | 20 20 54 6f 20 69 6e 64 |ppended.| To ind|
|000055d0| 69 63 61 74 65 20 74 68 | 65 20 64 75 72 61 74 69 |icate th|e durati|
|000055e0| 6f 6e 20 6f 66 20 61 6e | 79 20 61 70 70 6f 69 6e |on of an|y appoin|
|000055f0| 74 6d 65 6e 74 2c 20 63 | 6c 69 63 6b 20 74 68 65 |tment, c|lick the|
|00005600| 0a 09 58 2e 49 20 6d 6f | 75 73 65 2d 4d 42 0a 09 |..X.I mo|use-MB..|
|00005610| 58 69 6e 20 74 68 65 20 | 69 6e 69 74 69 61 6c 20 |Xin the |initial |
|00005620| 74 69 6d 65 20 73 6c 6f | 74 20 28 61 6e 79 20 65 |time slo|t (any e|
|00005630| 78 69 73 74 69 6e 67 20 | 64 75 72 61 74 69 6f 6e |xisting |duration|
|00005640| 20 61 72 72 6f 77 20 77 | 69 6c 6c 20 62 65 20 64 | arrow w|ill be d|
|00005650| 65 6c 65 74 65 64 29 3b | 0a 09 58 61 20 76 65 72 |eleted);|..Xa ver|
|00005660| 74 69 63 61 6c 20 69 6e | 64 69 63 61 74 6f 72 20 |tical in|dicator |
|00005670| 61 72 72 6f 77 20 61 70 | 70 65 61 72 73 20 61 6e |arrow ap|pears an|
|00005680| 64 20 66 6f 6c 6c 6f 77 | 73 20 74 68 65 20 63 75 |d follow|s the cu|
|00005690| 72 73 6f 72 2e 20 20 44 | 72 61 67 20 74 68 65 20 |rsor. D|rag the |
|000056a0| 63 75 72 73 6f 72 0a 09 | 58 74 6f 20 74 68 65 20 |cursor..|Xto the |
|000056b0| 6c 6f 63 61 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |location| of the |
|000056c0| 66 69 6e 61 6c 20 74 69 | 6d 65 20 73 6c 6f 74 20 |final ti|me slot |
|000056d0| 61 6e 64 20 72 65 6c 65 | 61 73 65 20 74 68 65 20 |and rele|ase the |
|000056e0| 62 75 74 74 6f 6e 2e 0a | 09 58 53 65 6c 65 63 74 |button..|.XSelect|
|000056f0| 69 6e 67 20 74 68 65 0a | 09 58 2e 49 20 6d 6f 75 |ing the.|.X.I mou|
|00005700| 73 65 2d 52 42 0a 09 58 | 69 6e 20 74 68 65 20 68 |se-RB..X|in the h|
|00005710| 69 67 68 6c 69 67 68 74 | 65 64 20 74 69 6d 65 20 |ighlight|ed time |
|00005720| 73 6c 6f 74 20 70 72 6f | 64 75 63 65 73 20 61 20 |slot pro|duces a |
|00005730| 70 6f 70 75 70 20 6d 65 | 6e 75 20 77 69 74 68 20 |popup me|nu with |
|00005740| 74 68 65 20 6f 70 74 69 | 6f 6e 73 0a 09 58 2e 42 |the opti|ons..X.B|
|00005750| 52 20 6d 6f 64 69 66 79 | 20 2c 0a 09 58 2e 42 52 |R modify| ,..X.BR|
|00005760| 20 63 75 74 20 2c 0a 09 | 58 2e 42 52 20 70 61 73 | cut ,..|X.BR pas|
|00005770| 74 65 20 2c 0a 09 58 2e | 42 52 20 63 6f 70 79 20 |te ,..X.|BR copy |
|00005780| 2c 0a 09 58 2e 42 52 20 | 64 65 6c 65 74 65 20 2c |,..X.BR |delete ,|
|00005790| 0a 09 58 61 6e 64 0a 09 | 58 2e 42 52 20 75 6e 64 |..Xand..|X.BR und|
|000057a0| 65 6c 65 74 65 20 2e 0a | 09 58 54 6f 20 64 65 6c |elete ..|.XTo del|
|000057b0| 65 74 65 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |ete the |current |
|000057c0| 61 70 70 6f 69 6e 74 6d | 65 6e 74 2c 20 73 74 6f |appointm|ent, sto|
|000057d0| 72 69 6e 67 20 69 74 20 | 69 6e 20 61 20 74 65 6d |ring it |in a tem|
|000057e0| 70 6f 72 61 72 79 20 62 | 75 66 66 65 72 2c 0a 09 |porary b|uffer,..|
|000057f0| 58 73 65 6c 65 63 74 20 | 74 68 65 0a 09 58 2e 42 |Xselect |the..X.B|
|00005800| 20 63 75 74 0a 09 58 6f | 70 74 69 6f 6e 2e 20 20 | cut..Xo|ption. |
|00005810| 54 6f 20 63 6f 70 79 20 | 74 68 65 20 74 65 78 74 |To copy |the text|
|00005820| 20 6f 66 20 61 6e 20 61 | 70 70 6f 69 6e 74 6d 65 | of an a|ppointme|
|00005830| 6e 74 20 69 6e 74 6f 20 | 74 68 65 20 62 75 66 66 |nt into |the buff|
|00005840| 65 72 20 77 69 74 68 6f | 75 74 20 64 65 6c 65 74 |er witho|ut delet|
|00005850| 69 6e 67 0a 09 58 69 74 | 2c 20 73 65 6c 65 63 74 |ing..Xit|, select|
|00005860| 0a 09 58 2e 42 52 20 63 | 6f 70 79 20 2c 0a 09 58 |..X.BR c|opy ,..X|
|00005870| 54 6f 20 70 6c 61 63 65 | 20 74 68 65 20 74 65 78 |To place| the tex|
|00005880| 74 20 6f 66 20 61 20 62 | 75 66 66 65 72 2d 73 74 |t of a b|uffer-st|
|00005890| 6f 72 65 64 20 61 70 70 | 6f 69 6e 74 6d 65 6e 74 |ored app|ointment|
|000058a0| 20 69 6e 74 6f 20 61 20 | 74 69 6d 65 20 73 6c 6f | into a |time slo|
|000058b0| 74 2c 20 63 6c 69 63 6b | 20 74 68 65 0a 09 58 2e |t, click| the..X.|
|000058c0| 49 20 6d 6f 75 73 65 2d | 52 42 0a 09 58 69 6e 20 |I mouse-|RB..Xin |
|000058d0| 74 68 65 20 6e 65 77 20 | 74 69 6d 65 20 73 6c 6f |the new |time slo|
|000058e0| 74 2c 20 61 6e 64 20 74 | 68 65 6e 20 73 65 6c 65 |t, and t|hen sele|
|000058f0| 63 74 20 74 68 65 0a 09 | 58 2e 42 20 70 61 73 74 |ct the..|X.B past|
|00005900| 65 0a 09 58 6f 70 74 69 | 6f 6e 2e 0a 09 58 2e 4c |e..Xopti|on...X.L|
|00005910| 50 0a 09 58 41 6e 20 61 | 70 70 6f 69 6e 74 6d 65 |P..XAn a|ppointme|
|00005920| 6e 74 20 6d 61 79 20 62 | 65 20 66 75 72 74 68 65 |nt may b|e furthe|
|00005930| 72 20 6d 6f 64 69 66 69 | 65 64 20 62 65 20 73 65 |r modifi|ed be se|
|00005940| 6c 65 63 74 69 6e 67 20 | 74 68 65 0a 09 58 2e 42 |lecting |the..X.B|
|00005950| 20 6d 6f 64 69 66 79 0a | 09 58 6f 70 74 69 6f 6e | modify.|.Xoption|
|00005960| 2e 20 20 54 68 69 73 20 | 63 61 75 73 65 73 20 61 |. This |causes a|
|00005970| 6e 20 6f 70 74 69 6f 6e | 73 20 73 75 62 77 69 6e |n option|s subwin|
|00005980| 64 6f 77 20 74 6f 20 61 | 70 70 65 61 72 2c 20 69 |dow to a|ppear, i|
|00005990| 6e 20 77 68 69 63 68 20 | 74 68 65 20 75 73 65 72 |n which |the user|
|000059a0| 0a 09 58 6d 61 79 20 73 | 70 65 63 69 66 79 20 74 |..Xmay s|pecify t|
|000059b0| 68 61 74 20 74 68 65 20 | 61 70 70 6f 69 6e 74 6d |hat the |appointm|
|000059c0| 65 6e 74 20 69 73 20 74 | 6f 20 62 65 20 72 65 70 |ent is t|o be rep|
|000059d0| 65 61 74 65 64 20 65 76 | 65 72 79 20 64 61 79 2c |eated ev|ery day,|
|000059e0| 20 66 6f 72 20 73 65 6c | 65 63 74 65 64 0a 09 58 | for sel|ected..X|
|000059f0| 77 65 65 6b 73 20 6f 66 | 20 74 68 65 20 6d 6f 6e |weeks of| the mon|
|00005a00| 74 68 20 28 66 69 72 73 | 74 20 74 68 72 6f 75 67 |th (firs|t throug|
|00005a10| 68 20 66 69 66 74 68 2c | 20 6f 72 20 6c 61 73 74 |h fifth,| or last|
|00005a20| 29 2c 20 65 76 65 72 79 | 20 6d 6f 6e 74 68 2c 20 |), every| month, |
|00005a30| 61 6e 64 2f 6f 72 20 65 | 76 65 72 79 0a 09 58 79 |and/or e|very..Xy|
|00005a40| 65 61 72 2e 20 20 41 6c | 74 65 72 6e 61 74 69 76 |ear. Al|ternativ|
|00005a50| 65 6c 79 2c 0a 09 58 74 | 68 65 20 61 70 70 6f 69 |ely,..Xt|he appoi|
|00005a60| 6e 74 6d 65 6e 74 20 6d | 61 79 20 62 65 20 72 65 |ntment m|ay be re|
|00005a70| 70 65 61 74 65 64 20 61 | 74 20 61 20 73 70 65 63 |peated a|t a spec|
|00005a80| 69 66 69 65 64 20 69 6e | 74 65 72 76 61 6c 20 6f |ified in|terval o|
|00005a90| 66 20 64 61 79 73 2e 20 | 20 54 68 65 20 75 73 65 |f days. | The use|
|00005aa0| 72 20 63 61 6e 0a 09 58 | 61 6c 73 6f 20 73 70 65 |r can..X|also spe|
|00005ab0| 63 69 66 79 20 61 20 70 | 65 72 69 6f 64 20 6f 66 |cify a p|eriod of|
|00005ac0| 20 64 61 79 73 20 70 72 | 69 6f 72 20 74 6f 20 74 | days pr|ior to t|
|00005ad0| 68 65 20 61 70 70 6f 69 | 6e 74 6d 65 6e 74 20 66 |he appoi|ntment f|
|00005ae0| 6f 72 20 77 68 69 63 68 | 20 61 20 72 65 6d 69 6e |or which| a remin|
|00005af0| 64 65 72 0a 09 58 77 69 | 6c 6c 20 62 65 20 70 72 |der..Xwi|ll be pr|
|00005b00| 69 6e 74 65 64 2e 20 20 | 46 6f 72 20 65 78 61 6d |inted. |For exam|
|00005b10| 70 6c 65 2c 20 6f 6e 65 | 20 63 6f 75 6c 64 20 73 |ple, one| could s|
|00005b20| 70 65 63 69 66 79 20 74 | 68 61 74 20 61 20 6d 65 |pecify t|hat a me|
|00005b30| 65 74 69 6e 67 20 69 73 | 20 74 6f 20 6f 63 63 75 |eting is| to occu|
|00005b40| 72 0a 09 58 6f 6e 20 74 | 68 65 20 66 69 72 73 74 |r..Xon t|he first|
|00005b50| 20 61 6e 64 20 74 68 69 | 72 64 20 54 75 65 73 64 | and thi|rd Tuesd|
|00005b60| 61 79 20 6f 66 20 74 68 | 65 20 6d 6f 6e 74 68 2c |ay of th|e month,|
|00005b70| 20 69 6e 20 70 65 72 70 | 65 74 75 69 74 79 2c 20 | in perp|etuity, |
|00005b80| 62 79 20 73 65 6c 65 63 | 74 69 6e 67 0a 09 58 74 |by selec|ting..Xt|
|00005b90| 68 65 20 72 65 70 65 61 | 74 20 6f 70 74 69 6f 6e |he repea|t option|
|00005ba0| 73 0a 09 58 2e 42 52 20 | 22 53 65 6c 65 63 74 65 |s..X.BR |"Selecte|
|00005bb0| 64 20 57 65 65 6b 22 20 | 2c 0a 09 58 2e 42 52 20 |d Week" |,..X.BR |
|00005bc0| 22 45 76 65 72 79 20 4d | 6f 6e 74 68 22 20 2c 0a |"Every M|onth" ,.|
|00005bd0| 09 58 61 6e 64 0a 09 58 | 2e 42 52 20 22 45 76 65 |.Xand..X|.BR "Eve|
|00005be0| 72 79 20 59 65 61 72 22 | 20 2c 0a 09 58 61 73 20 |ry Year"| ,..Xas |
|00005bf0| 77 65 6c 6c 20 61 73 20 | 74 68 65 20 73 65 6c 65 |well as |the sele|
|00005c00| 63 74 65 64 20 77 65 65 | 6b 20 69 6e 64 69 63 61 |cted wee|k indica|
|00005c10| 74 6f 72 73 0a 09 58 2e | 42 20 31 73 74 0a 09 58 |tors..X.|B 1st..X|
|00005c20| 61 6e 64 0a 09 58 2e 42 | 52 20 33 72 64 20 2e 0a |and..X.B|R 3rd ..|
|00005c30| 09 58 41 66 74 65 72 20 | 73 65 6c 65 63 74 69 6e |.XAfter |selectin|
|00005c40| 67 20 74 68 65 20 61 70 | 70 6f 69 6e 74 6d 65 6e |g the ap|pointmen|
|00005c50| 74 20 6f 70 74 69 6f 6e | 73 2c 20 74 68 65 20 75 |t option|s, the u|
|00005c60| 73 65 72 20 63 61 6e 20 | 73 65 6c 65 63 74 20 65 |ser can |select e|
|00005c70| 69 74 68 65 72 0a 09 58 | 2e 42 20 41 63 63 65 70 |ither..X|.B Accep|
|00005c80| 74 0a 09 58 6f 72 0a 09 | 58 2e 42 20 41 62 6f 72 |t..Xor..|X.B Abor|
|00005c90| 74 0a 09 58 74 6f 20 63 | 6c 6f 73 65 20 74 68 65 |t..Xto c|lose the|
|00005ca0| 20 6f 70 74 69 6f 6e 73 | 20 73 75 62 77 69 6e 64 | options| subwind|
|00005cb0| 6f 77 2e 0a 09 58 2e 4c | 50 0a 09 58 54 6f 20 64 |ow...X.L|P..XTo d|
|00005cc0| 65 6c 65 74 65 20 74 68 | 65 20 63 75 72 72 65 6e |elete th|e curren|
|00005cd0| 74 20 61 70 70 6f 69 6e | 74 6d 65 6e 74 2c 20 73 |t appoin|tment, s|
|00005ce0| 65 6c 65 63 74 20 74 68 | 65 0a 09 58 2e 42 20 64 |elect th|e..X.B d|
|00005cf0| 65 6c 65 74 65 0a 09 58 | 6f 70 74 69 6f 6e 2e 20 |elete..X|option. |
|00005d00| 20 49 66 20 74 68 65 20 | 61 70 70 6f 69 6e 74 6d | If the |appointm|
|00005d10| 65 6e 74 20 69 6e 20 71 | 75 65 73 74 69 6f 6e 20 |ent in q|uestion |
|00005d20| 69 73 20 72 65 63 75 72 | 72 69 6e 67 2c 20 61 20 |is recur|ring, a |
|00005d30| 73 70 65 63 69 61 6c 20 | 73 75 62 77 69 6e 64 6f |special |subwindo|
|00005d40| 77 0a 09 58 61 70 70 65 | 61 72 73 20 77 68 69 63 |w..Xappe|ars whic|
|00005d50| 68 20 61 6c 6c 6f 77 73 | 20 74 68 65 20 75 73 65 |h allows| the use|
|00005d60| 72 20 74 6f 20 64 65 6c | 65 74 65 20 65 76 65 72 |r to del|ete ever|
|00005d70| 79 20 6f 63 63 75 72 72 | 65 6e 63 65 20 6f 72 20 |y occurr|ence or |
|00005d80| 6a 75 73 74 20 74 6f 64 | 61 79 27 73 0a 09 58 6f |just tod|ay's..Xo|
|00005d90| 63 63 75 72 72 65 6e 63 | 65 2e 20 20 49 66 20 74 |ccurrenc|e. If t|
|00005da0| 68 65 20 6c 61 74 74 65 | 72 20 69 73 20 73 65 6c |he latte|r is sel|
|00005db0| 65 63 74 65 64 2c 20 74 | 68 65 0a 09 58 2e 42 20 |ected, t|he..X.B |
|00005dc0| 75 6e 64 65 6c 65 74 65 | 0a 09 58 6f 70 74 69 6f |undelete|..Xoptio|
|00005dd0| 6e 20 69 73 20 61 63 74 | 69 76 61 74 65 64 2c 20 |n is act|ivated, |
|00005de0| 77 68 69 63 68 20 61 6c | 6c 6f 77 73 20 74 6f 64 |which al|lows tod|
|00005df0| 61 79 27 73 20 6f 63 63 | 75 72 72 65 6e 63 65 20 |ay's occ|urrence |
|00005e00| 74 6f 20 62 65 20 72 65 | 69 6e 73 74 61 74 65 64 |to be re|instated|
|00005e10| 2e 0a 09 58 2e 53 53 20 | 22 45 6e 74 65 72 69 6e |...X.SS |"Enterin|
|00005e20| 67 20 6e 6f 74 65 73 22 | 0a 09 58 45 6e 74 65 72 |g notes"|..XEnter|
|00005e30| 69 6e 67 20 6e 6f 74 65 | 73 20 69 73 20 73 69 6d |ing note|s is sim|
|00005e40| 69 6c 61 72 20 74 6f 20 | 65 6e 74 65 72 69 6e 67 |ilar to |entering|
|00005e50| 20 61 70 70 6f 69 6e 74 | 6d 65 6e 74 73 2c 20 65 | appoint|ments, e|
|00005e60| 78 63 65 70 74 20 74 68 | 61 74 20 6e 6f 20 64 75 |xcept th|at no du|
|00005e70| 72 61 74 69 6f 6e 0a 09 | 58 61 72 72 6f 77 73 20 |ration..|Xarrows |
|00005e80| 63 61 6e 20 62 65 20 61 | 70 70 65 6e 64 65 64 2c |can be a|ppended,|
|00005e90| 20 61 6e 64 20 74 68 65 | 20 6d 6f 64 69 66 79 20 | and the| modify |
|00005ea0| 70 61 6e 65 6c 20 61 6c | 6c 6f 77 73 20 74 68 65 |panel al|lows the|
|00005eb0| 20 75 73 65 72 20 74 6f | 20 69 6e 64 69 63 61 74 | user to| indicat|
|00005ec0| 65 0a 09 58 77 68 65 74 | 68 65 72 20 6f 72 20 6e |e..Xwhet|her or n|
|00005ed0| 6f 74 20 74 68 65 20 6e | 6f 74 65 20 69 73 20 74 |ot the n|ote is t|
|00005ee0| 6f 20 62 65 20 75 73 65 | 64 20 74 6f 20 6d 61 72 |o be use|d to mar|
|00005ef0| 6b 20 74 68 65 20 6d 6f | 6e 74 68 20 61 6e 64 20 |k the mo|nth and |
|00005f00| 79 65 61 72 20 64 69 73 | 70 6c 61 79 73 2c 0a 09 |year dis|plays,..|
|00005f10| 58 6f 72 20 74 6f 20 62 | 65 20 70 72 69 6e 74 65 |Xor to b|e printe|
|00005f20| 64 20 77 68 65 6e 20 74 | 68 65 0a 09 58 2e 42 20 |d when t|he..X.B |
|00005f30| 5c 2d 50 0a 09 58 6f 70 | 74 69 6f 6e 20 69 73 20 |\-P..Xop|tion is |
|00005f40| 69 6e 76 6f 6b 65 64 2e | 0a 09 58 2e 53 53 20 22 |invoked.|..X.SS "|
|00005f50| 50 72 69 6e 74 69 6e 67 | 20 61 70 70 6f 69 6e 74 |Printing| appoint|
|00005f60| 6d 65 6e 74 73 22 0a 09 | 58 54 68 65 0a 09 58 2e |ments"..|XThe..X.|
|00005f70| 42 20 50 72 69 6e 74 0a | 09 58 62 75 74 74 6f 6e |B Print.|.Xbutton|
|00005f80| 20 70 72 69 6e 74 73 20 | 61 20 63 6f 70 79 20 6f | prints |a copy o|
|00005f90| 66 20 74 68 65 20 64 61 | 79 2c 20 77 65 65 6b 2c |f the da|y, week,|
|00005fa0| 20 6f 72 20 6d 6f 6e 74 | 68 20 64 69 73 70 6c 61 | or mont|h displa|
|00005fb0| 79 2e 20 20 50 72 65 73 | 73 69 6e 67 20 74 68 65 |y. Pres|sing the|
|00005fc0| 0a 09 58 2e 49 20 6d 6f | 75 73 65 2d 52 42 0a 09 |..X.I mo|use-RB..|
|00005fd0| 58 6f 76 65 72 20 74 68 | 69 73 20 62 75 74 74 6f |Xover th|is butto|
|00005fe0| 6e 20 70 72 6f 64 75 63 | 65 73 20 61 20 70 6f 70 |n produc|es a pop|
|00005ff0| 75 70 20 6d 65 6e 75 20 | 77 68 69 63 68 20 61 6c |up menu |which al|
|00006000| 6c 6f 77 73 20 65 69 74 | 68 65 72 20 61 20 72 61 |lows eit|her a ra|
|00006010| 73 74 65 72 20 69 6d 61 | 67 65 20 6f 72 0a 09 58 |ster ima|ge or..X|
|00006020| 61 20 5c 2a 28 50 73 20 | 76 65 72 73 69 6f 6e 20 |a \*(Ps |version |
|00006030| 6f 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 64 |of the c|urrent d|
|00006040| 69 73 70 6c 61 79 20 74 | 6f 20 62 65 20 70 72 69 |isplay t|o be pri|
|00006050| 6e 74 65 64 2e 20 20 41 | 20 74 68 69 72 64 20 6f |nted. A| third o|
|00006060| 70 74 69 6f 6e 20 61 6c | 6c 6f 77 73 0a 09 58 6d |ption al|lows..Xm|
|00006070| 6f 64 69 66 69 63 61 74 | 69 6f 6e 20 6f 66 20 74 |odificat|ion of t|
|00006080| 68 65 20 70 72 69 6e 74 | 20 63 6f 6d 6d 61 6e 64 |he print| command|
|00006090| 2e 20 20 54 68 65 20 64 | 65 66 61 75 6c 74 20 70 |. The d|efault p|
|000060a0| 72 69 6e 74 20 63 6f 6d | 6d 61 6e 64 20 69 73 20 |rint com|mand is |
|000060b0| 74 61 6b 65 6e 20 66 72 | 6f 6d 0a 09 58 74 68 65 |taken fr|om..Xthe|
|000060c0| 20 66 69 72 73 74 20 70 | 72 6f 76 69 64 65 64 20 | first p|rovided |
|000060d0| 62 79 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |by the f|ollowing|
|000060e0| 20 73 6f 75 72 63 65 73 | 3a 20 74 68 65 20 0a 09 | sources|: the ..|
|000060f0| 58 2e 49 20 24 48 4f 4d | 45 2f 2e 64 65 66 61 75 |X.I $HOM|E/.defau|
|00006100| 6c 74 73 0a 09 58 66 69 | 6c 65 2c 20 74 68 65 0a |lts..Xfi|le, the.|
|00006110| 09 58 2e 49 20 50 52 49 | 4e 54 45 52 0a 09 58 65 |.X.I PRI|NTER..Xe|
|00006120| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 76 61 72 69 61 |nvironme|nt varia|
|00006130| 62 6c 65 2c 20 61 6e 64 | 20 74 68 65 0a 09 58 2e |ble, and| the..X.|
|00006140| 49 20 50 52 49 4e 54 5f | 43 4d 44 0a 09 58 76 61 |I PRINT_|CMD..Xva|
|00006150| 6c 75 65 20 70 72 6f 76 | 69 64 65 64 20 62 79 20 |lue prov|ided by |
|00006160| 74 68 65 20 73 79 73 74 | 65 6d 20 6d 61 6e 61 67 |the syst|em manag|
|00006170| 65 72 20 61 74 20 74 68 | 65 20 74 69 6d 65 20 6f |er at th|e time o|
|00006180| 66 20 69 6e 73 74 61 6c | 6c 61 74 69 6f 6e 2e 0a |f instal|lation..|
|00006190| 09 58 2e 53 53 20 22 53 | 61 76 69 6e 67 20 6f 75 |.X.SS "S|aving ou|
|000061a0| 74 64 61 74 65 64 20 61 | 70 70 6f 69 6e 74 6d 65 |tdated a|ppointme|
|000061b0| 6e 74 73 22 0a 09 58 41 | 70 70 6f 69 6e 74 6d 65 |nts"..XA|ppointme|
|000061c0| 6e 74 73 20 61 72 65 20 | 72 65 63 6f 72 64 65 64 |nts are |recorded|
|000061d0| 20 69 6e 20 61 20 66 69 | 6c 65 20 6e 61 6d 65 64 | in a fi|le named|
|000061e0| 0a 09 58 2e 49 52 20 2e | 61 70 70 6f 69 6e 74 6d |..X.IR .|appointm|
|000061f0| 65 6e 74 73 20 2e 0a 09 | 58 49 66 20 74 68 65 0a |ents ...|XIf the.|
|00006200| 09 58 2e 42 20 5c 2d 6f | 0a 09 58 6f 70 74 69 6f |.X.B \-o|..Xoptio|
|00006210| 6e 20 69 73 20 69 6e 20 | 65 66 66 65 63 74 2c 20 |n is in |effect, |
|00006220| 61 74 20 74 68 65 20 65 | 6e 64 20 6f 66 20 61 20 |at the e|nd of a |
|00006230| 79 65 61 72 20 61 6c 6c | 20 61 70 70 6f 69 6e 74 |year all| appoint|
|00006240| 6d 65 6e 74 73 20 66 6f | 72 20 74 68 65 0a 09 58 |ments fo|r the..X|
|00006250| 70 61 73 74 20 79 65 61 | 72 20 61 72 65 20 63 6f |past yea|r are co|
|00006260| 70 69 65 64 20 69 6e 74 | 6f 20 61 20 73 70 65 63 |pied int|o a spec|
|00006270| 69 61 6c 20 66 69 6c 65 | 20 77 69 74 68 20 61 20 |ial file| with a |
|00006280| 6e 61 6d 65 64 0a 09 58 | 2e 49 20 2e 61 70 70 6f |named..X|.I .appo|
|00006290| 69 6e 74 6d 65 6e 74 73 | 2e 79 79 0a 09 58 28 77 |intments|.yy..X(w|
|000062a0| 68 65 72 65 0a 09 58 2e | 49 20 79 79 0a 09 58 63 |here..X.|I yy..Xc|
|000062b0| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 66 69 6e 61 |ontains |the fina|
|000062c0| 6c 20 74 77 6f 20 64 69 | 67 69 74 73 20 6f 66 20 |l two di|gits of |
|000062d0| 74 68 65 20 70 61 73 74 | 20 79 65 61 72 29 2e 20 |the past| year). |
|000062e0| 20 54 68 65 73 65 20 61 | 70 70 6f 69 6e 74 6d 65 | These a|ppointme|
|000062f0| 6e 74 73 20 61 72 65 20 | 74 68 65 6e 0a 09 58 64 |nts are |then..Xd|
|00006300| 65 6c 65 74 65 64 20 66 | 72 6f 6d 20 74 68 65 20 |eleted f|rom the |
|00006310| 63 75 72 72 65 6e 74 0a | 09 58 2e 49 20 2e 61 70 |current.|.X.I .ap|
|00006320| 70 6f 69 6e 74 6d 65 6e | 74 73 0a 09 58 66 69 6c |pointmen|ts..Xfil|
|00006330| 65 2e 0a 09 58 2e 53 53 | 20 22 45 78 61 6d 69 6e |e...X.SS| "Examin|
|00006340| 69 6e 67 20 6f 74 68 65 | 72 20 61 70 70 6f 69 6e |ing othe|r appoin|
|00006350| 74 6d 65 6e 74 20 66 69 | 6c 65 73 22 0a 09 58 54 |tment fi|les"..XT|
|00006360| 68 65 0a 09 58 2e 42 20 | 46 69 6c 65 0a 09 58 62 |he..X.B |File..Xb|
|00006370| 75 74 74 6f 6e 20 64 69 | 73 70 6c 61 79 73 20 61 |utton di|splays a|
|00006380| 20 77 69 6e 64 6f 77 20 | 69 6e 20 77 68 69 63 68 | window |in which|
|00006390| 20 61 6e 20 61 6c 74 65 | 72 6e 61 74 65 0a 09 58 | an alte|rnate..X|
|000063a0| 2e 49 20 2e 61 70 70 6f | 69 6e 74 6d 65 6e 74 73 |.I .appo|intments|
|000063b0| 0a 09 58 66 69 6c 65 20 | 63 61 6e 20 62 65 20 73 |..Xfile |can be s|
|000063c0| 70 65 63 69 66 69 65 64 | 2e 20 20 54 68 69 73 20 |pecified|. This |
|000063d0| 69 73 20 75 73 65 66 75 | 6c 20 66 6f 72 20 6d 61 |is usefu|l for ma|
|000063e0| 69 6e 74 61 69 6e 69 6e | 67 20 6d 75 6c 74 69 70 |intainin|g multip|
|000063f0| 6c 65 20 61 70 70 6f 69 | 6e 74 6d 65 6e 74 0a 09 |le appoi|ntment..|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.