home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / help / TOP.DIR / list.HLP < prev    next >
Encoding:
Text File  |  1990-12-18  |  1.9 KB  |  41 lines

  1. LIST  -  send messages to a file or to a shell command
  2.  
  3. Usage:  LIST [/switch] filename [message-sequence]
  4.    or:  LIST [/switch] |"shell-command" [message-sequence]
  5.   Unless specified, the message-sequence is "current".
  6.  
  7. The LIST command copies the message(s) to a file or to a shell command.
  8.   The result contains a table of contents (like a HEADERS command) for the
  9.   message(s), then a page break, then the message(s).  You may specify 
  10.   one of two /switches, as options:
  11.     /headers-only: print only the header (like a HEADERS command).
  12.     /separate-pages: put page breaks between messages.
  13.  
  14. The command LITERAL LIST will print all header fields regardless of settings
  15.   of DONT-PRINT-HEADERS or ONLY-PRINT-HEADERS.  SET LIST-ON-SEPARATE-PAGES
  16.   YES is the same as using /separate-pages every time.  SET LIST-INCLUDE-
  17.   HEADERS NO will eliminate the table of contents on the first page of output.
  18.  
  19. The file created with LIST is not a mail file readable by MM (use COPY or
  20.   MOVE to create a mail file).  LIST does not append to existing files,
  21.   so if you use the name of an existing file you will be replacing it.
  22.   
  23. The first version of the LIST command sends the messages to a file.  
  24.  
  25.     MM>list joe 14            #sends message 14 to a file "joe"
  26.     MM>list /headers-only hdrs all    #sends only the headers, of all
  27.                                         messages, to a file called "hdrs"
  28.  
  29. The second version of the LIST command is similar, but sends the messages 
  30.   as input to a shell command.  Use the unix pipe symbol (|) and put 
  31.   quotation marks (") around the shell command.  For example, one way of 
  32.   printing a message is to LIST it to a print command:
  33.  
  34.     MM>list | "print" 14        #sends message 14 to the
  35.                                         shell command "print"
  36.  
  37. For more help, type "help" and one of these topics:
  38.   message-sequence   literal   print   copy   move   other
  39.   set dont-print-headers   set only-print-headers
  40.   set list-on-separate-pages   set list-include-headers
  41.