home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume9 / elm2 / part19 < prev    next >
Text File  |  1987-03-10  |  46KB  |  1,273 lines

  1. Subject:  v09i019:  ELM Mail System, Part19/19
  2. Newsgroups: mod.sources
  3. Approved: rs@mirror.TMC.COM
  4.  
  5. Submitted by: Dave Taylor <hplabs!taylor>
  6. Mod.sources: Volume 9, Issue 19
  7. Archive-name: elm2/Part19
  8.  
  9. #! /bin/sh
  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. # If this archive is complete, you will see the message:
  13. #        "End of archive 19 (of 19)."
  14. # Contents:  doc/Ref.guide
  15. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  16. echo shar: Extracting \"doc/Ref.guide\" \(43914 characters\)
  17. if test -f doc/Ref.guide ; then 
  18.   echo shar: Will not over-write existing file \"doc/Ref.guide\"
  19. else
  20. sed "s/^X//" >doc/Ref.guide <<'END_OF_doc/Ref.guide'
  21. X.PH ""
  22. X\"
  23. X\"  Reference guide to the ELM mail system.
  24. X\"  format with 'troff -mm Ref.guide > Ref.format
  25. X\"  or something similar.
  26. X\"
  27. X\"  (C) Copyright 1986 Dave Taylor
  28. X\"
  29. X\"  Last update: January 19th, 1987
  30. X\"
  31. X.SA 1
  32. X.nr Hy 1
  33. X.nr Pt 1
  34. X.nr Pi 8
  35. X.lg
  36. X.rs
  37. X.ds HF 3  3
  38. X.ds HP 12 12 10 10 10
  39. X.PF ""
  40. X.HM 1 1
  41. X.ce 99
  42. X.sp 5
  43. X.ps 20
  44. X\fBElm Reference Guide\fR
  45. X.sp 5
  46. X.ps 12
  47. X\fIA comprehensive list of all commands, 
  48. Xoptions and such to the \fBElm\fP mail system\fR
  49. X.sp 5
  50. XDave Taylor
  51. X.sp
  52. XHewlett-Packard Laboratories
  53. X1501 Page Mill Road
  54. XPalo Alto CA
  55. X94304
  56. X.sp
  57. Xemail: taylor@hplabs.HP.COM or hplabs!taylor
  58. X.sp 10
  59. X.ps 18
  60. X\fB\(co\fR\s12 Copyright 1986, 1987 by Dave Taylor
  61. X.ce 0
  62. X.SK
  63. X.ce 99
  64. X.ps 14
  65. X\fBElm Reference Guide\fR
  66. X.ps 10
  67. X.sp
  68. X(version 1.5)
  69. X.sp 2
  70. XDave Taylor
  71. XHewlett-Packard Laboratories
  72. X1501 Page Mill Road
  73. XPalo Alto CA
  74. X94304
  75. X.sp
  76. Xemail: taylor@hplabs.HP.COM or hplabs!taylor
  77. X.sp 2
  78. X\*(DT
  79. X.ce 0
  80. X.nr P 1
  81. X.PH "'Elm Reference Guide''Version 1.5'"
  82. X.PF "''Page \\\\nP''"
  83. X.sp 3 
  84. X.H 1 "Introduction"
  85. X.P 1
  86. XThere are many parts to a complex software system and the \fBElm\fR
  87. Xmail system
  88. Xis no different.  This document describes fully all the options 
  89. Xavailable in the mailer, including the starting options,
  90. Xthe commands (in considerably more detail than
  91. Xin the \fIElm Users Guide\fR) and the \fI.elmrc\fR file.
  92. X.P 1
  93. XTo be more explicit, this document covers;
  94. Xa discussion of the \fI.elmrc\fR file,
  95. Xstarting options of \fBElm\fR, 
  96. Xoutgoing mail processing,
  97. Xresponses of various commands,
  98. Xthe mail archive file,
  99. Xthe \fInotes\fR system,
  100. Xthe Alias system,
  101. Xsystem aliases etc,
  102. Xmore on the \fBElm\fR utilities,
  103. Xand a section for expert mail users.
  104. X.P 1
  105. XWithout any further ado, then, let's get this show on the road!!
  106. X.sp 2
  107. X.H 1 "The .elmrc File"
  108. X.P
  109. XThe mailer, like lots of other software on the
  110. XUnix\v'-.3'\s5TM\s10\v'.3' system, has the ability to automatically read 
  111. Xin a configuration file at each invocation.  The file must be
  112. Xcalled \fI.elmrc\fR and reside in your home directory for it
  113. Xto be found, and can have any of the following entries
  114. Xin any order;
  115. X.sp 2
  116. X.ps 12
  117. X.ne 8
  118. X\fBString Variables\fR
  119. X.ps 10
  120. X.VL 13 0
  121. X.LI "alternatives"
  122. XThis is a list of other machine/username combinations
  123. Xthat you receive mail from (forwarded).  This is used 
  124. Xwhen the \fIgroup reply\fR feature is invoked to ensure that
  125. Xyou don't send yourself a copy of the outbound message.
  126. X(no default)
  127. X.LI "calendar"
  128. XThis is used in conjunction with the "<" \fIscan message for
  129. Xcalendar entries\fR command.  The default place to put
  130. Xcalendar entries if found is \fI$HOME/calendar\fR.  This
  131. Xvariable can be set to specify something else..
  132. X.LI "editor"
  133. XThe editor to use when typing in new mail.  If you select
  134. X``none'' or ``builtin'' you'll get a Berkeley Mail style
  135. Xinterface for all mail that doesn't already have text
  136. Xin the buffer (e.g. a reply, mail with a ``signature'', etc).
  137. X(default is to use the value of the $EDITOR in your
  138. Xcurrent environment)
  139. X.LI "fullname"
  140. XThis is the name the mailer will use when sending mail 
  141. Xfrom you.  It is highly recommended that you use your
  142. Xfull name and nothing strange or unusual, as that can
  143. Xappear extremely rude to people receiving your mail.
  144. X(Default is to use the "gecos" field from the \fI/etc/passwd\fR file)
  145. X.LI "mailbox"
  146. XThis is where to put incoming mail after you've read it.
  147. XWhen you answer `n' to the "keep messages in incoming mailbox?" prompt, this
  148. Xis where the messages go!
  149. X(default is the file \fImbox\fR in your home directory)
  150. X.LI  "maildir"
  151. XThis is the default mail directory, and is used to expand filenames
  152. Xin the mailer when specified using the `=' metacharacter\*F.  That
  153. X.FS
  154. XNote that `%' and `+' are synonymous with `=' throughout \fBElm\fR
  155. X.FE
  156. Xis, if you save to file \fI=/stuff\fR then the `=' will be expanded
  157. Xto the current value of maildir.
  158. X(no default)
  159. X.LI "pager"
  160. XThis defines the program to be used to display each message.  The
  161. Xdefault is ``builtin'', and can be changed while within the \fIElm\fR
  162. Xprogram by selecting the appropriate entry in the O)ptions Menu.
  163. X.LI "prefix"
  164. XWhen you \fIreply\fR to a message or \fIforward\fR a message to another person,X
  165. Xyou can optionally include the original message.  Defining the
  166. Xprefix value here allows you to indicate what the prefix of 
  167. Xeach included line should be.  (default is "> " and is
  168. Xfairly standard in the Unix community)
  169. X.LI "print"
  170. XThis indicates how to print out a message.  There are two
  171. Xpossible formats for this string, either a command that
  172. Xcan have a filename affixed to (as a suffix) and then
  173. Xsent to the system for execution, or a string that 
  174. Xcontains the meta-sequence `%s' which will be replaced
  175. Xby the name of the file and then also sent to the
  176. Xshell.  Examples of each are;
  177. X.nf
  178. X
  179. X    print = print -formfeed
  180. X    print = pr %s | lpr
  181. X
  182. X.fi
  183. X(no default)
  184. X.LI "savemail"
  185. XThis is where outgoing mail will have a copy silently (and
  186. Xquickly) saved.  This will only be used if the flag \fIcopy\fR
  187. Xis turned on.  Also note that if the \fIsavename\fR flag
  188. Xis turned on then this line is ignored since each outgoing
  189. Xmessage is saved according to whom it's being sent to.
  190. X(default is to have this option disabled)
  191. X.LI "shell"
  192. XThis defines the shell to use when doing ``!'' escapes and
  193. Xsuch.  Note that the program also reads the $SHELL variable
  194. Xout of the current environment, but that defining this
  195. Xin the .elmrc file will override the environment definition.
  196. X.LI "signature"
  197. XThis file, if defined, will be automatically appended to all
  198. Xoutbound mail before the editor is invoked.  Furthermore, 
  199. Xif you'd like a different ``.signature'' file for \fIlocal\fR
  200. Xmail and \fIremote\fR mail (remote being via other hosts), 
  201. Xyou can alternatively define two files called \fIlocalsignature\fR
  202. Xand \fIremotesignature\fR to have the same functionality.
  203. X.LI "sortby"
  204. XWhen reading mailboxes, 
  205. Xeither incoming or saved, you can have them sorted by any
  206. Xnumber of different ways.  This can be changed without leaving
  207. Xthe \fBElm\fR system by changing the \fIoptions mail-sorted-by\fR
  208. Xfield, but it can also be predefined to any of the following;
  209. X.sp
  210. X.VL 15 3
  211. X.LI "from"
  212. XThis will sort according to whom each message is \fIfrom\fR.
  213. X.LI "sent"
  214. XThis will sort \fIleast recently sent\fR to 
  215. X\fImost recently sent\fR.
  216. X.LI "received"
  217. XThis will sort \fIleast recently received\fR to 
  218. X\fImost recently received\fR.
  219. X.LI "subject"
  220. XThis will sort according to the \fIsubject\fR of each message.
  221. X.LI "lines"
  222. XThis will sort \fIshortest\fR to \fIlongest\fR by message.
  223. X.LI "status"
  224. XThis will sort by priority, action, new, tagged, then deleted
  225. Xorder.
  226. X.LE
  227. X.sp
  228. XEach of these fields can also optionally be prepended with the
  229. Xsequence "reverse-" to reverse the order of the sort.  The 
  230. Xsorting method in the sample \fI.elmrc\fR, for example, 
  231. Xis \fIreverse-sent\fR, to have the new
  232. Xmail always be listed first in the headers (note that this doesn't
  233. Ximply anything about the location of the message in the \fImailbox\fR
  234. Xitself!)
  235. X.LI "weedout"
  236. XWhen specifying this option, you can then list headers that
  237. Xyou \fBdon't\fR want to see when you are read mail.
  238. XThis list can continue for as many lines as desired, as 
  239. Xlong as the continued lines all have leading indentation.
  240. X(default is ``Received:'' and others...)
  241. X.LE
  242. X.sp 2
  243. X.ps 12
  244. X.ne 8
  245. X\fBNumeric Variables\fR
  246. X.ps 10
  247. X.VL 13 0
  248. X.LI "bounceback"
  249. XThis is a hop count threshold value and allows you to
  250. Xset up the mailer so that when you send mail more than
  251. X\fIn\fR machines away, it'll automatically include a
  252. X"Cc:" to you through the remote machine.  In practice
  253. Xthis should be very rarely used.  (Note: this refuses to
  254. Xbounce mail off an Internet address.  The default is to
  255. Xhave it set to zero, which disables the function)
  256. X.LI "timeout"
  257. XOn more advances systems, it's nice to start up the 
  258. Xmailer in a window and let it sit in background 
  259. Xunless new mail arrives (see \fIwnewmail\fR for
  260. Xanother window based program) at which point
  261. Xit can be brought up to the forefront of the system 
  262. Xand read.  In this case, it would be quite convenient
  263. Xto have the mailer internally resynchronize every
  264. X``delta'' seconds.  That's exactly what this particular
  265. Xoption allows.  
  266. X.sp
  267. XThis is also useful for normal terminals, for example you can
  268. Xleave \fBElm\fR running at night (I usually do) and when you
  269. Xcome in in the morning it'll be all ready to read your mail!
  270. X.sp
  271. X(The default is a 300 second (5 minute) timeout period).
  272. X.LI "userlevel"
  273. XThis is what the program uses to determine the relative level of
  274. Xsophistication of the user - the values are 0 for a new user (the
  275. Xdefault), 1 for a good computer user, and 2 and above for experts. 
  276. X.LE
  277. X.sp 2
  278. X.ps 12
  279. X.ne 8
  280. X\fBBoolean Variables\fR
  281. X.ps 10
  282. X.VL 12 0
  283. X.LI "alwaysdelete"
  284. XWhen set, this changes the default answer
  285. Xof the prompt "Delete messages?" to the indicated value.  (default is
  286. Xto have the answer be \fINo\fR (alwaysdelete=OFF))
  287. X.LI "alwaysleave"
  288. XThis changes the default answer on the "keep mail in incoming mailbox?"
  289. Xprompt to the value indicated (default
  290. Xis to have the default answer be \fINo\fR (that is, alwaysleave=OFF)
  291. X.LI "arrow"
  292. XSometimes your are forced to use a slow, or ``dumb'' terminal.  In this
  293. Xcase, you can force the current message pointer to be the ``->''
  294. Xsequence rather than the inverse bar.  (Note that this is
  295. Xidentical in function to the `-a' starting option) (default is OFF
  296. Xunless you're on an IBM 3270) (I'll bet you think I'm joking...)
  297. X.LI "ask"
  298. X(or ``question'').  This allows you to tell the \fBElm\fR system that 
  299. Xyou'd rather not be asked ``Delete Mail?'' and such each time you 
  300. Xleave the program, and instead it should just use the values of
  301. X``alwaysdelete'' and ``alwaysleave'' without prompting.   Useful if
  302. Xyou're too lazy to type two returns!  (default is OFF)
  303. X.LI "autocopy"
  304. XThis is a boolean flag, and if set will automatically copy
  305. Xthe text of each message being replied to into the edit
  306. Xbuffer.  (default is OFF)
  307. X.LI "copy"
  308. XThis, in combination with the \fIsavemail\fR filename, will
  309. Xallow you to have silent copies of all outgoing mail
  310. Xmade on the outbound step.  
  311. X(default is OFF)
  312. X.LI "keep"
  313. XThe mail system has a habit of deleting mailboxes when you've
  314. Xremoved everything from them.  With this option turned on, it will
  315. Xinstead preserve them as zero-byte files.  (default is OFF)
  316. X.LI "keypad"
  317. XIf on, this tells \fBElm\fR that you have an HP terminal and enables
  318. Xthe <NEXT>, <PREV>, <HOME> and <SHIFT-HOME> keys.  (default is OFF)
  319. X.LI "menus"
  320. XIf turned off, this will inhibit the Menu display on all of the 
  321. Xscreen displays within the \fIElm\fR program.  (default is ON)
  322. X.LI "movepage"
  323. XIf this is turned on then commands that move through the
  324. Xmailbox by pages (notably the `+' and `-', <PREV> and <NEXT>
  325. Xkeys) will also move the current message pointer to the
  326. Xtop of that page of messages.  If this is turned off 
  327. Xthen moving through the pages doesn't alter the
  328. Xcurrent message pointer location.
  329. X(default is OFF)
  330. X.LI "noheader"
  331. XThis boolean flag tells the mailer not to include the 
  332. Xheaders of messages when copying a message into a file
  333. Xbuffer for replying to or forwarding.
  334. X(default is ON)
  335. X.LI "pointnew"
  336. XIf this is turned on, the mailer will automatically 
  337. Xpointing to the first new message in your mailbox when started, instead
  338. Xof at message #1.  Note that this is only used for the incoming mailbox!
  339. X(default is ON)
  340. X.LI "resolve"
  341. XThis is a boolean flag that defines the behaviour of the
  342. Xprogram for such actions as deletion, saving a message 
  343. Xand so on.  
  344. X(default is ON)
  345. X.LI "savename"
  346. XOne of the problems with electronic mail systems is that one
  347. Xtends to get very large, one-dimensional (flat) files that
  348. Xcontain lots of completely unrelated mail.  If this option
  349. Xis turned on, \fBElm\fR will use a more intelligent 
  350. Xalgorithm - on incoming mail, when you \fIsave\fR it, the default
  351. Xmailbox to save to (changeable by pressing anything other than
  352. X<return> of course) is a file that is the \fIlogin name\fR of the
  353. Xperson who sent you the message.  Similarly, when sending mail out,
  354. Xinstead of just blindly saving it to the \fIsavemail\fR file, \fBElm\fR
  355. Xwill first try to save it to a file that is the login name of the 
  356. Xperson who is to receive the mail\*F.
  357. X.FS
  358. XWhen sending to a group, it's saved to the first person in the 
  359. Xlist only.  One day we'll have \fIpointers\fR to messages, then...
  360. X.FE
  361. XIf the file doesn't already exist on outbound mail, then it will 
  362. Xsave the mail in the \fIsavemail\fR file.
  363. X.P 0
  364. XIn practice, this means that important people that you communicate
  365. Xwith (those that you tend to save mail from) have files that are
  366. Xactually \fIa recorded log of the discussion in both directions\fR
  367. Xand those others (random mailings) are all stuffed in the \fImailsave\fR
  368. Xfile for easy perusal and removal. (The default is ON)
  369. X.LI "softkeys"
  370. XIf on, this tells \fBElm\fR that you have an HP terminal with the
  371. XHP 2622 function key protocol and that you'd like to have them available
  372. Xwhile in the program.  (default is OFF)
  373. X.LI "titles"
  374. XThis flag allows you to have the first line of a message
  375. Xtitled with:
  376. X.sp
  377. X.nf
  378. XMessage #\fIN\fR from \fIusername\fR                Mailed \fIdate\fR at \fItimXe\fR
  379. X.fi
  380. X.sp
  381. Xwhere all the information has been previously extracted
  382. Xfrom the message.
  383. XThis is especially useful if you weed out all the headers of each
  384. Xmessage with a large `weedout' list...
  385. X(default is ON)
  386. X.LI "warnings"
  387. XThe mailer likes to warn you when you send mail to a machine that cannot
  388. Xbe directly accessed.  In some situations, however, the system is set up so
  389. Xthat mail is automatically forwarded to another machine that might then
  390. Xhave better connections.  Setting this flag will allow you to effectively
  391. Xshut off all the warning messages.  (default is ON)
  392. X.LI "weed"
  393. XThis is a boolean flag that, in combination with the
  394. X"weedout" list, allows you to custom define the set of
  395. Xheaders you would like to not have displayed while reading
  396. Xmessages.  
  397. X(default is ON)
  398. X.LE
  399. X.sp
  400. XOne more thing: the format for each of the lines is;
  401. X.nf
  402. X
  403. X    variable = value
  404. X
  405. X.fi
  406. Xand for boolean variables, \fIvalue\fR can be `ON' or `OFF' only.
  407. X.sp
  408. XFor a better idea of how this all works, here's my \fI.elmrc\fR file.
  409. XWhile looking through it, notice that you can have lots of comments
  410. Xand blank lines for readability and that you can also use `shell
  411. Xvariables' and the `~' metacharacter for your home directory, 
  412. Xand they are expanded accordingly when read in by the mailer.
  413. X(Note that this was automatically saved by the \fIElm\fR program - versions
  414. X1.3b and above have the ability to create \fI.elmrc\fR files on the
  415. Xfly from the O)ptions screen - it's quite useful)
  416. X.ps 9
  417. X.nf
  418. X
  419. X  #
  420. X  # .elmrc - options file for the Elm mail system
  421. X  #
  422. X  # Saved automatically by Elm 1.5 for Dave Taylor
  423. X  #
  424. X
  425. X  # where to save calendar entries
  426. X  calendar = ~/.Agenda
  427. X
  428. X  # what editor to use (none = simulate Berkeley Mail)
  429. X  editor = none
  430. X
  431. X  # The full user name for outbound mail
  432. X  fullname = Dave Taylor
  433. X
  434. X  # where to save messages to, default file
  435. X  mailbox = $HOME/Mail/mailbox
  436. X
  437. X  # where to save my mail to, default directory
  438. X  maildir = /users/taylor/Mail
  439. X
  440. X  # scroll through messages rather than paging...
  441. X  pager = builtin
  442. X
  443. X  # prefix sequence for including message text in other messages...
  444. X  prefix = >_
  445. X
  446. X  # how to print a message ('%s' is the filename)
  447. X  print = lpr -Plw2 %s
  448. X
  449. X  # where to save mail if not specified somewhere else
  450. X  savemail = /users/taylor/Mail/mail.sent
  451. X
  452. X  # The shell to use for shell escapes
  453. X  shell = /bin/csh
  454. X
  455. X  # and how to sort mailboxes, by default
  456. X  sortby = Reverse-Received
  457. X
  458. X  # should we always delete messages we've marked for deletion (change the
  459. X  # default answer to yes)
  460. X  alwaysdelete = ON
  461. X
  462. X  # should we always leave messages as pending (change the default answer to yeXs)
  463. X  alwaysleave = ON
  464. X
  465. X  # should we use the "->" rather than the inverse video bar?
  466. X  arrow = OFF
  467. X
  468. X  # automatically copy message being replied to into buffer? 
  469. X  autocopy = OFF
  470. X
  471. X  # threshold for bouncing copies of remote uucp messages...
  472. X  # zero = disable function.
  473. X  bounceback = 0
  474. X
  475. X  # save a copy of all outbound messages? 
  476. X  copy = ON
  477. X
  478. X  # we might mail out AT&T Mail Forms, too
  479. X  forms = OFF
  480. X
  481. X  # we're running on an HP terminal...
  482. X  keypad = OFF
  483. X
  484. X  # should we display the three-line menus?
  485. X  menu = ON
  486. X
  487. X  # when using the page commands (+ - <NEXT> <PREV>) change the current messageX pointer...
  488. X  movepage = ON
  489. X
  490. X  # let's just show the names, though, when expanding aliases...
  491. X  names = ON
  492. X
  493. X  # when messages are copied into the outbound buffer, don't include headers
  494. X  noheader = ON
  495. X
  496. X  # start up by pointing to the first new message received, if possible
  497. X  pointnew = ON
  498. X
  499. X  # emulate the Berkeley Mail message increment mode (only increment after someXthing
  500. X  # has been 'done' to a message, either saved or deleted)
  501. X  resolve = ON
  502. X
  503. X  # save messages, incoming and outbound, by login name of sender/recipient
  504. X  savename = ON
  505. X
  506. X  # we're running on an HP terminal and want function keys available too!
  507. X  softkeys = OFF
  508. X
  509. X  # Set the main prompt timeout for resynching...
  510. X  timeout = 60
  511. X
  512. X  # display message title when displaying pages of message
  513. X  titles = ON
  514. X
  515. X  # are we good at it?  0=beginner, 1=intermediate, 2+ = expert!
  516. X  userlevel = 2
  517. X
  518. X  # don't bother telling us what machines we can't get to...
  519. X  warnings = OFF
  520. X
  521. X  # enable the weedout list to be read...
  522. X  weed = ON
  523. X
  524. X  # what headers I DON'T want to see, ever.
  525. X  weedout = "Path:" "Via:" "Sent:" "Date" "Status:" "Original" "Phase" "SubjectX:" "Fruit" "Sun" "Lat" 
  526. X    "Buzzword" "Return" "Posted" "Telephone" "Postal-Address" "Origin" "X-Sent-By-XNmail-V" "Resent" 
  527. X    "X-Location" "Source" "Mood" "Neuron" "Libido" "To:" "X-Mailer:" "Full-Name:" X"X-HPMAIL" "Cc:" 
  528. X    "cc:" "Mmdf" "Network-" "Really-" "Sender:" "Post" "Message-" "Relay-" "ArticlXe-" "Lines:" 
  529. X    "Approved:" "Xref:" "Organization:" 
  530. X
  531. X  # alternative addresses that I could receive mail from (usually a
  532. X  # forwarding mailbox) and don't want to have listed...
  533. X  alternatives = hplabs!taylor  hpldat!taylor  taylor@hplabs  taylor%hpldat  
  534. X
  535. X.ps 10
  536. X.fi
  537. X.sp 2
  538. X.H 1 "The Starting Parameters"
  539. X.P
  540. XThere are a number of starting options to the
  541. X.B Elm
  542. Xprogram, with only one that needs to be remembered: ``-?''or ``-h'' for help.
  543. X.P 0
  544. XThe flags are;
  545. X.VL 13 0
  546. X.LI "-a"
  547. XArrow.  This allows you to have the "->" arrow pointer
  548. Xrather than the inverse bar.  This can also be set in
  549. Xthe \fI.elmrc\fR file - check the boolean variable \fIarrow\fR).
  550. X.LI "-c"
  551. XCheck only.  This is useful for expanding aliases 
  552. Xwithout sending any mail.  The invocation is just
  553. Xlike sending mail: \fBelm -c\fI alias or aliases\fR.
  554. X.LI "-d \fIn\fR"
  555. XSet debug level to \fIn\fR.  Useful for debugging the 
  556. X.B Elm
  557. Xprogram.  The results of using the debug option is
  558. Xmuch less drastic than in the previous versions of 
  559. Xthe program - it creates a file in your home directory
  560. Xcalled \fIElm.debug.info\fR and creates a (verbose) log
  561. Xof activity as the program is used.  
  562. X.sp
  563. XLevel \fIn\fR can be 1 through 11, where the higher numbers generate
  564. Xmore output.
  565. X.LI "-f \fIfile\fR"
  566. XFile.  Read specified file rather than the default input mailbox.
  567. XNote that you can use the same metacharacters (e.g. `=') as when 
  568. Xyou \fIchange mailboxes\fR from within the program.
  569. X.LI "-h or -?"
  570. XHelp.  Gives a short list of all these options and exit.
  571. X.LI "-k"
  572. XKeypad - This option, when used, lets the \fBElm\fR program
  573. Xknow that you're on an HP terminal, and it can then interpret
  574. Xthe <PREV>, <NEXT> and <HOME>/<SHIFT>-<HOME> keys accordingly.  If you
  575. Xare not on an HP terminal, it is recommended that you do
  576. XNOT use this option. (see the \fIkeypad\fR option in
  577. Xthe \fI.elmrc\fR section)
  578. X.LI "-K"
  579. XKeypad + softkeys.  The \fBElm\fR mailer can, to a rather limited
  580. Xextent, use the HP softkeys as an alternative form of
  581. Xinput.  If you specify this option be sure that you're on
  582. Xan HP terminal that can accept the standard 2622 terminal
  583. Xescape sequences! (see the \fIsoftkeys\fR option in
  584. Xthe \fI.elmrc\fR section for more information)
  585. X.LI "-m"
  586. XInhibit display of the 3-line menu when using the mailer.  This,
  587. Xof course, gives you three more message headers per page instead.
  588. X.LI "-s \fIsubject\fR"
  589. XIn batch mode, this is how to indicate the subject of the
  590. Xresulting message.  Please see the section on "Non-Interactive
  591. XUses of Elm" in the \fIElm Users Guide\fR for more information.
  592. X.LI "-z"
  593. XZero.  This causes the mailer not to be started if you don't
  594. Xhave any mail.   This emulates the behaviour of programs
  595. Xlike \fIBerkeley Mail\fR.
  596. X.LE
  597. X.P
  598. XAll the above flags default to reasonable options, so there is
  599. Xusually no need to use them.  Furthermore, the most used flags
  600. Xare available through the \fI.elmrc\fR file.  See above.
  601. X.sp 2
  602. X.H 1 "Special Outgoing Mail Processing"
  603. X.sp
  604. X.P
  605. XThere are a few extra features that the mailer offers on
  606. Xoutgoing mail that are worthy of mention;
  607. X.sp
  608. X.P
  609. XThe first, and probably the most exciting feature\*F, is the
  610. X.FS
  611. XUnfortunately, at many non-US sites, it's quite probable that
  612. Xyou won't be able to use this feature since you won't have
  613. Xthe "crypt()" library available due to licensing restrictions.
  614. X.FE
  615. Xability to send \fIencrypted\fR mail! To do this is 
  616. Xextremely simple:  You need merely to have two key lines
  617. X``[encode]'' and ``[clear]'' in the message body.
  618. X.P 0
  619. XConsider the following outgoing message:
  620. X.nf
  621. X
  622. X    Joe,
  623. X        Remember that talk we had about Amy?  Well,
  624. X    I talked to my manager about it and he said...
  625. X
  626. X    uhh...better encrypt this...the usual `key'...
  627. X
  628. X    [encode]
  629. X
  630. X        He said that Amy was having family problems and that it had been 
  631. X    affecting her work.
  632. X
  633. X        Given this, I went and talked to her, and told her I was sorry for 
  634. X    getting angry.  She said that she understood.
  635. X
  636. X        We're friends again!!
  637. X    [clear]
  638. X    
  639. X        Exciting stuff, eh?   
  640. X
  641. X                     Mike
  642. X
  643. X.fi
  644. XWhile this is obviously quite readable while being typed into 
  645. Xthe editor, as soon as the message is confirmed as wanting
  646. Xto be sent, the \fBElm\fR mailer prompts with;
  647. X.nf
  648. X
  649. X    Enter encryption key: @
  650. X
  651. X.fi
  652. Xand accepts a key (a series of 8 or less characters) without
  653. Xechoing them to the screen.  After entry, it will ask for the
  654. Xsame key again to confirm it, then *poof* it will encrypt and
  655. Xsend the mail!
  656. X.P
  657. XIf you have the \fIcopy\fR option enabled, the program will save
  658. Xyour copy of the message encrypted too.  (This is to ensure
  659. Xthe privacy and security of your archived mail too!)
  660. X.P
  661. XIf the mailer doesn't ask for the encryption key, it's because
  662. Xyou don't have the ``[encode]'' entered as the first 8 characters
  663. Xof the line.  It MUST be so for this to work!!
  664. X.P
  665. XOn the other end, a person receiving this mail (they must also
  666. Xbe using \fBElm\fR to receive it, since this mailer has a
  667. Xunique encryption program) will be reading the
  668. Xmessage and then suddenly be prompted;
  669. X.nf
  670. X
  671. X    Enter decryption key: @
  672. X
  673. X.fi
  674. Xand will again be asked to re-enter it to confirm.  The
  675. Xprogram will then on-the-fly decrypt the mail and display
  676. Xeach line as it is decoded.  The `[clear]' line signifies
  677. Xthat the block to encrypt is done.
  678. X.P
  679. XFor those sites not running \fBElm\fR, a separate program
  680. Xsuitable for a filter for use with other mailers is available.
  681. X.P 0
  682. XNote that it is not possible currently to \fIpipe\fR or \fIprint\fR
  683. Xencrypted mail.
  684. X.sp
  685. X.P
  686. XThe other option on outgoing mail is the ability to
  687. Xspecify what section of the message you want to have
  688. Xarchived (assuming \fIcopy\fR is enabled) and what section
  689. Xyou don't.  This is most useful for sending out source
  690. Xfile listings and so on...
  691. X.P
  692. XTo indicate the end of the section that should be
  693. Xsaved in the archive, you need merely to have the
  694. Xline
  695. X.nf
  696. X
  697. X    [nosave]
  698. X
  699. X.fi
  700. Xappear by itself on a line.  This will be removed from 
  701. Xthe outgoing mail, and will indicate the last line of
  702. Xthe message in the saved mail.
  703. X.sp 2
  704. X.H 1 "Responses..."
  705. X.sp
  706. X.P
  707. XThis section will discuss each command in the 
  708. X.B Elm
  709. Xprogram in more detail than above, including the 
  710. Xprompts the user can expect upon executing the
  711. Xcommand, the meaning of different options etc etc.
  712. X.sp
  713. X.VL 10 3
  714. X.LI ?
  715. XHelp.  This command used once puts you in the \fIexplain key\fR
  716. Xmode, where any key you press will result in a one-line description
  717. Xof the key.  Pressed again at this point will produce a summary 
  718. Xtwo pages listing each command available.
  719. X<escape> or `.' will leave the help mode and return you to the
  720. Xmain menu level.
  721. X.LI !
  722. XShell.  This allows you to send a command to the shell without
  723. Xleaving the program. 
  724. X.LI |
  725. XPipe.  This command allows you to pipe the current message
  726. Xor the set of \fItagged\fR messages
  727. Xthrough other filters as you desire.  The shell used for
  728. Xthe entire command will be either the one specified in
  729. Xyour \fI.elmrc\fR file, or, if none, \fI/bin/sh\fR.
  730. X.LI \/
  731. XPattern match.  This command, on the top level, allows the
  732. Xuser to search through all the \fIfrom\fR and \fIsubject\fR lines of
  733. Xthe current mailbox starting at the current message and
  734. Xcontinuing through the end.  If the first character of the
  735. Xpattern is a `/', then the program will try to match the
  736. Xspecified pattern against \fBany\fR line in the mailbox.  Again,
  737. Xthis works from one after the current message through the
  738. Xend.  Both searches are case insensitive.
  739. X.LI <n>
  740. XSpecify new current message.  Typing in any of the digits one
  741. Xthrough nine will result in the 
  742. X.B Elm
  743. Xprogram producing the prompt `Set current to : n', where `n' is
  744. Xthe digit entered.  
  745. XNote that changing the current message to a message not on the 
  746. Xcurrent page of the headers will result in a new page of headers
  747. Xbeing displayed.
  748. X.LI "<"
  749. XScan message for calendar entries.  A rather novel feature of 
  750. Xthe \fBElm\fR mailer is the ability to automatically incorporate
  751. Xcalendar/agenda information from a mail message into the users
  752. Xcalendar file.  This is done quite simply; any message that has
  753. Xeither the pattern;
  754. X.DS
  755. X      -> \fIcalendar entry\fR
  756. X.DE
  757. Xor
  758. X.DS
  759. X      - \fImulti-line\fR
  760. X      - \fIcalendar entry\fR
  761. X.DE
  762. Xwill be automatically added to the users \fIcalendar\fR file (see
  763. Xthe \fIcalendar\fR option of the \fI.elmrc\fR file) if the `<'
  764. Xcommand is used.  The main difference between the two formats is that
  765. Xthe first is assumed to be a \fIcalendar(1)\fR entry (the `->' is
  766. Xstripped off), and the second is a more generic format (only the `- '
  767. Xis stripped off).
  768. X.sp
  769. XFor example, let's say we had a message with the text;
  770. X.DS
  771. X    Regardless of that meeting, here's the seminar stuff;
  772. X
  773. X    -> 8/03 3:00pm: AI Seminar with Ira Goldstein of HP Labs
  774. X.DE
  775. Xthen using the `<' command would add the line;
  776. X.DS
  777. X  8/03 3:00pm: AI Seminar with Ira Goldstein of HP Labs
  778. X.DE
  779. Xto the users \fIcalendar\fR file.
  780. X.LI a
  781. XAlias.  The alias system is a way by which more complex mail addresses
  782. Xcan be shortened for the mail user.  For example;
  783. X.nf
  784. X
  785. X  joe, bleu : Joe Bleu : joe@hpcfla
  786. X
  787. X.fi
  788. Xwhich allows mail to `joe' or `bleu' with the system expanding
  789. Xthe address properly.  As is obvious, this not only saves remembering
  790. Xcomplex addresses, it also allows the address to be optimized to
  791. Xgo through the minimum number of machines without anyone having to
  792. Xbe informed of the change.  A more detailed discussion can
  793. Xbe found in either the section entitled \fIThe Alias System\fR in
  794. Xthis document or the \fIElm Alias Guide\fR.
  795. X.LI b
  796. XBounce mail.  This ``remails'' mail to someone else in such a
  797. Xway as to make the return address the original sender rather
  798. Xthan you (as opposed to the \fIforward\fR command, which makes
  799. Xthe return address \fIyou\fR rather than the original sender)
  800. X.LI c
  801. XChange mailbox.  Specifying this command allows the user to change
  802. Xthe mailbox file that is currently being read.  This is intended 
  803. Xfor perusal and reply to previously archived messages.
  804. XThe prompt is `Name of new mailbox : ' and entering <return>
  805. Xcancels the operation, while entering a filename causes the program
  806. Xto read that file as the new mailbox file, if possible.
  807. XAs with the \fIsave\fR command, this command expands filenames
  808. Xwith `~' being your home directory and `=' being your
  809. X\fImaildir\fR directory, if defined.  This command also allows the
  810. Xspecial character `!' to be used to allow you to change to
  811. Xthe default incoming mailbox.
  812. X.LI "d, u"
  813. XDelete and Undelete.  Neither of these two commands have any prompts
  814. Xand indicate their action by either adding an asterisk to the current
  815. Xmessage index entry (indicating deletion pending) or removing the
  816. Xasterisk (indicating that the deletion is cancelled).
  817. X.LI "<control>-D"
  818. XThis command allows you to easily mark for deletion all messages 
  819. Xthat have a specific pattern.  After <control>-D is pressed,
  820. Xthe program will prompt for the string to match (currently it
  821. Xonly matches either the \fIfrom\fR or \fIsubject\fR lines of
  822. Xthe message).
  823. X.LI "<control>-U"
  824. XThis is the direct opposite command to the previous - all messages
  825. Xthat match the specified pattern can have any mark for deletion 
  826. Xremoved by using this command.
  827. X.LI e
  828. XEdit mailbox.  This allows you to modify the current mail file at
  829. Xa single keystroke.  This is mostly useful for editing down messages
  830. Xbefore saving them.  Modifying headers should be done with extreme
  831. Xcaution, as they contain routing information and other vital stuff
  832. Xfor full functionality.
  833. X.LI f
  834. XForward.  Allows the user to forward the current message to another user.  
  835. XThis copies the message into the edit
  836. Xbuffer and allows the user to add their own message too.
  837. XThe prompt is `Forward to:' and will expand an alias if
  838. Xentered.
  839. X(see \fIbounce\fR above, too)
  840. X.LI "j, k"
  841. XThese two keys work similarly to what they would do in \fIvi\fR or
  842. Xany of the other (precious few) screen oriented programs.  The `j' key moves
  843. Xthe current message pointer down to the next message (going to
  844. Xthe next page if needed) and the `k' key moves the current
  845. Xmessage pointer back to the previous message (also changing 
  846. Xpages if needed)
  847. X.LI l
  848. XLimit.  This new feature allows you to specify a subset of the existing
  849. Xmessages to be dealt with.  For example, let's say we had a folder with
  850. Xfour hundred messages in it, about four or five different subjects.  We
  851. Xcould then limit what we're dealing with by using the \fIlimit\fR
  852. Xcommand.  Pressing `l' would result in the prompt;
  853. X.nf
  854. X       Criteria: 
  855. X
  856. X.fi
  857. Xto which we could answer ``subject <string>'', ``from <string>'' or
  858. X``to <string>''.  In our example, we could use ``subject programming''
  859. Xas a criteria for selection.  Once we've limited our selections down,
  860. Xthe screen will be rewritten with just the selected messages, they
  861. Xwill all be renumbered, and the top line will change to have a message
  862. Xlike;
  863. X.nf
  864. X
  865. X      Mailbox is `=/elm' with 92 shown out of 124 [Elm 1.5]
  866. X
  867. X.fi
  868. XWe can further limit selections by entering further criteria, each
  869. Xtime using the \fIlimit\fR option again.
  870. X.P
  871. XTo clear all the criteria and get back to the `regular' display, simply
  872. Xenter \fIall\fR as the limiting criteria.  It should be noted that the
  873. Xselection based on ``to'' isn't fully implemented for this version, so
  874. Xit is recommended that users stay with ``subject'' and ``from'' as the
  875. Xbasis for their criteria.
  876. X.LI m
  877. XMail.  Send mail to a specified user.  The prompt that is associated
  878. Xwith this command is `Send mail to :'.  Entering an alias name results
  879. Xin the full address being rewritten in parenthesis immediately.  This
  880. Xprompt is followed by `Subject:' which allows the user to title their
  881. Xnote.  The final field is `Copies to: ', which allows other people
  882. Xspecified to receive "carbon copies" of the message. 
  883. XUpon entering all three items the 
  884. X.I vi
  885. Xeditor (or any other editor specified by $editor) 
  886. Xis invoked and the message can be composed.
  887. X.LI n
  888. XNext message.  See \fI<return>\fR.
  889. X.LI o
  890. XOptions.  This full-screen display allows you to alter the settings
  891. Xof a number of parameters, including the current sorting method,
  892. Xthe method of printing files, the calendar file, the save file, and
  893. Xso on.  It's self-documenting (where have you heard \fIthat\fR
  894. Xbefore?) so isn't explained in too much detail herein.
  895. X.LI p
  896. XPrint.  This allows you to print out the current
  897. Xmessage or the tagged messages to a previously defined printer 
  898. X(see the section on the \fI.elmrc\fR discussing the \fIprint\fR variable)
  899. X.LI q
  900. XQuit.  This command's action is dependent on the current state of
  901. Xthe 
  902. X.B Elm
  903. Xprogram.
  904. XFor example, if the current mailbox is the default mailbox the messages
  905. Xthat are not deleted are saved in the file $home/mbox, whereas
  906. Xif it is a specified mailbox the to-be-deleted messages are 
  907. Xremoved from the
  908. Xfile.  The possible prompts are `Save to mailbox?' if the default mailbox
  909. Xis being read and there is at least one message to save, 'Delete all
  910. Xmessages' if all messages in any mailbox are marked for deletion 
  911. Xor `Delete message(s)?'
  912. Xif not reading the default mailbox and there are some messages that
  913. Xshould be saved.  A response of `n' (no) to either of these questions will
  914. Xresult in the quit command aborting, and the files being untouched.
  915. X.LI r
  916. XReply.  Reply to the author of the current message.  If
  917. Xthe autocopy flag is not specified, the program will 
  918. Xprompt `Copy Message? (y/n)' to which the user can specify 
  919. Xwhether a copy of the source message is to be copied into the edit
  920. Xbuffer, or not.  If copied in, all lines from the message are 
  921. Xprepended with the prefix character sequence, as specified in
  922. Xthe users \fI.elmrc\fR file.
  923. X.LI s
  924. XSave to file.  This command allows the current message or set of
  925. Xtagged messages to be copied 
  926. Xinto an arbitrary file.  If there is anything in the file currently the
  927. Xmessage or messages are appended to the end, otherwise the file is created
  928. Xcontaining only the newly saved mail.  The prompt for this command
  929. Xis `Save to file : '.  A response of <return> cancels the command
  930. Xand returns the user to the system prompt.
  931. XAfter saving a file, each message is marked for deletion and,
  932. Xif saving just one message,
  933. Xthe current message pointer is incremented.
  934. XThe usual filename metacharacters are available, too.
  935. X.LI t
  936. XTag.  Tag the current message for a later operation\*F.
  937. X.FS
  938. XCurrently only \fIpipe\fR, \fIprint\fR, and \fIsave\fR support this.
  939. X.FE
  940. X.LI "<control>-T"
  941. XTag all messages containing the specified pattern.  Since \fItagging\fR
  942. Xmessages can occur on screens other than the one being viewed, the 
  943. X\fIElm\fR system will first check to see if any messages are currently
  944. X\fItagged\fR and ask you if you'd like to remove those tags.  After
  945. Xthat, it will, similar to the \fI<control>-D\fR function, prompt for
  946. Xa pattern to match and then mark for deletion all messages that contain
  947. Xthe (case insensitive) pattern in either the \fIfrom\fR or \fIsubject\fR
  948. Xlines. 
  949. X.LI x
  950. XExit.  This is functionally the same as answering \fIN\fRo to the 
  951. X.I quit
  952. Xcommand prompt, and simply leaves the program in the quickest
  953. Xpossible manner.  This command can also occur from typing
  954. XDELETE, or control-Q, both of which are also 
  955. X.I exit
  956. Xcommands.
  957. X.LE
  958. X.sp 2
  959. X.H 1 "The Mail Archive File"
  960. X.sp
  961. X.P
  962. XThe format of the mail saved to the archive file is also
  963. Xworth a quick discussion.  Unlike the usual exact copy
  964. Xof the entire header section, the archived mail has the
  965. Xfollowing header;
  966. X.nf
  967. X
  968. X    From To:<name> 15 Jan 1985 4:54:30 MST
  969. X    To: <address>
  970. X    Subject: <subject>
  971. X    Cc: <address>
  972. X
  973. X    <message body>
  974. X
  975. X.fi
  976. XThe first line, the `From' line, is deliberately mangled
  977. Xwith the occurrence of the `To:<name' to ensure that when
  978. Xyou are perusing your archive file with the mailer that
  979. Xyou see \fIwho the message was to\fR, since they're all going
  980. Xto be from you!!  The <name> will either be the machine!login
  981. Xof the person, or, if originally addressed with an alias, the
  982. Xalias name.
  983. X.P
  984. XTo read this file, you can use the mailer, choosing the 
  985. Xthe \fIchange mailbox\fR command, or start up specifying your
  986. Xarchive file as the mailbox to read.
  987. X.sp 2
  988. X.H 1 "Using ELM with ``editor = none''"
  989. X.sp
  990. X.P
  991. XThe
  992. X.I Elm
  993. Xprogram also supports a builtin editor for simple message 
  994. Xcomposition that is very (very) similar to the simple line
  995. Xeditor available from the \fIBerkeley Mail\fR system.
  996. X.P
  997. XTo access it, you need merely to specify ``editor=none'' in
  998. Xyour \fI.elmrc\fR file.  With that, any messages to be composed
  999. Xthat don't already have text in the buffer (e.g. no reply with
  1000. Xthe text included, etc), will use this editor.
  1001. X.sp
  1002. XFrom the builtin editor, the following options are available
  1003. Xfor use;
  1004. X.sp
  1005. X.VL 7 3
  1006. X.LI "~?"
  1007. XPrint a brief help menu.
  1008. X.LI "~b"
  1009. XChange the Blind-Carbon-Copy list.
  1010. X.LI "~c"
  1011. XChange the Carbon-Copy list.
  1012. X.LI "~e"
  1013. XInvoke the Emacs editor on the message, if possible.
  1014. X.LI "~f"
  1015. Xadd the specified list of messages, or current.
  1016. X.LI "~h"
  1017. XChange all the available headers (To, Cc, Bcc, and Subject)
  1018. X.LI "~m"
  1019. Xsame as `~f', but with the current `prefix'.
  1020. X.LI "~o"
  1021. XInvoke a user specified editor on the message.
  1022. X.LI "~p"
  1023. Xprint out the message as typed in so far.
  1024. X.LI "~r"
  1025. XInclude (read in) the contents of the specified file.
  1026. X.LI "~s"
  1027. XChange the Subject line.
  1028. X.LI "~t"
  1029. XChange the To list.
  1030. X.LI "~v"
  1031. XInvoke the Vi visual editor on the message.
  1032. X.LI "~!"
  1033. Xexecute a unix command if one is given (as in ``~!ls'') or
  1034. Xgive the user a shell (either from their shell setting in 
  1035. Xtheir \fI.elmrc\fR file or $SHELL).
  1036. X.LI "~~"
  1037. XAdd a line prefixed by a single `~' character.
  1038. X.LE
  1039. X.sp
  1040. XA useful note is that the `~f' and `~m' commands invoke the \fIreadmsg\fR
  1041. Xcommand, so you can pass parameters along too.  For example, if we
  1042. Xwanted to include a message from Joe, without any headers, prefixed,
  1043. Xwe could use;
  1044. X.nf
  1045. X
  1046. X    ~m -n Joe
  1047. X
  1048. X.fi
  1049. Xto accomplish the task.
  1050. X.P
  1051. XTo learn more about how they work, try 'em!
  1052. X.sp 2
  1053. X.H 1 "The Alias System"
  1054. X.sp
  1055. X.P
  1056. XAs mentioned previously, there exists in the
  1057. X.B Elm
  1058. Xsystem a set of aliases that associate
  1059. Xan arbitrary word (such as a persons name) to a complex
  1060. Xaddress or group.  
  1061. XThe advantages are readily apparent; rather than
  1062. Xremembering an address of the form;
  1063. X.nf
  1064. X
  1065. X  machine1!machine2!machine3! ... !machineN!account
  1066. X
  1067. X.fi
  1068. Xthe user merely has to remember a single word.  
  1069. X.P
  1070. XTwo alias tables are available for a each
  1071. Xuser within 
  1072. X.B Elm,
  1073. Xnamely the system alias file and the users' alias file.  The
  1074. Xsystem alias file is created and maintained (by the system administrator)
  1075. Xby editing the file \fI/usr/mail/.alias_text\fR as described
  1076. Xin the documentation with the 
  1077. X.I newalias
  1078. Xcommand, then running the 
  1079. X.I newalias 
  1080. Xprogram.
  1081. X.P
  1082. XAn individual user can also have an alias file which works
  1083. Xin conjunction with the system aliases.  To do this, they
  1084. Xneed merely to peruse the documentation for the 
  1085. X.I newalias
  1086. Xcommand and create a file as indicated therein.  After 
  1087. Xexecuting the program, the aliases will be available
  1088. Xfor using from within 
  1089. X.B Elm.
  1090. X.sp
  1091. XPlease refer to the \fIElm Alias Users Guide\fR for more helpful
  1092. Xhints and so on.
  1093. X.sp 2
  1094. XWithin
  1095. X.B Elm,
  1096. Xhowever, the alias system acts as an entirely different program, with
  1097. Xit's own commands and own mini-menu.  The menu replaces the
  1098. Xstandard mini-menu with;
  1099. X.sp
  1100. X.DS
  1101. X.nf
  1102. X.ce
  1103. X\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\X-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  1104. X.sp
  1105. X.ce
  1106. XAlias commands
  1107. X.sp
  1108. X.ce 
  1109. XA)lias current message, Check a P)erson or S)ystem, M)ake new alias or R)eturn
  1110. X.sp 2
  1111. XAlias: @
  1112. X.ce
  1113. X\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\X-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
  1114. X.sp
  1115. X.DE
  1116. X.fi
  1117. X.P 0
  1118. XThe commands are;
  1119. X.VL 10 3
  1120. X.LI a
  1121. XAlias current message.  
  1122. XThis allows the user to create an alias that has the
  1123. Xreturn address of the current message as the address field of
  1124. Xthe alias.  It prompts for a unique alias name.   Important
  1125. Xnote: when you alias an address in this fashion, the mailer
  1126. Xwill try to minimize the amount it needs to store by
  1127. Xiteratively comparing machine names in the path with the
  1128. Xmachines in the pathalias database.  Once it finds an entry
  1129. Xthe address will be saved at that point.   For further 
  1130. Xinformation, please see the \fIElm Alias Users Guide\fR.
  1131. X.LI p
  1132. XCheck personal alias.  This is a simple way of checking what is in the alias
  1133. Xdatabase - it prompts for an alias name, and returns the address
  1134. Xassociated with that name or the error message `alias not found'
  1135. Xas appropriate.  
  1136. X.LI s
  1137. XCheck system alias.  If you're not sure that your machine can talk
  1138. Xto another machine, you can use this command to either find the
  1139. Xappropriate route or find that you're correct in your suspicions 
  1140. Xand it is indeed unknown!
  1141. X.LI m
  1142. XMake user alias.  This will prompt for a unique alias name and
  1143. Xthen for an address.  The information provided will be added
  1144. Xto your individual alias_text file (\fI$home/.alias_text\fR) and 
  1145. Xthen added to the database.
  1146. X.LI r
  1147. XReturn.  Return to the main level of the 
  1148. X.B Elm
  1149. Xprogram.
  1150. X.LE
  1151. X.sp 2
  1152. X.H 1 "While We're Talking Aliases..."
  1153. X.P
  1154. XAnother feature worthy of discussion, since it's been getting
  1155. Xlots of veiled references throughout this document, is the 
  1156. Xhost-path file.  This is implemented using the uucp pathalias 
  1157. Xdatabase, with a file containing lines with the format:
  1158. X.nf
  1159. X
  1160. X     \fIhostname\fR <tab> \fIaddress\fR!%s
  1161. X  or
  1162. X     \fIhostname\fR <tab> \fI%s@hostname\fR
  1163. X
  1164. X.fi
  1165. XThe actual details of the file are, suprise, suprise, located in 
  1166. Xthe \fIAlias System Users Guide\fR.
  1167. X.P
  1168. XAnyway, to use them is quite simple...when specifying the address
  1169. Xof someone, you can either have an alias for them already, resend
  1170. Xto their mail to you, or use the system alias feature!
  1171. X.P
  1172. XEnough hype, right?  Okay...to use this feature, you specify an
  1173. Xaddress by either "machine!person" ignoring if your specific
  1174. Xmachine can talk directly to the machine specified, or, if you
  1175. Xprefer the Internet addressing scheme, "person@machine".  When
  1176. Xyou enter the address as specified, the mailer will quickly
  1177. Xsearch through the pathalias database file and expand the
  1178. Xspecified address to be a legitimate routing address.
  1179. X.P
  1180. XWhat's really nice about this is that the address that we're
  1181. Xgoing to send to can be either on ARPA, CSNET, BITNET, uucp,
  1182. Xor any other network.  The method of specifying the basic
  1183. Xaddress is the same regardless!
  1184. X.P
  1185. XFor example, mail to me could be sent as either "hplabs!taylor"
  1186. Xor "taylor@hplabs".  \fBElm\fR will expand them
  1187. Xboth in the same manner and include a ``route'' to the 
  1188. Xmachine \fIhplabs\fR, if needed.
  1189. X.P 0
  1190. XAs the song goes, check the alias guide...
  1191. X.P
  1192. XFor those sites with the domains database installed, you can
  1193. Xalso mail to users on domain based systems by simply specifying
  1194. Xtheir name, the machine they receive mail on and a full domain
  1195. Xspecification.
  1196. X.P
  1197. XFor example, say you have a friend Maurice who reads mail 
  1198. Xon \s9JOEVAX\s10 in the Mailnet world.  You could mail to him by using
  1199. Xthe address "Maurice@\s9JOEVAX.MAILNET\s10" and your system will
  1200. Xexpand the address correctly.
  1201. X.P
  1202. XGuess where to go for more information...!!
  1203. X.sp 2
  1204. X.H 1 "Expert Mail Users and Debugging the Mailer"
  1205. X.P
  1206. XThere are some additional facilities available in the
  1207. X.B Elm
  1208. Xmailer for those people who are knowledgeable about 
  1209. Xmail protocols, or trying to debug/track down a 
  1210. Xproblem.
  1211. X.P
  1212. XThe `h' \fIheaders\fR command at the outermost level of the mailer
  1213. Xwill display the current message ignoring the current
  1214. Xsetting of the `weed' option.  This is most useful
  1215. Xfor answering questions of the form "I wonder what
  1216. Xthis guy put in his header?" and such.  This command
  1217. Xdoes not show up on the mini-menu because it is somewhat
  1218. Xesoteric, but it does appear on the `?' help screen (can
  1219. Xyou find it there, though?).
  1220. X.P
  1221. XThe `@' command at the outermost level of the mailer
  1222. Xwill output a screen of debugging information,
  1223. Xincluding the number of lines and 
  1224. Xoffsets of each of the message in the current mailbox.
  1225. X.P
  1226. XThe `#' command at the outermost level of the mailer
  1227. Xwill display the entire stored `record structure' for
  1228. Xthe current message.
  1229. X.P
  1230. XThe `%' command at the outermost level of the mailer
  1231. Xwill display the full computed return address of the
  1232. Xcurrent message.
  1233. X.P
  1234. XStarting up 
  1235. X.B Elm
  1236. Xwith the "-d" debug option will create a file called
  1237. X.I Elm:debug.info
  1238. Xin your home directory and contain a wealth of useful
  1239. Xinformation (to me, at least!) to aid in tracking down
  1240. Xwhat errors are occurring and why.  
  1241. X.sp
  1242. X.P
  1243. XIf there are any problems with the mailer,  please try
  1244. Xto recreate the error with the debug option enabled
  1245. Xand set to the highest level (11)
  1246. Xbefore sending defect reports my way.
  1247. X.sp 3
  1248. XOne final note: all error names reported by the program
  1249. Xare documented in the Bell System V Reference Manual in \fIerrno\fR(2).
  1250. END_OF_doc/Ref.guide
  1251. if test 43914 -ne `wc -c <doc/Ref.guide`; then
  1252.     echo shar: \"doc/Ref.guide\" unpacked with wrong size!?
  1253. fi
  1254. # end of overwriting check
  1255. fi
  1256. echo shar: End of archive 19 \(of 19\).
  1257. cp /dev/null ark19isdone
  1258. DONE=true
  1259. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ; do
  1260.     if test ! -f ark${I}isdone ; then
  1261.     echo shar: You still need to run archive ${I}.
  1262.     DONE=false
  1263.     fi
  1264. done
  1265. if test "$DONE" = "true" ; then
  1266.     echo You have unpacked all 19 archives.
  1267.     echo "See the Instructions file"
  1268.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  1269. fi
  1270. ##  End of shell archive.
  1271. exit 0
  1272.