home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / comms / network / amigauuc.lha / AmigaUUCP / man / dmail.help < prev    next >
Text File  |  1991-09-11  |  24KB  |  725 lines

  1.  
  2. 'help TOPIC' for more information on a command.  Many commands take
  3. message numbers or message lists:
  4.     [msg]    is an optionaly specified message number (usually the
  5.         operation is on the current message if no number is
  6.         specified)
  7.     <list>    is an optionaly specified message list.  Message lists
  8.         consists of number ranges of the form N -N N- or N-N, and
  9.         keywords (help keywords)
  10.  
  11.  
  12. OTHER HELP AVAILABLE (in addition to the commands):
  13.     pager sendmail tilde header signature newmail keywords enviroment
  14.  
  15. DMAIL written by Matthew Dillon, U.C. Berkeley -UCF
  16.  
  17. (C)Copyright 1985-1989 by Matthew Dillon
  18.  
  19. .pager
  20. set page [rows/command]
  21.  
  22.     'page' is a SET variable which determines the type of paging list and
  23. display commands will use.  If not defined, no filter is used.    If a numerical
  24. value (i.e. 24) is specified, the page length will be set to that value and
  25. a rather stupid, simple internal paging routine will be used.  If the
  26. variable is set to an alpha-numeric string, output will be piped through
  27. that filter.  For instance:
  28.  
  29.     unset page        -no paging
  30.     set page more        -use more filter
  31.     set page page        -use 'page' filter
  32.     set page > x        -redirect to a file (be careful)
  33.     set page 24        -use internal paging, page length 24 rows.
  34.  
  35.     For internal paging, use <return> to continue, or your INTR
  36. character to break out.  Note that if you have paging set to a program,
  37. response time may be slower because dmail must execute that program.
  38.  
  39. .sendmail
  40. set sendmail sendmail-path
  41.  
  42.     Inform DMAIL as to where the sendmail program is.  The default
  43. (variable unset) is /usr/lib/sendmail.  This variable is useful only for
  44. those of us who like to hack-up our own sendmail.
  45.  
  46. .tilde
  47. ~ ~user directory expansion
  48.  
  49.     In all expressions except those within double quotes, the tilde
  50. `~` will be expanded to either your home directory, or the directory of
  51. a specified user, depending.  Note that '*' and '?' are not expanded by
  52. DMAIL, though they will be by any shell commands you execute.
  53.  
  54.     It is probably a good idea to use ~ in any aliases, etc... in case
  55. you change directories using the 'cd' command.
  56.  
  57.     alias resource source ~/.dmailrc        -example using ~
  58.  
  59. .header
  60. .headfile
  61. .signature
  62. .sigfile
  63. set headfile filepath
  64. set sigfile  filepath
  65.  
  66.     The headfile variable, if it exists, causes dmail to include
  67.     headers found in the specified file in any mail you send out
  68.     (it shows up in the editor).
  69.  
  70.     The sigfile variable, if it exists, causes dmail to post-pend
  71.     the contents of the specified file in any mail you send out
  72.     (again, it shows up in the editor so you can modify it).
  73.  
  74.     Generally these are set in your .dmailrc, usage is as follows:
  75.  
  76.     set headfile $user$.header
  77.     set sigfile  $user$.signature
  78.  
  79.  
  80. .newmail
  81. When new mail comes in:
  82.  
  83.     Whenever newmail arrives, it will be automatically incorporated into
  84. a running DMAIL.  However, to see it, you must 'select all' (or select on
  85. anything that would include it).
  86.  
  87. .keywords
  88. .range
  89. .message
  90. KEYWORDS, MESSAGE LISTS
  91.  
  92.     Many commands in DMAIL require a range of messages be given.  A Range
  93. consists of message numbers (3 4 5), message ranges (1-45 -9 9-), and
  94. keywords.  Keywords select certain messages from the entire SELECTED list:
  95.  
  96.     all        -All messages
  97.     tag        -All TAGGED messages
  98.     mark        -All MARKED (read) messages
  99.     deleted     -All DELETED messages
  100.     written     -All WRITTEN messages
  101.     untag        -All messages NOT TAGGED
  102.     unmark        -All messages NOT MARKED (i.e. read)
  103.     undeleted    -All messages NOT DELETED
  104.     unwritten    -All messages NOT WRITTEN
  105.  
  106.     Only the first three letters need be specified.  For instance, the
  107. 'all' keyword selects all the messages currently selected.  You could select
  108. on some subject, say, and then 'delete all'.
  109.  
  110.     The message number 0 refers to the last message. the 'undeleted'
  111. keyword exists only for completeness; you will probably never use it.
  112.  
  113. .ver
  114. .version
  115. VER
  116.  
  117.     returns the version number.
  118.  
  119. .if
  120. .else
  121. .endif
  122. IF [!]variable
  123. ELSE
  124. ENDIF
  125.  
  126.     Conditionals.  Example:
  127.  
  128.     if verbose
  129.         .... do stuff if the variable exists
  130.     else
  131.         ... do stuff if the variable does not exist
  132.     endif
  133.     if !page; echo no page variable; endif
  134.  
  135. .nobreak
  136. .breakok
  137. NOBREAK
  138. BREAKOK
  139.  
  140.     Disable or Enable your INTR key.  This command is stackable, thus
  141. there is no problem with recursive aliases which use it.  Be careful that
  142. you match any NOBREAK to a BREAKOK, or you may accidently put yourself into
  143. NOBREAK mode (and a single BREAKOK may not fix it because it's stackable).
  144.  
  145.     A good example would be a command which needs the page variable set
  146. for the duration... say an alias to TYPE to a file:
  147.  
  148. alias file "%_a nobreak; set _b $page; set page cat > $_a; type; set page $_b; unset _b; breakok"
  149.  
  150.     You can see that if the user were to hit his INTR character at the
  151. wrong time, the page variable would be incorrectly set.  The nobreak/breakok
  152. commands fix this problem.  For simplicity, most people don't bother with
  153. break/nobreak, as it clutter's aliases up.
  154.  
  155. .delete
  156. DELETE <message list>
  157.  
  158.     Mark the specified messages for deletion.  They will no longer show up
  159. on LISTings, (gaps will appear in message numbering).  However, you can
  160. still TYPE them, if you remember the message number, and you can always
  161. UNDELETE them.    Remember that the particular message # you've deleted
  162. may be different if you change the SELECT parameters.  For example,
  163. message #3 selecting 'To' & 'foo' may actually be message #45 when you
  164. are selecting ALL (see SELECT).  Upon a QUIT, messages marked for
  165. deletion are actually deleted from the mail file.
  166.  
  167. .undelete
  168. UNDELETE   <message list>
  169.  
  170.     UNDELETES messages.  Without arguments, UNDELETE will
  171. restore the last message you deleted.  Specifying 'all' (undelete all), will
  172. undelete any deleted messages in the currently selected message list.
  173.  
  174. .header
  175. HEADER [message]
  176.  
  177.     Display the entire header of a message.  This does not cause the
  178. message to be marked 'read'.  TYPE, on the other hand, only displays
  179. header information specified by SETLIST.
  180.  
  181. .type
  182. TYPE [message]
  183.  
  184.     Type the text of a message.  Only header fields defined by SETLIST
  185. are displayed.    Otherwise, only the text is displayed.    This marks
  186. the particular message as 'read', and also makes that message the
  187. current message.
  188.  
  189. .echo
  190. ECHO [string]
  191.  
  192.     Echo the given string onto the screen.
  193.  
  194. .go
  195. GO #
  196.     go to a message, don't type it out or anything.  Remember that you
  197. can go to the last message by using the message # 0.  By placing a keyword
  198. (help range), you can go to the first TAGGED message, etc...
  199.  
  200. .reply
  201. .Reply
  202. REPLY
  203.  
  204.     Reply to the current letter.  There are two forms of 'reply'.  The
  205. first does not include the senders original letter, the second does.
  206. In both cases, Dmail will place you in VI, with the To:, Cc:, and
  207. subject lines filled out.  The second form is 'Reply', with an
  208. upper case 'R'.  This form includes the sender's message shifted to
  209. the right with '>'s on the left hand side.  See FORWARD for another
  210. method of replying to mail.
  211.  
  212.     In any case, you may get the sender's letter by reading the file '#'
  213. from VI.  That sequence would be ':r\\#'
  214.  
  215.     See MAIL for more information on VI
  216.  
  217. .forward
  218. FORWARD [user user user....]
  219.  
  220.     Forward the current message to a list of users.  The sender's
  221. entire message is placed in the text portion.  The To: field will
  222. contain the user's named above, and the Subject: field will contain
  223. a 'Fo:' (you append your own subject)
  224.  
  225.     See MAIL for more information on VI
  226.  
  227. .mail
  228. MAIL [user user user user...]
  229.  
  230.     Mail to [users].  You are given a VI to work from, and may modify
  231. any of the header fields.  the From: field is inserted automatically
  232. by SENDMAIL, but you can overide it if you wish.
  233.  
  234.     Quitting out of VI without writing the output file will cause an
  235. abort, and no mail will be sent.   Additionaly, you may use the 'vibreak'
  236. variable to enable your INTR character (usually CTL-C) to break you out of
  237. VI.
  238.  
  239.     When modifying the users list in To and Cc fields, remember that
  240. they should be all comma delimited, or none comma delimited.
  241.  
  242. .select
  243. SELECT ALL
  244. SELECT Field  match match match match...
  245. SELECT Field  !match
  246. SELECT Field  match match match , Field match , .....
  247.  
  248.     Select what you want to look at.  Select will take the field header
  249. you supply and attempt to match arguments with that field in the mail
  250. file.  You can then work on the selected material as if the rest of
  251. your mail didn't exist.  For instance, 'select To dillon', will select
  252. all messages addressed to you.    Note that case is checked for the
  253. FIELD-HEADER, but not for arguments, so the latter will also find
  254. anything addressed to Dillon or DILLON.  You only have to give a
  255. partial match, so 'select To di' would work just as well.
  256.  
  257.     Select then, allows you to quickly find what you want even though
  258. you may have 12000 messages (though it may take a while with that many)
  259. You may also specify what you DON'T want to select on:
  260.  
  261.  select To !foo
  262.  
  263. will select all letters not addressed to 'foo'.  You may select on any
  264. field you wish.  At any time, you may say 'select ALL' to select the
  265. entire message list.  Use RESELECT to select on the current message
  266. list.  SELECT always selects from the entire message-list
  267.  
  268.  select Cc hack , To hack
  269.  
  270. will select any mail with Cc or To fields containing hack.  You may
  271. have as many comma operators as you wish.  The comma must be a field
  272. of its own (spaces on either side... will be fixed in a later version)
  273.  
  274. .reselect
  275. RESELECT ALL
  276. RESELECT Field    match match match match...
  277. RESELECT Field    !match
  278.  
  279.     SEE SELECT.  Reselect allows you to CONTINUE to narrow down a topic
  280. or whatever.  It will select on the current message list (which you have
  281. already narrowed down with SELECT or RESELECT).
  282.  
  283. .defer
  284. DEFER
  285.  
  286.     Deselects any marked messages .. messages marked as 'read'.  This is
  287. as if you did a RESELECT on all unread messages in the current select field.
  288. Thus, the messages will be renumbered.    To see these messages again, you must
  289. use SELECT.
  290.  
  291. .rlist <num>
  292. RLIST <num>        -<num> > 0 (next N), < 0 (prev N).
  293. RLIST            -Lists next 20 (or previous 20 if near the end)
  294.  
  295.     Relative list.    See LIST for details of the list command.  This
  296. command will display the next <num> messages beginning at the current
  297. message.  If <num> is negative, it displays the previous 20 ending at
  298. the current message.  If there are not enough messages remaining in the
  299. forward or reverse direction, it lists in the opposite direction to try
  300. to bring the total messages listed to <num>
  301.  
  302. .list
  303. LIST <message list>
  304. LIST            -Lists all selected messages
  305.  
  306.     Display header information on a message as specified by SETLIST,
  307. in a one line per message format.  The default lists ALL messages.
  308.  
  309. Leftword flags:    r    -indicates message has been read.  Message will be
  310.              moved to the destination file on QUIT
  311.            >    -indicates message is the current message
  312.            w    -indicates message has been written to a file.
  313.              Message will be deleted from source file on QUIT
  314.            T    -indicates message has been taged by the user
  315.  
  316. .next
  317. NEXT
  318.  
  319.     Execute TYPE or HEADER for the next message, depending on which of
  320. TYPE or HEADER was last executed by you
  321.  
  322. ._next
  323. _NEXT
  324.  
  325.     Go to next message, do not print it out.
  326.  
  327. .back
  328. BACK
  329.  
  330.     Execute TYPE or HEADER for the previous message, depending on which
  331. of TYPE or HEADER was last executed by you
  332.  
  333. ._back
  334. _BACK
  335.  
  336.     Go to previous message, do not print it out.
  337.  
  338. .db
  339. DB
  340.     Delete the current message, type (or header) the previous message.
  341. This command could not be implemented with "del;prev" due to a special case
  342. when one is on the last message.
  343.  
  344. .dt
  345. DT
  346.     Delete current message, type (or header) next message.  This command
  347. will warn you when you reach the end of the message list.
  348.  
  349.     References: DELETE and NEXT
  350.  
  351. .enviroment
  352. ENVIROMENT VARIABLE ACCESS
  353.  
  354.     Access may be gained to enviroment variables by using $$ instead of
  355.     a single $.  For example:  echo $$USER
  356.  
  357.     'help dmail' for command line options,
  358.     'help set'   for description of special variables
  359.  
  360. .set
  361. SET [variable [string]]
  362.  
  363.     see 'enviroment' for enviroment variables
  364.  
  365.     With no arguments, SET prints out all currently active variables.
  366. Note that this variable list is a different list than the ALIAS list.  With
  367. one argument, the specified variable is displayed if it exists, or created
  368. if it doesn't.  With more than one argument, the specified variable is set
  369. to the specified string.  Variables may be references on the command line by
  370. $variable .  The variable's contents will replace the reference.  Unlike
  371. aliases, however, variable substitutions may take place anywhere on the
  372. command line rather than substitute just the command name.  Note also that
  373. if you use a $ substitution for an argument of a command, the entire
  374. variable's contents is ONE argument (i.e. if a = "b c d", and you say
  375. something like: 'unset $a', it would attempt to unset a single variable
  376. whos name is "b c d".
  377.  
  378.     There are several reserved SET variables, which define options in
  379. DMAIL.    Changing these will modify the option:
  380.  
  381.     page        set paging on or to a specific command (i.e. more)
  382.     sendmail    set the path to the sendmail program
  383.     vibreak     enable your INTR character even when in VI.
  384.     verbose     reflects verbose option to sendmail
  385.     comlinemail    set when dmail executed w/ command line mailing list
  386.     headfile    header file containing additional mail headers
  387.     sigfile     signature file post pended to messages you send
  388.     ask        ask what to do after vi'ing mail
  389.     archive     file to archive any mail you send out in.
  390.     _headchar    string used to precede included text, default ">"
  391.     replyfields    fields to search to find the reply path
  392.  
  393.     page
  394.  
  395.      This variable determines what kind of paging is used for LIST,
  396.      TYPE, and HEADER commands.  If the variable does not exist, paging
  397.      is turned off.  If set to null (no string), an internal paging
  398.      routine is used.  If set to a value, an internal paging routine is
  399.      used using the value as the page length.  the 'page' variable can
  400.      also be set to a command, such as 'more' or 'page', in which case,
  401.      the output is piped through those commands:
  402.  
  403.      set page        Turn paging on (internal page routine)
  404.      set page 25        Internal page routine... 25 rows/screen
  405.      set page more        Use 'more' command to pipe output through
  406.      set page page        Use 'page' command to pipe output through
  407.  
  408.      you could also conceviably say:  'set page cat > x', or
  409.      'set page cat | lpr', but be very careful.
  410.  
  411.     sendmail
  412.  
  413.      This variable will redirect DMAIL as to where the mailer program
  414.      is.  The mailer program must be compatible with /usr/lib/sendmail
  415.      which is the default used if the 'sendmail' variable isn't set
  416.      to anything:
  417.  
  418.      set sendmail bin/mysendmail
  419.  
  420.     vibreak
  421.  
  422.      This variable, when set, allows the INTR character to abort a
  423.      reply, mail, or forward command.  Otherwise, if this variable is
  424.      not present, INTR will not abort the above commands.
  425.  
  426.     verbose
  427.  
  428.      This variable, when set, causes the -v flag to be sent to
  429.      sendmail.  In addition, DMAIL will wait for sendmail to complete
  430.      before returning your prompt.
  431.  
  432.     comlinemail
  433.  
  434.      This variable is set when dmail is invoked with a command line
  435.      user list (e.g.  dmail charlie mary mark). Usually, one uses
  436.      this variable in an IF construct.  A good example would be that
  437.      you may usually CD to a mail directory, but you don't want to
  438.      CD when dmail is run with a command line user-list:
  439.  
  440.         if !comlinemail
  441.             cd  ...
  442.  
  443.      alternate definition: The comlinemail variable will NOT be set
  444.      if dmail is in interactive mode.
  445.  
  446.     headfile
  447.  
  448.      The file specified by this variable will be appended to the header
  449.      list for your outgoing mail messages and generally contains only
  450.      headers such as 'Reply-To: <your return address>'
  451.  
  452.     sigfile
  453.  
  454.      The file specified by this variable will be appended onto the temp
  455.      vi files in reply and mail.  The file is appended before you go into
  456.      vi, so when you do, what you see is still what you get.
  457.  
  458.     ask
  459.  
  460.      If set, dmail will ask you what to to (quit, send, re-edit) after you
  461.      leave the editor when sending mail.  If not set, the mail is sent as
  462.      soon as you leave the editor (unless you didn't write anything).
  463.  
  464.     archive
  465.  
  466.      If set (to a file name), any mail you send out (mail/reply/etc...)
  467.      will be archived to this file.  Usually, you provide a fully
  468.      specified path so cd's won't effect the file location.
  469.  
  470.     _headchar
  471.  
  472.      This string is prepend to any included text when you do an upper-case
  473.      reply (R) command.
  474.  
  475.     replyfields
  476.  
  477.      This string holds a list of fields which are searched for to
  478.      determine which one to use in the To: field of your reply.  If
  479.      this variable does not exist or none of the specified fields could
  480.      be found, the 'From ' (not From:) mail header will be used.  The
  481.      search ends at the first field found.    Example:
  482.  
  483.      set replyfields "Reply-To: From:"
  484.  
  485. .replyfields
  486. SET replyfields "field1 field2 ..."
  487.  
  488.      This string holds a list of fields which are searched for to
  489.      determine which one to use in the To: field of your reply.  If
  490.      this variable does not exist or none of the specified fields could
  491.      be found, the 'From ' (not From:) mail header will be used.  The
  492.      search ends at the first field found.    Example:
  493.  
  494.      set replyfields "Reply-To: From:"
  495.  
  496. .>
  497. SET _HEADCHAR "string"
  498.  
  499.     see SET.  The _headchar variable determines the string prepending all
  500.     included text when you do an upper-case reply (R) command.
  501.  
  502. .archive
  503. SET ARCHIVE file
  504.  
  505.     if the archive variable is set to a file path, any mail you send out
  506.     will automatically be appended to that file.  Dmail pre-pends a
  507.     "From ", so it is compatible with /bin/mail and so that you can
  508.     dmail -f your archive file.  Additionaly, a "Date: " field is
  509.     pre-pended so you know when you sent the message.  example:
  510.  
  511.     set archive ~/Dmail/arch
  512.  
  513.     since your .dmailrc is sourced even when you "dmail user .." from
  514.     your csh, putting the above line in your .dmailrc will turn on
  515.     archiving whenever you use dmail to send mail, command line or
  516.     dmail prompt.
  517.  
  518.     if unset or set to nothing, no archive is made.
  519.  
  520. .ask
  521. SET ASK
  522.  
  523.     if the 'ask' variable is set (set ask), dmail will ask you what to do
  524.     when you are finished editing mail rather than send it immediately.
  525.     (see 'help set')
  526.  
  527. .alias
  528. ALIAS [variable [string]]
  529.  
  530.     Create an alias for a command.    With no arguments, ALIAS will display
  531. all active aliases.  With one argument, a particular alias is displayed (if
  532. it exists), or defined (if it did not previously exist).  With more than one
  533. argument, the particular alias is set to the string list specified.
  534.  
  535. alias
  536. alias hack "select From hacker , To hacker , Cc hacker"
  537. alias bye quit
  538. alias stuff "setlist 60 To ; list"
  539.  
  540.     Usually, any arguments following the alias are appended to the
  541. expansion.  However, you can place such arguments inside the alias somewhere
  542. by using the following construction:
  543.  
  544. alias myecho "%var echo $var ; list"
  545.  
  546. myecho hello there  ---> echo hello there ; list
  547.  
  548.     to unalias an alias, use the UNALIAS command.
  549.  
  550. .unset
  551. .unalias
  552. UNSET var var var...
  553. UNALIAS var var var...
  554.  
  555.     Eradicate variables or aliases from memory.
  556.  
  557. .setlist
  558. SETLIST [-s] [columns] Field [columns] Field ...
  559.  
  560.     -s prevents display of the list.
  561. Set the list format used for LIST and TYPE.  The optional [columns]
  562. indicates how many columns to allocate for the Field specified.  The
  563. Field can be a partial match. However, case is observed:
  564.  
  565. setlist 18 Fro    38 Sub    10 To  0 Dat
  566.  
  567. 18 columns for the From: field, etc... when TYPEing messages, the
  568. [columns] is ignored, and each field is printed in its entirety.
  569. Note that 0 columns have been allocated for the Date: field.
  570. Therefore, the Date: field will not show up on the LIST command,
  571. but will show up in the TYPE command.
  572.  
  573. .cd
  574. CD PATH
  575.  
  576.     cd, as in csh.    Changes your base directory.  You can use
  577.  the shell escape '! pwd' to get your current working directory.
  578.  
  579. .source
  580. SOURCE file
  581.  
  582.     Source a file.    The file is read in an executed in sequence.
  583.  
  584. .preserve
  585. PRE    <message list>
  586.  
  587.     PRESERVE messages.  A message is MARKED if it has been read (has an 'r'
  588. flag from the LIST command).  Marked messages are moved from your readfile
  589. into your outfile upon a QUIT.    If you are reading and writing to the same
  590. file (i.e. from your mbox to your mbox), the 'r' flag has no effect.
  591.  
  592.     However, if you are reading from your spool file, and want to keep
  593. read messages in your spool (that is, not move them to your mbox), you want
  594. to PRESERVE them.  This command simply unmarks them, so they appear not to
  595. have been read.
  596.  
  597. .mark
  598. MARK <message list>
  599.  
  600.     Mark messages specified as being already 'read'.  Remember that if
  601. you executed DMAIL without a -f option, any message 'read' at the time
  602. you quit will be moved to MBOX (or file specified by -o)
  603.  
  604. .tag
  605. .untag
  606. TAG <list>
  607. UNTAG <list>
  608.  
  609.     The TAG command allow you to flag any message.    You can tag a set of
  610. messages, then reference them all at once.  For instance, if you tag
  611. interesting messages as you glance at them, you may then write them all
  612. to a file by 'write filename tag',  or list them with 'list tag'.
  613. Alternately, you could delete all your taged messages with a single delete
  614. command 'delete tag'.  The 'tag' operand works in the same way as the 'all'
  615. operand, except it works only on taged messages.
  616.  
  617.     UNTAG will untag a particular message in your message list.  For
  618. instance, to untag any taged messages in the entire message list, you would:
  619.  
  620.  select all
  621.  untag all    OR     untag tag
  622.  
  623.     Note that 'untag all' and 'untag tag' have the same effect.
  624.  
  625. .write
  626. WRITE file <message list>
  627.  
  628.     Write the given messages or the current message to a file.  The file
  629. file is appended to.  Remember that you may specify 'all' to write
  630. all messages in the current select field to the file.  Messages will be
  631. marked as having been writen, and will be deleted from the mail file
  632. when you 'quit'.  However, you may cause them to be kept in the mail
  633. file by UNdeleting the messages (i.e.  undelete all)
  634.  
  635.     You can also TAG the messages you want to write, and say
  636. 'write file tag' to write to the file all taged messages.
  637.  
  638. .!
  639. ! [shell command]
  640.  
  641.     Give yourself a shell or execute a shell command.  The shell forked
  642. is that specified by your SHELL enviroment variable, or /bin/sh if there is
  643. no SHELL enviroment variable.
  644.  
  645. .x
  646. .exit
  647. X (EXIT)
  648.  
  649.     EXIT out of DMAIL without changing any files.  Usually, one exits
  650. with QUIT, which would cause deleted messages to disappear, and TYPEd
  651. messages to go to MBOX (if you did not use the -f option with DMAIL).
  652.  
  653.     If your outfile is the same as your infile, reading a message does
  654. not effect anything.
  655.  
  656. .quit
  657. QUIT
  658.  
  659.     Quit out of DMAIL. Delete any messages that were marked for deletion
  660. and if you executed DMAIL on /usr/spool/mail/ (default), any mail
  661. marked 'read' will be placed in MBOX in your home directory
  662.  
  663. .xswitch
  664. .qswitch
  665. XSWITCH fromfile [tofile]
  666. QSWITCH fromfile [tofile]
  667.  
  668.     Switch to a different set of files.  XSWITCH doesn't modify your
  669. old from and to files before switching, QSWITCH works as if you had QUIT
  670. stuff before switching to another set of files.
  671.  
  672.     If no [tofile] is specified, the new tofile will be the same as the
  673. fromfile you specify.
  674.  
  675. .help
  676. .?
  677. HELP [topic]
  678.  
  679.     Give me help on a topic
  680.  
  681. .dmail
  682. COMMAND LINE OPTIONS FOR DMAIL
  683.  
  684.     dmail -O [-l rcfile] -f [file] -o [file] -F field -F field -F field ...
  685.  
  686.     Default conditions:
  687.         Home directory gotten from password entry
  688.         User gotten from password entry
  689.         Visual editor set to /usr/ucb/vi
  690.  
  691.         VI BREAKOUT enabled
  692.         READ file is /usr/spool/mail/$USER
  693.         WRITE file is $HOME/mbox
  694.         From:,    To:, and Subject: fields will be loaded into memory.
  695.  
  696.     HOME    enviroment variable becomes home directory
  697.     USER    enviroment variable becomes user name
  698.     VISUAL    enviroment variable becomes editor used
  699.  
  700.     -O            Go into interactive mode, even if there is no
  701.                 mail to read.
  702.  
  703.     -f [from file]        Specify spool file to get mail from. If no file
  704.                 Argument is given, $HOME/MBOX is used.
  705.  
  706.     -o [to file]        Specify file to write to, If no Argument
  707.                 is given, $HOME/.MBOX is used.    Note that
  708.                 the default without -o is $HOME/MBOX
  709.  
  710.     -f -o            With no file arguments causes both READ and
  711.                 WRITE files to be $HOME/.MBOX
  712.  
  713.     -F field        Append this field to those which will be
  714.                 used on initial load.  If, During usage of the
  715.                 program you specify a field which is not in
  716.                 memory, DMAIL will be forced to re-load the
  717.                 entire spool file, which can take a long time
  718.                 if you have more than 64K in the file
  719.  
  720.     -l rcfile        Use this as the rc file rather than .dmailrc
  721.  
  722.     -L            Do not source the rc file on boot
  723.  
  724.  
  725.