home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / telecom / uucp_442 / src / dmail / dmail.help < prev    next >
Text File  |  1990-02-02  |  24KB  |  708 lines

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