home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume22 / elm2.3 / part07 < prev    next >
Text File  |  1990-06-07  |  51KB  |  1,540 lines

  1. Subject:  v22i066:  ELM mail syste, release 2.3, Part07/26
  2. Newsgroups: comp.sources.unix
  3. Approved: rsalz@uunet.UU.NET
  4. X-Checksum-Snefru: 68645385 7b5038d7 f5ca6fea 6947d57d
  5.  
  6. Submitted-by: Syd Weinstein <syd@dsinc.dsi.com>
  7. Posting-number: Volume 22, Issue 66
  8. Archive-name: elm2.3/part07
  9.  
  10. ---- Cut Here and unpack ----
  11. #!/bin/sh
  12. # this is part 7 of a multipart archive
  13. # do not concatenate these parts, unpack them in order with /bin/sh
  14. # file doc/Users.guide continued
  15. #
  16. CurArch=7
  17. if test ! -r s2_seq_.tmp
  18. then echo "Please unpack part 1 first!"
  19.      exit 1; fi
  20. ( read Scheck
  21.   if test "$Scheck" != $CurArch
  22.   then echo "Please unpack part $Scheck next!"
  23.        exit 1;
  24.   else exit 0; fi
  25. ) < s2_seq_.tmp || exit 1
  26. echo "x - Continuing file doc/Users.guide"
  27. sed 's/^X//' << 'SHAR_EOF' >> doc/Users.guide
  28. X.lp "\h'4p'\f2Berkeley Mail\f1" 1.0i
  29. XA surprisingly sophisticated mailer, especially the version with 4.3 BSD,
  30. X\f2Berkeley Mail\f1 still suffers from the tendency to force the user to
  31. Xknow too much about the system, and also lacks a friendly, non-cryptic
  32. Xinterface for the large subset of the population that use Unix but aren't
  33. Xinterested in becoming a ``hacker''.
  34. X
  35. X.lp \h'4p'\f2MH\f1 1.0i
  36. XThis is another nifty mailer.  The main difference between this and the
  37. Xother mailers about is that it is a discrete set of programs rather than
  38. Xa single unified interface.  This is quite useful for those people that
  39. Xreceive \f2lots\f1 of mail and are willing to spend some time learning
  40. Xthe intricacies of the program.  It's quite powerful, but again, misses some
  41. Xof the basic friendly features the majority of users are interested in.
  42. X
  43. X.lp \h'4p'\f2dmail\f1 1.0i
  44. XA sort of mutated cross between \f2MH\f1 and \f2Berkeley Mail\f1, it was
  45. Xthis program that convinced me to implement the \f2Limit\f1 functions.
  46. X
  47. X.lp \h'4p'\f2NMail\f1 1.0i
  48. X(a part of the HP AI Workstation Software Environment).  This program hints
  49. Xat the power that mailers could be given to help deal with mail in a quick
  50. Xand intelligent fashion.  Most of what it can do, and a lot more, are 
  51. Xtherefore part of \f3Elm\f1.  Indubitably.  And quite faster too!
  52. X
  53. X.lp \h'4p'\f2PMX/TERM\f1 1.0i
  54. XPart of the AT&T Mail package, a single glance at this interface convinced
  55. Xme that a PC interface, with almost half of the screen taken up by a silly
  56. Xfunction key mapping, is most certainly \f2not\f1 the way to do things!!
  57. XOn the other hand, it also shows that the \f2Forms\f1 mode can be quite
  58. Xnicely integrated into a more sophisticated mailer.
  59. X
  60. X.lp \h'4p'\f2fmail\f1 1.0i
  61. XA nickel addition to the \f2/bin/mail\f1 program to add some rudimentary
  62. Xscreen interface stuff, this nonetheless interesting mailer is part of 
  63. Xthe AT&T Toolchest.
  64. X
  65. X.lp \h'4p'\f2Laurel\f1 1.0i
  66. XA program only available within Xerox PARC, this was an interesting
  67. Xearly attempt at a graphics based full-screen mail program.  The one,
  68. Xperhaps trivial, part of the interface I really like was the fact that
  69. Xit would \f2cross out\f1 a message that was marked for deletion.  One
  70. Xday when we get real graphics and the ability to use them indicated in
  71. Xa facility (not too) like \f2termcap\f1, perhaps \f3Elm\f1 will do 
  72. Xthis too! 
  73. X
  74. X.lp \h'4p'\f2Mailtool\f1 1.0i
  75. XPart of the Sun distribution package, this program is a really nice
  76. Xexample of what can be done by putting a smart shell on top of a dumb
  77. Xprogram \(em it uses \f2/bin/mail\f1 for all the `dirty work'.  Other than
  78. Xthat, it's not a particularly interesting interface or mailer, and it
  79. Xcertainly doesn't add much functionality!
  80. X
  81. X.lp \h'4p'\f2Metamail\f1 1.0i
  82. XWhat can I say?  This isn't even a real mailer, but is just what I dream
  83. Xof as an interface to mail in the future.  A program that works sort of
  84. Xlike \f3HAL\f1 did in \f22001: A Space Odyssey\f1 \(em where it interrupts
  85. Xme as appropriate for important mail, and can answer inane and other
  86. Xqueries itself according to what I teach it.  Maybe \f3Elm\f1, by some sort
  87. Xof groupmind metamorphosis, will change into that someday.  Maybe not.  Maybe
  88. Xno-one bothers to read this far into the document!!
  89. X
  90. X.in 0
  91. XFinally, it's also been a very useful experience overall,
  92. Xconfirming my beliefs that iterative software design and
  93. Xkeeping a close watch on users (not to mention an open
  94. Xmind and mailbox!) improves a product manyfold.  Comments,
  95. Xfeedback and bug reports (and fixes!) are, of course, always welcome!
  96. X.br
  97. X.ne 5
  98. X.sp
  99. X.hn 1 "Credits and So on Part II - The Usenet Elm Development Group"
  100. X
  101. XAs coordinator of the Elm Development Group, I must add to the credits.
  102. XThis group of volunteers has taken the Elm code from Dave Taylor and
  103. Xadded features, made it more robust, and more portable.
  104. X.sp
  105. XFor getting the Usenet Elm group going, for without which I wouldn't be
  106. Xwriting this, thanks to Greg Hackney at Southwestern Bell Telephone Co.
  107. X.sp
  108. XFor the Configuration system and its newer Dist 2.0 version, thanks are
  109. Xdue to Larry Wall of JPL-NASA.
  110. X.sp
  111. XFor his over two hundred sets of changes to version 2.2, Elm owes a lot
  112. Xto Rob Bernardo at Pacbell.
  113. X.sp
  114. XThe ability to run Elm at all on Intel 286 machines owes a lot to the
  115. Xinsistent nudging of the coordinator by Chip Salzenberg,
  116. XChip Rosenthal, and Tim Evans.
  117. X.sp
  118. XFor getting us the rights to use the news macros and converting all
  119. Xthe documentation over to those macros, thanks to Mike Brown.
  120. X
  121. XNow, before I get accused of leaving someone out, here are the
  122. Xmembers of the Elm Development and the Elm Testing Group:
  123. X.sp
  124. XJonathan Bayer,
  125. XRob Bernardo,
  126. XDoug Blair,
  127. XKevin Bond,
  128. XMike Brown,
  129. XEd Clarke,
  130. XSteven Donegan,
  131. XPaul Ebersman,
  132. XAvi Feldblum,
  133. XSteven Goodman,
  134. XGreg Hackney,
  135. XMark Hahn,
  136. XMitch Hamilton,
  137. XEd Hann,
  138. XDavid Hawkins,
  139. XNate Hess,
  140. XPhil Hochstetler,
  141. XBud Hovell,
  142. XKenneth Ingham,
  143. XChad Larson,
  144. XWarren Lavallee,
  145. XHoward Leadman,
  146. XJohn A. Limpert,
  147. XAndy Linton,
  148. XDarrell McIntosh,
  149. XDatta Miruke,
  150. XPaul M. Moriarty,
  151. XAndrew Mossberg,
  152. XRobert B. Nelson,
  153. XLeo C. Noordhuizen,
  154. XBrian O'Neill,
  155. XFairfax O'Riley,
  156. XPete Phillips,
  157. XDave Rasmussen,
  158. XLen Rose,
  159. XChip Rosenthal,
  160. XChip Salzenberg,
  161. XRay Smith,
  162. XGary Trujillo,
  163. XEd Wells,
  164. XMike Whitman,
  165. XDave Yearke,
  166. XJon Zeeff,
  167. Xand
  168. XSyd Weinstein, Elm Coordinator.
  169. SHAR_EOF
  170. echo "File doc/Users.guide is complete"
  171. chmod 0444 doc/Users.guide || echo "restore of doc/Users.guide fails"
  172. echo "x - extracting doc/answer.1 (Text)"
  173. sed 's/^X//' << 'SHAR_EOF' > doc/answer.1 &&
  174. X.TH ANSWER 1L "Elm Version 2.3" "USENET Community Trust"
  175. X.SH NAME
  176. Xanswer - phone message transcription system
  177. X.SH SYNOPSIS
  178. X.B answer
  179. X.PP
  180. X.SH DESCRIPTION
  181. X.I Answer\^
  182. Xis a part of the 
  183. X.B Elm
  184. Xmail system and is designed for secretaries and the like
  185. Xto allow them to answer phones and|or listen to phone message
  186. Xmachines and quickly and easily transcribe the messages into
  187. Xelectronic mail.
  188. X.P
  189. XThe program uses its own alias set (usually a subset of the
  190. Xsystem aliases, with more fields per user (ie unique first
  191. Xnames, unique last names, first-initial lastname, and so on)).
  192. XNote this means that you must create and then install, using
  193. X.I newalias,
  194. Xa separate alias table for the account this program is to 
  195. Xbe run from.
  196. X.P
  197. XInterface-wise, the program is a breeze to use - type 'answer'
  198. Xto start it up and then merely type a user name at the
  199. X.nf
  200. X    
  201. X    Message to:
  202. X
  203. X.fi
  204. Xprompt, and then enter the message, ending with a blank line.
  205. XNames can be entered as 'Firstname Lastname' and the system
  206. Xwill try to find a mail alias based on the first letter of the
  207. Xfirst name plus the last name.  For example, 'Dave Taylor'
  208. Xwill cause the program to search for an alias 'd_taylor' in
  209. Xthe file (note the transliteration into lower case).   The 
  210. Xprogram will loop until killed or quit.
  211. X.P
  212. X.I Answer
  213. Xcan be easily exited by typing any of 'quit', 'exit' 'done', 
  214. Xor 'bye' at the 'Message to:' prompt.
  215. X.SH AUTHOR
  216. XDave Taylor, Hewlett-Packard Laboratories
  217. X.SH SEE ALSO
  218. X.I "The Elm Alias System Users Guide", 
  219. Xby Dave Taylor
  220. X.sp
  221. X.br
  222. Xnewalias(1L), checkalias(1L), mail(1), mailx(1), from(1L), printmail(1L)
  223. X.SH FILES
  224. X$HOME/.elm/aliases.text       individual alias source
  225. X.br
  226. X$HOME/.elm/aliases.hash       individual alias hash table
  227. X.br
  228. X$HOME/.elm/aliases.data       individual alias data table
  229. X.br
  230. X/tmp/snd.$$                   edit buffer for outgoing mail
  231. X.SH BUG REPORTS TO
  232. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  233. X.SH COPYRIGHTS
  234. X.ps 18
  235. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  236. X.br
  237. X.ps 18
  238. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  239. SHAR_EOF
  240. chmod 0444 doc/answer.1 || echo "restore of doc/answer.1 fails"
  241. echo "x - extracting doc/autoreply.1 (Text)"
  242. sed 's/^X//' << 'SHAR_EOF' > doc/autoreply.1 &&
  243. X.TH AUTOREPLY 1L "Elm Version 2.3" "USENET Community Trust"
  244. X.SH NAME
  245. Xautoreply - Automatic mail reply system
  246. X.SH SYNOPSIS
  247. X.B autoreply
  248. X.br
  249. X.B "autoreply off"
  250. X.br
  251. X.B autoreply
  252. X.I filename
  253. X.PP
  254. X.SH DESCRIPTION
  255. X.I Autoreply\^
  256. Xis a part of \fBThe Elm Mail System\fR
  257. Xand is designed to enable users to easily set up
  258. Xan automatic response to all mail they receive.  This is
  259. Xtypically during a vacation or some other period of time that
  260. Xthe user is not available to reply to mail (although some
  261. Xpeople get enough mail that they have it permanently running
  262. Xto simply send an "ack" to each message)
  263. X.PP
  264. XThe system is quite easy to use...
  265. XYou can type "autoreply" and be informed of your current
  266. Xstatus in the system (on or off), or "autoreply off" will
  267. Xturn your autoreplying off.
  268. X.PP
  269. XTo add yourself to the system, you need merely to compose a
  270. Xform response in a file somewhere, then type "autoreply \fIfile\fR"
  271. Xwhere \fIfile\fR is the name of the file.
  272. X.SH "SPECIAL NOTE"
  273. XFor this to function correctly, the program "arepdaemon" must
  274. Xbe running as a daemon in background.  This program automatically
  275. Xchecks all the currently enrolled users for new mail in their
  276. Xmailboxes...
  277. X.SH AUTHOR
  278. XDave Taylor, Hewlett-Packard Laboratories.
  279. X.SH SEE ALSO
  280. X.I "The Elm Users Guide", 
  281. Xby Dave Taylor
  282. X.sp
  283. X.br
  284. Xelm(1L), mail(1), mailx(1)
  285. X.SH "BUGS"
  286. XUnfortunately, this program isn't too brilliant about identifying
  287. Xmail that shouldn't be responded to (like mail from other
  288. Xdaemons, or your mother) but that's a more general problem anyway.
  289. X.sp
  290. XAlso, occasionally a user will remove themselves from the
  291. Xautoreply system and the system won't turn their autoreply
  292. Xoff.  This is a problem that hasn't been solved yet (obviously
  293. Xsince it's in the "bugs" section!!) and any further information
  294. Xwould be appreciated!
  295. X.SH BUG REPORTS TO
  296. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  297. X.SH COPYRIGHTS
  298. X.ps 18
  299. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  300. X.br
  301. X.ps 18
  302. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  303. SHAR_EOF
  304. chmod 0444 doc/autoreply.1 || echo "restore of doc/autoreply.1 fails"
  305. echo "x - extracting doc/chkalias.1 (Text)"
  306. sed 's/^X//' << 'SHAR_EOF' > doc/chkalias.1 &&
  307. X.TH CHECKALIAS 1L "Elm Version 2.3" "USENET Community Trust"
  308. X.SH NAME
  309. Xcheckalias - check to see if an alias is defined.
  310. X.SH SYNOPSIS
  311. X.B checkalias
  312. Xalias, alias, ...
  313. X.SH DESCRIPTION
  314. X.I Checkalias
  315. Xchecks the user file first, and then the system alias file
  316. Xto try to find the specified alias or aliases.  If found, 
  317. Xthe value of the alias is printed out, otherwise an error
  318. Xis generated.
  319. X.P
  320. XNote: this is in fact a one-line shell script;
  321. X.nf
  322. X
  323. X    elm -c $*
  324. X.fi
  325. X.SH AUTHOR
  326. XDave Taylor, Hewlett-Packard Laboratories
  327. X.SH SEE\ ALSO
  328. Xnewalias(1L), elm(1L), mail(1), mailx(1)
  329. X.SH BUGS
  330. XNote that the precedence of aliases is user file then system
  331. Xfile.  This means that a user can 'overload' an alias by having
  332. Xone defined in the system file also defined in theirs.  This
  333. Xshouldn't turn out to be a problem, but is something for
  334. Xthe system administrator to keep in mind when creating the
  335. Xsystem alias file.
  336. X.SH BUG REPORTS TO
  337. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  338. X.SH COPYRIGHTS
  339. X.ps 18
  340. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  341. X.br
  342. X.ps 18
  343. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  344. SHAR_EOF
  345. chmod 0444 doc/chkalias.1 || echo "restore of doc/chkalias.1 fails"
  346. echo "x - extracting doc/elm-help.0 (Text)"
  347. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.0 &&
  348. X
  349. X        Command                      Elm 2.3 Action
  350. X
  351. X          <RETURN>,<SPACE>      Display current message
  352. X           |                    Pipe current message or tagged messages to
  353. X                                        a system command.
  354. X           !                    Shell escape
  355. X           $                    Resynchronize folder
  356. X           ?                    This screen of information
  357. X           +, <RIGHT>           Display next index page
  358. X           -, <LEFT>            Display previous index page
  359. X           =                    Set current message to first message
  360. X           *                    Set current message to last message
  361. X           <NUMBER><RETURN>     Set current message to <NUMBER>
  362. X           /                    Search from/subjects for pattern
  363. X           //                   Search entire message texts for pattern
  364. X           >                    Save current message or tagged messages
  365. X                                        to a folder
  366. X           <                    Scan current message for calendar entries
  367. X           a                    Alias, change to 'alias' mode
  368. X           b                    Bounce (remail) current message
  369. X           C                    Copy current message or tagged messages
  370. X                                        to a folder
  371. X           c                    Change to another folder
  372. X           d                    Delete current message
  373. X          ^D                    Delete messages with a specified pattern
  374. X           e                    Edit current folder
  375. X           f                    Forward current message
  376. X           g                    Group (all recipients) reply to current message
  377. X           h                    Headers displayed with message
  378. X           J                    Increment current message by one
  379. X           j, <DOWN>            Advance to next undeleted message
  380. X           K                    Decrement current message by one
  381. X           k, <UP>              Advance to previous undeleted message
  382. X           l                    Limit messages by specified criteria
  383. X          ^L                    Redraw screen
  384. X           m                    Mail a message
  385. X           n                    Next message, displaying current,
  386. X                                        then increment
  387. X           o                    Change ELM options
  388. X           p                    Print current message or tagged messages
  389. X           q                    Quit, maybe prompting for deleting, storing,
  390. X                                        and keeping messages
  391. X           Q                    Quick quit - no prompting
  392. X           r                    Reply to current message
  393. X           s                    Save current message or tagged messages
  394. X                                        to a folder
  395. X           t                    Tag current message for further operations
  396. X          ^T                    Tag messages with a specified pattern
  397. X           u                    Undelete current message
  398. X          ^U                    Undelete messages with a specified pattern
  399. X           x, ^Q                Exit leaving folder untouched, ask permission
  400. X                                        if folder changed
  401. X           X                    Exit leaving folder untouched, unconditionally
  402. SHAR_EOF
  403. chmod 0444 doc/elm-help.0 || echo "restore of doc/elm-help.0 fails"
  404. echo "x - extracting doc/elm-help.1 (Text)"
  405. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.1 &&
  406. X
  407. X           Commands available from the Options Menu in Elm 2.3
  408. X
  409. X Key    Meaning
  410. X ---    -------
  411. X  >     Save current options to elmrc file.
  412. X
  413. X  a     Arrow cursor.  Changes from "->" to inverse bar and back for
  414. X        indicating the current message. Change with <space>.
  415. X
  416. X  c     Calendar file.  See '<' at top level menu for more information on this.
  417. X
  418. X  d     Display pager. "builtin" and "builtin+" will use the built-in pager,
  419. X        or you enter the name of a standard pager, like "more".
  420. X
  421. X  e     Editor to use when composing messages.
  422. X
  423. X  f     Folder directory.  This is what '=', '+', or '%' on the front of a
  424. X        folder name expands to.
  425. X
  426. X  i     Return to index screen.
  427. X
  428. X ^L     Redraw screen.
  429. X
  430. X  m     Mini-menu displayed on index screen or not. Change with <space>.
  431. X
  432. X  n     Names only or names and address displayed. Change with <space>.
  433. X
  434. X  s     Sorting criteria.  Step through with <space>, <return> selects.
  435. X
  436. X  o     Outbound mail file.  Where to save copies of outbound mail when not
  437. X        saved by the recipient's name.
  438. X
  439. X  p     Print messages with this command. '%s' can be used in the command
  440. X        as a filename holder.
  441. X
  442. X  u     User's expertise level. Change with <space>.
  443. X
  444. X  y     Your fullname to be used in outbound mail.
  445. X
  446. X  x     Exit ELM leaving folder untouched.
  447. SHAR_EOF
  448. chmod 0444 doc/elm-help.1 || echo "restore of doc/elm-help.1 fails"
  449. echo "x - extracting doc/elm-help.2 (Text)"
  450. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.2 &&
  451. X
  452. X           Commands available from the Alias Menu in Elm 2.3
  453. X
  454. X Key    Meaning
  455. X ---    -------
  456. X
  457. X  ?     Help on a specific key, or this summary of commands.
  458. X
  459. X  a     Add the return address of current message to alias database, (or
  460. X        the regular address if current message is copy of a message sent).
  461. X
  462. X  d     Delete a user alias from alias database.
  463. X
  464. X  l     List all aliases in the database.
  465. X
  466. X  m     Make a new user alias, adding it to alias database when done.
  467. X
  468. X  r,x   Return from the alias menu.
  469. X
  470. X  p     Check for a person in the alias database.
  471. X
  472. X  s     Check for a system in the host routing/domain database.
  473. SHAR_EOF
  474. chmod 0444 doc/elm-help.2 || echo "restore of doc/elm-help.2 fails"
  475. echo "x - extracting doc/elm-help.3 (Text)"
  476. sed 's/^X//' << 'SHAR_EOF' > doc/elm-help.3 &&
  477. X
  478. X        Command                      Elm 2.3 Action
  479. X
  480. X
  481. X          <RETURN>              Display the current message,
  482. X                                        or (builtin pager only) scroll
  483. X                                        current message forward one line
  484. X          <SPACE>               Display the next screen of the current
  485. X                                        message (builtin pager only),
  486. X                                        or if at the end of a message,
  487. X                                        the first screen of the next message
  488. X           |                    Pipe current message or tagged messages to
  489. X                                        a system command.
  490. X           !                    Shell escape
  491. X           ?                    This screen of information
  492. X           >                    Save current message or tagged messages
  493. X                                        to a folder
  494. X           <                    Scan current message for calendar entries
  495. X           b                    Bounce (remail) current message
  496. X           C                    Copy current message or tagged messages
  497. X                                        to a folder
  498. X           d                    Delete current message
  499. X           f                    Forward current message
  500. X           g                    Group (all recipients) reply to current message
  501. X           h                    Headers displayed with message
  502. X           i                    Return to index screen
  503. X           J                    Increment current message by one
  504. X           j, <DOWN>            Advance to next undeleted message
  505. X           K                    Decrement current message by one
  506. X           k, <UP>              Advance to previous undeleted message
  507. X           m                    Mail a message
  508. X           n                    Display next message
  509. X           p                    Print current message or tagged messages
  510. X           q                    Quit pager mode and return to index screen
  511. X           r                    Reply to current message
  512. X           s                    Save current message or tagged messages
  513. X                                        to a folder
  514. X           t                    Tag current message for further operations
  515. X           u                    Undelete current message
  516. X           x                    Exit leaving folder untouched
  517. SHAR_EOF
  518. chmod 0444 doc/elm-help.3 || echo "restore of doc/elm-help.3 fails"
  519. echo "x - extracting doc/elm.1 (Text)"
  520. sed 's/^X//' << 'SHAR_EOF' > doc/elm.1 &&
  521. X.TH ELM 1L "Elm Version 2.3" "USENET Community Trust"
  522. X.SH NAME
  523. Xelm - an interactive mail system
  524. X.SH SYNOPSIS
  525. X.B elm
  526. X[
  527. X.B \-achkKmrwz
  528. X] [
  529. X.B \-f
  530. X.I "alternate-folder"
  531. X] [
  532. X.B \-d
  533. X.I debug-level
  534. X]
  535. X.br
  536. X.B elm 
  537. X[
  538. X.B \-s 
  539. X.I subject
  540. X]
  541. X.I "list of aliases or addresses"
  542. X.PP
  543. X.SH DESCRIPTION
  544. X.I Elm\^
  545. Xis an interactive screen-oriented mailer program that supercedes 
  546. X.I mail
  547. Xand 
  548. X.I mailx.
  549. X.PP
  550. XThere are three main ways to use the \fBelm\fR mailer.  One way
  551. Xto use the mailer is to specify a list of addresses on the
  552. Xcommand line when the mailer is invoked.  This will allow sending
  553. Xof a single message to the specified recipients with all the
  554. Xoptions usually available in the \fBelm\fR system itself. For example,
  555. Xthe command
  556. X.nf
  557. X
  558. X    elm -s testing joe
  559. X
  560. X.fi
  561. Xwould initiate the sending of a message to the alias joe with the subject
  562. X"testing" indicated and
  563. Xwould put you into an editor for you to enter the text of the message.
  564. XIf the subject flag and argument were not present, you would be prompted
  565. Xfor a message subject.
  566. X.PP
  567. XThe second way, used most commonly when transmitting files and such,
  568. Xis to specify the subject of the message and the recipients using
  569. Xthe command line and redirect a file as standard input.  For example,
  570. Xthe command 
  571. X.nf
  572. X
  573. X    elm -s testing joe < test.c 
  574. X
  575. X.fi
  576. Xwould mail a copy of the
  577. Xfile test.c to alias joe, with the subject "testing" indicated.
  578. XThe subject flag and argument are optional.
  579. X.PP
  580. XThe third way, elm is invoked
  581. Xwith neither subject nor addresses specified on the command line and
  582. Xwithout standard input redirected.
  583. XYou can then read any messages in your incoming mailbox (or specified
  584. Xfolder), reply to messages in the mailbox, mail messages, etc.
  585. X.PP
  586. XOptions are:
  587. X.TP 1.0i
  588. X.B "  -a"
  589. XArrow - force the arrow cursor (instead of the inverse bar)
  590. X.TP
  591. X.B "  -c"
  592. XCheckalias - expand the following aliases and return.
  593. X.TP
  594. X.B "  -d \fIlevel\fR  "
  595. XDebug - set specified debug level - Output to "$HOME/ELM:debug.info"
  596. X.TP
  597. X.B "  -f \fIalternative-folder\fR  "
  598. XFolder - read folder (specified) rather than the incoming mailbox.
  599. X.TP
  600. X.B "  -h"
  601. XHelp - give a list of starting options.
  602. X.TP
  603. X.B "  -?"
  604. XSynonymous with the "-h" option.
  605. X.TP
  606. X.B "  -k"
  607. XKeypad - force knowledge of HP terminal keyboard, to allow
  608. Xthe use of the NEXT, PREV and HOME/SHIFT-HOME keys.
  609. X.TP
  610. X.B "  -K"
  611. XKeypad + softkeys - enable use of softkeys on HP terminals only.
  612. X.TP
  613. X.B "  -m"
  614. XMenu off - Use the extra lines for more message headers.
  615. X.TP
  616. X.B "  -s \fIsubj\fR  "
  617. XSubject - specify subject for message to mail.
  618. X.TP
  619. X.B "  -v"
  620. XVersion - print version and configuration information.
  621. X.TP
  622. X.B "  -z"
  623. XZero - don't enter \fBElm\fR if no mail is pending.
  624. X.SH AUTHOR
  625. XDave Taylor, Hewlett-Packard Laboratories
  626. X.SH SEE ALSO
  627. XThe Elm documentation package, including:
  628. X.I
  629. XThe Elm Users Guide,
  630. XThe Elm Reference Guide,
  631. XThe Elm Alias System Users Guide,
  632. XThe Elm Forms Mode Guide,
  633. XThe Elm Filter Guide,
  634. XThe Elm Configuration Guide\fR
  635. X.sp 
  636. X.br
  637. Xnewalias(1L), checkalias(1L), mail(1), mailx(1), frm(1L), printmail(1L)
  638. X.SH FILES
  639. X/usr/local/lib/elm-help.*         help files
  640. X.br
  641. X/usr/local/lib/aliases.text       system alias source
  642. X.br
  643. X/usr/local/lib/aliases.hash       system alias hash table
  644. X.br
  645. X/usr/local/lib/aliases.data       system alias data table
  646. X.br
  647. X$HOME/.elm/aliases.hash           user alias source
  648. X.br
  649. X$HOME/.elm/aliases.hash           user alias hash table
  650. X.br
  651. X$HOME/.elm/aliases.data           user alias data table
  652. X.br
  653. X$HOME/.elm/elmrc                  customized mailer parameters
  654. X.br
  655. X$HOME/.elm/elmheaders             customized message headers
  656. X.br
  657. X/tmp/snd.$$                       outgoing mail edit buffer
  658. X.br
  659. X/tmp/mbox.\fIlogname\fR            temporary mailbox
  660. X.br
  661. X$HOME/ELM:debug.info              Debug output if turned on
  662. X.SH DIAGNOSTICS
  663. XShould know about keyboards/softkey terminals other than HP.  (If only 
  664. Xtermcap were that powerful!)
  665. X.SH BUG REPORTS TO
  666. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  667. X.SH COPYRIGHTS
  668. X.ps 18
  669. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  670. X.br
  671. X.ps 18
  672. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  673. SHAR_EOF
  674. chmod 0444 doc/elm.1 || echo "restore of doc/elm.1 fails"
  675. echo "x - extracting doc/elmrc-info (Text)"
  676. sed 's/^X//' << 'SHAR_EOF' > doc/elmrc-info &&
  677. X#@(#)$Id: elmrc-info,v 4.1 90/04/28 22:41:30 syd Exp $
  678. X# Elm Version 2.3
  679. X# For yes/no settings with ?, ON means yes, OFF means no
  680. X
  681. Xshell
  682. X# The shell to use for shell escapes
  683. X
  684. Xfullname
  685. X# The full user name for outbound mail
  686. X
  687. Xmaildir
  688. X# where to save my mail to, default directory is "Mail"
  689. X
  690. Xtmpdir
  691. X# where to place temporary files, default directory is "/tmp"
  692. X
  693. Xreceivedmail
  694. X# where to save received messages to, default file is "=received"
  695. X
  696. Xeditor
  697. X# what editor to use ("none" means simulate Berkeley Mail)
  698. X
  699. Xescape
  700. X# the character to use in the builtin editor for entering commands
  701. X
  702. Xsentmail
  703. X# where to save copies of outgoing mail to, default file is "=sent"
  704. X
  705. Xcalendar
  706. X# where to save calendar entries
  707. X
  708. Xsortby
  709. X# how to sort folders, "Mailbox" by default
  710. X
  711. Xprint
  712. X# how to print a message ('%s' is the filename)
  713. X
  714. Xattribution
  715. X# attribution string for replies ('%s' is the author of original message)
  716. X
  717. Xprefix
  718. X# prefix sequence for indenting included message text in outgoing messages...
  719. X
  720. Xweedout
  721. X# what headers I DON'T want to see, ever.
  722. X
  723. Xbounceback
  724. X# threshold for bouncing copies of remote uucp messages...
  725. X# zero = disable function.
  726. X
  727. Xtimeout
  728. X# Set the main prompt timeout for resynching...
  729. X
  730. Xautocopy
  731. X# automatically copy message being replied to into buffer? 
  732. X
  733. Xcopy
  734. X# save a copy of all outbound messages?
  735. X
  736. Xresolve
  737. X# emulate the mailx message increment mode (only increment after something
  738. X# has been 'done' to a message, either saved or deleted, as opposed to 
  739. X# simply each time something is touched)?
  740. X
  741. Xweed
  742. X# enable the weedout list to be read?
  743. X
  744. Xnoheader
  745. X# when messages are copied into the outbound buffer, don't include headers?
  746. X
  747. Xtitles
  748. X# display message title when displaying pages of message?
  749. X
  750. Xsavename
  751. X# save messages, incoming and outbound, by login name of sender/recipient?
  752. X
  753. Xforcename
  754. X# save outbound messages by login name of sender/recipient even if the
  755. X# associated folder doesn't already exist?
  756. X
  757. Xmovepage
  758. X# when using the page commands (+ - <NEXT> <PREV>) change the current
  759. X# message pointer...?
  760. X
  761. Xpointnew
  762. X# start up by pointing to the first new message received, if possible?
  763. X
  764. Xsignature
  765. X# ".signature" file to append to outbound messages...
  766. X
  767. Xlocalsignature
  768. X# local ".signature" file to append to appropriate messages...
  769. X
  770. Xremotesignature
  771. X# remote ".signature" file to append to appropriate messages...
  772. X
  773. Xsigdashes
  774. X# do we want dashes above signatures? (News 2.11 compatibility and convention)
  775. X
  776. Xalwayskeep
  777. X# should the default be to keep unread messages in the incoming mailbox?
  778. X
  779. Xalwaysstore
  780. X# should the default be to store read messages to the "received" folder?
  781. X
  782. Xalwaysdelete
  783. X# should the default be to delete messages we've marked for deletion?
  784. X
  785. Xpager
  786. X# program to use for displaying messages ('builtin' is recommended)
  787. X
  788. Xpromptafter
  789. X# prompt for a command after the external pager exits?
  790. X
  791. Xkeepempty
  792. X# should we keep folders from which all messages are deleted?
  793. X
  794. Xkeypad
  795. X# are we running on an HP terminal and want HOME, PREV, NEXT, etc...?
  796. X
  797. Xsoftkeys
  798. X# are we running on an HP terminal and want softkeys available too?
  799. X# (this implies "keypad=ON" too)
  800. X
  801. Xalternatives
  802. X# alternative addresses that I could receive mail from (usually a
  803. X# forwarding mailbox) and don't want to have listed...
  804. X
  805. Xforms
  806. X# do we want to be able to mail out AT&T Mail Forms?
  807. X
  808. Xwarnings
  809. X# tell us about addresses to machines we can't directly get to?
  810. X
  811. Xuserlevel
  812. X# are we good at it?  0=beginner, 1=intermediate, 2+ = expert!
  813. X
  814. Xnames
  815. X# just show the names when expanding aliases?
  816. X
  817. Xarrow
  818. X# should we use the "->" rather than the inverse video bar?
  819. X
  820. Xmenu
  821. X# should we display the three-line 'mini' menu?
  822. X
  823. Xask
  824. X# should the message disposition questions be displayed(ON) or
  825. X# auto-answered(OFF) with the default answers when we resync or change folders?
  826. X
  827. Xaskcc
  828. X# would you like to be asked for Carbon-Copies information each msg?
  829. X
  830. SHAR_EOF
  831. chmod 0444 doc/elmrc-info || echo "restore of doc/elmrc-info fails"
  832. echo "x - extracting doc/elmrc.samp (Text)"
  833. sed 's/^X//' << 'SHAR_EOF' > doc/elmrc.samp &&
  834. X#@(#)$Id: elmrc.samp,v 4.1 90/04/28 22:41:32 syd Exp $
  835. X#
  836. X# .elm/elmrc - options file for the ELM mail system
  837. X#
  838. X# Saved automatically by ELM 2.3 for Dave Taylor
  839. X#
  840. X
  841. X# For yes/no settings with ?, ON means yes, OFF means no
  842. X
  843. X# where to save calendar entries
  844. Xcalendar = ~/.Agenda
  845. X
  846. X# what editor to use ("none" means simulate Berkeley Mail)
  847. Xeditor = none
  848. X
  849. X# the character to use in the builtin editor for entering commands
  850. Xescape = ~
  851. X
  852. X# the full user name for outbound mail
  853. Xfullname = Dave Taylor
  854. X
  855. X# where to save received messages to, default file is "=received"
  856. Xreceivedmail = $HOME/Mail/received
  857. X
  858. X# where to save my mail to, default directory is "Mail"
  859. Xmaildir = /users/taylor/Mail
  860. X
  861. X#directory to hold my temporary files to avoid NFS cross mount problems
  862. Xtmpdir = /users/taylor/Mail/tmp
  863. X
  864. X# program to use for displaying messages ('builtin' is recommended)
  865. Xpager = builtin
  866. X
  867. X# prefix sequence for indenting included message text in outgoing messages...
  868. Xprefix = >_
  869. X
  870. X# how to print a message ('%s' is the filename)
  871. Xprint = lpr -Plw2 %s
  872. X
  873. X# attribution string for replies ('%s' is the author of original message)
  874. Xattribution = According to %s:
  875. X
  876. X# where to save copies of outgoing mail to, default file is "=sent"
  877. Xsentmail = /users/taylor/Mail/mail.sent
  878. X
  879. X# the shell to use for shell escapes
  880. Xshell = /bin/csh
  881. X
  882. X# local ".signature" file to append to appropriate messages...
  883. Xlocalsignature = localsig
  884. X
  885. X# remote ".signature" file to append to appropriate messages...
  886. Xremotesignature =  remotesig
  887. X
  888. X# do we want dashes above signatures? (News 2.11 compatibility and convention)
  889. Xsigdashes = ON
  890. X
  891. X# how to sort folders, "Mailbox" by default
  892. Xsortby = Reverse-Received
  893. X
  894. X# should the default be to delete messages we've marked for deletion?
  895. Xalwaysdelete = ON
  896. X
  897. X# should the default be to store read messages to the "received" folder?
  898. Xalwaysstore = ON
  899. X
  900. X# should the default be to keep unread messages in the incoming mailbox?
  901. Xalwayskeep = ON
  902. X
  903. X# should we use the "->" rather than the inverse video bar?
  904. Xarrow = OFF
  905. X
  906. X# should the message disposition questions be displayed(ON) or
  907. X# auto-answered(OFF) with the default answers when we resync or change folders?
  908. Xask = ON
  909. X
  910. X# would you like to be asked for Carbon-Copies information each msg?
  911. Xaskcc = ON
  912. X
  913. X# automatically copy message being replied to into buffer? 
  914. Xautocopy = OFF
  915. X
  916. X# threshold for bouncing copies of remote uucp messages...
  917. X# zero = disable function.
  918. Xbounceback = 0
  919. X
  920. X# save a copy of all outbound messages?
  921. Xcopy = ON
  922. X
  923. X# do we want to be able to mail out AT&T Mail Forms?
  924. Xforms = OFF
  925. X
  926. X# should we keep folders from which all messages are deleted?
  927. Xkeepempty = OFF
  928. X
  929. X# we're running on an HP terminal and want HOME, PREV, NEXT, etc...
  930. Xkeypad = OFF
  931. X
  932. X# should we display the three-line 'mini' menu?
  933. Xmenu = ON
  934. X
  935. X# when using the page commands (+ - <NEXT> <PREV>) change the current
  936. X# message pointer...?
  937. Xmovepage = ON
  938. X
  939. X# just show the names when expanding aliases?
  940. Xnames = ON
  941. X
  942. X# when messages are copied into the outbound buffer, don't include headers?
  943. Xnoheader = ON
  944. X
  945. X# start up by pointing to the first new message received, if possible?
  946. Xpointnew = ON
  947. X
  948. X# prompt for a command after the external pager exits?
  949. Xpromptafter = ON
  950. X
  951. X# emulate the mailx message increment mode (only increment after something
  952. X# has been 'done' to a message, either saved or deleted, as opposed to 
  953. X# simply each time something is touched)?
  954. Xresolve = ON
  955. X
  956. X# save messages, incoming and outbound, by login name of sender/recipient?
  957. Xsavename = ON
  958. X
  959. X# save outbound messages by login name of sender/recipient even if the
  960. X# associated folder doesn't already exist?
  961. Xforcename = OFF
  962. X
  963. X# are we running on an HP terminal and want HOME, PREV, NEXT, etc...?
  964. X# (this implies "keypad=ON" too)
  965. Xsoftkeys = OFF
  966. X
  967. X# set the main prompt timeout for resynching...
  968. Xtimeout = 60
  969. X
  970. X# display message title when displaying pages of message?
  971. Xtitles = ON
  972. X
  973. X# are we good at it?  0=beginner, 1=intermediate, 2+ = expert!
  974. Xuserlevel = 2
  975. X
  976. X# tell us about addresses to machines we can't directly get to?
  977. Xwarnings = OFF
  978. X
  979. X# enable the weedout list to be read?
  980. Xweed = ON
  981. X
  982. X# what headers I DON'T want to see, ever.
  983. Xweedout = "Path:" "Via:" "Sent:" "Date" "Status:" "Original" "Phase" 
  984. X    "Subject:" "Fruit" "Sun" "Lat" "Buzzword" "Return" "Posted" 
  985. X    "Telephone" "Postal-Address" "Origin" "X-Sent-By-Nmail-V" "Resent" 
  986. X    "X-Location" "Source" "Mood" "Neuron" "Libido" "To:" "X-Mailer:" 
  987. X    "Full-Name:" "X-HPMAIL" "Cc:" "cc:" "Mmdf" "Network-" "Really-" 
  988. X    "Sender:" "Post" "Message-" "Relay-" "Article-" "Lines:" 
  989. X    "Approved:" "Xref:" "Organization:"     "*end-of-user-headers*"
  990. X
  991. X# alternative addresses that I could receive mail from (usually a
  992. X# forwarding mailbox) and don't want to have listed...
  993. Xalternatives = hplabs!taylor  hpldat!taylor  taylor@hplabs  taylor%hpldat  
  994. X
  995. SHAR_EOF
  996. chmod 0444 doc/elmrc.samp || echo "restore of doc/elmrc.samp fails"
  997. echo "x - extracting doc/fastmail.1 (Text)"
  998. sed 's/^X//' << 'SHAR_EOF' > doc/fastmail.1 &&
  999. X.TH FASTMAIL 1L "Elm Version 2.3" "USENET Community Trust"
  1000. X.SH NAME
  1001. Xfastmail - quick batch mail interface to a single address
  1002. X.SH SYNOPSIS
  1003. X.B fastmail
  1004. X[-b bcc-list] [-c cc-list] [-d] [-f fromname] [-r replyto] 
  1005. X[-s subject] filename address-list
  1006. X.br
  1007. X.SH DESCRIPTION
  1008. X.I Fastmail
  1009. Xis a low-level interface to the mail system that allows batch
  1010. Xprocessing of mail.  It's intended for mailing to very large
  1011. Xgroups of people in a staggered fashion. 
  1012. X.PP
  1013. XThe starting options are;
  1014. X.TP 1.0i
  1015. X.B "-b bcc-list"
  1016. XThis allows a list of people to receive blind-carbon copies, or BCCs, of
  1017. Xthe message.  This list should be full email addresses.
  1018. X.TP
  1019. X.B "-c cc-list"
  1020. XThis allows a list of people to receive carbon copies, or CCs, of
  1021. Xthe message.  This list should be full email addresses.
  1022. X.TP
  1023. X.B "-d"
  1024. XDebug.  This is helpful for strange, unfriendly errors from
  1025. Xthe program (etc).
  1026. X.TP
  1027. X.B "-f from"
  1028. XThis overrides the users name in the From: line, so that if
  1029. Xthe user was x@y, and their name was MrX then the default 
  1030. XFrom: line would be "From: x@y (MrX)".  Using "-f Joe" when
  1031. Xinvoking this, though, would change it to "From: x@y (Joe)"
  1032. X.TP
  1033. X.B "-r replyto"
  1034. XOccasionally, you might send mail but want the replies to go
  1035. Xto a different address (very common with mailing lists).  
  1036. XThere is a header for this purpose called "Reply-To:" which
  1037. Xcan be utilized by using this starting option.  For example,
  1038. Xwe could send mail with a reply-to to list-request by
  1039. Xusing "-r list-request".  The header generated would then
  1040. Xbe of the form "Reply-To: list-request".
  1041. X.TP
  1042. X.B "-s subject"
  1043. XThe subject of the message is specified by using 
  1044. Xthis starting option.
  1045. X.SH EXAMPLE
  1046. XLet's say we're user "big" on machine "big-vax" and we have a
  1047. Xshell script called 'batch-mail' that contains the following
  1048. Xlines:
  1049. X.nf
  1050. X
  1051. X   #
  1052. X   # Batch Mail - batch mailing of a file to a LOT of users
  1053. X   #  
  1054. X   # Usage: batch-mail "from" "subject" filename
  1055. X
  1056. X   sender_copy = $LOGIN
  1057. X   replto = "The-Mr-Big-list"
  1058. X
  1059. X   fastmail -b $sender_copy -r $replyto -f "$1" -s "$2" $3 person1
  1060. X   sleep 10
  1061. X   fastmail -r $replyto -f "$1" -s "$2" $3 person2
  1062. X   sleep 10
  1063. X   fastmail -r $replyto -f "$1" -s "$2" $3 person3
  1064. X   sleep 10
  1065. X   fastmail -r $replyto -f "$1" -s "$2" $3 person4
  1066. X
  1067. X   < etc >
  1068. X
  1069. Xwith the invocation:
  1070. X
  1071. X   batch-mail "Mr. Big" "Warning to all" warning.text
  1072. X
  1073. X.fi
  1074. Xwould mail a copy of the 'warning.text' file to person1, person2, 
  1075. Xperson3, etc.  "$LOGIN" will also receive a copy of the first message
  1076. Xin the mail, \fIsilently\fR.  Each resultant message will include the headers:
  1077. X.nf
  1078. X
  1079. X    From: big-vax!big (Mr. Big)
  1080. X    Subject: Warning to all
  1081. X    Reply-To: The-Mr-Big-list
  1082. X
  1083. X.fi
  1084. XThis program should turn out to be considerably
  1085. Xfaster than the alternative methods of accomplishing this task.
  1086. X.SH FILES
  1087. X/usr/lib/sendmail       sendmail transport if available
  1088. X.br
  1089. X/bin/rmail              transport if no sendmail
  1090. X.br
  1091. X/tmp/fastmail.$$        temporary file 
  1092. X.SH AUTHOR
  1093. XDave Taylor, Hewlett-Packard Laboratories
  1094. X.SH SEE\ ALSO
  1095. Xsendmail(1), rmail(1), elm(1L)
  1096. X.SH BUG REPORTS TO
  1097. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  1098. X.SH COPYRIGHTS
  1099. X.ps 18
  1100. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1101. X.br
  1102. X.ps 18
  1103. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  1104. SHAR_EOF
  1105. chmod 0444 doc/fastmail.1 || echo "restore of doc/fastmail.1 fails"
  1106. echo "x - extracting doc/filter.1 (Text)"
  1107. sed 's/^X//' << 'SHAR_EOF' > doc/filter.1 &&
  1108. X.TH FILTER 1L "Elm Version 2.3" "USENET Community Trust"
  1109. X.SH NAME
  1110. Xfilter - filter incoming messages before adding to mailbox
  1111. X.SH SYNOPSIS
  1112. X.B filter
  1113. X[-v] [-o output]
  1114. X.br
  1115. X.B filter
  1116. X[-n]
  1117. X.br
  1118. X.B filter
  1119. X[-r] [-o output]
  1120. X.br
  1121. X.B filter
  1122. X[-c] [-s] [-o output]
  1123. X.br
  1124. X.B filter
  1125. X[-c] [-S] [-o output]
  1126. X.SH DESCRIPTION
  1127. X.I Filter
  1128. Xis a sophisticated program that allows incoming mail to be
  1129. Xfiltered against a wide set of criteria.  The format for the
  1130. Xrules, located in $HOME/.elm/filter-rules, is;
  1131. X.nf
  1132. X        
  1133. X        \fIrule\fR  ::=  \fBif  (\fIexpression\fP)  then  \fIaction\fR
  1134. X
  1135. X.fi
  1136. Xwhere \fIexpression\fR is:
  1137. X.nf
  1138. X
  1139. X        \fIexpression\fR  ::=  {  \fBnot\fR  }  \fIcondition\fR  \fIexpr2\fR
  1140. X
  1141. X        \fIexpr2\fR  ::=  \fINULL\fR  |  \fBand\fI  condition  expr2
  1142. X
  1143. X        \fIcondition\fR  ::=  \fIfield  relationship  value\fR
  1144. X                   ::=  \fBlines\fI  relop  numvalue\fR
  1145. Xor                 ::=  \fBalways\fR
  1146. X
  1147. X.fi
  1148. XThese further break down as:
  1149. X.nf
  1150. X
  1151. X        \fIfield\fR  ::=  \fBfrom\fR  |  \fBsubject\fR  |  \fBto\fR  |  \fBlines\fR
  1152. X
  1153. X        \fIrelationship\fR  ::=  \fB=\fR  |  \fB!=\fR
  1154. X                
  1155. X        \fIrelop\fR  ::=  \fB=\fR  |  \fB!=\fR  |  \fB<\fR  |  \fB>\fR  |  \fB<=\fR  |  \fB>=\fR
  1156. X
  1157. X        \fIvalue\fR  ::=  \fIany  quoted  string\fR
  1158. X
  1159. X        \fInumvalue\fR  ::=  \fIany  integer  value\fR
  1160. X
  1161. X.fi
  1162. X\fIAction\fR can be any of:
  1163. X.nf
  1164. X
  1165. X        \fBdelete\fR
  1166. X        \fBsave  \fIfoldername\fR
  1167. X        \fBsavecopy \fIfoldername\fR
  1168. X        \fBexecute  \fIcommand\fR
  1169. X        \fBforward  \fIaddress\fR
  1170. X        \fBleave\fR
  1171. X
  1172. X.fi
  1173. XFor further information about the rules language, please see
  1174. X\fIThe Elm Filter Guide\fR.
  1175. X.sp
  1176. XThe flags the \fIfilter\fR program understands are;
  1177. X.TP 1.0i
  1178. X.B "-c"
  1179. XClear logs.  If this flag is used, the log files will be removed after
  1180. Xbeing summarized by either "-s" or "-S" (see below).
  1181. X.TP
  1182. X.B "-n"
  1183. XNot really.  Output what would happen if given message from standard
  1184. Xinput, but don't actually do anything with it.
  1185. X.TP
  1186. X\fB-o \fIfile\fR
  1187. XRedirect all log messages to the specified file or device.  (This is
  1188. Xadded to more gracefully deal with changes in the file system (since
  1189. Xsendmail is quite picky about modes of files being redirected into.))
  1190. X.TP
  1191. X.B "-r"
  1192. XRules.  List the rules currently being used.
  1193. X.TP
  1194. X.B "-s"
  1195. XSummarize.  List a summary of the message filtered log.
  1196. X.TP
  1197. X.B "-S"
  1198. XThis is the same as `-s' but includes message-by-message
  1199. Xinformation additionally.
  1200. X.TP
  1201. X.B "-v"
  1202. XVerbose.  Give output on standard out for each message filtered.  Useful
  1203. Xto have redirected to ``/dev/console'' and such.  (see \fB-o\fR too).
  1204. X.SH AUTHOR
  1205. XDave Taylor, Hewlett-Packard Laboratories.
  1206. X.SH FILES
  1207. X$HOME/.elm/filter-rules     The ruleset for the users filter
  1208. X.br
  1209. X$HOME/.elm/filterlog        A log of what has been done
  1210. X.br
  1211. X$HOME/.elm/filtersum        A summary of what has been done
  1212. X.br
  1213. X/etc/passwd             Used to get users home directory
  1214. X.SH SEE\ ALSO
  1215. X\fIThe Elm Filter Guide\fR, by Dave Taylor.
  1216. X.br
  1217. Xreadmsg(1L), elm(1L), mail(1), mailx(1), sendmail(1,8)
  1218. X.SH COMMENTS
  1219. XNot real smart about pattern matching.  
  1220. X.SH BUG REPORTS TO
  1221. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  1222. X.SH COPYRIGHTS
  1223. X.ps 18
  1224. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1225. X.br
  1226. X.ps 18
  1227. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  1228. SHAR_EOF
  1229. chmod 0444 doc/filter.1 || echo "restore of doc/filter.1 fails"
  1230. echo "x - extracting doc/frm.1 (Text)"
  1231. sed 's/^X//' << 'SHAR_EOF' > doc/frm.1 &&
  1232. X.TH FRM 1L "Elm Version 2.3" "USENET Community Trust"
  1233. X.SH NAME
  1234. Xfrm - list from and subject of all messages in mailbox or file
  1235. X.SH SYNOPSIS
  1236. X.B frm
  1237. X[-n]
  1238. X[ folder ]
  1239. X.br
  1240. X.B frm
  1241. X[-n]
  1242. X[ username ]
  1243. X.SH DESCRIPTION
  1244. X.I Frm
  1245. Xoutputs a line per message in the current users mailbox 
  1246. Xof the form;
  1247. X.PP
  1248. X<from> [subject]
  1249. X.PP
  1250. XIf a folder is specified, the program reads that folder
  1251. Xrather than the default mailbox.  If the argument is a
  1252. X\fIusername\fR then look for that user's mailbox.
  1253. X.PP
  1254. XFurthermore, if the \fI-n\fR flag is specified, the headers
  1255. Xwill be numbered using the same numbering scheme that, for
  1256. Xexample, \fIreadmsg\fR will understand.
  1257. X.PP
  1258. XFolder can be specified with the same notation as
  1259. Xwhen invoking the \fBElm\fR mailer.
  1260. X.SH AUTHOR
  1261. XDave Taylor, Hewlett-Packard Laboratories.
  1262. X.SH SEE\ ALSO
  1263. Xreadmsg(1L), elm(1L), mail(1), mailx(1)
  1264. X.SH BUG REPORTS TO
  1265. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  1266. X.SH COPYRIGHTS
  1267. X.ps 18
  1268. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1269. X.br
  1270. X.ps 18
  1271. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  1272. SHAR_EOF
  1273. chmod 0444 doc/frm.1 || echo "restore of doc/frm.1 fails"
  1274. echo "x - extracting doc/listalias.1 (Text)"
  1275. sed 's/^X//' << 'SHAR_EOF' > doc/listalias.1 &&
  1276. X.TH LISTALIAS 1L "Elm Version 2.3" "USENET Community Trust"
  1277. X.SH NAME
  1278. Xlistalias - list user and system aliases
  1279. X.SH SYNOPSIS
  1280. X.B listalias
  1281. X[ regular-expression ]
  1282. X.SH DESCRIPTION
  1283. X.I Listalias
  1284. Xoutputs a line per alias in both the user and the system 
  1285. Xaliases.  Each line is of the form;
  1286. X.nf
  1287. X   
  1288. X   <alias>     <address>  (<comment>)
  1289. X
  1290. X.fi
  1291. XIf an optional regular expression is used, just the aliases
  1292. Xthat match the specified expression are listed.  If not, 
  1293. Xthey are all listed.
  1294. X.sp
  1295. XEither way, the output is sorted.
  1296. X.SH AUTHOR
  1297. XDave Taylor, Hewlett-Packard Laboratories.
  1298. X.SH SEE\ ALSO
  1299. Xnewalias(1L), elm(1L), checkalias(1L)
  1300. X.SH BUGS
  1301. XSince the program uses a pipe to egrep, how expressions are evaluated is
  1302. Xa function of \fIthat\fR program, not this one!
  1303. X.SH BUG REPORTS TO
  1304. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  1305. X.SH COPYRIGHTS
  1306. X.ps 18
  1307. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1308. X.br
  1309. X.ps 18
  1310. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  1311. SHAR_EOF
  1312. chmod 0444 doc/listalias.1 || echo "restore of doc/listalias.1 fails"
  1313. echo "x - extracting doc/messages.1 (Text)"
  1314. sed 's/^X//' << 'SHAR_EOF' > doc/messages.1 &&
  1315. X.TH MESSAGES 1L "Elm Version 2.3" "USENET Community Trust"
  1316. X.SH NAME
  1317. Xmessages - quick count of messages in mailbox or folder
  1318. X.SH SYNOPSIS
  1319. X.B messages
  1320. X.br
  1321. X.B messages
  1322. Xfolder-name
  1323. X.SH DESCRIPTION
  1324. X.I Messages
  1325. Xcounts the occurances of "^From\ " in either the current incoming 
  1326. Xmailbox or the specified folder.
  1327. X.P
  1328. XThis is, in fact, a simple little shell script!!
  1329. X.SH AUTHOR
  1330. XDave Taylor, Hewlett-Packard Laboratories
  1331. X.SH SEE\ ALSO
  1332. Xfrom(1L), elm(1L)
  1333. X.SH BUGS
  1334. XDon't be foolish...
  1335. X.SH BUG REPORTS TO
  1336. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  1337. X.SH COPYRIGHTS
  1338. X.ps 18
  1339. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1340. X.br
  1341. X.ps 18
  1342. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  1343. SHAR_EOF
  1344. chmod 0444 doc/messages.1 || echo "restore of doc/messages.1 fails"
  1345. echo "x - extracting doc/newalias.1 (Text)"
  1346. sed 's/^X//' << 'SHAR_EOF' > doc/newalias.1 &&
  1347. X.TH NEWALIAS 1L "Elm Version 2.3" "USENET Community Trust"
  1348. X.SH NAME
  1349. Xnewalias - install new elm aliases for user and/or system
  1350. X.SH SYNOPSIS
  1351. X.B newalias
  1352. X[-g]
  1353. X.SH DESCRIPTION
  1354. X.I Newalias
  1355. Xcreates new hash and data files from a text file.
  1356. XIf the program is invoked with the
  1357. X.I -g
  1358. X(global) flag, the program updates the system alias files.
  1359. XOtherwise, the program looks for a file called \fI$HOME/.elm/aliases.text\fR
  1360. Xand, upon finding it, creates files \fI$HOME/.elm/aliases.hash\fR and
  1361. X\fI$HOME/.elm/aliases.data\fR for the
  1362. X.I elm
  1363. Xprogram.
  1364. X.PP
  1365. XThe format that the program expects is;
  1366. X.sp
  1367. X.nf
  1368. X    alias, alias, .. = comment = address
  1369. Xor
  1370. X    alias, alias, .. = comment = alias, alias, ...
  1371. X   
  1372. XThe first form is for an individual user such as;
  1373. X
  1374. X    dave, taylor = Dave Taylor = veeger!hpcnou!dat
  1375. X
  1376. Xand the second is for defining a group alias such as;
  1377. X
  1378. X    gurus = Unix Gurus = alan, john, dave, mike, richard,
  1379. X                     larry, t_richardson
  1380. X
  1381. X.fi
  1382. X.sp
  1383. XNote that lines can be continued at will, blank lines are accepted
  1384. Xwithout error, and that any line starting with '#' is considered a
  1385. Xcomment and is not processed.
  1386. X.sp
  1387. XAliases are case insensitive so dave and Dave are both the same alias.
  1388. X.PP
  1389. XFinally, aliases can contain other aliases, and/or groups;
  1390. X.sp
  1391. X.nf
  1392. X    unix = Unix people = gurus, taylor, jonboy
  1393. X.fi
  1394. X' onto the next page, if you please
  1395. X.sp 3
  1396. X.SH FILES
  1397. X$HOME/.elm/aliases.text         alias source for user 
  1398. X.br
  1399. X$HOME/.elm/aliases.hash         alias hash table for user
  1400. X.br
  1401. X$HOME/.elm/aliases.data         alias data file for user
  1402. X.br
  1403. X/usr/local/lib/aliases.text     alias source for system
  1404. X.br
  1405. X/usr/local/lib/aliases.hash     alias hash table for system
  1406. X.br
  1407. X/usr/local/lib/aliases.data     alias data file for system
  1408. X.SH AUTHOR
  1409. XDave Taylor, Hewlett-Packard Laboratories.
  1410. X.SH SEE\ ALSO
  1411. Xelm(1L), checkalias(1L), mail(1), mailx(1)
  1412. X.SH DIAGNOSTICS
  1413. XNewalias has a couple of descriptive error messages which
  1414. Xdon't need to be detailed here.  It is, however, worth
  1415. Xnoting that the
  1416. X.I checkalias
  1417. Xprogram can be used to ensure that the aliases are in the
  1418. Xproper order and are available for the 
  1419. X.I elm
  1420. Xsystem.
  1421. X.SH BUG REPORTS TO
  1422. XSyd Weinstein    elm@DSI.COM    (dsinc!elm)
  1423. X.SH COPYRIGHTS
  1424. X.ps 18
  1425. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  1426. X.br
  1427. X.ps 18
  1428. X\fB\(co\fR\s12 Copyright 1988, 1989, 1990 by The USENET Community Trust
  1429. SHAR_EOF
  1430. chmod 0444 doc/newalias.1 || echo "restore of doc/newalias.1 fails"
  1431. echo "x - extracting doc/newmail.1 (Text)"
  1432. sed 's/^X//' << 'SHAR_EOF' > doc/newmail.1 &&
  1433. X.TH NEWMAIL 1L "Elm Version 2.3" "USENET Community Trust"
  1434. X.SH NAME
  1435. Xnewmail,wnewmail - programs to asynchronously notify of new mail
  1436. X.SH SYNOPSIS
  1437. X.B newmail
  1438. X.B [-d]
  1439. X.B [-i \fIinterval\fB]
  1440. X.B [-w]
  1441. X\fIfile-spec\fR {\fIfile-spec\fR...}
  1442. X.br
  1443. X.B wnewmail
  1444. X.B [-d]
  1445. X.B [-i \fIinterval\fB]
  1446. X.B [-w]
  1447. X\fIfile-spec\fR {\fIfile-spec\fR...}
  1448. X.PP
  1449. X.SH DESCRIPTION
  1450. X.I Newmail\^
  1451. Xis a program to allow monitoring of mailboxes in an intelligent
  1452. Xfashion.  It is based loosely on \fIbiff(1)\fR and the version
  1453. Xof \fInewmail\fR that was distributed with \fBElm 1.7\fR.
  1454. X.P
  1455. XThe basic operation is that the program will check the list of
  1456. Xspecified mailboxes each \fIinterval\fR seconds and will list
  1457. Xany new mail that has arrived in any of the mailboxes,
  1458. Xindicating the sender name, and the subject of the message.
  1459. X.P
  1460. XEach entry displayed can be in a number of different formats
  1461. Xdepending on the mode of the program, the number of folders
  1462. Xbeing monitored, and the status of the message.  If you're 
  1463. Xrunning it as a \fIwindow\fR (e.g. ``-w''
  1464. Xor invoked as \fIwnewmail\fR) then the output will be
  1465. Xsimilar to:
  1466. X.nf
  1467. X
  1468. X   \fIsender name\fR - \fIsubject of message\fR
  1469. X   Priority: \fIsender name\fR - \fIsubject of message\fR
  1470. X
  1471. X.fi
  1472. Xwhere <sender name> is either the name of the person sending it,
  1473. Xif available (the ARPA 'From:' line) or some other brief
  1474. Xindication of origin If there
  1475. Xis no subject, the message "<no subject>" will appear on
  1476. Xthe screen.
  1477. X.P
  1478. XFolders are indicated by having the folder name appear first
  1479. Xon the output line, as in:
  1480. X.nf
  1481. X
  1482. X   \fIfolder\fR: \fIsender name\fR - \fIsubject of message\fR
  1483. X
  1484. X.fi
  1485. XIf you're running \fInewmail\fR without the windows option,
  1486. Xthen the output is more suitable for popping up on an otherwise
  1487. Xactive screen, and will be formatted:
  1488. X.nf
  1489. X
  1490. X   >> New mail from \fIsender name\fR - \fIsubject of message\fR
  1491. X   >> Priority mail from \fIsender name\fR - \fIsubject of message\fR
  1492. X
  1493. X.fi
  1494. XAgain, with folder names indicated as a prefix.
  1495. X.P
  1496. XThe flags available are:
  1497. X.TP 1.0i
  1498. X.B "-d"
  1499. XThis will turn on the debugging, verbose output mode.  It is not
  1500. Xrecommended that you use this option unless you're interested in
  1501. Xactually debugging the program.
  1502. X.TP
  1503. X.B "-i \fIinterval\fR  "
  1504. XThis will change the frequency that the program checks the folders
  1505. Xto the interval specified, in seconds.  The default interval for
  1506. Xthe program is 60 seconds.  \fINote: if you change the interval
  1507. Xto less than 10 seconds, the program will warn you that it isn't
  1508. Xrecommended.\fR
  1509. X.TP
  1510. X.B "-w"
  1511. XUse of the ``-w'' flag will simulate having the program run
  1512. Xfrom within a window (e.g. the more succinct output format,
  1513. Xand so on).  Most likely, rather than using this option you
  1514. Xshould be simply invoking \fIwnewmail\fR instead.
  1515. X.P
  1516. X\fIFile specs\fR are made up of two components, the
  1517. X\fIfolder name\fR and the \fIprefix string\fR, the
  1518. Xlatter of which can always be omitted.
  1519. XThe format is \fIfoldername=prefixstring\fR, and
  1520. Xyou can specify folders by full name, by simply
  1521. Xthe name of the user whose mailbox should be 
  1522. Xmonitored, or by the standard \fBElm\fR 
  1523. Xmetacharacters to specify your folder 
  1524. Xdirectory (e.g. ``+'', ``='', or ``%'').
  1525. X.P
  1526. XFolders that cannot be opened due to permission mismatches
  1527. Xwill cause the program to immediately abort.  On the other
  1528. Xhand, files that do not exist will continue to be checked
  1529. Xevery \fIinterval\fR seconds, so some care should be 
  1530. Xexercised when invoking the program.
  1531. X.P
  1532. XThe program will run until you log out or explicitly kill
  1533. SHAR_EOF
  1534. echo "End of part 7"
  1535. echo "File doc/newmail.1 is continued in part 8"
  1536. echo "8" > s2_seq_.tmp
  1537. exit 0
  1538.  
  1539. exit 0 # Just in case...
  1540.