home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume16 / month8.7 / part06 < prev    next >
Encoding:
Internet Message Format  |  1988-11-08  |  24.8 KB

  1. Subject:  v16i059:  A visual calendar and appointment system, Part06/06
  2. Newsgroups: comp.sources.unix
  3. Sender: sources
  4. Approved: rsalz@uunet.UU.NET
  5.  
  6. Submitted-by: Michael Morrell <hplabs!hpda!morrell>
  7. Posting-number: Volume 16, Issue 59
  8. Archive-name: month8.7/part06
  9.  
  10. # This is a shell archive.  Remove anything before this line,
  11. # then unpack it by saving it in a file and typing "sh file".
  12. # This archive contains:
  13. #    chmonth.1    month.1        xmonthd.1    month.help.n    
  14. LANG=""; export LANG
  15.  
  16. echo x - chmonth.1
  17. sed 's/^@//' >chmonth.1 <<'@EOF'
  18. .TH CHMONTH 1 "LOCAL"
  19. .SH NAME
  20. chmonth \- change .month file to current version of month
  21. .SH SYNOPSIS
  22. .B chmonth
  23. [
  24. .I user
  25. ]
  26. .br
  27. .B chmonths
  28. .SH DESCRIPTION
  29. .IR Chmonth (1)
  30. should be used to update an existing
  31. .B .month
  32. file whenever a newer version of
  33. .IR month (1)
  34. is released.
  35. .PP
  36. Specifying a user name on the command line will cause that user's .month file
  37. to be changed instead of your own.
  38. .PP
  39. .I Chmonths
  40. searches the file system and runs
  41. .I chmonth
  42. on all
  43. .B .month
  44. files found.
  45. .\".SH CAVEATS/BUGS
  46. .SH AUTHOR
  47. James Hull
  48. .SH FILES
  49. @~/.month
  50. .SH SEE ALSO
  51. month(1).
  52. @EOF
  53.  
  54. chmod 664 chmonth.1
  55.  
  56. echo x - month.1
  57. sed 's/^@//' >month.1 <<'@EOF'
  58. .TH MONTH 1 "Version 8.7" "LOCAL"
  59. .SH NAME
  60. month \- a visual monthly calendar and time/event browser
  61. .SH SYNOPSIS
  62. .B month
  63. [
  64. .B \-AaIiKkOoRr
  65. ] [
  66. .BR \-tS | \-tD | \-tE
  67. ] [
  68. .I date
  69. ] [
  70. .I user
  71. ]
  72. .br
  73. .B month
  74. .BI \-B days
  75. [
  76. .B \-V
  77. ] [
  78. .I date
  79. ] [
  80. .I user
  81. ]
  82. .br
  83. .B month
  84. .B \-V
  85. .br
  86. .B monthd
  87. [
  88. .BI \-i minutes
  89. ]
  90. .SH DESCRIPTION
  91. .SS Overview
  92. In the first form,
  93. .IR month (1)
  94. displays a calendar of the current month of the current year,
  95. with the current day highlighted.
  96. It then allows the user to browse to any month/day/year desired
  97. (between 1/1/1760 and 12/31/9999),
  98. and to schedule and recall events for a day or for some
  99. regular repeating series of days.
  100. .PP
  101. There are four flags which control various functions of \fImonth\fP.
  102. The state of these flags is displayed above the calendar
  103. (a \fBhighlighted\fP letter indicates the flag is set).
  104. These flags may be set or reset from the command line, from commands,
  105. or from the
  106. .B MONTH
  107. environment variable.
  108. Their use is explained below.
  109. .PP
  110. If compiled with MULTIUSER=1,
  111. .IR month (1)
  112. can be used to post or examine events in another user's event database.
  113. When accessing another user's event database,
  114. the following restrictions apply:
  115. .RS 3
  116. .IP 1) 3
  117. Private events are not accessible.
  118. .IP 2)
  119. Only those events posted by the month user may be edited or deleted.
  120. .IP 3)
  121. The Keep old events flag is permanently set.
  122. .RE
  123. .SS Screen Areas
  124. There are five distinct areas of the screen:
  125. the \fIdays\fP area where the days of the month are listed in calendar format,
  126. the \fImonths\fP area where the months of the year are listed,
  127. the \fIyears\fP area where a sequence of ten years are listed,
  128. the \fIscan\fP area which is the first line of the screen and is used
  129. for displaying messages,
  130. and the \fIschedule\fP area,
  131. which may be blank and occupies lines 18-24 on the terminal
  132. (lines below 24 are not used).
  133. .SS Dates
  134. .I Month
  135. keeps track of two dates at all times:
  136. the \fIcurrent date\fP and \fItoday's date\fP.
  137. Today's date is simply the date on which the program is being run,
  138. while the current date is a date typically initialized to today's date
  139. but can be changed to any other date by the user.
  140. The current date is always \fBhighlighted\fP in the
  141. days, months, and years areas.
  142. .SS Events
  143. Events are defined by the following properties:
  144. .RS 3
  145. .IP \- 3
  146. Private.
  147. This flag indicates whether the event is private and therefore
  148. hidden from other \fImonth\fP users.
  149. .IP \-
  150. Anti.
  151. This flag indicates whether the event is an anti-event which cancels
  152. specific instances of another event.
  153. .IP \-
  154. Regularity.
  155. This specifies how often the event occurs.
  156. .IP \-
  157. Start Time.
  158. This specifies what time of day the event is to start.
  159. .IP \-
  160. Duration.
  161. This specifies how long the event is to last.
  162. .IP \-
  163. End Time.
  164. This specifies what time of day the event is to end.
  165. .IP \-
  166. Description.
  167. This is a one-line description of what the event is.
  168. .IP \-
  169. Warning Time.
  170. This specifies how much in advance of the starting time
  171. the user should be informed of the event.
  172. .IP \-
  173. Owner.
  174. This is the name of the person who posted the event.
  175. .RE
  176. .SS Commands
  177. The following commands may be entered when in the days, months, or years areas:
  178. .PP
  179. .I Quitting
  180. .RS
  181. The \fBQ\fP command is used to quit
  182. .IR month (1).
  183. This will update the current event database if any changes have been made.
  184. The update will also delete all old events from the database.
  185. The event database is in a file named ".month" in the user's login directory.
  186. The user's interrupt and quit characters
  187. (normally, control-C and control-\\)
  188. can be used any time for an immediate abort and no event database update.
  189. These characters can be set or displayed using
  190. .IR stty (1).
  191. .PP
  192. Any time the program is terminated in any of these ways,
  193. the user will be informed of whether the event database has been updated.
  194. .RE
  195. .I Help
  196. .RS
  197. The \fB?\fP command prints a list of all commands.
  198. This command can currently only be executed from the days, months,
  199. or years areas.
  200. .RE
  201. .I Cursor motion
  202. .RS
  203. The
  204. .BR h ", " l ", " k ", "
  205. .RB "and " j
  206. commands are used to move the cursor left, right, up, and down,
  207. respectively within a screen area.
  208. These commands work in a wrap-around fashion and
  209. do not change the current date.
  210. Only
  211. .BR h " and " l
  212. are valid in the years area while only
  213. .BR j " and " k
  214. are valid in the months area.
  215. .RE
  216. .I Selection
  217. .RS
  218. The date the cursor is on is made to be the current date by \fIselecting\fP it.
  219. \fB<CR>\fP and \fB<LF>\fP are used to select items/commands
  220. at the cursor position.
  221. .RE
  222. .I Direct entry of numbers
  223. .RS
  224. The user may type the number of a desired month, day, or year
  225. whenever the cursor is appropriately positioned.
  226. This is true in all screen areas.
  227. The user can also directly enter the hours and minutes in the schedule area.
  228. \fB<ESC>\fP is used to abort the function.
  229. .RE
  230. .I Date Incrementing/Decrementing
  231. .RS
  232. The
  233. .BR + " and " -
  234. commands are used to increment or decrement the current month, day, or year.
  235. When these commands are entered,
  236. the user is prompted for the amount of the increment or decrement.
  237. .PP
  238. The
  239. .BR n " and " p
  240. commands are synonyms for
  241. .BR +1 " and " -1 ,
  242. respectively.
  243. This makes it simple to go directly from the last day of one month to
  244. the first day of the next or vice versa.
  245. .RE
  246. .I Time browsing
  247. .RS
  248. The
  249. .BR m ", " d ", and " y
  250. commands are used to move into the months area, the days area,
  251. or the years area, respectively.
  252. This is only when time browsing in these three areas.
  253. To set a particular month or year as the current date,
  254. move to the appropriate area and onto the desired month or year,
  255. and select it (\fB<CR>\fP).
  256. .PP
  257. The
  258. .BR n " and " p
  259. commands can be used to go to the next or previous month, day, or year,
  260. depending on which screen area the user is in.
  261. .PP
  262. The \fBM\fP command is used to mark a specific date.
  263. The user is prompted for an identifier which is a single digit between
  264. .BR 0 " and " 9 .
  265. Once a mark has been set at a certain date,
  266. the user may jump to that date from any other date with the \fB'\fP command,
  267. described below.
  268. .PP
  269. The \fB'\fP command is used to go to a previously set mark.
  270. The user is prompted for the mark's identifying digit.
  271. .PP
  272. The \fB;\fP command is used to go directly to (and select) the
  273. previously selected date.
  274. Use the same command again to return to the original date.
  275. .PP
  276. The \fBT\fP command is used to go directly to (and select) today's date,
  277. which is typically the date initially displayed upon startup.
  278. .PP
  279. The \fB/\fP command is used to go directly to (and select) a date
  280. fully specified by the user.
  281. A prompt is given to which the user responds with a date in the form
  282. .IB m / d /\c
  283. .IR y ,
  284. such as 5/6/86.
  285. If \fIy\fP is less than 100,
  286. the year selected is from the range [current_year-50, current_year+49].
  287. For example,
  288. if the current year is 1985,
  289. a date specified as
  290. .B 1/1/6
  291. would mean
  292. .B "Jan 1, 2006"
  293. not
  294. .BR "Jan 1, 1906" ,
  295. but
  296. .B 1/1/40
  297. would mean
  298. .BR "Jan 1, 1940" .
  299. If the year is omitted,
  300. the current year is assumed.
  301. .RE
  302. .I Overviewing a month
  303. .RS
  304. The \fBA\fP command will toggle a flag which, when set,
  305. will mark all the days on the calendar that have
  306. at least one event posted.
  307. This feature is especially useful before overviewing a particular day,
  308. described next.
  309. .RE
  310. .I Overviewing a day
  311. .RS
  312. The \fBB\fP command will list all the events for the current day on
  313. a fresh screen;
  314. press any key to return to the calendar.
  315. .PP
  316. The \fBO\fP command will toggle a flag which, when set,
  317. will fill the schedule area with a read-only view
  318. of the current day according to the event database.
  319. Four six-hour grids appear showing which hours of the
  320. day have been pre-scheduled.
  321. .PP
  322. The \fBS\fP command (Scan today's events) will cause a sorted, sequential
  323. list of events for the current day to be displayed in the schedule area.
  324. The events for any given day may be scanned, deleted, or modified.
  325. After displaying each one, the prompt \fB[n,p,d,e,q]\fP is displayed
  326. and the following functions are available:
  327. .PP
  328. .RS
  329. .PD 0
  330. .TP 4
  331. .B n
  332. go to next event
  333. .TP
  334. .B p
  335. go to previous event
  336. .TP
  337. .B d
  338. delete this event
  339. .TP
  340. .B e
  341. edit this event as during a posting described below
  342. .TP
  343. .B q
  344. quit the scan and return to calendar
  345. .PD
  346. .RE
  347. .RE
  348. .I Every event scan
  349. .RS
  350. The \fBE\fP command works just like the \fBS\fP command except that it will
  351. display, one at a time, every event and anti-event in
  352. the current event database.
  353. .RE
  354. .I Posting an event
  355. .RS
  356. The \fBP\fP command is used to post an event or anti-event.
  357. The cursor is placed into the schedule area with a host of
  358. information displayed.
  359. The cursor first appears on the first line of the schedule area.
  360. This line gives the starting and ending dates for the event,
  361. when it shall occur,
  362. whether the event is private or not,
  363. and whether the event is an \fIanti-event\fP.
  364. .PP
  365. Anti-events cancel events which are scheduled at the same time.
  366. They can be used to generate irregularly scheduled events.
  367. For example,
  368. suppose a meeting was scheduled every Monday for the
  369. next six weeks except one (e.g., because it's a holiday).
  370. This could be represented by posting one event every Monday for the six weeks
  371. and one anti-event for the Monday that is to be skipped.
  372. .PP
  373. The user may move into the starting or ending date and change the month,
  374. day, and year by scrolling with
  375. .BR n " and " p ,
  376. or by directly typing it.
  377. In addition,
  378. the \fB/\fP command can be used to change the start or until date of
  379. an event.
  380. The other fields in this first line may be moved onto and selected.
  381. \fBj\fP will move the cursor to the next line which gives the
  382. start time, duration, end time, warning time, and owner of the event.
  383. The \fBh\fP and \fBl\fP commands move between the fields on this line
  384. (fields which are
  385. underlined\l'|0\(ul'
  386. can not be changed).
  387. Hours and minutes may be changed either by scrolling
  388. (with the
  389. .BR n ", " p ", " + ", and"
  390. .BR - " commands)"
  391. or directly entered as numbers
  392. (hours are entered in 24-hour format).
  393. The AM/PM indicator changes as the hours scroll across 12:00 boundaries.
  394. .PP
  395. At any time,
  396. only two of start time, duration, and end time may be changed.
  397. The time which can not be changed is determined by the
  398. .IR "time mode" .
  399. The time mode is initially
  400. .I "end time"
  401. and is changed using the \fBt\fP command anywhere in the schedule area.
  402. The initial time mode can also be set using
  403. the \fBMONTH\fP environment variable
  404. (described below).
  405. .PP
  406. \fBj\fP moves the cursor to the next line which is a
  407. one-line description of the event,
  408. to be typed whenever the cursor is placed here.
  409. <CR> returns to the first line.
  410. <^A> is used to accept the posting and put the event
  411. into the current user's event database.
  412. <ESC> is used to cancel the posting.
  413. .RE
  414. .I Event scheduling
  415. .RS
  416. When and how often will an event occur?
  417. This information is contained in the first line of the schedule area.
  418. The first date entered there is the starting date for the event,
  419. that is, the event will not be recalled until that date.
  420. This date is best entered by browsing to it,
  421. placing the cursor in the days area on the desired day,
  422. and then type \fBP\fP to post the event,
  423. in which case the desired date automatically appears as the default,
  424. but may be edited.
  425. In the following examples,
  426. only the fields that need to be selected are mentioned,
  427. all others should be turned off (not highlighted).
  428. .PP
  429. Examples:
  430. .RS
  431. .nf
  432. March 5, 1990 (once only)
  433.     3/5/1990
  434.  
  435. Every Tuesday and Wednesday
  436.     m/d/y every TueWed
  437.  
  438. The 7th of each month
  439.     m/7/y monthly
  440.  
  441. Each July 4th
  442.     7/4/y yearly
  443.  
  444. The 2nd and last sunday of each month
  445.     m/d/y monthly every 2nd last Sun
  446.  
  447. The 1st and last friday of each year
  448.     m/d/y yearly every 1st last Fri
  449.  
  450. Every other thursday till 12/31/86
  451.     m/d/y every 2nd Thu 12/31/1986
  452.     Note, this will include the 1st, 3rd, 5th, 7th, etc.
  453.     thursday, starting from the specified m/d/y
  454. .fi
  455. .RE
  456. .sp
  457. .RS
  458. An example of a scheduled event is shown below:
  459. .sp
  460. .if n .in 0
  461. .if n .po 0
  462. .nf
  463. \fB12/25/1987\fP  priv anti monthly \fByearly\fP every 01st last SuMoTuWeThFrSa  1/22/1987
  464.  
  465.    start time        duration        end time        warning        owner
  466.    12:00 am          \fI23:45\fP           11:45 pm         0:15          \fImorrell\fP
  467.  
  468. event: Christmas!
  469. .fi
  470. .if n .po
  471. .if n .in
  472. .RE
  473. .RE
  474. .I Group Posting
  475. .RS
  476. The \fBG\fP command allows the user to post an event to a group of people.
  477. The user is prompted for a list of names and then creates an event.
  478. When this event is accepted,
  479. it will be posted to each of the users specified.
  480. .PP
  481. .I Month
  482. supports a user alias feature.
  483. Any name specified is first checked for in
  484. .I .monthrc
  485. in the user's login directory (if it exists)
  486. and then in
  487. .I /usr/local/lib/.monthrc
  488. (if it exists).
  489. .PP
  490. The \fBa\fP command lists the aliases found in these two alias files.
  491. .RE
  492. .I Miscellaneous
  493. .RS
  494. The \fB!\fP command spawns a subshell.
  495. The shell is specified by the SHELL environment variable
  496. or the SHELLPROG compile option if SHELL is not defined.
  497. .IR Month (1)
  498. must be compiled with SHELL_ESCAPE=1 for this command to work.
  499. .PP
  500. The \fBC\fP command clears the schedule area
  501. (if the \fIOverview\fP flag is not set) and the message area.
  502. .PP
  503. The \fBK\fP command toggles the \fIKeep old events\fP flag.
  504. .PP
  505. The \fBL\fP command stands for lunar,
  506. and causes a picture of what the moon looked like or will look like at
  507. 11:00PM on the current day.
  508. .PP
  509. The \fBR\fP command toggles the \fIRead-only\fP flag.
  510. .PP
  511. The \fBU\fP command changes to a new user's event database
  512. (if compiled with MULTIUSER=1).
  513. .PP
  514. The \fBV\fP command prints the current version of month.
  515. .PP
  516. The \fBW\fP command writes out the event database,
  517. if it has been changed.
  518. Old events will not be written out unless the \fBK\fP flag is set.
  519. .PP
  520. The \fB^L\fP or \fB^R\fP commands redraw the screen.
  521. .RE
  522. .SS Options
  523. Each of the options described below may be given in any order but must be
  524. separated by white space.
  525. .PP
  526. Specifying the
  527. .B \-A
  528. flag will cause days which have events to be so noted initially
  529. (i.e., the \fIshow all events\fP flag is set).
  530. .PP
  531. Specifying the
  532. .B \-B
  533. (Book) flag prints out the list of scheduled events for the current day.
  534. The
  535. .B \-B
  536. flag may be optionally followed by a number to indicate how many days to list
  537. (note: no space between the \fBB\fP and the number).
  538. Only those days which have an event will be listed.
  539. .PP
  540. Specifying the
  541. .B \-I
  542. (Insert mode) flag turns on insert character mode.
  543. This has no effect except when entering an event description.
  544. .PP
  545. Specifying the
  546. .B \-K
  547. (Keep) flag causes old events to be kept
  548. (by default, old events are not kept when the event database is changed).
  549. .PP
  550. Specifying the
  551. .B \-R
  552. (Read-only) flag causes a read-only copy of the event database to be accessed.
  553. .PP
  554. Specifying the
  555. .B \-V
  556. (Version) flag prints the current version of month.
  557. .PP
  558. Invoking \fImonthd\fP causes a background daemon to be born that
  559. will wake up at regular intervals during the current login session,
  560. check the event database,
  561. and print a message to the terminal with a bell if it finds an event
  562. which starts within the next interval.
  563. It will also do this check upon invocation,
  564. and will continue to do so until killed or the user logs out.
  565. .I Monthd
  566. takes an optional \fB\-i\fP flag to indicate how often
  567. (in minutes) the daemon should awake.
  568. The default value is 15 minutes.
  569. .PP
  570. Specifying a date on the command line will cause that date to be used
  571. as the initial current date instead of today's date.
  572. Its format is \fBm/d\fP or \fBm/d/y\fP.
  573. It also affects the starting date used by the \-B option.
  574. If the year is less than 100,
  575. the initial current year is selected from [today's_year-50, today's_year+49].
  576. When the year is omitted,
  577. the today's year is assumed.
  578. .PP
  579. Specifying a \fIuser\fP name on the command line will cause
  580. that user's .month file to be used instead of the month user's.
  581. .SH ENVIRONMENT
  582. .I Month
  583. uses the
  584. .B MONTH
  585. environment variable to control the inital values of some of its flags.
  586. The value of this variable is simply a list of one or more letters from the set
  587. .BR AIKOR .
  588. The occurrence of one of these letters is equivalent to specifying that letter
  589. as a command-line option.
  590. The variable may also contain one of the following two letter sequences:
  591. .B tS ", " tD ", and " tE .
  592. This sets the initial time mode to start mode, duration mode, and end mode,
  593. respectively.
  594. .SH COMPILE OPTIONS
  595. The following compile options must be specified when compiling
  596. .IR month (1)
  597. and affect the behavior of the program as shown:
  598. .TS
  599. center;
  600. l lw(4i).
  601. Option    Effect
  602. _
  603. MULTIUSER    T{
  604. If 1, enables the \fBU\fP command and the \fIuser\fP argument.
  605. T}
  606. PAGERPROG    T{
  607. Specifies the default pager program to run the help file through.
  608. This pager is used when the PAGER environment variable is not set.
  609. T}
  610. SHELL_ESCAPE    If 1, enables the \fB!\fP command.
  611. SHELLPROG    T{
  612. Specifies the default shell to be run when the \fB!\fP command is used.
  613. This shell is used when the SHELL environment variable is not set.
  614. T}
  615. SYS5CURSES    T{
  616. If 1, enables keypad input so that the <NEXT>, <PREV>, <UP>, <DOWN>, <LEFT>,
  617. and <RIGHT> keys may be used instead of
  618. .BR n ", " p ,
  619. .BR k ", " j ,
  620. .BR h ", and " l ,
  621. respectively.
  622. T}
  623. .TE
  624. .SH CAVEATS/BUGS
  625. The user interface is confused and may be revised in a later version.
  626. .PP
  627. Since BSD curses does not have as much flexibility in character attributes
  628. (it does not support the attr* functions),
  629. some of the distinctions these atrributes make are lost.
  630. .SH DIAGNOSTICS
  631. .PD 0
  632. .TP 15
  633. .IR "cannot read .month version " x
  634. The event database was created with an older version of month.
  635. Use
  636. .IR chmonth (1)
  637. to update the database.
  638. .TP
  639. .I "Cannot get today's date"
  640. The call to
  641. .IR gettimeofday (2)
  642. failed.
  643. See the System Administrator.
  644. .TP
  645. .I ".month file locked"
  646. Another user is accessing the event database in a read/write mode.
  647. Either access the database in read-only mode or wait until the user
  648. is finished.
  649. .TP
  650. .I "cannot open .month"
  651. The event database is not readable.
  652. Check the file permissions
  653. (they should be 660, group month).
  654. .TP
  655. .I "Bad environment flag"
  656. The MONTH environment variable may only contain the flags:
  657. .BR A , I ,
  658. .BR K ", and " R .
  659. .TP
  660. .I "Bad argument"
  661. An invalid argument was specified -- check the SYNOPSIS.
  662. .TP
  663. .I "Cannot print schedule"
  664. .TP
  665. .I "area stack underflow"
  666. Should never happen -- send bug report to author.
  667. .TP
  668. .I "area stack overflow"
  669. Should never happen -- send bug report to author.
  670. .TP
  671. .I "cannot write .month"
  672. .TP
  673. .I "invalid user"
  674. A user not found in /etc/passwd was specified in the \fBU\fP command.
  675. .TP
  676. .I "read-only mode"
  677. .TP
  678. .I "invalid start date"
  679. The start date ior an event is not valid (e.g., Feb 30).
  680. .TP
  681. .I "invalid until date"
  682. The until date ior an event is not valid (e.g., Feb 30).
  683. .TP
  684. .I "missing day of week"
  685. When \fBevery\fP, \fInth\fP, or \fBlast\fP are specified,
  686. one or more days of the week must be specified also.
  687. .TP
  688. .I "missing qualifier"
  689. .TP
  690. .I "need 'every'"
  691. .TP
  692. .I "monthly or yearly?"
  693. .TP
  694. .I "no events this day"
  695. .TP
  696. .I "no events at all"
  697. .TP
  698. .I "must keep old events"
  699. .PD
  700. .SH AUTHOR
  701. .I Month
  702. was originally written by Tim Stoehn.
  703. All subsequent modifications were made by James Hull and Michael Morrell.
  704. .SH FILES
  705. .nf
  706. @~/.month
  707. @~/.monthrc
  708. /usr/local/lib/.monthrc
  709. /usr/local/lib/month.help
  710. .fi
  711. .SH SEE ALSO
  712. chmonth(1), stty(1), gettimeofday(2).
  713. @EOF
  714.  
  715. chmod 664 month.1
  716.  
  717. echo x - xmonthd.1
  718. sed 's/^@//' >xmonthd.1 <<'@EOF'
  719. .TH XMONTHD 1 "LOCAL"
  720. .SH NAME
  721. xmonthd \- inform users of upcoming month events (X10)
  722. .SH SYNOPSIS
  723. .B xmonthd
  724. [
  725. .BI = geometry
  726. ] [
  727. .IB host : display
  728. ]
  729. .SH DESCRIPTION
  730. .IR Xmonthd (1)
  731. is a daemon typically run automatically at login which informs the
  732. user of upcoming events posted using
  733. .IR month (1).
  734. .SS X Defaults
  735. The following X Defaults affect the operation of
  736. .IR xmonthd :
  737. .PP
  738. .PD 0
  739. .TP 5
  740. Delay
  741. Flash delay interval (in hundredths of a second)
  742. (Default = 5).
  743. .TP
  744. Flashes
  745. Number of flashes when an event is displayed
  746. (Default = 10).
  747. .TP
  748. Geometry
  749. Geometry specification for event window
  750. (Default = +0+0).
  751. .TP
  752. InternalBorder
  753. Width of internal border of event window
  754. (Default = 2).
  755. .TP
  756. Interval
  757. Time (in minutes) between checks for new events
  758. (Default = 15).
  759. .TP
  760. BorderWidth
  761. Width of border of event window
  762. (Default = 2).
  763. .TP
  764. BaseFont
  765. Font used to display events
  766. (Default = "vtsingle").
  767. .TP
  768. Foreground
  769. Foreground color of event window
  770. (Default = "Black").
  771. .TP
  772. Background
  773. Background color of event window
  774. (Default = "White").
  775. .TP
  776. Border
  777. Border color of event window
  778. (Default = "Black").
  779. .TP
  780. ReverseVideo
  781. If \fBon\fP,
  782. reverse the forground and background colors on monochrome displays.
  783. .\".SH CAVEATS/BUGS
  784. .SH AUTHOR
  785. James Hull
  786. .SH FILES
  787. @~/.month
  788. .SH SEE ALSO
  789. month(1).
  790. @EOF
  791.  
  792. chmod 664 xmonthd.1
  793.  
  794. echo x - month.help.n
  795. cat >month.help.n <<'@EOF'
  796. .\" $Header: month.help.n,v 8.7 88/09/04 12:22:52 morrell Exp $
  797. .nf
  798. .ce
  799. \fBCommands and their Functions (Version 8.7)\fP
  800. .sp
  801. \fBMonths, Days, or Years Area\fP
  802. ?                - display this list of commands
  803. !                - shell escape
  804. ;                - go to previously displayed date
  805. /                - direct entry of current date (e.g., 5/6/86)
  806. '                - go to a previously marked date
  807. a                - display alias files
  808. A                - toggle show all events flag
  809. B                - display schedule list for current day
  810. C                - clear schedule area and message line
  811. E                - scan every event
  812. G                - group post an event (see man page)
  813. K                - toggle keep old events flag
  814. L                - display picture of moon for 11:00 PM of current day
  815. M                - mark the currently displayed date
  816. O                - toggle overview flag
  817. P                - post an event (see man page)
  818. Q                - quit, store any event changes
  819. R                - toggle read-only flag
  820. S                - scan the events for current day
  821. T                - go to today's actual date
  822. U                - go to new user's event database
  823. V                - display version number
  824. W                - write out schedule (if changed), may delete old events
  825. .sp
  826. \fBDays Area Only\fP
  827. <CR>             - select day at cursor
  828. \fInumber\fP           - direct entry of day
  829. +\fInumber\fP          - increment day by \fInumber\fP
  830. -\fInumber\fP          - decrement day by \fInumber\fP
  831. n and p          - go to the next or previous date
  832. h, l, k, j       - move cursor left, right, up, down
  833. m and y          - move to the months or years areas
  834. .sp
  835. \fBMonths Area Only\fP
  836. <CR>             - select month at cursor
  837. \fInumber\fP           - direct entry of month
  838. +\fInumber\fP          - increment month by \fInumber\fP
  839. -\fInumber\fP          - decrement month by \fInumber\fP
  840. n and p          - go to the next or previous month (same day)
  841. k and j          - move cursor up and down
  842. d and y          - move to the days or years areas
  843. .sp
  844. \fBYears Area Only\fP
  845. <CR>             - select year at cursor
  846. \fInumber\fP           - direct entry of year
  847. +\fInumber\fP          - increment year by \fInumber\fP
  848. -\fInumber\fP          - decrement year by \fInumber\fP
  849. n and p          - go to the next or previous year (same month and day)
  850. h and l          - move cursor left and right
  851. d and m          - move to the days or months areas
  852. .sp
  853. \fBWhen Scanning Events\fP
  854. n                - go to next event
  855. p                - go to previous event
  856. d                - delete this event
  857. e                - edit this event
  858. q                - quit the scan
  859. .sp
  860. \fBWhen Posting/Editing Event\fP
  861. ^A               - accept event
  862. /                - direct entry of start or until date (e.g., 5/6/86)
  863. <CR>             - select field at cursor
  864. \fInumber\fP           - direct entry of month/day/year/nth
  865. +\fInumber\fP          - increment month/day/year/nth by \fInumber\fP
  866. -\fInumber\fP          - decrement month/day/year/nth by \fInumber\fP
  867. h, l, k, j       - move cursor left, right, up, down
  868. t                - change time mode
  869. .sp
  870. \fBWhen Entering Event Description\fP
  871. ^A               - accept event
  872. ^B               - move cursor back one character
  873. ^D               - delete character at cursor
  874. ^F               - move cursor forward one character
  875. ^I               - enter/exit insert mode
  876. ^U               - delete entire line
  877. ^W               - delete previous word
  878. .sp
  879. \fBAnytime\fR
  880. ^L or ^R         - redraw screen (including this page)
  881. ^C or ^\\         - quit, ignore any event changes
  882. <ESC>            - abort function
  883. @EOF
  884.  
  885. chmod 444 month.help.n
  886.  
  887. exit 0
  888.  
  889.